Closed
Bug 488911
Opened 15 years ago
Closed 15 years ago
StretchDIBits takes too long - switch between optimizations at run time
Categories
(Core :: Widget: Win32, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: blassey, Assigned: vlad)
References
()
Details
Attachments
(1 file)
22.34 KB,
patch
|
jimm
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #484864 +++ We will have more than one code path for painting on windows, right now the code path is chosen at build time with preprocessor macros. It would be better to choose the path at run time based on prefs.
Assignee | ||
Comment 1•15 years ago
|
||
This depends on bug 488910 This patch adds a mozilla.widget.render-mode pref, that takes an int that corresponds to the new WinRenderMode enum. It's only read in at start time, though we could add a pref observer to toggle it at runtime as well. Most of this is just an indentation change, sadly; I can see if I can coax a diff -w patch out of hg if that would be easier to review.
Assignee: nobody → vladimir
Attachment #373749 -
Flags: review?
Assignee | ||
Updated•15 years ago
|
Attachment #373749 -
Flags: review? → review?(jmathies)
Comment 2•15 years ago
|
||
Hmm, can you post a updated patch? This didn't apply cleanly to m-c.
Assignee | ||
Comment 3•15 years ago
|
||
It won't, not without the patches in bug 488910.
Updated•15 years ago
|
Attachment #373749 -
Flags: review?(jmathies) → review+
Comment 4•15 years ago
|
||
Comment on attachment 373749 [details] [diff] [review] use pref to determine this at runtime Alright, just eye balling it everything looked ok.
Assignee | ||
Comment 5•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/7fc81369ff6a
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•