aboutsummaryrefslogtreecommitdiffstats
path: root/components/canvas/webgl_paint_thread.rs
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Auto merge of #18114 - emilio:revert-webgl-refactor, r=nox"Anthony Ramine2017-08-161-379/+0
| | | | | 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-0/+379
| | | | | This reverts commit 90f55ea4580e2a15f7d70d0491444f18b972d450, reversing changes made to 2e60b27a2186a8cba4b952960155dfcf3f47d7db.
* Improve WebGL architecture.Imanol Fernandez2017-08-151-379/+0
|
* Update WR.Glenn Watson2017-08-091-12/+20
| | | | | | | * CPU text run optimizations. * Linux subpixel positioning / rasterization. * Update debug flags API. * Update to resource transactions API.
* Don't delete webrender image keys immediately.Alan Jeffrey2017-07-171-15/+55
|
* Upgrade to the latest version of WebRenderMartin Robinson2017-07-131-14/+14
|
* UntrySimon Sapin2017-06-181-4/+4
|
* Update WR (CPU text optimizations, image format renames).Glenn Watson2017-06-161-1/+1
|
* Bump euclid to 0.14.Nicolas Silva2017-06-141-1/+1
|
* Clear webrender image id when resizing a canvas.Alan Jeffrey2017-06-131-1/+5
|
* Update WR (various optimizations, gradient improvements).Glenn Watson2017-04-031-19/+33
|
* Update WR (opaque rect optimization, stacking context culling).Glenn Watson2017-03-271-1/+2
| | | | | | | | | Correct viewport test references These references were using an incorrect value for the expected container width. Now that WebRender is no longer clipping to stacking context boundaries the rendered width is correct (100% of viewport width = 240px).
* Update WR (gl/es runtime table, scroll roots).Glenn Watson2017-03-231-12/+29
|
* Update WR (image tiling, inset box shadow fixes, new key api).Glenn Watson2017-02-271-1/+2
|
* Update WR (radial gradients, subpixel positioning, tiling changes).Glenn Watson2017-02-011-3/+7
|
* WebVR API Implementation, r=larsbergstromImanol Fernandez2017-01-091-0/+13
|
* Update WR (typed units, glyph cache, various features).Glenn Watson2016-12-151-2/+4
|
* Removed util.Alan Jeffrey2016-12-141-4/+4
|
* Implement WebGLContext resize, r=emilioImanol Fernandez2016-12-011-2/+2
|
* canvas: Cleanup CanvasData and layout and script messages.Emilio Cobos Álvarez2016-11-071-6/+14
|
* Remove old rendering backend.Glenn Watson2016-10-181-40/+31
| | | | | | | | | | | | | | This removes paint threads, rust-layers dependency, and changes optional webrender types to be required. The use_webrender option has been removed, however I've left the "-w" command line option in place so that wpt runner can continue to pass that. Once it's removed from there we can also remove the -w option. Once this stage is complete, it should be fine to change the display list building code to generate webrender display lists directly and avoid the conversion step.
* Add OSMesa headless mode, run WPT against Webrender, update tests.Glenn Watson2016-09-281-8/+79
|
* canvas: Deallocate WebRender images on canvasEmilio Cobos Álvarez2016-07-101-0/+8
| | | | | | Fixes #11062 Depends on: #11744, https://github.com/servo/webrender_traits/pull/57, and https://github.com/servo/webrender/pull/292
* Auto merge of #11744 - emilio:wr-default, r=glennwbors-servo2016-07-101-22/+52
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | webgl: Unlock WebRender by default by adding a readback based fallback to WebGL context creation. <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors <!-- Either: --> - [x] These changes do not require tests because refactoring. <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> This should give us the chance to use WebRender by default in OSX. r? @pcwalton cc @glennw @larsbergstrom <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11744) <!-- Reviewable:end -->
| * webgl: Unlock WebRender by default by adding a readback based fallback to ↵Emilio Cobos Álvarez2016-06-151-22/+52
| | | | | | | | | | | | WebGL context creation. This should give us the chance to use WebRender by default in OSX.
* | Move util::vec::byte_swap to canvas_traitsAnthony Ramine2016-07-041-2/+2
|/
* Update documentation for {CanvasPaintThread, WebGLPaintThread}::new().Ms2ger2016-05-191-2/+2
|
* webgl: Make the api return the context limits and use them for validationsEmilio Cobos Álvarez2016-04-031-13/+16
| | | | | | | | | | | This allows keeping the VertexAttrib* calls asynchronous. Another option would be to do the validation in the apply() function, but that'd require us passing an unnecessary channel around and add extra synchronization. The counterpart of this is that it has to be updated when the context changes, but that's less problem.
* Auto merge of #10291 - jfhumann:10211, r=emiliobors-servo2016-04-011-2/+2
|\ | | | | | | | | | | <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10291) <!-- Reviewable:end -->
| * #10211: Stop re-exporting webrender_traits WebGL types from canvas_traitsJan-Fabian Humann2016-03-301-2/+2
| |
* | Update webrender to masterEmilio Cobos Álvarez2016-03-311-1/+1
|/ | | | I'll rebase #10224 against it.
* Simplify channel usage in canvas paint threads.Ms2ger2016-03-291-8/+4
|
* Change old references of ecoal95Emilio Cobos Álvarez2016-03-231-1/+1
|
* canvas: Remove all the canvas layerization infrastructureEmilio Cobos Álvarez2016-03-231-16/+2
| | | | | | | It was never complete, and with webrender as a backend the way we render WebGL contexts has changed a bit. This should remove quite a bit of overhead.
* Stop returning in-process senders from {CanvasPaintThread, ↵Ms2ger2016-03-211-3/+3
| | | | WebGLPaintThread}::start.
* Deny unsafe code in more crates.Ms2ger2016-03-181-0/+1
|
* Add WebRender integration to Servo.Glenn Watson2016-02-181-481/+84
| | | | | | | | WebRender is an experimental GPU accelerated rendering backend for Servo. The WebRender backend can be specified by running Servo with the -w option (otherwise the default rendering backend will be used). WebRender has many bugs, and missing features - but it is usable to browse most websites - please report any WebRender specific rendering bugs you encounter!
* This updates gleam to a version that relies on OpenGL 3.3 (which is needed ↵Glenn Watson2016-02-011-8/+8
| | | | | | for the instancing changes in WR - see servo/gleam@fc7e28e). Hopefully the build machines and everyone using Servo has GL 3.3 available on their machines - if it causes any problems, we can revert this change and investigate further.
* Remove remaining unused importsMatthew Kuo2016-01-171-1/+0
|
* webgl: Improve debuggingEmilio Cobos Álvarez2016-01-131-2/+6
| | | | Now we can keep track of errors more easily.
* webgl: Implement Uniform1f, Uniform1fv, and Uniform4fEmilio Cobos Álvarez2016-01-131-2/+4
| | | | | | I was going to implement Uniform4fv with sequences, (since it practically implemented), but we can't until we support Float32Array args because codegen doesn't know how tu differenciate between both.
* modified to use `map` instead of `match`.Josh Leverette2016-01-111-9/+5
|
* Refactor WebGLPaintTask to prevent creating extra IPC channels #9228Josh Leverette2016-01-101-3/+9
|
* task -> threadrohan.prinja2016-01-101-0/+571