summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2013-08-20 16:35:32 -0700
committerJesse Hall <jessehall@google.com>2013-08-20 16:35:32 -0700
commit028dc8f2d72bc7cd4fbe7808781443125a742f78 (patch)
treeb0e255599a9034e1981971dd13ec03b49c9a30a0 /opengl/tests/gl_basic/gl_basic.cpp
parent353ddc6e77816352107537c215dc8302f6e8587a (diff)
Provide HWC prepare with a valid output buffer
We weren't dequeing and setting the output buffer until just before set(). This didn't allow HWC to make decisions in prepare() based on the output buffer format, dimensions, etc. Now we dequeue the output buffer at the beginning of the composition loop and provide it to HWC in prepare. In GLES-only rendering, we may have to cancel the buffer and acquire a new one if GLES requests a buffer with properties different than the one we already dequeued. Bug: 10365313 Change-Id: I96b4b0a851920e4334ef05080d58097d46467ab8
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions