This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Commit cf573d8
Prepare texture for cross context usage when using the Metal backend.
This implementation will only work when the two contexts are created using
the same device and command queue. This restriction is now applied in Flutter.
With the patch and context setup, async texture uploads on the IO thread are
functional.
Change-Id: I887d24b2612cde933e088f74f33912a3a8762159
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/275758
Commit-Queue: Chinmay Garde <[email protected]>
Commit-Queue: Greg Daniel <[email protected]>
Auto-Submit: Chinmay Garde <[email protected]>
Reviewed-by: Greg Daniel <[email protected]>1 parent 1b0124f commit cf573d8
2 files changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
104 | | - | |
105 | | - | |
| 103 | + | |
106 | 104 | | |
107 | 105 | | |
108 | 106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
229 | 234 | | |
230 | 235 | | |
231 | 236 | | |
| |||
0 commit comments