Closed Bug 968872 Opened 12 years ago Closed 12 years ago

Remove TEXTURE_DEALLOCATE_DEFERRED flag

Categories

(Core :: Graphics: Layers, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla30

People

(Reporter: sotaro, Assigned: sotaro)

References

Details

Attachments

(1 file, 3 obsolete files)

+++ This bug was initially created as a clone of Bug #962101 +++ Created based on Bug 962101 Comment 18. After Bug 962101 is fixed, we could remove TEXTURE_DEALLOCATE_DEFERRED flag.
Assignee: nobody → sotaro.ikeda.g
Attachment #8374075 - Attachment is obsolete: true
Attachment #8374077 - Flags: review?(nical.bugzilla)
Comment on attachment 8374077 [details] [diff] [review] patch - Remove TEXTURE_DEALLOCATE_DEFERRED flag clear review?. The patch seems to have a problem.
Attachment #8374077 - Flags: review?(nical.bugzilla)
Fix TEXTURE_DEALLOCATE_CLIENT flag's handling.
Attachment #8374077 - Attachment is obsolete: true
Attachment #8374281 - Flags: review?(nical.bugzilla)
Blocks: 946720
Comment on attachment 8374281 [details] [diff] [review] patch v2 - Remove TEXTURE_DEALLOCATE_DEFERRED flag Review of attachment 8374281 [details] [diff] [review]: ----------------------------------------------------------------- ::: gfx/layers/composite/TextureHost.cpp @@ -734,3 @@ > case Deletion: > - if (!(mTextureHost->GetFlags() & TEXTURE_DEALLOCATE_CLIENT) && !isDeffered) { > - mTextureHost->DeallocateSharedData(); Are you sure about removing this entirely? which code path will handle deallocating the shared data on the host side now?
> ::: gfx/layers/composite/TextureHost.cpp > @@ -734,3 @@ > > case Deletion: > > - if (!(mTextureHost->GetFlags() & TEXTURE_DEALLOCATE_CLIENT) && !isDeffered) { > > - mTextureHost->DeallocateSharedData(); > > Are you sure about removing this entirely? which code path will handle > deallocating the shared data on the host side now? Nical, in my understanding, TextureHost::Finalize() handle it if the TextureHost does not have TEXTURE_DEALLOCATE_CLIENT. Does it cause a problem?
Flags: needinfo?(nical.bugzilla)
Comment on attachment 8374281 [details] [diff] [review] patch v2 - Remove TEXTURE_DEALLOCATE_DEFERRED flag Review of attachment 8374281 [details] [diff] [review]: ----------------------------------------------------------------- Ah! Yes indeed, I got confused. This code as been moving around so many times.
Attachment #8374281 - Flags: review?(nical.bugzilla) → review+
Flags: needinfo?(nical.bugzilla)
Committable patch. Carry "r=nical".
Attachment #8374281 - Attachment is obsolete: true
Attachment #8374806 - Flags: review+
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: