Closed Bug 1129467 Opened 5 years ago Closed 5 years ago

DrawTargetTiled doesn't apply the the tile offset until the first SetTranform call

Categories

(Core :: Graphics: Layers, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla38
Tracking Status
firefox38 --- fixed

People

(Reporter: nical, Assigned: nical)

References

Details

Attachments

(1 file)

The offset is applied when calling SetTransform but doesn't seem to be set anywhere else, so drawing commands arriving between the creation of the DrawTarget and the first SetTransform call don't have the tile offset accounted for.
Comment on attachment 8559318 [details] [diff] [review]
Apply the correct transformation during initialization

Review of attachment 8559318 [details] [diff] [review]:
-----------------------------------------------------------------

Good one.
Attachment #8559318 - Flags: review?(bas) → review+
https://hg.mozilla.org/mozilla-central/rev/953be9e34875
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
You need to log in before you can comment on or make changes to this bug.