Closed
Bug 577791
Opened 14 years ago
Closed 14 years ago
Add a gfxASurface::CreateFromDescriptor() API
Categories
(Core :: Graphics, enhancement)
Core
Graphics
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: cjones, Unassigned)
References
Details
For cross-process layers, I want an API like gfxASurface::CreateSimilarSurface(), except keyed on a gfxASurface "descriptor" rather than an existing gfxASurface. My use case is creating a surface in a child process that's "similar" to one in its parent process.
I only really need this for X11 up front, so I'll leave the other implementations TODOs. Joe suggested using a Drawable's XID as the descriptor for X11, which sounds really good modulo potential lifetime issues: the Drawable might after "GetDescriptor()" and before "CreateFromDescriptor()". This isn't a problem for my use case, but I'll see how hard it is to construct a descriptor from other "permanent" Xlib attributes.
Reporter | ||
Comment 1•14 years ago
|
||
We've got all the bits and pieces in place we needed for this from various other bugs.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•