aboutsummaryrefslogtreecommitdiffstats
path: root/components/canvas/webgl_mode/inprocess.rs
Commit message (Collapse)AuthorAgeFilesLines
* Move `RenderingContext` to `webrender_traits` (#32386)Martin Robinson2024-05-281-2/+2
| | | | | | The `gfx_traits` crate is gradually become just about text and fonts and this is one of the few things there that is standing in the way of this. Eventually `webrender_traits` will be the general cross-process compositor API, so this sort of makes sense as well.
* clippy: fix some warnings in components/canvas (#31563)eri2024-03-081-1/+1
|
* gfx: Rename `WebrenderSurfman` to `RenderingContext` and move to `gfx` (#31184)Martin Robinson2024-01-271-4/+4
| | | | | | | | | | | This is a small cleanup that moves and renames this class. The rename is simply because we are exposing a lot about the details of Servo's rendering in the API and it makes sense to start thinking about abstracting that away a bit. This also moves the struct to `gfx`, which does have an effect on Servo's dependency graph. This adds a new dependency on gfx to `compositing`, but `compositing` had a transitive dependency on gfx before through `canvas`.
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-111-5/+6
| | | | | * strict imports formatting * Reformat all imports
* Upgrade WebRender to e491e1ae637b2eed1e7195855d88357e5eb3ddf9 (#30323)Martin Robinson2023-09-101-1/+2
| | | | | | | | | | | | | | | | | | * Upgrade vendored version of WebRender * Patch WebRender: upgrade version of gleam * Restore hit testing implementation * Fix WebRender warnings * Adapt Servo to new WebRender * Update results * Add a workaround for #30313 This slightly expands text boundaries in order to take into account the fact that layout isn't measuring glyph boundaries.
* remove `extern crate` (#30311)Samson2023-09-081-0/+1
| | | | | | | | | | | * remove extern crate * Update components/script_plugins/lib.rs Co-authored-by: Martin Robinson <mrobinson@igalia.com> --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* Remove dependency on surfman-chains (#30090)Martin Robinson2023-08-111-6/+2
| | | This functionality is now part of surfman itself.
* Try to `use` WebRender types moreMartin Robinson2023-07-101-2/+3
| | | | | The newer versions of WebRender move types around between `webrender` and `webrender_api` and this will reduce the churn during the upgrade.
* Remove the DOMToTexture featureMartin Robinson2023-06-271-53/+0
| | | | | | | | | | | This relies on WebRender's frame output API, `set_output_image_handler`, which has been removed from the latest upstream [1]. It's sad to remove this feature, which was probably a lot of work to implement, but it seems difficult to patch WebRender to restore this functionality. Fixes #29936. 1. https://hg.mozilla.org/mozilla-central/rev/361521e3c52324809553c555fb066d50f023d9bf
* Support for webxr layer managementAlan Jeffrey2020-06-281-15/+8
|
* Implement GPUSwapChain and GPUCanvasContext and interface with WebrenderKunal Mohan2020-06-131-3/+6
|
* Convert all uses of UpdateResources api to use webrender transactions.Josh Matthews2020-05-111-0/+2
|
* Update surfman to 0.2 and remove glutinAlan Jeffrey2020-04-171-29/+17
|
* Remove WebVRAlan Jeffrey2020-04-081-3/+1
|
* Integrate swapchain surface provider changes into webgl and webxr ↵Josh Matthews2020-03-091-1/+10
| | | | implementations.
* Use non-IPC webrender API over explicit IPC channels.Josh Matthews2019-11-271-2/+2
|
* Avoid recompiling script every time surfman changesAlan Jeffrey2019-11-181-0/+2
|
* Remove patched webxrManish Goregaokar2019-11-081-2/+7
|
* Use surfman for managing GL surfacesPatrick Walton2019-11-011-176/+92
| | | | | | 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>
* Get XR sessions to track the draw texture, so we render the XR framebuffer ↵Alan Jeffrey2019-07-281-3/+10
| | | | rather than the default canvas framebuffer
* Replace use of callbacks in webxr by channelsAlan Jeffrey2019-07-261-19/+53
|
* When using the WebGL external image API, use sync calls if we happen to be ↵Alan Jeffrey2019-07-261-140/+99
| | | | on the WebGL thread
* Support running WebGL in its own thread or on the main thread.Josh Matthews2019-07-251-84/+166
|
* 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.
* WebRender units are no longer reexported.Patrick Walton2019-07-091-2/+2
|
* Introduce WebrenderExternalImageRegistryFernando Jiménez Moreno2019-07-041-1/+4
|
* Webrender external image handler demuxFernando Jiménez Moreno2019-07-041-9/+14
|
* WR update: new viewport semanticPaul Rouget2019-03-221-2/+2
|
* #8539 Config preferences backend restructurePeter Hall2019-03-201-2/+2
|
* Fixed inconsistency in import of gl::GlPeter Hall2019-02-271-2/+6
| | | | All other uses of `Gl` in this file use the qualified path `gl::Gl`.
* Pass the GL context to the VRDisplay when renderingAlan Jeffrey2019-02-271-2/+3
|
* Rustfmt has changed its default style :/Simon Sapin2018-12-281-2/+2
|
* Update MPL license to https (part 4)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* Remove useless `use crate_name;` imports.Simon Sapin2018-11-081-2/+0
| | | | A `crate_name::foo` path always works in 2018
* `cargo fix --edition-idioms`Simon Sapin2018-11-081-9/+9
|
* Reorder importsPyfisch2018-11-061-2/+2
|
* Sort `use` statementsSimon Sapin2018-11-061-2/+2
|
* `cargo fix --edition`Simon Sapin2018-11-061-2/+2
|
* Kill WebGLThreadObserverAnthony Ramine2018-09-121-24/+1
|
* Format components canvas and canvas_traits #21373kingdido9992018-08-301-24/+65
|
* Implement DOM to textureImanol Fernandez2017-10-161-2/+54
|
* Improve Webrender<->WebGL synchronizationImanol Fernandez2017-09-201-4/+16
|
* Revert "Auto merge of #18114 - emilio:revert-webgl-refactor, r=nox"Anthony Ramine2017-08-161-0/+95
| | | | | 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-95/+0
| | | | | This reverts commit 90f55ea4580e2a15f7d70d0491444f18b972d450, reversing changes made to 2e60b27a2186a8cba4b952960155dfcf3f47d7db.
* Improve WebGL architecture.Imanol Fernandez2017-08-151-0/+95