summaryrefslogtreecommitdiffstats
path: root/opengl/libagl
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-08-07 20:55:14 -0700
committerMathias Agopian <mathias@google.com>2009-08-07 20:55:14 -0700
commitf1e5b0d4e5d0d2a78c234cd0cbd3005a74a79429 (patch)
tree596c50f9d0690da9d446003c21738582d26762f5 /opengl/libagl
parent1d40f50de5a207351d5fe3f0eada2c8bf74dcd82 (diff)
downloadframeworks_base-f1e5b0d4e5d0d2a78c234cd0cbd3005a74a79429.zip
frameworks_base-f1e5b0d4e5d0d2a78c234cd0cbd3005a74a79429.tar.gz
frameworks_base-f1e5b0d4e5d0d2a78c234cd0cbd3005a74a79429.tar.bz2
add support for RGBX_8888
Diffstat (limited to 'opengl/libagl')
-rw-r--r--opengl/libagl/copybit.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/opengl/libagl/copybit.cpp b/opengl/libagl/copybit.cpp
index 3c5bcdf..867459d 100644
--- a/opengl/libagl/copybit.cpp
+++ b/opengl/libagl/copybit.cpp
@@ -75,6 +75,8 @@ private:
static bool supportedCopybitsFormat(int format) {
switch (format) {
case COPYBIT_FORMAT_RGBA_8888:
+ case COPYBIT_FORMAT_RGBX_8888:
+ case COPYBIT_FORMAT_RGB_888:
case COPYBIT_FORMAT_RGB_565:
case COPYBIT_FORMAT_BGRA_8888:
case COPYBIT_FORMAT_RGBA_5551: