aboutsummaryrefslogtreecommitdiffstats
path: root/components/compositing/windowing.rs
Commit message (Collapse)AuthorAgeFilesLines
* Get the `servo` crate building with the new WebRenderPatrick Walton2019-07-091-2/+2
|
* Fix WebRender churn in `compositing`Patrick Walton2019-07-091-2/+2
|
* A few fixes to the compositor for WebRenderPatrick Walton2019-07-091-2/+2
|
* WebRender units are no longer reexported.Patrick Walton2019-07-091-4/+3
|
* Support WebXR devices with main thread affinityAlan Jeffrey2019-07-051-1/+1
|
* Add media (WindowGLContext) module in canvas_traitVíctor Manuel Jáquez Leal2019-07-041-0/+7
| | | | | | | | | | | | | | | | 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.
* Initialize a wevxr device registry from ServoAlan Jeffrey2019-07-021-0/+3
|
* Fix some new warningsSimon Sapin2019-06-221-1/+1
|
* Add Servo3D immersive demo for magicleapAlan Jeffrey2019-06-131-2/+2
|
* Implement WheelEvent InterfaceRobert Snakard2019-06-091-1/+4
| | | | | | | | | | | 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-051-3/+2
|
* Refactoring of the Glutin port in preparation of the compositor refactoring.Paul Rouget2019-04-291-2/+5
|
* 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-251-1/+11
| |
* | WR update: new viewport semanticPaul Rouget2019-03-221-2/+4
|/
* Use a test VRDisplay that renders to a GL windowAlan Jeffrey2019-03-051-1/+7
|
* Allow the embedder to register their own VRServicesAlan Jeffrey2019-02-141-6/+3
|
* Support for ExternalVR implementationPaul Rouget2019-02-071-0/+6
|
* constellation: restructure navigation, remove sync commGregory Terzian2018-12-231-1/+4
|
* Update webrenderManish Goregaokar2018-11-271-6/+6
|
* Rename gleam feature to gl in compositingAnthony Ramine2018-11-201-3/+3
|
* Update MPL license to https (part 4)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* `cargo fix --edition-idioms`Simon Sapin2018-11-081-2/+2
|
* Reorder importsPyfisch2018-11-061-1/+1
|
* remove useless arguments from prepare_for_compositePaul Rouget2018-10-301-2/+2
|
* Use keyboard-types cratePyfisch2018-10-071-3/+4
| | | | | | | | | | | | | Have embedders send DOM keys to servo and use a strongly typed KeyboardEvent from the W3C UI Events spec. All keyboard handling now uses the new types. Introduce a ShortcutMatcher to recognize key bindings. Shortcuts are now recognized in a uniform way. Updated the winit port. Updated webdriver integration. part of #20331
* Let the clipboard crate handle the lack of clipboard supportPaul Rouget2018-09-121-2/+0
|
* Refactor embedder NewBrowser flowGregory Terzian2018-08-111-2/+1
|
* move msg to embedder_traits, use in script, handle send error in embedderGregory Terzian2018-05-231-1/+4
|
* Make gleam optional for compositor, switch various names from glutin to winitDzmitry Malyshau2018-04-181-0/+3
|
* forward EmbedderMsg to embedderPaul Rouget2018-03-221-51/+8
|
* Reduce the number of calls to the embedder by grouping the screen and window ↵Paul Rouget2018-03-221-13/+18
| | | | coordinates into one structure
* Auto merge of #20071 - paulrouget:typedsize, r=glennwbors-servo2018-03-161-20/+17
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use typed coordinates more Requires https://github.com/servo/servo/pull/19895 We use Size2D and Point2D across compositing, constellation and script, loosing the type of pixels we use (DevicePixel, DeviceIndepententPixel or CSSPixel) along the way, which might lead to bugs like `window.outerHeight` not taking into account the page zoom (using DeviceIndepententPixel instead of CSSPixel). This should make the situation a bit better. --- <!-- 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 we can't zoom in a test <!-- 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/20071) <!-- Reviewable:end -->
| * remove WindowMethods::size()Paul Rouget2018-03-161-3/+1
| |
| * alias some euclid typesPaul Rouget2018-03-161-17/+16
| |
| * Use typed coordinates.Paul Rouget2018-03-161-12/+12
| | | | | | | | | | | | | | | | We use Size2D and Point2D across compositing, constellation and script, losing the type of pixels we use (DevicePixel, DeviceIndepententPixel or CSSPixel) along the way, which might lead to bugs like window.outerHeight not taking into account the page zoom (using DeviceIndepententPixel instead of CSSPixel).
* | feat(windowevent): expose CaptureWebRender eventOJ Kwon2018-03-161-0/+3
|/
* report panic to embedderPaul Rouget2018-02-131-0/+3
|
* remove forcetouch supportPaul Rouget2018-02-111-4/+1
|
* style: Move cursor property out of makoIgor Gutorov2018-01-201-2/+2
|
* Update euclid, azure, skia, offscreen_gl_context, plane-split, webrenderSimon Sapin2017-12-081-2/+2
|
* Enable screen.availHeight/availWidth/Height/WidthShing Lyu2017-11-131-0/+4
|
* do not pass new size to Resize eventPaul Rouget2017-11-071-2/+2
|
* order derivable traits listsClément DAVID2017-08-231-1/+1
| | | | | | Ignoring : - **generated**.rs - python/tidy/servo_tidy_tests/rust_tidy.rs
* Auto merge of #18181 - paulrouget:close_browser, r=cbrewsterbors-servo2017-08-231-0/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make it possible to close a browsing context from the embedder <!-- 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 - [x] These changes fix #18006 (github issue number if applicable). <!-- Either: --> - [ ] 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/18181) <!-- Reviewable:end -->
| * Make it possible to close a browsing context from the embedderPaul Rouget2017-08-231-0/+3
| |
* | Add key bindings for more WR debug / profiler options.Glenn Watson2017-08-181-3/+11
|/