Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(663)

Unified Diff: Source/modules/webgl/WebGL2RenderingContext.cpp

Issue 1265703005: Implement the texture uploading of ASTC compression for WebGL(part II) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add braces. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/webgl/WebGL2RenderingContext.h ('k') | Source/modules/webgl/WebGLCompressedTextureASTC.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webgl/WebGL2RenderingContext.cpp
diff --git a/Source/modules/webgl/WebGL2RenderingContext.cpp b/Source/modules/webgl/WebGL2RenderingContext.cpp
index 5c22df556f93cdb0965886257c704bf699f72858..11d64fbee2a8e5918480447547a35caaf1d66a80 100644
--- a/Source/modules/webgl/WebGL2RenderingContext.cpp
+++ b/Source/modules/webgl/WebGL2RenderingContext.cpp
@@ -12,6 +12,7 @@
#include "modules/webgl/CHROMIUMSubscribeUniform.h"
#include "modules/webgl/EXTTextureFilterAnisotropic.h"
#include "modules/webgl/OESTextureFloatLinear.h"
+#include "modules/webgl/WebGLCompressedTextureASTC.h"
#include "modules/webgl/WebGLCompressedTextureATC.h"
#include "modules/webgl/WebGLCompressedTextureETC1.h"
#include "modules/webgl/WebGLCompressedTexturePVRTC.h"
@@ -79,6 +80,7 @@ void WebGL2RenderingContext::registerContextExtensions()
registerExtension<CHROMIUMSubscribeUniform>(m_chromiumSubscribeUniform);
registerExtension<EXTTextureFilterAnisotropic>(m_extTextureFilterAnisotropic);
registerExtension<OESTextureFloatLinear>(m_oesTextureFloatLinear);
+ registerExtension<WebGLCompressedTextureASTC>(m_webglCompressedTextureASTC);
registerExtension<WebGLCompressedTextureATC>(m_webglCompressedTextureATC);
registerExtension<WebGLCompressedTextureETC1>(m_webglCompressedTextureETC1);
registerExtension<WebGLCompressedTexturePVRTC>(m_webglCompressedTexturePVRTC);
@@ -93,6 +95,7 @@ DEFINE_TRACE(WebGL2RenderingContext)
visitor->trace(m_chromiumSubscribeUniform);
visitor->trace(m_extTextureFilterAnisotropic);
visitor->trace(m_oesTextureFloatLinear);
+ visitor->trace(m_webglCompressedTextureASTC);
visitor->trace(m_webglCompressedTextureATC);
visitor->trace(m_webglCompressedTextureETC1);
visitor->trace(m_webglCompressedTexturePVRTC);
« no previous file with comments | « Source/modules/webgl/WebGL2RenderingContext.h ('k') | Source/modules/webgl/WebGLCompressedTextureASTC.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698