summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
author Leon Scroggins III <scroggo@google.com> 2021-03-19 13:06:32 -0400
committer Leon Scroggins <scroggo@google.com> 2021-03-22 14:37:53 +0000
commitcf3d95cdec56bea16b9b0f463d4b59377f8720cf (patch)
tree780a6e8fe98c64fbdf6c14980304b76bef88b2d8 /libs/gui/LayerState.cpp
parentd5ecb64ef43ea1e6fb85c1abe2bd9d679bc3df9b (diff)
SkiaRE: respect disableBlending
Fixes: 182617606 Test: atest librenderengine_test RenderEngineTest#testClear RenderEngineTest#testDisableBlendingBuffer When drawing an image or a solid color, use SkBlendMode::kSrc to avoid blending with other layers. Assert that disableBlending is not combined with a shadow, since our existing API does not support that. Continue to ignore disableBlending with blur, which we do not expect to see as input. Add RenderEngineTest#testClear and #testDisableBlendingBuffer to verify the fix. Change-Id: Ie12cbf497ecb6b71a9b4b625710161fce2b06ee4
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions