aboutsummaryrefslogtreecommitdiffstats
path: root/components/compositing
Commit message (Collapse)AuthorAgeFilesLines
* Fix media session action handlingFernando Jiménez Moreno2019-11-201-1/+1
|
* MediaSessionAction message from embedder to script threadFernando Jiménez Moreno2019-11-201-1/+5
|
* Avoid recompiling script every time surfman changesAlan Jeffrey2019-11-184-4/+5
|
* Properly set event.buttons value on mousemovePaul Rouget2019-11-111-5/+1
|
* Ensure layout/script always have a correct viewport size when a new pipeline ↵Josh Matthews2019-11-061-5/+0
| | | | is created.
* Centralize definitions of window sizes and DPI in compositor/constellation ↵Josh Matthews2019-11-061-13/+3
| | | | during startup.
* Use surfman for managing GL surfacesPatrick Walton2019-11-012-5/+4
| | | | | | 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>
* Double key image cache by requesting origin, and store CORS status with ↵Josh Matthews2019-10-041-0/+2
| | | | cached images.
* Auto merge of #24058 - Eijebong:ipc-channel, r=jdmbors-servo2019-08-271-1/+1
|\ | | | | | | | | | | | | | | Update ipc-channel and related dependencies <!-- 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/24058) <!-- Reviewable:end -->
| * Update ipc-channel and related dependenciesBastien Orivel2019-08-271-1/+1
| |
* | Implement pointerMove webdriver actionGeorge Roman2019-08-222-9/+14
|/
* Implement TakeElementScreenshot WebDriver commandGeorge Roman2019-08-203-11/+36
|
* Auto merge of #23988 - georgeroman:implement_pointer_up_and_down_actions, r=jdmbors-servo2019-08-182-1/+21
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement pointerDown and pointerUp webdriver actions <!-- 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 <!-- 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/23988) <!-- Reviewable:end -->
| * Implement pointerDown and pointerUp webdriver actionsGeorge Roman2019-08-162-1/+21
| |
* | Auto merge of #23979 - Eijebong:deps-deps-deps, r=jdmbors-servo2019-08-161-1/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | Update webrender, image, png and raqote This will avoid duping png because of the raqote backend <!-- 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/23979) <!-- Reviewable:end -->
| * Update webrender, image, png and raqoteBastien Orivel2019-08-161-1/+1
| | | | | | | | This will avoid duping png because of the raqote backend
* | Update toml to 0.5 and cbindgen to 0.9Bastien Orivel2019-08-131-1/+1
|/
* Update euclid.Emilio Cobos Álvarez2019-07-234-67/+49
| | | | | | | | 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.
* Auto merge of #23770 - matharumanpreet00:update_cursor_on_scroll, r=paulrougetbors-servo2019-07-151-10/+20
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | track and update cursor while scrolling <!-- Please describe your changes on the following line: --> This PR follows PR #23313 to fix the issue #12604 by adding a field `cursor_pos: DevicePoint` to `IOCompositor` and adding a `update_cursor()` method. This is based on the improvements suggested by @paulrouget in this [feedback](https://github.com/servo/servo/pull/23313#issuecomment-489017975) comment. This is my first time contributing to open source, i would love any feedback. --- <!-- 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 - [X] These changes fix #12604 (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because they aren't testable, as discussed in the comments on #12604 <!-- 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/23770) <!-- Reviewable:end -->
| * use update_cursor() in dispatch_mouse_window_move_event_class() methodManpreet Singh Matharu2019-07-131-14/+4
| |
| * track and update cursor while scrollingManpreet Singh Matharu2019-07-121-0/+20
| |
* | rustfmtJosh Matthews2019-07-093-26/+31
| |
* | Get the `servo` crate building with the new WebRenderPatrick Walton2019-07-092-6/+14
| |
* | Fix WebRender churn in `compositing`Patrick Walton2019-07-092-6/+6
| |
* | A few fixes to the compositor for WebRenderPatrick Walton2019-07-092-4/+5
| |
* | WebRender units are no longer reexported.Patrick Walton2019-07-093-17/+14
|/
* Support WebXR devices with main thread affinityAlan Jeffrey2019-07-053-2/+13
|
* Auto merge of #23707 - servo:jdm-patch-31, r=paulrougetbors-servo2019-07-051-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure GL context is prepared for deinitialization. I tested shutdown on Windows numerous times before and after this change, and I have not seen any further panics in debug builds in builds with the GL context made active before deinitializing WebRender. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #23706 and fix #23614. - [x] These changes do not require tests because no tests on windows ;_; <!-- 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/23707) <!-- Reviewable:end -->
| * Ensure GL context is prepared for deinitialization.Josh Matthews2019-07-041-0/+1
| |
* | Add media (WindowGLContext) module in canvas_traitVíctor Manuel Jáquez Leal2019-07-042-0/+8
|/ | | | | | | | | | | | | | | | This module adds a structure (WindowGLContext) which holds the OpenGL parameters that are going to be used by servo-media player to render video frames using OpenGL. In order to fill this structure, three new methods were added to WindowMethods trait. In this patch only the Glutin-based implementation provides a simple boilerplate. The WindowGLContext is created in the entry point of libservo, when the application window is created, and later passed to the constellation, the pipeline and to the window element in dom, thus htmlmediaelement has a mean to obtain these parameters via its window.
* 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/+4
|
* Fix some new warningsSimon Sapin2019-06-222-2/+2
|
* Add Servo3D immersive demo for magicleapAlan Jeffrey2019-06-131-2/+2
|
* Implement WheelEvent InterfaceRobert Snakard2019-06-092-3/+28
| | | | | | | | | | | Note: The WheelEvent interface supports rotation in all 3 spatial dimensions. This implementation only supports two due to limitations in the Glutin compositor. The wheelevent interface is a dom interface that triggers for any attached device that can rotate in one or more spatial dimensions. Traditionally this is the mouse wheel though other devices could be used as well. E.g. the trackball on a trackball mouse.
* Make prepare_for_composite return voidoneturkmen2019-06-052-7/+3
|
* Auto merge of #23497 - jdm:windows-resize, r=asajeffreybors-servo2019-06-041-0/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix behaviour of window resizing on Windows. This makes Windows builds usable when the window is resized. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #23489 - [x] These changes do not require tests because we can't run tests on Windows CI yet. <!-- 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/23497) <!-- Reviewable:end -->
| * Fix behaviour of window resizing on Windows.Josh Matthews2019-06-011-0/+3
| |
* | compositing: removed opts-getoneturkmen2019-06-012-20/+60
|/
* Implement MouseEvent buttons attributeGeorge Roman2019-05-161-1/+6
|
* Refactoring of the Glutin port in preparation of the compositor refactoring.Paul Rouget2019-04-292-4/+7
|
* Update SetCursor behaviorPaul Rouget2019-04-251-3/+10
|
* call window.gl() oncePaul Rouget2019-04-071-14/+22
|
* Bug: #22853 - Make Window::set_fullscreen pass a non-None value when ↵Kamal Umudlu2019-04-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | entering fullscreen is fixed and SetFullscreenState in exit_fullscreen changed to False Added patch for bug:22853 Added implementation to exit from fullscreen mode by pressing ESC button Added patch that supports to exit from fullscreen mode by pressing ESC Deleted patch files Added all requested changes on project Removed the loop over self.pending_changes in switch_fullscreen_mode function Bug #22853 - Make Window::set_fullscreen pass a non-None value when entering fullscreen is fixed and SetFullscreenState in exit_fullscreen changed to False Added missing bracket in constellation.rs file to fix build issue Bug: #22853 --> Make Window::set_fullscreen pass a non-None value when entering fullscreen is fixed and SetFullscreenState in exit_fullscreen changed to False
* bound sampler bufferGregory Terzian2019-03-311-2/+2
|
* Auto merge of #23080 - jdm:sampling-profiler, r=gterzianbors-servo2019-03-261-0/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a sampling profiler This uses the code already built for the background hang monitor and adds the ability to repeatedly sample all monitored threads. This sampling allows us to generate profiles that we can translate into the format used by https://perf-html.io/, allowing us to benefit from modern Gecko performance tooling. You can run Servo with `PROFILE_OUTPUT=foo.json` and `SAMPLING_RATE=50` (for example), otherwise these values will default to `samples.json` and 10ms, respectively. To activate the profiler, press cmd+p, and to stop profiling, press cmd+p again. This will the captured samples to be symbolicated, which will take a very long time, and eventually there will be a new JSON profile in the output location. To create a profile for use by Gecko's tools, run `python etc/profilicate.py path/to/profile.json >gecko_profile.json`, and load `gecko_profile.json` in the https://perf-html.io/ to see something like [this](https://profiler.firefox.com/public/8137e2b11fbb92afb80090bc534fd83015c87ee6/calltree/?globalTrackOrder=0-1&thread=1&v=3); --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #13103 - [x] These changes do not require tests because way too many pieces to automate <!-- 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/23080) <!-- Reviewable:end -->
| * Add a sampling profiler and a script to generate profiles for use with Gecko ↵Josh Matthews2019-03-261-0/+4
| | | | | | | | tooling.
* | Add transparent padding around ServoSurfacePaul Rouget2019-03-252-12/+25
| |
* | WR update: draw background before renderingPaul Rouget2019-03-221-0/+3
| |
* | WR update: new viewport semanticPaul Rouget2019-03-223-17/+28
| |