Closed
Bug 1296657
Opened 8 years ago
Closed 8 years ago
imgFrame doesn't care enough about what it's drawing to
Categories
(Core :: Graphics: ImageLib, defect)
Core
Graphics: ImageLib
Tracking
()
RESOLVED
FIXED
mozilla51
Tracking | Status | |
---|---|---|
firefox51 | --- | fixed |
People
(Reporter: bas.schouten, Assigned: bas.schouten)
References
Details
Attachments
(1 file)
It's better if it does care.
Comment hidden (mozreview-request) |
Comment 2•8 years ago
|
||
Comment on attachment 8782946 [details]
Bug 1296657: Attempt to create an mOptSurface of the correct type for the DT we're drawing to.
Seth's been looking at this code lately so might as well have him look too.
Attachment #8782946 -
Flags: review?(seth.bugzilla)
Comment 3•8 years ago
|
||
mozreview-review |
Comment on attachment 8782946 [details]
Bug 1296657: Attempt to create an mOptSurface of the correct type for the DT we're drawing to.
https://reviewboard.mozilla.org/r/72948/#review71248
Seems reasonable. feedback+. I think Seth has been changing this lately so he might know of any additional constraints. If he doesn't get back to you in a reasonable time I can take a closer look.
Attachment #8782946 -
Flags: review?(tnikkel)
Assignee | ||
Updated•8 years ago
|
Flags: needinfo?(seth.bugzilla)
Comment 5•8 years ago
|
||
mozreview-review |
Comment on attachment 8782946 [details]
Bug 1296657: Attempt to create an mOptSurface of the correct type for the DT we're drawing to.
https://reviewboard.mozilla.org/r/72948/#review75658
Attachment #8782946 -
Flags: review+
Updated•8 years ago
|
Flags: needinfo?(tnikkel)
Comment 6•8 years ago
|
||
mozreview-review |
Comment on attachment 8782946 [details]
Bug 1296657: Attempt to create an mOptSurface of the correct type for the DT we're drawing to.
https://reviewboard.mozilla.org/r/72948/#review76768
::: image/imgFrame.cpp:399
(Diff revision 1)
> nsresult
> -imgFrame::Optimize()
> +imgFrame::Optimize(DrawTarget* aTarget)
> {
> MOZ_ASSERT(NS_IsMainThread());
> mMonitor.AssertCurrentThreadOwns();
> - MOZ_ASSERT(mLockCount == 1,
> +
Why this change?
Assignee | ||
Comment 7•8 years ago
|
||
(In reply to Jeff Muizelaar [:jrmuizel] from comment #6)
> Comment on attachment 8782946 [details]
> Bug 1296657: Attempt to create an mOptSurface of the correct type for the DT
> we're drawing to.
>
> https://reviewboard.mozilla.org/r/72948/#review76768
>
> ::: image/imgFrame.cpp:399
> (Diff revision 1)
> > nsresult
> > -imgFrame::Optimize()
> > +imgFrame::Optimize(DrawTarget* aTarget)
> > {
> > MOZ_ASSERT(NS_IsMainThread());
> > mMonitor.AssertCurrentThreadOwns();
> > - MOZ_ASSERT(mLockCount == 1,
> > +
>
> Why this change?
Because we no longer call it in the stage where we are holding the lock.
Pushed by bschouten@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/3d378a118900
Attempt to create an mOptSurface of the correct type for the DT we're drawing to. r=tnikkel
Updated•8 years ago
|
Flags: needinfo?(seth.bugzilla)
Comment 9•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox51:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
Updated•8 years ago
|
Attachment #8782946 -
Flags: review?(jmuizelaar)
You need to log in
before you can comment on or make changes to this bug.
Description
•