aboutsummaryrefslogtreecommitdiffstats
path: root/components/canvas_traits
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement CanvasRenderingContext2D.getTransform()pylbrecht2020-02-121-0/+1
|
* Remove dependency of constellation on canvasKunal Mohan2020-02-062-0/+15
| | | | | | move `ConstellationCanvasMsg` to canvas_traits and start canvas paint thread to components/servo. This, however, does not remove dependency for conditional compilation options.
* Add missing CompositionStyle::Clearpylbrecht2020-01-271-0/+3
|
* Send fill/stroke style along with drawing messagepylbrecht2020-01-251-7/+5
|
* Add support for WebGL2 uniform matrix operationsMátyás Mustoha2020-01-171-0/+12
| | | | | | Adds support for the `uniformMatrix[234]x[234]fv` WebGL2 functions. See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.8
* Add support for WebGL2 unsigned uniform operationsMátyás Mustoha2020-01-151-0/+12
| | | | | | | This adds support for the WebGL2 `uniform[1234]ui` and `uniform[1234]uiv` operations. See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.8
* Add initial support for WebGL2 uniform buffer functionsMátyás Mustoha2020-01-091-0/+28
| | | | | | | | | | | | | | | Adds initial support for the following WebGL2 calls: - bindBufferBase - bindBufferRange - getUniformIndices - getUniformBlockIndex - getActiveUniforms - getActiveUniformBlockParameter - getActiveUniformBlockName - uniformBlockBinding See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.16
* webgl: Set more ANGLE shader translation properties for WebGL 2.Josh Matthews2020-01-071-0/+7
|
* style: Don't specify minor version for cssparser.Emilio Cobos Álvarez2019-11-301-1/+1
|
* Use non-IPC webrender API over explicit IPC channels.Josh Matthews2019-11-272-8/+1
|
* Add support for WebGL2 ReadPixels functionsMátyás Mustoha2019-11-261-0/+1
| | | | | | | Adds support for the new ReadPixels functions introduced with WebGL2 and the relevant PixelStorei parameters. Reference: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.10
* Update webrender and serde_bytesAnthony Ramine2019-11-132-2/+2
|
* Addresses issues raised in #24465; removes redundancy in set_bitmap_dimensionsBailey Blankenship2019-11-101-3/+3
| | | | Removed passing test .ini files and moved euclid extensions to euclidext.rs to factor out redundant code
* Auto merge of #24694 - servo:rustup, r=jdmbors-servo2019-11-091-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove use of on_unimplemented It errors in today’s Nightly: ```rust error[E0557]: feature has been removed --> components/script/lib.rs:9:12 | 9 | #![feature(on_unimplemented)] | ^^^^^^^^^^^^^^^^ feature has been removed error[E0658]: this is an internal attribute that will never be stable --> components/script/dom/bindings/conversions.rs:77:1 | 77 | #[rustc_on_unimplemented(message = "The IDL interface `{Self}` is not derived from `{T}`.")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: for more information, see https://github.com/rust-lang/rust/issues/29642 = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable error: aborting due to 2 previous errors ```
| * Fix some warnings new in Rust NightlySimon Sapin2019-11-081-1/+1
| |
* | Add Support for WebGL TransormfeedbackIstvan Miklos2019-11-081-0/+23
|/ | | | Reference: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.15
* Implement the basic WebGL2 buffer data operationsMátyás Mustoha2019-11-051-0/+2
| | | | | | | Adds support for `bufferData`, `bufferSubData`, `copyBufferSubData` and `getBufferSubData`. Reference: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.3
* Use surfman for managing GL surfacesPatrick Walton2019-11-012-33/+80
| | | | | | 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>
* Update rand to 0.7 (fixes #24448)Anthony Ramine2019-10-231-1/+1
|
* webgl: Lazily clear the canvas right before the first webgl command of the ↵Josh Matthews2019-10-101-8/+4
| | | | next frame.
* Add WebGLSampler supportMátyás Mustoha2019-10-081-0/+8
| | | | Reference: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.13
* Initial implementation of WebGLSyncIstvan Miklos2019-10-021-15/+32
| | | | | | | 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`.
* Auto merge of #24335 - sinkuu:unuesd_deps, r=SimonSapinbors-servo2019-10-011-2/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove unused dependencies <!-- Please describe your changes on the following line: --> Removes unused crates from `Cargo.toml` to (possibly) shorten build time. --- <!-- 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 - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because no semantic changes <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24335) <!-- Reviewable:end -->
| * Remove unused dependenciesShotaro Yamada2019-10-011-2/+0
| |
* | Initial implementation of WebGLQueriesMátyás Mustoha2019-10-011-0/+6
|/ | | | | | | | This patch adds initial support for WeGLQueries. Most related WebGL functions and objects are implemented [1]. What's still missing is the `EXT_disjoint_timer_query_webgl2` support. [1]: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.12
* webxr: Use the same texture format as the original GL context's framebuffer ↵Josh Matthews2019-09-201-0/+8
| | | | when creating an XR GL layer.
* Replace use of gleam in webgl with sparkle.Josh Matthews2019-09-112-6/+6
|
* Update ipc-channel and related dependenciesBastien Orivel2019-08-271-1/+1
|
* Replace use of callbacks in webxr by channelsAlan Jeffrey2019-07-261-38/+1
|
* Support running WebGL in its own thread or on the main thread.Josh Matthews2019-07-252-0/+11
|
* Update euclid.Emilio Cobos Álvarez2019-07-233-3/+3
| | | | | | | | 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-6/+8
|
* Use separate IPC-only locking mechanism when locking from webxrManish Goregaokar2019-07-111-3/+5
|
* WebGLSender doesn't really implement SerializableAlan Jeffrey2019-07-102-2/+38
|
* Use webxr IPC to get a WebXR device registry to each script threadAlan Jeffrey2019-07-032-0/+2
|
* Use webxr git repo for all webxr dependencies in Cargo.tomlsAlan Jeffrey2019-07-021-1/+1
|
* Initialize a wevxr device registry from ServoAlan Jeffrey2019-07-022-0/+20
|
* Auto merge of #23226 - mmatyas:webgl_compressed_textures, r=jdmbors-servo2019-05-211-0/+46
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add initial support for WebGL compressed textures This patch is an initial implementation of WebGL compressed texture support, it contains - functions for registering and querying compressed texture extensions - initial implementation of `CompressedTexImage2D` and `CompressedTexSubImage2D` and their parameter validation - implementation of S3TC (DXT1, DXT3, DXT5) and ETC1 extensions as examples What's still missing: - some of the parameter validation steps are missing - the pixel comparison tests fail for more complex cases (I'm probably missing something trivial at the GL calls) Related: #10209 and #20594 cc @jdm @zakorgy --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] Related issues: #10209, #20594 - [x] There are tests for these changes <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23226) <!-- Reviewable:end -->
| * Add initial support for WebGL compressed texturesMátyás Mustoha2019-05-211-0/+46
| |
* | Auto merge of #23135 - maharsh312:master, r=jdmbors-servo2019-05-131-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create CanvasRect for OffscreenCanvas <!-- Please describe your changes on the following line: --> Created CanvasRect fot OffscreenCanvas and Updated Testcases --- <!-- 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 - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23135) <!-- Reviewable:end -->
| * | Changes for sender recieverMaharsh2019-05-091-1/+1
| |/
* / Allow webvr thread consumers to request input dataManish Goregaokar2019-05-031-2/+6
|/
* Remove offscreen_gl_context dependency from canvas_traits and script.Josh Matthews2019-03-072-2/+24
|
* Pass the GL context to the VRDisplay when renderingAlan Jeffrey2019-02-271-1/+2
|
* Use webvr future_frame_data to avoid blocking the WebGL threadAlan Jeffrey2019-02-262-2/+8
|
* Report all messages processed by the webgl thread.Josh Matthews2019-01-311-2/+31
|
* Ensure that resized GL contexts do not destroy their resources while in use ↵Josh Matthews2019-01-171-1/+1
| | | | by WR.
* Update references to malloc_size_of_derive, which is in crates.io now.Emilio Cobos Álvarez2019-01-131-1/+1
|
* Make HTMLCanvasElement::fetch_all_data return a shared memory blobAnthony Ramine2018-11-211-2/+2
|
* Send an IpcSharedMemory in tex_image_2d and tex_sub_image_2dAnthony Ramine2018-11-201-3/+3
| | | | This avoids a copy in the case of textures coming from HTMLImageElement.