Open Bug 923338 Opened 6 years ago Updated 6 years ago

Add a gfxDrawable for DrawTargets

Categories

(Core :: Graphics, defect)

defect
Not set

Tracking

()

People

(Reporter: seth, Unassigned)

References

Details

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".
Blocks: 923341
You need to log in before you can comment on or make changes to this bug.