Closed Bug 748645 Opened 13 years ago Closed 13 years ago

Upload TiledThebesLayerOGL outside the transaction

Categories

(Core :: Graphics, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla15
Tracking Status
firefox14 --- fixed
blocking-fennec1.0 --- beta+

People

(Reporter: BenWa, Assigned: BenWa)

Details

Attachments

(1 file)

Attached patch patchSplinter 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)
Attachment #618150 - Flags: review?(matt.woodrow) → review?(chrislord.net)
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+
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.
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?
blocking-fennec1.0: --- → ?
blocking-fennec1.0: ? → beta+
Whiteboard: [has reviewed patch]
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
Assignee: nobody → bgirard
Whiteboard: [has reviewed patch]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: