diff options
| author | 2023-02-21 17:00:51 -0800 | |
|---|---|---|
| committer | 2023-02-25 02:36:54 +0000 | |
| commit | 5f0a800ad3d3bf24f2e5bb0c666a51c88819bf3e (patch) | |
| tree | 59c2f440ed0d1e76821b29d9674468183709e5e1 /libs/androidfw/ApkParsing.cpp | |
| parent | bbf2ceda7571619c7e77cdfe2597afe130b58499 (diff) | |
Defer Meshed creation
Refactored Mesh API to defer creation of
SkMesh instances until a GrDirectContext
can be obtained on the RenderThread.
This creates an SkMesh during the prepare
tree step when the UI thread is blocked
to ensure no concurrency issues.
Bug: b/265044322
Test: atest CtsUiRenderingTestCases:MeshTest
Change-Id: Ica8c364b99952e0ee71f7b95b312cf29c51ebc2a
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions