aboutsummaryrefslogtreecommitdiffstats
path: root/components/canvas/gl_context.rs
Commit message (Collapse)AuthorAgeFilesLines
* Use surfman for managing GL surfacesPatrick Walton2019-11-011-283/+0
| | | | | | Co-authored-by: Alan Jeffrey <ajeffrey@mozilla.com> Co-authored-by: Zakor Gyula <gyula.zakor@h-lab.eu> Co-authored-by: Josh Matthews <josh@joshmatthews.net>
* webgl: Lazily clear the canvas right before the first webgl command of the ↵Josh Matthews2019-10-101-0/+11
| | | | next frame.
* Initial implementation of WebGLSyncIstvan Miklos2019-10-021-0/+1
| | | | | | | This patch adds initial support for WebGLSync. Note: There is no test for the isSync, deleteSync and waitSync functions in the `conformance2/sync/sync-webgl-specific.html`.
* webxr: Use the same texture format as the original GL context's framebuffer ↵Josh Matthews2019-09-201-5/+14
| | | | when creating an XR GL layer.
* webgl: Support vertex array objects on macOS.Josh Matthews2019-09-131-2/+3
|
* Replace use of gleam in webgl with sparkle.Josh Matthews2019-09-111-4/+4
|
* Update euclid.Emilio Cobos Álvarez2019-07-231-1/+1
| | | | | | | | There are a few canvas2d-related dependencies that haven't updated, but they only use euclid internally so that's not blocking landing the rest of the changes. Given the size of this patch, I think it's useful to get this landed as-is.
* Make GL/GLES decisions based on the API in use.Josh Matthews2019-07-121-5/+8
|
* Remove canvas->compositing dependency.Josh Matthews2019-07-121-38/+20
|
* Remove unused code from a bunch of cratesest312019-06-031-11/+0
|
* Remove offscreen_gl_context dependency from canvas_traits and script.Josh Matthews2019-03-071-5/+47
|
* Ensure that resized GL contexts do not destroy their resources while in use ↵Josh Matthews2019-01-171-2/+2
| | | | by WR.
* Update MPL license to https (part 4)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* `cargo fix --edition-idioms`Simon Sapin2018-11-081-2/+2
|
* Reorder importsPyfisch2018-11-061-4/+6
|
* Format remaining filesPyfisch2018-11-061-28/+32
|
* Make HTMLCanvasElement::get_size return a Size2D<u32>Anthony Ramine2018-10-021-41/+51
| | | | The changes keep trickling down.
* webgl: Add feature to store backtraces for each WebGL API call for easier ↵Josh Matthews2018-10-011-4/+9
| | | | debugging.
* webgl: Move framebuffer initialization logic to WebGL thread.Josh Matthews2018-09-101-4/+4
|
* constellation: Make setting up the WebGL state fallible.Emilio Cobos Álvarez2018-03-091-0/+3
| | | | | | | | | | This fixes a regression caused by the glutin update. We now are creating EGL contexts in Linux Wayland, instead of X context, so the GLContextFactory assumption of one GL back-end per platform is broken. This just works around it, for now, but in general I think not relying on available WebGL state is a good thing, and we do that already for WebVR anyway.
* Kick off WebGL 2.0 implementationImanol Fernandez2017-10-271-11/+24
|
* Update offscreen_gl_context to v0.12Imanol Fernandez2017-10-201-1/+6
|
* implement clone for embedder and compositor proxiesGregory Terzian2017-08-281-1/+1
|
* Revert "Auto merge of #18114 - emilio:revert-webgl-refactor, r=nox"Anthony Ramine2017-08-161-0/+203
| | | | | This reverts commit 4d10d39e8fe841c5fe2ac58da2daaa13c10c140e, reversing changes made to ee94e2b7c0bd327abe8f9545b2a1f792f67a2bdd.
* Revert "Auto merge of #17891 - MortimerGoro:webgl_move, r=glennw,emilio"Emilio Cobos Álvarez2017-08-161-203/+0
| | | | | This reverts commit 90f55ea4580e2a15f7d70d0491444f18b972d450, reversing changes made to 2e60b27a2186a8cba4b952960155dfcf3f47d7db.
* Improve WebGL architecture.Imanol Fernandez2017-08-151-0/+203