summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
author Nolan Scobie <nscobie@google.com> 2024-03-13 18:02:48 -0400
committer Nolan Scobie <nscobie@google.com> 2024-03-13 18:39:21 -0400
commit17e255148c36a0ee8b3dc28e40e96c491074ddf9 (patch)
treeec0b63f3f7e8680a90074f39e2ef34427ec726aa /libs/gui/LayerState.cpp
parent48d4be6d40c8a60641a9fbb3cdd27a693922f78b (diff)
Make AutoBackendTexture remember which context it was created with
... and use that stored context when creating an SkImage or SkSurface. As per I52e1d831f2d195cddb21c2e7a1e820059fe2a137 we no longer share buffers between contexts, and this aligns with Graphite's need to know the context that a backend texture was created with to clean it up in ABT's destructor. Test: manually validated core CUJs + existing tests (refactor) Bug: b/293371537 Bug: others listed in I52e1d831f2d195cddb21c2e7a1e820059fe2a137 Change-Id: I7d4b0b95216b0529be72cfb7c2788c592a77ed0e
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions