Closed Bug 1328819 Opened 7 years ago Closed 6 years ago

[Mortar] save canvas' |ImageData| in mortar's |ImageData|

Categories

(Firefox :: General, defect, P4)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: ywu, Assigned: ywu)

References

Details

dom ImageData should be saved in the class of ImageData in our js-plugin to avoid recomputing when painting.
In our motar, different objects of |Graphics2DPaintOperation| might have same motar's |ImageData|. However, we compute canvas' |ImageData| every time when we call |Graphics2DPaintOperation.execute|.  We just should find a way to save canvas' |ImageData| in our motar's |ImageData| to avoid recomputing.
Summary: [jsplugins] refactor motar's ImageData → [jsplugins] save canvas' |ImageData| in motar's |ImageData|
typo: motar -> mortar
Summary: [jsplugins] save canvas' |ImageData| in motar's |ImageData| → [jsplugins] save canvas' |ImageData| in mortar's |ImageData|
Depends on: 1328543
Priority: -- → P4
Summary: [jsplugins] save canvas' |ImageData| in mortar's |ImageData| → [Mortar] save canvas' |ImageData| in mortar's |ImageData|
has no plan for this.
close it now.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.