Closed
Bug 986933
Opened 11 years ago
Closed 11 years ago
Add multi-threaded PGrallocBufferChild deallocation to ImageBridgeChild
Categories
(Core :: Graphics: Layers, defect)
Tracking
()
RESOLVED
FIXED
mozilla31
People
(Reporter: sotaro, Assigned: sotaro)
References
Details
Attachments
(1 file, 2 obsolete files)
(deleted),
patch
|
Details | Diff | Splinter Review |
In GrallocTextureClientOGL::~GrallocTextureClientOGL(), there is a case that SurfaceDescriptor is deallocated by calling ISurfaceAllocator::DestroySharedSurface(). But the function seems needed to be called from IPC thread. But GrallocTextureClientOGL's destructor could be called from non IPC thread.
Assignee | ||
Comment 1•11 years ago
|
||
shmem deallocation case is protected by ImageBridgeChild::DeallocShmem(ipc::Shmem& aShmem). But PGrallocBufferChild's deallocation does not have such code to protect from off ipc thread deallocation.
Assignee | ||
Updated•11 years ago
|
Summary: ISurfaceAllocator::DestroySharedSurface() could be called from non-IPC thread → Handle PGrallocBufferChild's deallocation fron non IPC thread
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → sotaro.ikeda.g
Assignee | ||
Comment 2•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Summary: Handle PGrallocBufferChild's deallocation fron non IPC thread → Add multi-threaded PGrallocBufferChild deallocation to ImageBridgeChild
Assignee | ||
Updated•11 years ago
|
Attachment #8395954 -
Flags: review?(nical.bugzilla)
Updated•11 years ago
|
Attachment #8395954 -
Flags: review?(nical.bugzilla) → review+
Assignee | ||
Comment 3•11 years ago
|
||
Assignee | ||
Comment 4•11 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #3)
> https://tbpl.mozilla.org/?tree=Try&rev=9aab41f5eec6
A lot of build failure on some platforms.
Assignee | ||
Comment 5•11 years ago
|
||
Fix build failure on linux.
Attachment #8395954 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Attachment #8396698 -
Attachment is obsolete: true
Assignee | ||
Comment 6•11 years ago
|
||
Carry "nical review+".
Assignee | ||
Comment 7•11 years ago
|
||
Assignee | ||
Comment 8•11 years ago
|
||
Comment 9•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
You need to log in
before you can comment on or make changes to this bug.
Description
•