summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
author Nolan Scobie <nscobie@google.com> 2024-03-11 20:08:27 -0400
committer Nolan Scobie <nscobie@google.com> 2024-03-14 19:02:00 +0000
commitfc125ece97c0cc3025c7ca0ce08ffc00c24301cb (patch)
treed90c742a2d8a2382082927092caa60becc4dd2a2 /libs/gui/LayerState.cpp
parent17e255148c36a0ee8b3dc28e40e96c491074ddf9 (diff)
Add and plumb abstraction layer over GrDirectContext
Also changed GaussianBlurFilter's surface origin from kBottomLeft_GrSurfaceOrigin to kTopLeft_GrSurfaceOrigin. This doesn't seem to have an effect in practice, but aligns it with KawaseBlurFilter. Additionally, both blur filters now set the protected bit on the surfaces they create to reflect the protection status of the active context, as opposed to either the protection status of the input SkImage that is being blurred (Kawase) or always false (Gaussian). This should be equivalent behavior in the case of Kawase (and aligns with Graphite), and is likely a bug fix for Gaussian. Test: manual validation (GL+VK) & existing tests (refactor) Bug: b/293371537 Change-Id: I19b0258035ea5f319d04207ceb266f2cd1e87674
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions