Closed
Bug 1068199
Opened 9 years ago
Closed 9 years ago
Disable e10s when hardware acceleration is disabled
Categories
(Core :: Graphics: Layers, defect)
Core
Graphics: Layers
Tracking
()
RESOLVED
FIXED
mozilla35
Tracking | Status | |
---|---|---|
e10s | m2+ | --- |
People
(Reporter: cpeterson, Assigned: jimm)
References
Details
Attachments
(1 file, 5 obsolete files)
4.68 KB,
patch
|
jimm
:
review+
|
Details | Diff | Splinter Review |
e10s is unhappy when hardware acceleration is disabled, e.g. bug 1026521 and bug 1026093. As a temporary workaround, we should add hardware acceleration to our list of conditions that can disable e10s during startup.
![]() |
Assignee | |
Updated•9 years ago
|
Assignee: nobody → jmathies
![]() |
Assignee | |
Comment 1•9 years ago
|
||
This is tricky, since we don't just check a pref for acceleration, we make a lot of last minute decisions in the widget code where we set up composition about turning acceleration on. http://mxr.mozilla.org/mozilla-central/source/widget/xpwidgets/nsBaseWidget.cpp#771 http://mxr.mozilla.org/mozilla-central/source/widget/windows/nsWindow.cpp#3295
![]() |
Assignee | |
Comment 2•9 years ago
|
||
Bas, would you mind looking this over? I think I have all the checks I need based on a lot of poking around in widget/gfx code.
Attachment #8490769 -
Flags: review?(bas)
I got the sense that this was also (or primarily?) a Mac problem.
Comment 4•9 years ago
|
||
Comment on attachment 8490769 [details] [diff] [review] part 1 - win support Review of attachment 8490769 [details] [diff] [review]: ----------------------------------------------------------------- This looks fine, I wonder if there isn't an easier way to detect this, but probably not as early on as this.
Attachment #8490769 -
Flags: review?(bas) → review+
![]() |
Assignee | |
Comment 5•9 years ago
|
||
(In reply to Bas Schouten (:bas.schouten) from comment #4) > Comment on attachment 8490769 [details] [diff] [review] > patch v.1 > > Review of attachment 8490769 [details] [diff] [review]: > ----------------------------------------------------------------- > > This looks fine, I wonder if there isn't an easier way to detect this, but > probably not as early on as this. Yeah nothing is initialized this early, I was hoping something like gfxPlatform would be but no luck. (In reply to Bill McCloskey (:billm) from comment #3) > I got the sense that this was also (or primarily?) a Mac problem. Ah, thought mac and linux were ok. Working on a mac patch currently on top of this.
Reporter | ||
Comment 6•9 years ago
|
||
(In reply to Jim Mathies [:jimm] from comment #5) > (In reply to Bill McCloskey (:billm) from comment #3) > > I got the sense that this was also (or primarily?) a Mac problem. > > Ah, thought mac and linux were ok. Working on a mac patch currently on top > of this. Mac is affected. See bug 1026093.
![]() |
Assignee | |
Comment 7•9 years ago
|
||
![]() |
Assignee | |
Updated•9 years ago
|
Attachment #8490769 -
Attachment description: patch v.1 → part 1 - win support
![]() |
Assignee | |
Updated•9 years ago
|
Attachment #8490838 -
Flags: review?(jmuizelaar)
![]() |
Assignee | |
Comment 8•9 years ago
|
||
- merged to mc tip
Attachment #8490769 -
Attachment is obsolete: true
Attachment #8490840 -
Flags: review+
Comment 9•9 years ago
|
||
Comment on attachment 8490838 [details] [diff] [review] part 2 - add macos support Review of attachment 8490838 [details] [diff] [review]: ----------------------------------------------------------------- ::: toolkit/xre/nsAppRunner.cpp @@ +4568,5 @@ > + SInt32 bugfix = nsCocoaFeatures::OSXVersionBugFix(); > + if (major == 10 && minor == 6 && bugfix <= 2) { > + accelDisabled = true; > + } > +#endif This should be moved into a common helper so we don't accidentally have these two checks diverge.
Attachment #8490838 -
Flags: review?(jmuizelaar) → review-
![]() |
Assignee | |
Comment 10•9 years ago
|
||
Attachment #8490838 -
Attachment is obsolete: true
Comment 11•9 years ago
|
||
Comment on attachment 8491058 [details] [diff] [review] macos support Review of attachment 8491058 [details] [diff] [review]: ----------------------------------------------------------------- ::: toolkit/xre/nsAppRunner.cpp @@ +4561,5 @@ > } > } > + > +#if defined(XP_MACOSX) > + // See nsBaseWidget::ComputeShouldAccelerate This comment can go.
Attachment #8491058 -
Flags: review+
![]() |
Assignee | |
Comment 12•9 years ago
|
||
I moved it into nsCocoaFeatures.
Attachment #8491058 -
Attachment is obsolete: true
Attachment #8491064 -
Flags: review?(jmuizelaar)
Comment 13•9 years ago
|
||
Comment on attachment 8491064 [details] [diff] [review] part 2 - macos support Review of attachment 8491064 [details] [diff] [review]: ----------------------------------------------------------------- ::: toolkit/xre/nsAppRunner.cpp @@ +4561,5 @@ > } > } > + > +#if defined(XP_MACOSX) > + // See nsBaseWidget::ComputeShouldAccelerate This comment can go.
Attachment #8491064 -
Flags: review?(jmuizelaar) → review+
![]() |
Assignee | |
Comment 14•9 years ago
|
||
try push: https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=0518fb074e66
![]() |
Assignee | |
Comment 15•9 years ago
|
||
Attachment #8490840 -
Attachment is obsolete: true
Attachment #8491064 -
Attachment is obsolete: true
Attachment #8491078 -
Flags: review+
![]() |
Assignee | |
Comment 16•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/04458f023e47
![]() |
Assignee | |
Comment 17•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/04458f023e47
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
You need to log in
before you can comment on or make changes to this bug.
Description
•