Closed
Bug 784260
Opened 12 years ago
Closed 12 years ago
[Azure] DrawTargetD2D::CreateBrushForPattern should be able to deal with surfaces from other Azure backends
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla17
People
(Reporter: nrc, Assigned: nrc)
Details
Attachments
(2 files)
394 bytes,
text/html
|
Details | |
2.61 KB,
patch
|
bas.schouten
:
review+
|
Details | Diff | Splinter Review |
Crashes with a null pointer exception in D2D code.
Assignee | ||
Updated•12 years ago
|
OS: All → Windows 7
Assignee | ||
Comment 1•12 years ago
|
||
You need to have D3D layers and D2D enabled, then prefer the Cairo Azure backend, then load the test case (you'll need some local file called hippo.jpg, or change to some other image name, doesn't seem to work with remote images though). Expected: a 100x100 part of the image at the top left, and the whole image on the right Actual result: crashes
Assignee | ||
Comment 2•12 years ago
|
||
Attachment #653659 -
Flags: review?(bas.schouten)
Comment 3•12 years ago
|
||
Comment on attachment 653659 [details] [diff] [review] patch Looks fine to me, keep in mind this is not encouraged practice :).
Attachment #653659 -
Flags: review?(bas.schouten) → review+
Assignee | ||
Comment 4•12 years ago
|
||
(In reply to Bas Schouten (:bas) from comment #3) > Comment on attachment 653659 [details] [diff] [review] > patch > > Looks fine to me, keep in mind this is not encouraged practice :). Having different backends for content and canvas? Or passing surfaces from one backend to another? Because the latter will always happen if we allow the former.
Assignee | ||
Comment 5•12 years ago
|
||
Try: https://tbpl.mozilla.org/?tree=Try&rev=1fd087447bb8
Assignee | ||
Comment 6•12 years ago
|
||
https://tbpl.mozilla.org/?tree=Mozilla-Inbound&rev=ca3a3ff0af73
Comment 7•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/ca3a3ff0af73
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
You need to log in
before you can comment on or make changes to this bug.
Description
•