Commit 2c4f89f
committed
[WebGL] Make it optional to use WebGL when creating TimeGraphContainer
Added an entry to TimeGraphContainerOptions, that the caller
can use to request that no WebGL context be used for the new
TimeGraphContainer:
noWebGl?: boolean
This can be used when the container is known in advance to be
lightweight in terms of rendering, such that using, for it,
one of the potentially limited number of available WebGL
contexts, is not worth it.
Signed-off-by: Marc Dumais <[email protected]>1 parent b8d6d42 commit 2c4f89f
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | | - | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| |||
0 commit comments