Bug 598873 (omtc)

Tracking: Off-main-thread compositing

RESOLVED FIXED

Status

()

defect
RESOLVED FIXED
9 years ago
2 years ago

People

(Reporter: cjones, Unassigned)

Tracking

(Depends on 7 bugs, Blocks 3 bugs, {meta})

unspecified
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(blocking-basecamp:-)

Details

(Whiteboard: [Snappy:p3][games:p?])

We want this chiefly for
 - animations unaffected by content script
 - video unaffected by content script

It's easiest with current machinery to have a separate compositor process rather than thread.  With a compositor process, we also get
 - protection from crashy/leaky video drivers

An initial design for how this might work with content processes and a compositor process is at https://wiki.mozilla.org/Gecko:CrossProcessLayers.  However, off-main-thread compositing is just as useful without content processes and without a compositor process.

Patches in bug 570294 (used for testing) have the initial goop needed to get a compositor process running, and some hacky gtk painting code.
Blocks: 599711
Is this a WONTFIX? It would help a lot, anyway... For example Bug 599711 .
Blocks: 555834
Depends on: 703317, 699319
OS: Linux → All
Hardware: x86_64 → All
Depends on: 705691
No longer depends on: 705691
Depends on: 706143
Alias: omtc
Depends on: 706169
Blocks: 706172
Blocks: 706179
Blocks: 706499
Depends on: 706503
Blocks: 580781
Blocks: 709490
Depends on: 695845
Depends on: 711168
Depends on: 697831
Depends on: 713552
Whiteboard: [Snappy]
Depends on: 717688
Depends on: 717925
Depends on: 717938
Depends on: 717951
Depends on: 717958
Depends on: 719624
Whiteboard: [Snappy] → [Snappy:p3]
Depends on: 722012
Depends on: 715785
Depends on: 724094
Depends on: 728524
Fennec's covered by bug 725095.
Depends on: 730079
Depends on: 730407
Depends on: 734685
Depends on: 737413
Depends on: 737801
Depends on: 739679
No longer depends on: 719168
Depends on: 756601
Depends on: 756606
Depends on: omtcd3d9
No longer depends on: 756606
No longer blocks: omtagif
Depends on: omtagif
Depends on: omtagif
Depends on: 756606
No longer blocks: b2g-product-phone
Depends on: 719168
Not blocking on tracking bugs, we'll go through dependencies.
blocking-basecamp: --- → -
Whiteboard: [Snappy:p3] → [Snappy:p3][games:p2]
Depends on: omtc-not-fuzzable
Depends on: 913249
Blocks: e10s
Mass tracking-e10s flag change. Filter bugmail on "2be0fcce-e36a-4e2c-aa80-0e3d33eb5406".
tracking-e10s: --- → +
Depends on: 1042746
Depends on: 1045930
Depends on: 1059304
Depends on: 1160531
Whiteboard: [Snappy:p3][games:p2] → [Snappy:p3][games:p?]
Marking this as games:p3, since games generally don't have (CSS/image) animations or video on a page, but they run in a canvas. We don't have performance profiles of games (at least right now) where this would have been identified as the biggest bottleneck.
Isn't this fixed/superseded by the Quantum Compositor?
Flags: needinfo?(milan)
I don't know that it's worth tracking this bug, you're right.
Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(milan)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.