summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2011-10-18 17:36:28 -0700
committerMathias Agopian <mathias@google.com>2011-10-18 17:39:09 -0700
commit3a3cad30c40c8eb87671262a9fe7f0e214b6a934 (patch)
tree2c43eb10e4e0c231cd5fc06b8da91038034fd4a6 /opengl/tests/gl_basic/gl_basic.cpp
parentc492e67810814bf86301abffe1d31598b775cf45 (diff)
Don't call hwc set() if there is nothing new to do
there was situations where SF's main loop would run (as if there was an invalidate), but the dirty region was empty (so no new buffers were retired). In this case we return early and don't swap, which would cause drawing artifacts. Bug: 5476838 Change-Id: Id3b7bf4b7aabec7919c50d9278eb2165973a4c3d
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions