This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Commit 41d39f7
committed
Make the GL context current in EmbedderSurfaceGLImpeller before creating the GPU surface
The GPUSurfaceGLImpeller ctor creates an AiksContext/ContentContext, which loads the shader pipelines. If the current thread does not have a GL context and can not execute ReactorGLES operations, then the pipeline futures will not complete. This can cause the raster thread to hang if the reactor has not run and the futures are still incomplete when a rendering task later needs to obtain the pipeline.1 parent 3557277 commit 41d39f7
File tree
6 files changed
+26
-3
lines changed- shell/platform/embedder
- fixtures
- tests
6 files changed
+26
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
| 245 | + | |
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
181 | 186 | | |
182 | 187 | | |
183 | 188 | | |
| |||
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1364 | 1364 | | |
1365 | 1365 | | |
1366 | 1366 | | |
| 1367 | + | |
| 1368 | + | |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
| 1372 | + | |
| 1373 | + | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
| 1377 | + | |
| 1378 | + | |
| 1379 | + | |
| 1380 | + | |
| 1381 | + | |
| 1382 | + | |
| 1383 | + | |
| 1384 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4711 | 4711 | | |
4712 | 4712 | | |
4713 | 4713 | | |
4714 | | - | |
| 4714 | + | |
4715 | 4715 | | |
4716 | 4716 | | |
4717 | 4717 | | |
| |||
4733 | 4733 | | |
4734 | 4734 | | |
4735 | 4735 | | |
4736 | | - | |
| 4736 | + | |
4737 | 4737 | | |
4738 | 4738 | | |
4739 | 4739 | | |
| |||
0 commit comments