Closed
Bug 1388254
Opened 7 years ago
Closed 7 years ago
Fix borrowed DrawTarget's transform of DXGITextureData.
Categories
(Core :: Graphics: Layers, enhancement)
Core
Graphics: Layers
Tracking
()
RESOLVED
FIXED
mozilla57
Tracking | Status | |
---|---|---|
firefox57 | --- | fixed |
People
(Reporter: sotaro, Assigned: sotaro)
References
Details
Attachments
(1 file, 1 obsolete file)
791 bytes,
patch
|
nical
:
review+
|
Details | Diff | Splinter Review |
This bug is created based on Bug 1380979 Comment 7. DrawTarget of DXGITextureData was recycled between Lock()s. But transform of DrawTarget was not reset for each Lock().
Assignee | ||
Comment 1•7 years ago
|
||
Assignee | ||
Comment 2•7 years ago
|
||
Attachment #8894789 -
Attachment is obsolete: true
Assignee | ||
Comment 3•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=8d375668168dab1f0461b424e7ad968eee35ff44
Assignee | ||
Updated•7 years ago
|
Attachment #8894790 -
Flags: review?(nical.bugzilla)
Comment 4•7 years ago
|
||
Comment on attachment 8894790 [details] [diff] [review] patch - Fix borrowed DrawTarget's transform of DXGITextureData Review of attachment 8894790 [details] [diff] [review]: ----------------------------------------------------------------- We might need to do something similar with clips and other drawing state? I expect drawing code that pushes clips to be responsible for popping them so it may not be necessary. Maybe it would help if we had a cheap way to clear all of the drawing state (except the rendered texture).
Attachment #8894790 -
Flags: review?(nical.bugzilla) → review+
Assignee | ||
Comment 5•7 years ago
|
||
DrawTarget class has a following member. They might need to be cleared. But I want to leave it for now. > protected: > UserData mUserData; > Matrix mTransform; > IntRect mOpaqueRect; > bool mTransformDirty : 1; > bool mPermitSubpixelAA : 1; > > SurfaceFormat mFormat;
Pushed by sikeda@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/a2b2a11109ef Fix borrowed DrawTarget's transform of DXGITextureData r=nical
Comment 7•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a2b2a11109ef
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox57:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in
before you can comment on or make changes to this bug.
Description
•