Open Bug 923338 Opened 6 years ago Updated 6 years ago
Add a gfx
Drawable for Draw Targets
There's currently no way to turn a DrawTarget into a gfxSurfaceDrawable. Right now, you need to first call GetThebesSurfaceForDrawTarget(), and then create a gfxSurfaceDrawable based on the surface. It makes sense to add gfxDrawTargetDrawable so we can avoid GetThebesSurfaceForDrawTarget() in code that deals with gfxDrawables.
Ack, the first sentence should read "turn a DrawTarget into a gfxDrawable".
You need to log in before you can comment on or make changes to this bug.