diff options
| author | 2021-03-19 13:06:32 -0400 | |
|---|---|---|
| committer | 2021-03-22 14:37:53 +0000 | |
| commit | cf3d95cdec56bea16b9b0f463d4b59377f8720cf (patch) | |
| tree | 780a6e8fe98c64fbdf6c14980304b76bef88b2d8 /libs/gui/SurfaceControl.cpp | |
| parent | d5ecb64ef43ea1e6fb85c1abe2bd9d679bc3df9b (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/SurfaceControl.cpp')
0 files changed, 0 insertions, 0 deletions