Closed
Bug 1386073
Opened 9 years ago
Closed 9 years ago
Queue OMTP Captures and replay them after we've captured everything
Categories
(Core :: Graphics, enhancement)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla57
| Tracking | Status | |
|---|---|---|
| firefox57 | --- | fixed |
People
(Reporter: mchang, Assigned: mchang)
References
Details
Attachments
(1 file, 2 obsolete files)
|
14.08 KB,
patch
|
dvander
:
review+
|
Details | Diff | Splinter Review |
To support async capture and replay, we can queue up captures on the Paint Thread with their respective states. Then replay them in one go on the Paint Thread. We need this because we can draw to multiple draw targets with a rotated buffer while painting a client painted layer.
Attachment #8892224 -
Flags: review?(dvander)
| Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8892224 -
Attachment is obsolete: true
Attachment #8892224 -
Flags: review?(dvander)
Attachment #8892227 -
Flags: review?(dvander)
| Assignee | ||
Comment 2•9 years ago
|
||
This way we don't set the transform when we BorrowDrawTarget from a ContentClient. Then we send the captured contents off to the paint thread to paint. We can iterate through the DTs + paint them at the same time.
Attachment #8892227 -
Attachment is obsolete: true
Attachment #8892227 -
Flags: review?(dvander)
Attachment #8892663 -
Flags: review?(dvander)
Attachment #8892663 -
Flags: review?(dvander) → review+
Comment on attachment 8892227 [details] [diff] [review]
Queue up OMTP paints
Review of attachment 8892227 [details] [diff] [review]:
-----------------------------------------------------------------
::: gfx/layers/PaintThread.cpp
@@ +135,5 @@
> +
> + // Textureclient forces a flush once we "end paint", so
> + // users of this texture expect all the drawing to be complete.
> + // Force a flush now.
> + // TODO: This might be a performance bottleneck because
Large flushes may be contributing to the device reset problems, so we may want to end up having a preference for "flush per draw target" vs. "flush after everything".
| Assignee | ||
Comment 4•9 years ago
|
||
Pushed by mchang@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/db753f92f801
Don't set RotatedBuffer's returned DrawTarget transform with omtp. r=dvander
Comment 6•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox57:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in
before you can comment on or make changes to this bug.
Description
•