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

Unified Diff: Source/bindings/v8/custom/V8WebGLRenderingContextCustom.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
« no previous file with comments | « no previous file | Source/core/core.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp
diff --git a/Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp b/Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp
index db7e3091c66ee516548faee28aed29304dbb7fe6..b75d77956999f7d1c93283c4dbd1886feb272abb 100644
--- a/Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp
+++ b/Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp
@@ -32,6 +32,7 @@
#include "V8WebGLRenderingContext.h"
#include "V8ANGLEInstancedArrays.h"
+#include "V8EXTBlendMinMax.h"
#include "V8EXTFragDepth.h"
#include "V8EXTShaderTextureLOD.h"
#include "V8EXTTextureFilterAnisotropic.h"
@@ -189,6 +190,10 @@ static v8::Handle<v8::Value> toV8Object(WebGLExtension* extension, v8::Handle<v8
extensionObject = toV8(static_cast<ANGLEInstancedArrays*>(extension), contextObject, isolate);
referenceName = "angleInstancedArraysName";
break;
+ case EXTBlendMinMaxName:
+ extensionObject = toV8(static_cast<EXTBlendMinMax*>(extension), contextObject, isolate);
+ referenceName = "extBlendMinMaxName";
+ break;
case EXTFragDepthName:
extensionObject = toV8(static_cast<EXTFragDepth*>(extension), contextObject, isolate);
referenceName = "extFragDepthName";
« no previous file with comments | « no previous file | Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698