badlogic
|
e68f1cb4cc
|
[webgl] Fixed css of canvases for standalone demos. On FF Android, the context limit is 2, so we adhere to that now, resulting in terrible artifacts. Using 5 preallocated contexts for other browsers.
|
2017-09-15 13:59:51 +02:00 |
|
badlogic
|
4fe53ac856
|
[webgl] Refactored WebGL demos. They reuse a preallocated set of canvases to limit the number of WebGL contexts required. At most 3 canvases can be visible at a time, so we preallocate 3 canvases, then dynamically attach them to placeholder divs based on their visibility. I'm a juggalo.
|
2017-09-14 15:47:51 +02:00 |
|
badlogic
|
ff1a81bab3
|
[webgl] Refactored demos to use preallocated canvas & context
|
2017-09-14 12:15:23 +02:00 |
|
Nathan Sweet
|
b493b0ad67
|
Added clipping demo.
|
2017-09-11 21:53:45 +02:00 |
|