commit | 586a0deb76012c4347298c11df460631853b67f8 | [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 | bc03bcc2ace693b9986432fc732a4f180c353c97 | |
parent | 8392b504bdf63ac7820c79c7217a89f2b2411bd0 [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; }