WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
114101
Change requisite hardware checks for enabling multisample framebuffers.
https://bugs.webkit.org/show_bug.cgi?id=114101
Summary
Change requisite hardware checks for enabling multisample framebuffers.
Roger Fong
Reported
2013-04-06 15:31:05 PDT
m_maySupportMultisampling should be true by default for all platforms/hardware now except older versions of AMD.
Attachments
patch
(1.47 KB, patch)
2013-04-06 15:35 PDT
,
Roger Fong
no flags
Details
Formatted Diff
Diff
patch
(1.44 KB, patch)
2013-04-09 13:25 PDT
,
Roger Fong
dino
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Roger Fong
Comment 1
2013-04-06 15:35:25 PDT
Created
attachment 196754
[details]
patch
Benjamin Poulain
Comment 2
2013-04-06 23:10:28 PDT
Comment on
attachment 196754
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=196754&action=review
> Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLCommon.cpp:95 > - if (m_isNVIDIA || (m_isAMD && systemSupportsMultisampling)) > - m_maySupportMultisampling = true; > + if (!(m_isNVIDIA || m_isIntel || (m_isAMD && systemSupportsMultisampling))) > + m_maySupportMultisampling = false;
It looks like the previous code would never put m_maySupportMultisampling = false. What about leaving m_maySupportMultisampling uninitialized then?: m_maySupportMultisampling = m_isNVIDIA || m_isIntel || (m_isAMD && systemSupportsMultisampling);
Roger Fong
Comment 3
2013-04-08 13:10:11 PDT
I think what we ended up wanting was for it to be true by default for everything except for certain versions of AMD... O wait...if I wanted to do that I guess I could of just done: + if (m_isAMD && !systemSupportsMultisampling))) + m_maySupportMultisampling = false;
Dean Jackson
Comment 4
2013-04-09 12:19:22 PDT
(In reply to
comment #3
)
> I think what we ended up wanting was for it to be true by default for everything except for certain versions of AMD... > > O wait...if I wanted to do that I guess I could of just done: > > + if (m_isAMD && !systemSupportsMultisampling))) > + m_maySupportMultisampling = false;
Yeah, do that one! We should assume other ports want this supported. Meanwhile, we know it isn't good on AMD before a certain version on OS X, so turn it off there. We might have to turn it off on older OS X systems for other hardware too, but we don't know for sure yet.
Roger Fong
Comment 5
2013-04-09 13:25:21 PDT
Created
attachment 197163
[details]
patch
Roger Fong
Comment 6
2013-04-09 16:04:10 PDT
Committed:
http://trac.webkit.org/changeset/148060
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug