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

Unified Diff: Source/core/html/canvas/WebGLRenderingContext.cpp

Issue 287563002: Added Blink-side support for EXT_blend_minmax WebGL extension (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Made sure validation set the right glError Created 6 years, 7 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
Index: Source/core/html/canvas/WebGLRenderingContext.cpp
diff --git a/Source/core/html/canvas/WebGLRenderingContext.cpp b/Source/core/html/canvas/WebGLRenderingContext.cpp
index 2395126363f109a96b8e3deccb04ee413c9a5655..b155242970afc4b46fff596e776e56137fa5708f 100644
--- a/Source/core/html/canvas/WebGLRenderingContext.cpp
+++ b/Source/core/html/canvas/WebGLRenderingContext.cpp
@@ -28,6 +28,7 @@
#include "core/frame/LocalFrame.h"
#include "core/html/canvas/ANGLEInstancedArrays.h"
+#include "core/html/canvas/EXTBlendMinMax.h"
#include "core/html/canvas/EXTFragDepth.h"
#include "core/html/canvas/EXTShaderTextureLOD.h"
#include "core/html/canvas/EXTTextureFilterAnisotropic.h"
@@ -142,6 +143,7 @@ void WebGLRenderingContext::registerContextExtensions()
registerExtension<WebGLLoseContext>(m_webglLoseContext, ApprovedExtension, bothPrefixes);
// Register draft extensions.
+ registerExtension<EXTBlendMinMax>(m_extBlendMinMax, DraftExtension);
registerExtension<EXTFragDepth>(m_extFragDepth, DraftExtension);
registerExtension<EXTShaderTextureLOD>(m_extShaderTextureLOD, DraftExtension);
registerExtension<WebGLCompressedTextureETC1>(m_webglCompressedTextureETC1, DraftExtension);
« no previous file with comments | « Source/core/html/canvas/WebGLRenderingContext.h ('k') | Source/core/html/canvas/WebGLRenderingContextBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698