Closed
Bug 968872
Opened 12 years ago
Closed 12 years ago
Remove TEXTURE_DEALLOCATE_DEFERRED flag
Categories
(Core :: Graphics: Layers, defect)
Tracking
()
RESOLVED
FIXED
mozilla30
People
(Reporter: sotaro, Assigned: sotaro)
References
Details
Attachments
(1 file, 3 obsolete files)
|
4.09 KB,
patch
|
sotaro
:
review+
|
Details | Diff | Splinter Review |
+++ 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 | ||
Updated•12 years ago
|
Assignee: nobody → sotaro.ikeda.g
| Assignee | ||
Comment 1•12 years ago
|
||
| Assignee | ||
Updated•12 years ago
|
Attachment #8374075 -
Attachment is obsolete: true
| Assignee | ||
Comment 2•12 years ago
|
||
| Assignee | ||
Updated•12 years ago
|
Attachment #8374077 -
Flags: review?(nical.bugzilla)
| Assignee | ||
Comment 3•12 years ago
|
||
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)
| Assignee | ||
Comment 4•12 years ago
|
||
Fix TEXTURE_DEALLOCATE_CLIENT flag's handling.
Attachment #8374077 -
Attachment is obsolete: true
| Assignee | ||
Updated•12 years ago
|
Attachment #8374281 -
Flags: review?(nical.bugzilla)
Comment 5•12 years ago
|
||
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?
| Assignee | ||
Comment 6•12 years ago
|
||
> ::: 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 7•12 years ago
|
||
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+
Updated•12 years ago
|
Flags: needinfo?(nical.bugzilla)
| Assignee | ||
Comment 8•12 years ago
|
||
| Assignee | ||
Comment 9•12 years ago
|
||
Committable patch. Carry "r=nical".
Attachment #8374281 -
Attachment is obsolete: true
| Assignee | ||
Updated•12 years ago
|
Attachment #8374806 -
Flags: review+
| Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 10•12 years ago
|
||
Keywords: checkin-needed
Comment 11•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
Updated•12 years ago
|
Blocks: fuzzing-layers-linux
You need to log in
before you can comment on or make changes to this bug.
Description
•