Closed
Bug 748645
Opened 13 years ago
Closed 13 years ago
Upload TiledThebesLayerOGL outside the transaction
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla15
People
(Reporter: BenWa, Assigned: BenWa)
Details
Attachments
(1 file)
696 bytes,
patch
|
cwiiis
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
This is causing some regression since we're doing this upload while content is blocked. I wanted to let TiledThebesLayerOGL bake for a day with uploads during the transaction. Note we have another ProcessUploadQueue() in 'TiledThebesLayerOGL::RenderLayer'.
Attachment #618150 -
Flags: review?(matt.woodrow)
Assignee | ||
Updated•13 years ago
|
Attachment #618150 -
Flags: review?(matt.woodrow) → review?(chrislord.net)
Comment 1•13 years ago
|
||
Comment on attachment 618150 [details] [diff] [review]
patch
Review of attachment 618150 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good to me. Is there a possibility that content could start reusing/destroying tiles before the compositor gets to process them?
::: gfx/layers/opengl/TiledThebesLayerOGL.cpp
@@ +119,5 @@
> TiledThebesLayerOGL::PaintedTiledLayerBuffer(const BasicTiledLayerBuffer* mTiledBuffer)
> {
> mMainMemoryTiledBuffer = *mTiledBuffer;
> mRegionToUpload.Or(mRegionToUpload, mMainMemoryTiledBuffer.GetLastPaintRegion());
>
And maybe get rid of this blank line too?
Attachment #618150 -
Flags: review?(chrislord.net) → review+
Assignee | ||
Comment 2•13 years ago
|
||
It is, however the code should copy out the tiles because the compositor will still have a read lock. If that doesn't work then there's a bug with that part of the tiling work and well have to fix it.
Assignee | ||
Comment 3•13 years ago
|
||
Assignee | ||
Comment 4•13 years ago
|
||
Comment on attachment 618150 [details] [diff] [review]
patch
[Approval Request Comment]
User impact if declined: Checkerboard reduction
Testing completed (on m-c, etc.): local testing, m-c testing
Risk to taking this patch (and alternatives if risky): Small risk of regressing correctness.
String changes made by this patch: None
Attachment #618150 -
Flags: approval-mozilla-aurora?
Assignee | ||
Updated•13 years ago
|
blocking-fennec1.0: --- → ?
Updated•13 years ago
|
blocking-fennec1.0: ? → beta+
Updated•13 years ago
|
Whiteboard: [has reviewed patch]
Comment 5•13 years ago
|
||
Comment on attachment 618150 [details] [diff] [review]
patch
[Triage Comment]
Approving, Fennec beta blocker.
Attachment #618150 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla15
Updated•13 years ago
|
Assignee: nobody → bgirard
Comment 7•13 years ago
|
||
status-firefox14:
--- → fixed
Assignee | ||
Updated•13 years ago
|
Whiteboard: [has reviewed patch]
You need to log in
before you can comment on or make changes to this bug.
Description
•