commit | 5f0a800ad3d3bf24f2e5bb0c666a51c88819bf3e | [log] [tgz] |
---|---|---|
author | Nader Jawad <[email protected]> | Tue Feb 21 17:00:51 2023 -0800 |
committer | Nader Jawad <[email protected]> | Sat Feb 25 02:36:54 2023 +0000 |
tree | 59c2f440ed0d1e76821b29d9674468183709e5e1 | |
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