aboutsummaryrefslogtreecommitdiffstats
path: root/components/compositing/touch.rs
Commit message (Collapse)AuthorAgeFilesLines
* Use `webrender_api::units::DevicePixel` rather than ↵Nico Burns2024-11-251-2/+1
| | | | | | | | | | | | | | | `style_traits::DevicePixel` unless interfacing with Stylo (#34353) * Use webrender_api::units::DevicePixel rather than style_traits::DevicePixel unless interfacing with Stylo Signed-off-by: Nico Burns <nico@nicoburns.com> * Fix OpenHarmony build Signed-off-by: Nico Burns <nico@nicoburns.com> --------- Signed-off-by: Nico Burns <nico@nicoburns.com>
* Add simple fling implementation (#33219)Jonathan Schwender2024-11-101-18/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add simple fling implementation Add a simple fling implementation, which depends on a refresh tick from the embedder. Currently this refresh tick is only implemented for OpenHarmony (using the vsync signal). The fling implementation is very simple, without any fancy things like acceleration. This can be improved in the future. Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com> Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com> * Multiply initial velocity with 2 This makes the experience much more snappy. Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com> * address review comments Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com> * Rename constants and add todo Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com> * fmt Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com> * Add a few periods to make comments consistent Signed-off-by: Martin Robinson <mrobinson@igalia.com> --------- Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com> Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com> Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* clippy: Fix assorted warnings in `components/` (#31628)eri2024-03-131-4/+1
| | | | | | | * clippy: fix assorted warnings in `components/` * fix: new and default * fix: review comments
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-111-1/+2
| | | | | * strict imports formatting * Reformat all imports
* remove `extern crate` (#30311)Samson2023-09-081-0/+1
| | | | | | | | | | | * remove extern crate * Update components/script_plugins/lib.rs Co-authored-by: Martin Robinson <mrobinson@igalia.com> --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* Update euclid.Emilio Cobos Álvarez2019-07-231-20/+11
| | | | | | | | 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.
* Update MPL license to https (part 4)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* Reorder importsPyfisch2018-11-061-2/+2
|
* Format component compositing #21373kingdido9992018-08-311-31/+38
|
* Change debug assertions to specific onesjanczer2018-02-071-1/+1
|
* Update euclid, azure, skia, offscreen_gl_context, plane-split, webrenderSimon Sapin2017-12-081-2/+2
|
* Fixed scaling artefacts in paint worklets caused by zoom and hidpi.Alan Jeffrey2017-07-201-1/+2
|
* Bump euclid to 0.14.Nicolas Silva2017-06-141-8/+6
|
* Rename ScreenPx to DeviceIndependentPixel.Glenn Watson2017-02-221-2/+1
|
* Move DevicePixel to script_traits.Ms2ger2017-01-111-2/+1
|
* Indicate items in doc comments as code-like.Corey Farwell2016-11-081-1/+1
|
* Remove old rendering backend.Glenn Watson2016-10-181-1/+1
| | | | | | | | | | | | | | This removes paint threads, rust-layers dependency, and changes optional webrender types to be required. The use_webrender option has been removed, however I've left the "-w" command line option in place so that wpt runner can continue to pass that. Once it's removed from there we can also remove the -w option. Once this stage is complete, it should be fine to change the display list building code to generate webrender display lists directly and avoid the conversion step.
* Update to euclid 0.8Martin Robinson2016-08-121-15/+13
|
* Fix a bunch of clippy lintsJohannes Linke2016-01-021-4/+3
|
* Moved ScriptToCompositorMsg enum and EventResult enum to script_traitsBeomjin Kim2015-12-201-2/+1
| | | | | Moved ScriptToCompositorMsg enum and EventResult enum to script_traits resolving issue #8835.
* Refactor touch handling and add pinch zoom gestureMatt Brubeck2015-12-161-0/+237