summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2013-08-08 13:40:22 -0700
committerJesse Hall <jessehall@google.com>2013-08-13 12:10:51 -0700
commitc2e41222bf02a6579763974f82d65875cfa43481 (patch)
tree357d0cb44ab16d7037cae33426191945727a8ef8 /services
parent6f23562e0c112bc5c6159c745d8af755cc530d77 (diff)
downloadframeworks_native-c2e41222bf02a6579763974f82d65875cfa43481.zip
frameworks_native-c2e41222bf02a6579763974f82d65875cfa43481.tar.gz
frameworks_native-c2e41222bf02a6579763974f82d65875cfa43481.tar.bz2
Add support for EGL_KHR_gl_colorspace
Change-Id: I684d0b8556cd6c84ee4b4d67e1bb95c3b96fccfb
Diffstat (limited to 'services')
-rw-r--r--services/surfaceflinger/Layer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp
index 2defe34..ddbe6f2 100644
--- a/services/surfaceflinger/Layer.cpp
+++ b/services/surfaceflinger/Layer.cpp
@@ -582,6 +582,7 @@ bool Layer::getOpacityForFormat(uint32_t format) {
switch (format) {
case HAL_PIXEL_FORMAT_RGBA_8888:
case HAL_PIXEL_FORMAT_BGRA_8888:
+ case HAL_PIXEL_FORMAT_sRGB_A_8888:
return false;
}
// in all other case, we have no blending (also for unknown formats)