Closed Bug 966455 Opened 10 years ago Closed 10 years ago

Port CopyableCanvasLayer away from Thebes and remove CreateThebesSurfaceAliasForDrawTarget_hack

Categories

(Core :: Graphics: Layers, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bjacob, Unassigned)

References

Details

CreateThebesSurfaceAliasForDrawTarget_hack is one of the callers of GetThebesSurfaceForDrawTarget, so it probably needs to go before we can fix bug 950556.

It is only used by CopyableCanvasLayer which is mixing Thebes rendering with Moz2D DrawTargets. So what needs to be done here, it seems, is to port CopyableCanvasLayer to use Moz2D instead of thebes; once thebes is not used anymore, there should be no need anymore to interop between thebes and moz2d surfaces, so we should be able to remove CreateThebesSurfaceAliasForDrawTarget_hack.
No longer blocks: 950556
Blocks: 950556
Now CreateThebesSurfaceAliasForDrawTarget_hack does not exist in m-c.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.