commit | 982f58bdccce7e4e537cffb2410ad78d73398461 | [log] [tgz] |
---|---|---|
author | Antti Hatala <ahatala@nvidia.com> | Thu Sep 09 02:32:30 2010 -0700 |
committer | Erik Gilling <konkers@android.com> | Thu Sep 09 12:06:31 2010 -0700 |
tree | 310841ab00cc57c9a825f84b1ea901719c9a292d | |
parent | 4c0a4a2b74db9d4a439a0aaa39d80586f7eb1258 [diff] [blame] |
surfaceflinger: composite HWC_SKIP_LAYER layers Change-Id: I363ede63287ae903d66d0d419343f4ecd81bcc00
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp index 83f96a6..d820380 100644 --- a/services/surfaceflinger/SurfaceFlinger.cpp +++ b/services/surfaceflinger/SurfaceFlinger.cpp
@@ -885,8 +885,8 @@ */ for (size_t i=0 ; i<count ; i++) { if (cur) { - if (!(cur[i].compositionType == HWC_FRAMEBUFFER) || - cur[i].flags & HWC_SKIP_LAYER) { + if ((cur[i].compositionType != HWC_FRAMEBUFFER) && + !(cur[i].flags & HWC_SKIP_LAYER)) { // skip layers handled by the HAL continue; }