Closed
Bug 941411
Opened 11 years ago
Closed 11 years ago
Let GraphicBufferLocked wrap a TextureClient instead of a SurfaceDescriptor
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
INVALID
People
(Reporter: bjacob, Unassigned)
Details
Bug 941389 is about replacing all "bad" uses of SurfaceDescriptor by TextureClient i.e. only use SurfaceDescriptor's directly in low-level IPC-related code, and instead use TextureClient as much as possible, as a safer abstraction (safer because reference-counted and not imperatively destroyed by the IPC system). It looks like GraphicBufferLocked is wrapping a mSurfaceDescriptor; since GraphicBufferLocked is refcounted itself, it seems that it would be better off wrapping a refcounted TextureClient, so that refcounting can be actually honored. It's possible and expected that TextureClient might not be satisfactory for this task, in this current state. The present bug is also about fixing any such issue with TextureClient.
Reporter | ||
Comment 1•11 years ago
|
||
I think I filed this prematurely. Let's not clutter the bug 941399 dependency with that for now.
No longer blocks: BadSurfaceDescriptor, 941413
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•