Open Bug 923338 Opened 11 years ago Updated 2 years ago

Add a gfxDrawable for DrawTargets

Categories

(Core :: Graphics, defect)

defect

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
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.