Closed
Bug 747377
Opened 11 years ago
Closed 11 years ago
Force direct 2d enabled to ignore block listed drivers
Categories
(Core :: Widget: Win32, defect)
Tracking
()
RESOLVED
FIXED
mozilla17
People
(Reporter: bbondy, Assigned: bbondy)
References
Details
(Whiteboard: completed-elm)
Attachments
(1 file, 2 obsolete files)
2.03 KB,
patch
|
bas.schouten
:
review+
|
Details | Diff | Splinter Review |
If the user is in metro mode we should have the same functionality as: gfx.direct2d.force-enabled Since preferences may be shared between both desktop and metro, instead of turning it on via a default pref, it would be best to do the check dynamically to see if we are in metro mode and then have the same effect. This task will help us determine if we need to support block listed drivers on Windows 8 Metro.
Assignee | ||
Comment 1•11 years ago
|
||
Forced on now. We should do another installer once we get that suspend crash fixed to get feedback on this.
Assignee | ||
Comment 2•11 years ago
|
||
http://hg.mozilla.org/projects/elm/rev/a554671030b0
Assignee | ||
Comment 3•11 years ago
|
||
We would like to land this on m-c to prepare for the Metro merge.
Attachment #617012 -
Attachment is obsolete: true
Attachment #622843 -
Flags: review?(bas.schouten)
Assignee | ||
Comment 4•11 years ago
|
||
- Added caching of the result because this is now called frequently from other gfx code - Made it a static member function
Attachment #622843 -
Attachment is obsolete: true
Attachment #622843 -
Flags: review?(bas.schouten)
Attachment #625197 -
Flags: review?(bas.schouten)
Comment 5•11 years ago
|
||
Comment on attachment 625197 [details] [diff] [review] Patch v3 Review of attachment 625197 [details] [diff] [review]: ----------------------------------------------------------------- ::: gfx/thebes/gfxWindowsPlatform.cpp @@ +403,5 @@ > + if (alreadyChecked) { > + return isMetro; > + } > + > + HMODULE user32DLL = LoadLibraryW(L"user32.dll"); Hrm, is there any danger here of DLL injection?
Attachment #625197 -
Flags: review?(bas.schouten) → review+
Assignee | ||
Comment 6•11 years ago
|
||
No. user32 is a Known DLL so it will be loaded from the system32 directory.
See here:
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\KnownDLLs
Assignee | ||
Updated•11 years ago
|
Whiteboard: completed-elm
Assignee | ||
Comment 7•11 years ago
|
||
http://hg.mozilla.org/integration/mozilla-inbound/rev/712b0e70632c
Target Milestone: --- → mozilla17
Comment 8•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/712b0e70632c
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
OS: Windows 8 Metro → Windows 8.1
You need to log in
before you can comment on or make changes to this bug.
Description
•