summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2013-10-01 17:25:20 -0700
committerJesse Hall <jessehall@google.com>2013-10-01 17:25:20 -0700
commitb716e57048e945d5bceda33c2434c65d06464dba (patch)
treea79308eca2c9da13bb3b79ca0519c9b6805a0887 /opengl/tests/gl_basic/gl_basic.cpp
parentb65f32ebe2c86869b07ac1c986660dfb2187b7d3 (diff)
Set the outbuf acquire fence after we actually have it.
In GLES-only mode, we don't have the outbuf acquire fence until after GLES composition is done for the frame. We were setting the fence in HWC's state immediately after dequeueing the buffer from the consumer, before GLES had started. This fence got passed through HWC and on to the consumer, so the consumer was reading the buffer before GLES was done writing to it. Now we update HWC's state just before set(), when we know we have the right fence. Bug: 11000763 Change-Id: Iea9db4c69634c352dc2d600f0bdb6bef2a432636
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions