summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2014-08-14 15:45:06 -0700
committerJesse Hall <jessehall@google.com>2014-08-19 22:15:43 -0700
commitb7a0549c983bef103ce07eb3af5905febc6e538e (patch)
tree1aacaf9b71a57800fc358fb4f120e3dd4452ac71 /opengl/tests/gl_basic/gl_basic.cpp
parente3d37a7b55f86f5d005dd67f828dcf51fe60c0f6 (diff)
surfaceflinger: skip composition for empty frames
By not committing the results of composition for empty frames, we avoid spitting out series of black frames for virtual displays that don't have visible layers. We still draw one black frame when going from having layers to not having any. In particular, this avoids having a series of empty frames due to re-compositing the primary display in the period between creating the virtual display and adding layers to it. Bug: 16786752 Change-Id: I7e9b2ed2e407d8d49c7af736b447d4c6181b0ad8
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions