summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2012-06-06 19:03:58 -0700
committerChet Haase <chet@google.com>2012-06-07 06:25:04 -0700
commit44b2fe3fc114ee5f7273c6b0fee2cc999bf244a2 (patch)
tree8d54bda8c5b7021be5d923beb641a9efb22dcf30 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent43fa4c5261a732decae3bbfaea2a00f8bb9b709c (diff)
Track canvas clearing for swap buffers logic.
A previous fix made it necessary for a frame to render something to GL in order to cause a call to eglSwapBuffers(). Besides the calls being tracked as part of issuing a DisplayList, there is also a potential call to clear the canvas (via glClear()) on non-opaque surfaces. This call is also good to track, since a surface that gets cleared without any other drawing operations is worth flipping to the screen (to erase old contents on that surface). This fix tracks the status of the pre-draw operations to find out whether glClear() was called and then sets the drawing status appropriately. Issue #6606422 QuickContact dismissal is janky again (Tracking) Change-Id: I5fcaccfdc9293dd46b83f2fc279730a5d2740ebf
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions