summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Alec Mouri <alecmouri@google.com> 2021-01-12 13:32:18 -0800
committer Alec Mouri <alecmouri@google.com> 2021-01-15 00:31:59 -0800
commitc0aae73193a44e43e810b2134539b9c75de7137f (patch)
tree2c765cf98d94b759f401e1a75d947f133f4ed6b5 /vulkan/libvulkan/api.cpp
parent90f29fbd76bdb3faf8b6d01c1b6dc9fe9c7ce35c (diff)
Clean up and fix skia-RenderEngine tests
Skia-RenderEngine tests were accidentally exercising solely GLESRenderEngine, so the wrong backend was being used. This patch: * Correctly enables Skia-Renderengine tests * Adds a downcasted pointer to GLESRenderEngine to access test-only methods so that there's no loss of test coverage * Disables Skia tests that rely on those GLES-specific test-only methods, since those tests were behavior-specific anyways * Correctly destroy the Skia RenderEngine instance * Add fixes for the remaining failing tests. Fixes include: ** Fix SkImage caching to...actually cache ** Forcing the opaque bit must occur on the SkShader, rather than on the SkColorFilter, so that the alpha channel is not sampled when computing the src colors. ** When only a color transform is applied but color management is enabled, converting between RGB primaries and linear XYZ reduces down to an identity matrix, which avoids clamping artifacts in the shader. ** Apply source dataspace properly when there are solid colors ** Support for black clearRegions for SurfaceView Bug: 173416417 Test: librenderengine_test Change-Id: I530441a80039c7807931985665892017e4c48e76
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions