summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2013-08-15 23:17:49 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-08-15 23:17:49 +0000
commite048a4374c4e355c361f5eec0482ac85df0c73fe (patch)
tree4837d48a23296dcdc2c90285fa231600961157a9 /services
parente0ec2a956840fa70387883f422b6020c1dfc6bad (diff)
parentc2e41222bf02a6579763974f82d65875cfa43481 (diff)
downloadframeworks_native-e048a4374c4e355c361f5eec0482ac85df0c73fe.zip
frameworks_native-e048a4374c4e355c361f5eec0482ac85df0c73fe.tar.gz
frameworks_native-e048a4374c4e355c361f5eec0482ac85df0c73fe.tar.bz2
Merge "Add support for EGL_KHR_gl_colorspace" into klp-dev
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 a63a80a..531db20 100644
--- a/services/surfaceflinger/Layer.cpp
+++ b/services/surfaceflinger/Layer.cpp
@@ -572,6 +572,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)