forked from mirrors/gecko-dev
<!-- Please describe your changes on the following line: --> Info about the big picture and the goals of the WebGL refactor in this thread: https://groups.google.com/forum/#!topic/mozilla.dev.servo/0WMGz60kKzQ I tried to reduce this PR as much as possible as requested in the thread. I'll do separate PRs for other features (e.g.: Batch messages or use shared memory to improve frame times) or fixes. Some tips to ease the review process: - Most changes in DOM objects follow the same pattern (remove CanvasMsg wrapper and use the new sender method). - WebGLCommands are the same ones as before (moved from webrender_api). So those lines are already reviewed. - See WebGL traits in [components/canvas_traits/webgl.rs](https://github.com/servo/servo/pull/17891/files#diff-8701045d01505418701d0631d4d45562) - See WebGLThread and WR External Image bridge in [components/canvas/webgl_thread.rs](https://github.com/servo/servo/pull/17891/files#diff-281554879f39a2a041f7a69d442a5d2e) - The implementation submitted in this PR creates a single `WebGLThread` for all ScriptThread/Pipelines. See that in [components/canvas/webgl_mode/inprocess.rs](https://github.com/servo/servo/pull/17891/files#diff-250070c6c5a38c7f9fa0f5b3c101f68b) The conformance tests will help to guarantee that we don't miss anything. --- <!-- 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. --> Source-Repo: https://github.com/servo/servo Source-Revision: 90f55ea4580e2a15f7d70d0491444f18b972d450 --HG-- rename : servo/tests/unit/style/rule_tree/mod.rs => servo/components/canvas/webgl_mode/mod.rs rename : servo/components/canvas_traits/lib.rs => servo/components/canvas_traits/canvas.rs extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : d476816b29986c4abfd61ff3c7b46aa189f2f50a |
||
|---|---|---|
| .. | ||
| animation.rs | ||
| block.rs | ||
| Cargo.toml | ||
| construct.rs | ||
| context.rs | ||
| data.rs | ||
| display_list_builder.rs | ||
| flex.rs | ||
| floats.rs | ||
| flow.rs | ||
| flow_list.rs | ||
| flow_ref.rs | ||
| fragment.rs | ||
| generated_content.rs | ||
| incremental.rs | ||
| inline.rs | ||
| layout_debug.rs | ||
| lib.rs | ||
| linked_list.rs | ||
| list_item.rs | ||
| model.rs | ||
| multicol.rs | ||
| opaque_node.rs | ||
| parallel.rs | ||
| persistent_list.rs | ||
| query.rs | ||
| sequential.rs | ||
| table.rs | ||
| table_caption.rs | ||
| table_cell.rs | ||
| table_colgroup.rs | ||
| table_row.rs | ||
| table_rowgroup.rs | ||
| table_wrapper.rs | ||
| text.rs | ||
| traversal.rs | ||
| webrender_helpers.rs | ||
| wrapper.rs | ||