servo/components/script
bors-servo 2c0bbcf2aa
Auto merge of #26077 - jdm:xr-canvas-dirty, r=asajeffrey
webgl: Don't dirty canvas element while in immersive mode.

There are various WebGL APIs that are supposed to trigger a frame composite at the end of the event loop when they're used. We enforce this via dirtying the canvas element and ensuring that reflow occurs for normal content. This is redundant when we're using immersive mode and incurs extra work by the layout thread and compositor that inhibits the immersive rendering performance.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix (part of) #26019
- [x] These changes do not require tests because we do not have infrastructure to test immersive mode on CI.
2020-03-31 22:23:32 -04:00
..
docs
dom Auto merge of #26077 - jdm:xr-canvas-dirty, r=asajeffrey 2020-03-31 22:23:32 -04:00
task_source
body.rs
build.rs
canvas_state.rs Implement CanvasRenderingContext2D.getTransform() 2020-02-12 08:49:18 +01:00
Cargo.toml Update mozjs. 2020-03-30 17:45:28 -04:00
clipboard_provider.rs
devtools.rs
document_loader.rs
euclidext.rs
fetch.rs
image_listener.rs
init.rs
layout_image.rs
lib.rs Move PendingRestyle to the style_layout_interface crate 2020-03-28 14:00:53 +01:00
mem.rs
microtask.rs Propagate user interacting flag to timers and promises 2020-03-26 08:36:57 +01:00
network_listener.rs
realms.rs
script_module.rs Use mozjs exposed function to generate SourceText 2020-03-31 22:29:53 +09:00
script_runtime.rs Auto merge of #26056 - gterzian:enable_atomics_wait_on_dedicated_worker, r=jdm 2020-03-30 10:42:23 -04:00
script_thread.rs Cache the result of retrieving an element's client rectangle from layout. 2020-03-31 17:15:44 -04:00
serviceworker_manager.rs
serviceworkerjob.rs
stylesheet_loader.rs
stylesheet_set.rs
task.rs
task_manager.rs
task_queue.rs
test.rs
textinput.rs
timers.rs Propagate user interacting flag to timers and promises 2020-03-26 08:36:57 +01:00
unpremultiplytable.rs
webdriver_handlers.rs Update SpiderMonkey 2020-03-06 11:13:28 +01:00