summaryrefslogtreecommitdiff
path: root/opengl/libagl/array.cpp
diff options
context:
space:
mode:
author wukui1 <wukui1@xiaomi.com> 2020-03-22 20:15:26 +0800
committer 奎 吴 <wukui1@xiaomi.com> 2020-04-02 12:21:30 +0000
commit1702341eea645564da894ebd3ce12342ef9eee4f (patch)
tree8a7400e370ba976de8e8f6bf48af15b7c608b6a8 /opengl/libagl/array.cpp
parent5ce475ad843e8c852013da166c665807adc1b760 (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: dumpsys SurfaceFlinger Test: LayerTypeAndRenderTypeTransactionTest#SetBufferFormat Change-Id: Ifdaa43c28c78ef96a2e8ea4fcbb9886a6227df4d Merged-In: I4295b837369b8ca8918d8398a29cab133a47cbf7 Signed-off-by: wukui1 <wukui1@xiaomi.com>
Diffstat (limited to 'opengl/libagl/array.cpp')
0 files changed, 0 insertions, 0 deletions