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

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

Issue 1325453007: Added support for EXTDisjointTimerQuery on the Blink side. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: GL_INVALID_ENUM when timer query not enabled for GetParameter, use context3d for deletion Created 5 years, 3 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/WebGLRenderingContext.h ('k') | Source/modules/webgl/WebGLRenderingContextBase.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webgl/WebGLRenderingContext.cpp
diff --git a/Source/modules/webgl/WebGLRenderingContext.cpp b/Source/modules/webgl/WebGLRenderingContext.cpp
index 162d8d1a481a52e32bd76cd029f65ab274cff843..73fce65038a3787b314a4a284621e4bd1dde1f90 100644
--- a/Source/modules/webgl/WebGLRenderingContext.cpp
+++ b/Source/modules/webgl/WebGLRenderingContext.cpp
@@ -34,6 +34,7 @@
#include "modules/webgl/ANGLEInstancedArrays.h"
#include "modules/webgl/CHROMIUMSubscribeUniform.h"
#include "modules/webgl/EXTBlendMinMax.h"
+#include "modules/webgl/EXTDisjointTimerQuery.h"
#include "modules/webgl/EXTFragDepth.h"
#include "modules/webgl/EXTShaderTextureLOD.h"
#include "modules/webgl/EXTTextureFilterAnisotropic.h"
@@ -112,6 +113,7 @@ void WebGLRenderingContext::registerContextExtensions()
registerExtension<ANGLEInstancedArrays>(m_angleInstancedArrays);
registerExtension<CHROMIUMSubscribeUniform>(m_chromiumSubscribeUniform);
registerExtension<EXTBlendMinMax>(m_extBlendMinMax);
+ registerExtension<EXTDisjointTimerQuery>(m_extDisjointTimerQuery, DraftExtension);
registerExtension<EXTFragDepth>(m_extFragDepth);
registerExtension<EXTShaderTextureLOD>(m_extShaderTextureLOD);
registerExtension<EXTsRGB>(m_extsRGB);
@@ -140,6 +142,7 @@ DEFINE_TRACE(WebGLRenderingContext)
visitor->trace(m_angleInstancedArrays);
visitor->trace(m_chromiumSubscribeUniform);
visitor->trace(m_extBlendMinMax);
+ visitor->trace(m_extDisjointTimerQuery);
visitor->trace(m_extFragDepth);
visitor->trace(m_extShaderTextureLOD);
visitor->trace(m_extsRGB);
« no previous file with comments | « Source/modules/webgl/WebGLRenderingContext.h ('k') | Source/modules/webgl/WebGLRenderingContextBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698