Closed
Bug 695912
Opened 12 years ago
Closed 12 years ago
Add antialiasing to the downloadable blocklist
Categories
(Core :: Graphics: CanvasWebGL, defect)
Core
Graphics: CanvasWebGL
Tracking
()
RESOLVED
FIXED
mozilla10
People
(Reporter: drs, Assigned: drs)
References
Details
Attachments
(2 files, 3 obsolete files)
2.03 KB,
patch
|
jgilbert
:
review+
|
Details | Diff | Splinter Review |
7.63 KB,
patch
|
drs
:
review+
|
Details | Diff | Splinter Review |
Support for blocking antialiasing if vendor/device/OS match a pre-determined bad setup must be added to the downloadable blocklist.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → dsherk
Assignee | ||
Comment 1•12 years ago
|
||
Allows blocklisting of MSAA through downloaded blocklist or static code.
Attachment #568268 -
Flags: review?(jgilbert)
Assignee | ||
Comment 2•12 years ago
|
||
Allows users to force MSAA on by setting the webgl.msaa-force pref to true.
Attachment #568269 -
Flags: review?(jgilbert)
Comment 3•12 years ago
|
||
Comment on attachment 568269 [details] [diff] [review] Patch v1.0, force MSAA. ># HG changeset patch ># Parent 54159f8b6372997bc05b2bfae2de89fb02c6e1d9 ># User Doug Sherk <dsherk@mozilla.com> >Bug 695912: allow forcing MSAA on r=jgilbert [...] >+ bool forceMSAA = >+ Preferences::GetBool("webgl.msaa-force", false); Since this should never change, I'd rather we use 'const bool' here. R+ though.
Attachment #568269 -
Flags: review?(jgilbert) → review+
Assignee | ||
Comment 4•12 years ago
|
||
Updated to include ATI blocks.
Attachment #568268 -
Attachment is obsolete: true
Attachment #568268 -
Flags: review?(jgilbert)
Attachment #568548 -
Flags: review?(jgilbert)
Assignee | ||
Comment 5•12 years ago
|
||
Removed accidentally added character in a comment.
Attachment #568548 -
Attachment is obsolete: true
Attachment #568548 -
Flags: review?(jgilbert)
Attachment #568552 -
Flags: review?(jgilbert)
Comment 6•12 years ago
|
||
Comment on attachment 568552 [details] [diff] [review] Patch v1.1, blocklisting for MSAA. Good, R+ but: >diff --git a/widget/src/xpwidgets/GfxInfoBase.cpp b/widget/src/xpwidgets/GfxInfoBase.cpp >--- a/widget/src/xpwidgets/GfxInfoBase.cpp >+++ b/widget/src/xpwidgets/GfxInfoBase.cpp >@@ -152,16 +152,18 @@ GetPrefNameForFeature(PRInt32 aFeature) > name = BLACKLIST_PREF_BRANCH "layers.opengl"; > break; > case nsIGfxInfo::FEATURE_WEBGL_OPENGL: > name = BLACKLIST_PREF_BRANCH "webgl.opengl"; > break; > case nsIGfxInfo::FEATURE_WEBGL_ANGLE: > name = BLACKLIST_PREF_BRANCH "webgl.angle"; > break; >+ case nsIGfxInfo::FEATURE_WEBGL_MSAA: >+ name = BLACKLIST_PREF_BRANCH "webgl.msaa"; > default: > break; > }; > > return name; > } Even though it falls through to 'default: break;', it should have its own 'break', for future-proofing.
Attachment #568552 -
Flags: review?(jgilbert) → review+
Assignee | ||
Comment 7•12 years ago
|
||
Previous comment fixed, +r carried.
Attachment #568552 -
Attachment is obsolete: true
Attachment #568562 -
Flags: review+
Assignee | ||
Comment 8•12 years ago
|
||
Running on Try: https://tbpl.mozilla.org/?tree=Try&rev=20a50709f71c
Comment 10•12 years ago
|
||
and 2nd patch: https://hg.mozilla.org/integration/mozilla-inbound/rev/5119eb1f191b
Comment 11•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b7a96e8bec7e https://hg.mozilla.org/mozilla-central/rev/5119eb1f191b
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla10
You need to log in
before you can comment on or make changes to this bug.
Description
•