WebKit Bugzilla
Attachment 338801 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-20180425145319.patch (text/plain), 3.37 KB, created by
Justin Fan
on 2018-04-25 14:53:20 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Justin Fan
Created:
2018-04-25 14:53:20 PDT
Size:
3.37 KB
patch
obsolete
>Subversion Revision: 231019 >diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog >index bd453214a9598cc254e1de90ce6948a2a829a1a7..d7b34da7e593c4183d019d3b3aec018764ba63b3 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!). >+ >+ No new tests (OOPS!). >+ >+ * page/RuntimeEnabledFeatures.h: >+ (WebCore::RuntimeEnabledFeatures::setWebGLCompressedTextureASTCSupportEnabled): >+ (WebCore::RuntimeEnabledFeatures::webGLCompressedTextureASTCSupportEnabled const): >+ > 2018-04-25 Ryosuke Niwa <rniwa@webkit.org> > > PSON: Don't create a new process when navigating to a blob URL, data URL, and about:blank >diff --git a/Source/WebKit/ChangeLog b/Source/WebKit/ChangeLog >index c9f39d81dcabe31a6c874ca8c544e4439a4cfe16..4a8f2d0728417c21bf86b034ab5dc6a4bd4ec774 100644 >--- a/Source/WebKit/ChangeLog >+++ b/Source/WebKit/ChangeLog >@@ -1,3 +1,12 @@ >+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!). >+ >+ * Shared/WebPreferences.yaml: >+ > 2018-04-25 Ryosuke Niwa <rniwa@webkit.org> > > PSON: Don't create a new process when navigating to a blob URL, data URL, and about:blank >diff --git a/Source/WebCore/page/RuntimeEnabledFeatures.h b/Source/WebCore/page/RuntimeEnabledFeatures.h >index 35a3b8f072e9caa84a9c852b523bdbb929d0cd41..3badf69ca629ca00b148af04c18a691f7b70a29e 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 { false }; > > 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 b5f62c70cb7d3d2b0e1ead316a6a6e52291e65e0..36dcbfbf4819303b341519ee05a39f20b360e283 100644 >--- a/Source/WebKit/Shared/WebPreferences.yaml >+++ b/Source/WebKit/Shared/WebPreferences.yaml >@@ -1248,3 +1248,11 @@ FromOriginResponseHeaderEnabled: > humanReadableDescription: "Support for the From-Origin Response Header" > category: experimental > webcoreBinding: RuntimeEnabledFeatures >+ >+WebGLCompressedTextureASTCSupportEnabled: >+ type: bool >+ defaultValue: false >+ humanReadableName: "ASTC Texture Support" >+ humanReadableDescription: "Support for ASTC compressed texture formats" >+ 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