WebKit Bugzilla
Attachment 339125 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-20180430102618.patch (text/plain), 3.52 KB, created by
Justin Fan
on 2018-04-30 10:26:19 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Justin Fan
Created:
2018-04-30 10:26:19 PDT
Size:
3.52 KB
patch
obsolete
>Subversion Revision: 231157 >diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog >index 94ad2070a4ea348dc42026f18b777d87595753d6..aecc58634215734556c8e777401155d85fb1782b 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, to turn on/off when extension is implemented. >+ >+ * page/RuntimeEnabledFeatures.h: >+ (WebCore::RuntimeEnabledFeatures::setWebGLCompressedTextureASTCSupportEnabled): >+ (WebCore::RuntimeEnabledFeatures::webGLCompressedTextureASTCSupportEnabled const): >+ > 2018-04-30 Michael Catanzaro <mcatanzaro@igalia.com> > > [GTK] Webkit should spoof as Safari on a Mac when on Chase.com >diff --git a/Source/WebKit/ChangeLog b/Source/WebKit/ChangeLog >index b45b9c8b7b0bf1893057b858c851d46fbe2c2b68..7afac6ae5627d39f51ed88b4d61c2752843c0e1e 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, to turn on/off when extension is implemented. >+ >+ * Shared/WebPreferences.yaml: >+ > 2018-04-30 Andy Estes <aestes@apple.com> > > [iOS] Try to unlock PDF documents before printing them >diff --git a/Source/WebCore/page/RuntimeEnabledFeatures.h b/Source/WebCore/page/RuntimeEnabledFeatures.h >index d6f6ab85d5b352505eeff51b08eebecb24bf5f56..5b970ae0a58f09f491f4577148c8f269914b1d47 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; } > > void setMinDeviceWidthEnabled(bool isEnabled) { m_minDeviceWidthEnabled = isEnabled; } > bool minDeviceWidthEnabled() const { return m_minDeviceWidthEnabled; } >@@ -391,6 +394,8 @@ private: > bool m_isRestrictedHTTPResponseAccess { true }; > > bool m_fromOriginResponseHeaderEnabled { false }; >+ >+ bool m_isWebGLCompressedTextureASTCSupportEnabled { false }; > > bool m_minDeviceWidthEnabled { false }; > >diff --git a/Source/WebKit/Shared/WebPreferences.yaml b/Source/WebKit/Shared/WebPreferences.yaml >index f44c7d78b393d794e0d6919b2a2332c9a1ee0f55..5729bb58902838fc92f9b7a493d72a2580b008a3 100644 >--- a/Source/WebKit/Shared/WebPreferences.yaml >+++ b/Source/WebKit/Shared/WebPreferences.yaml >@@ -1256,3 +1256,11 @@ MinDeviceWidthEnabled: > 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" >+ 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