Closed
Bug 991640
Opened 6 years ago
Closed 6 years ago
Get rid of nsIWidget::GetThebesSurface and a bunch of Thebes backed gfxContexts
Categories
(Core :: Graphics, defect)
Core
Graphics
Not set
Tracking
()
RESOLVED
FIXED
mozilla33
People
(Reporter: jwatt, Assigned: jwatt)
References
Details
Attachments
(1 file, 2 obsolete files)
18.34 KB,
patch
|
mattwoodrow
:
review+
|
Details | Diff | Splinter Review |
We should Moz2Dify nsIWidget::GetThebesSurface to get rid of a bunch of Thebes backed gfxContexts.
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
It's only widget/gtk/nsWindow.cpp, widget/windows/nsWindow.cpp and widget/xpwidgets/PuppetWidget.h that need finished off here.
Comment 3•6 years ago
|
||
It appears that the *only* caller of this function is inFlasher.cpp, and that appears to be dead code. It can't even work for a lot of platforms where we have hardware acceleration anyway. I think if we kill that then everything can go, except for a private function for gtk/nsWindow.
Assignee | ||
Updated•6 years ago
|
Summary: Moz2Dify nsIWidget::GetThebesSurface and get rid of a bunch of Thebes backed gfxContexts → Get rid of nsIWidget::GetThebesSurface and a bunch of Thebes backed gfxContexts
Assignee | ||
Comment 4•6 years ago
|
||
I'll do widget/gtk/nsWindow.cpp separately. I'd like to get this landed so I don't have to unbitrot it again.
Attachment #8401260 -
Attachment is obsolete: true
Attachment #8431907 -
Flags: review?(matt.woodrow)
Assignee | ||
Comment 5•6 years ago
|
||
Actually the DT must be cached and reused in PuppetWidget or else we get various timeouts in tests for some reason: https://tbpl.mozilla.org/?tree=Try&rev=6beaf6199419
Assignee | ||
Comment 6•6 years ago
|
||
Attachment #8431907 -
Attachment is obsolete: true
Attachment #8431907 -
Flags: review?(matt.woodrow)
Attachment #8432099 -
Flags: review?(matt.woodrow)
Updated•6 years ago
|
Attachment #8432099 -
Flags: review?(matt.woodrow) → review+
Comment 7•6 years ago
|
||
(In reply to Jonathan Watt [:jwatt] from comment #5) > Actually the DT must be cached and reused in PuppetWidget or else we get > various timeouts in tests for some reason: > > https://tbpl.mozilla.org/?tree=Try&rev=6beaf6199419 That's very weird. I'd have thought that path was dead code.
Comment 8•6 years ago
|
||
(In reply to Matt Woodrow (:mattwoodrow) from comment #3) > It appears that the *only* caller of this function is inFlasher.cpp, and > that appears to be dead code. You can exercise that code with the DOM inspector addon: https://addons.mozilla.org/en-US/firefox/addon/dom-inspector-6622/
Assignee | ||
Comment 9•6 years ago
|
||
Yes, see bug 1018324, which blocks this bug.
Assignee | ||
Comment 10•6 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/2e1413c075c0
Assignee | ||
Comment 11•6 years ago
|
||
Plus follow-up for Linux warning-is-error: https://hg.mozilla.org/integration/mozilla-inbound/rev/a4859b482f44
Comment 12•6 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/2e1413c075c0 https://hg.mozilla.org/mozilla-central/rev/a4859b482f44
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
You need to log in
before you can comment on or make changes to this bug.
Description
•