mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Implement DOM to texture <!-- Please describe your changes on the following line: --> This is a prototype of the WebGL DOMToTexture feature. The API should be fine as a privileged extension for now due to security concerns. The working group has been investigating the viability of unprivileged usage but the spec is not ready yet. Demo video: https://www.youtube.com/watch?v=hpZqEM5hPao --- <!-- 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: --> - [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/18592) <!-- Reviewable:end -->
26 lines
685 B
TOML
26 lines
685 B
TOML
[package]
|
|
name = "canvas"
|
|
version = "0.0.1"
|
|
authors = ["The Servo Project Developers"]
|
|
license = "MPL-2.0"
|
|
publish = false
|
|
|
|
[lib]
|
|
name = "canvas"
|
|
path = "lib.rs"
|
|
|
|
[dependencies]
|
|
azure = {git = "https://github.com/servo/rust-azure"}
|
|
canvas_traits = {path = "../canvas_traits"}
|
|
compositing = {path = "../compositing"}
|
|
cssparser = "0.22.0"
|
|
euclid = "0.15"
|
|
fnv = "1.0"
|
|
gleam = "0.4"
|
|
ipc-channel = "0.9"
|
|
log = "0.3.5"
|
|
num-traits = "0.1.32"
|
|
offscreen_gl_context = { version = "0.11", features = ["serde", "osmesa"] }
|
|
servo_config = {path = "../config"}
|
|
webrender = {git = "https://github.com/servo/webrender"}
|
|
webrender_api = {git = "https://github.com/servo/webrender", features = ["ipc"]}
|