aboutsummaryrefslogtreecommitdiffstats
path: root/components/pixels/lib.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2018-11-19 11:17:00 +0100
committerAnthony Ramine <n.oxyde@gmail.com>2018-11-20 10:14:52 +0100
commitcfca906ee2325fad74896b7647db26625099cf66 (patch)
tree30d1955ab21e63b1c2994a1a8773e2aa765fc9e4 /components/pixels/lib.rs
parent2c0acf6b9bf2c4082dfbd98763cd21de7ae56449 (diff)
downloadservo-cfca906ee2325fad74896b7647db26625099cf66.tar.gz
servo-cfca906ee2325fad74896b7647db26625099cf66.zip
Call rgba8_byte_swap_colors_inplace on the WebGL thread
Diffstat (limited to 'components/pixels/lib.rs')
-rw-r--r--components/pixels/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/pixels/lib.rs b/components/pixels/lib.rs
index 04c81d27f6c..155a53b4b4b 100644
--- a/components/pixels/lib.rs
+++ b/components/pixels/lib.rs
@@ -18,6 +18,8 @@ pub enum PixelFormat {
/// RGB, 8 bits per channel
RGB8,
/// RGB + alpha, 8 bits per channel
+ RGBA8,
+ /// BGR + alpha, 8 bits per channel
BGRA8,
}