summaryrefslogtreecommitdiff
path: root/opengl/libagl/array.cpp
diff options
context:
space:
mode:
author chaviw <chaviw@google.com> 2020-03-26 14:57:24 -0700
committer chaviw <chaviw@google.com> 2020-03-30 19:12:42 -0700
commitdebadb8a591ee9ed10405f541138828871c7dc49 (patch)
tree0022f31b2ab6ab3b92f9fd1ac17b1ea2c2d28d62 /opengl/libagl/array.cpp
parentedbc86de0530ebe4919ce9a84b221f4f32fd67e1 (diff)
Use pixel format from buffer to determine opacity.
The format that's passed into BufferQueueLayer creation is meant to define what format the buffers should have that are dequeued from the consumer. If the client submits its own buffers, they can have any pixel format. Therefore, the format from the activeBuffer should be used when determing opacity since that's the information about the buffer that will be rendered. Bug: 152162496 Test: LayerTypeAndRenderTypeTransactionTest#SetBufferFormat Change-Id: I4295b837369b8ca8918d8398a29cab133a47cbf7
Diffstat (limited to 'opengl/libagl/array.cpp')
0 files changed, 0 insertions, 0 deletions