WebKit Bugzilla
Attachment 339373 Details for
Bug 184840
: [WebGL] Add runtime flag for enabling ASTC support in WebGL
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-184840-20180502181740.patch (text/plain), 3.74 KB, created by
Justin Fan
on 2018-05-02 18:17:40 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Justin Fan
Created:
2018-05-02 18:17:40 PDT
Size:
3.74 KB
patch
obsolete
>Subversion Revision: 231291 >diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog >index cf5012ff8594a9a90296e097d4e92293ee0e4976..718de44d64111ccb153823f1160bda47c8e937b1 100644 >--- a/Source/WebCore/ChangeLog >+++ b/Source/WebCore/ChangeLog >@@ -1,3 +1,16 @@ >+2018-04-25 Justin Fan <justin_fan@apple.com> >+ >+ [WebGL] Add runtime flag for enabling ASTC support in WebGL >+ https://bugs.webkit.org/show_bug.cgi?id=184840 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ Added runtime flag for ASTC support in WebGL, to turn on/off when extension is implemented. >+ >+ * page/RuntimeEnabledFeatures.h: >+ (WebCore::RuntimeEnabledFeatures::setWebGLCompressedTextureASTCSupportEnabled): >+ (WebCore::RuntimeEnabledFeatures::webGLCompressedTextureASTCSupportEnabled const): >+ > 2018-05-02 Brent Fulgham <bfulgham@apple.com> > > Use RetainPtr for form input type >diff --git a/Source/WebKit/ChangeLog b/Source/WebKit/ChangeLog >index f85b02051aa094724f24ba7b65e95d914550294e..e692f255f1c5f685584f5a76a9919fc360752fe9 100644 >--- a/Source/WebKit/ChangeLog >+++ b/Source/WebKit/ChangeLog >@@ -1,3 +1,14 @@ >+2018-04-25 Justin Fan <justin_fan@apple.com> >+ >+ [WebGL] Add runtime flag for enabling ASTC support in WebGL >+ https://bugs.webkit.org/show_bug.cgi?id=184840 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ Added runtime flag for ASTC support in WebGL, to turn on/off when extension is implemented. >+ >+ * Shared/WebPreferences.yaml: >+ > 2018-05-02 Keith Rollin <krollin@apple.com> > > Add facility for tracking times and results of page and resource loading >diff --git a/Source/WebCore/page/RuntimeEnabledFeatures.h b/Source/WebCore/page/RuntimeEnabledFeatures.h >index 4183297bba85bc5ab0ecbe6800d585ac92076459..7df0ac0689c46a10586a6af68215c450562c62b1 100644 >--- a/Source/WebCore/page/RuntimeEnabledFeatures.h >+++ b/Source/WebCore/page/RuntimeEnabledFeatures.h >@@ -252,6 +252,9 @@ public: > > void setFromOriginResponseHeaderEnabled(bool isEnabled) { m_fromOriginResponseHeaderEnabled = isEnabled; } > bool fromOriginResponseHeaderEnabled() const { return m_fromOriginResponseHeaderEnabled; } >+ >+ void setWebGLCompressedTextureASTCSupportEnabled(bool isEnabled) { m_isWebGLCompressedTextureASTCSupportEnabled = isEnabled; } >+ bool webGLCompressedTextureASTCSupportEnabled() const { return m_isWebGLCompressedTextureASTCSupportEnabled; } > > WEBCORE_EXPORT static RuntimeEnabledFeatures& sharedFeatures(); > >@@ -388,6 +391,8 @@ private: > bool m_isRestrictedHTTPResponseAccess { true }; > > bool m_fromOriginResponseHeaderEnabled { false }; >+ >+ bool m_isWebGLCompressedTextureASTCSupportEnabled { false }; > > friend class WTF::NeverDestroyed<RuntimeEnabledFeatures>; > }; >diff --git a/Source/WebKit/Shared/WebPreferences.yaml b/Source/WebKit/Shared/WebPreferences.yaml >index 2d9430244c3c13084ad41c8be2f4a93eaf00c3ae..6b3b54b7205a7d459296dba799bb59b3d3874d58 100644 >--- a/Source/WebKit/Shared/WebPreferences.yaml >+++ b/Source/WebKit/Shared/WebPreferences.yaml >@@ -1251,3 +1251,19 @@ FromOriginResponseHeaderEnabled: > humanReadableDescription: "Support for the From-Origin Response Header" > category: experimental > webcoreBinding: RuntimeEnabledFeatures >+ >+MinDeviceWidthEnabled: >+ type: bool >+ defaultValue: DEFAULT_MIN_DEVICE_WIDTH_ENABLED >+ humanReadableName: "Minimum device width" >+ humanReadableDescription: "Enable the min-device-width viewport parameter" >+ category: experimental >+ webcoreBinding: RuntimeEnabledFeatures >+ >+WebGLCompressedTextureASTCSupportEnabled: >+ type: bool >+ defaultValue: false >+ humanReadableName: "ASTC Texture Support" >+ humanReadableDescription: "Support for ASTC compressed texture formats in WebGL" >+ category: experimental >+ webcoreBinding: RuntimeEnabledFeatures
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 184840
:
338801
|
338806
|
339125
|
339372
|
339373
|
339453