Index: webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc |
diff --git a/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc b/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc |
index a1f735b77833f326b62d0d4327456d9bbbe97fca..f729b9205c1bfabfda1a3cc65b11480d36989321 100644 |
--- a/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc |
+++ b/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc |
@@ -1556,6 +1556,24 @@ DELEGATE_TO_GL_5(texImageIOSurface2DCHROMIUM, TexImageIOSurface2DCHROMIUM, |
DELEGATE_TO_GL_5(texStorage2DEXT, TexStorage2DEXT, |
WGC3Denum, WGC3Dint, WGC3Duint, WGC3Dint, WGC3Dint) |
+WebGLId WebGraphicsContext3DInProcessCommandBufferImpl::createQueryEXT() { |
+ GLuint o; |
+ gl_->GenQueriesEXT(1, &o); |
+ return o; |
+} |
+ |
+void WebGraphicsContext3DInProcessCommandBufferImpl:: |
+ deleteQueryEXT(WebGLId query) { |
+ gl_->DeleteQueriesEXT(1, &query); |
+} |
+ |
+DELEGATE_TO_GL_1R(isQueryEXT, IsQueryEXT, WebGLId, WGC3Dboolean) |
+DELEGATE_TO_GL_2(beginQueryEXT, BeginQueryEXT, WGC3Denum, WebGLId) |
+DELEGATE_TO_GL_1(endQueryEXT, EndQueryEXT, WGC3Denum) |
+DELEGATE_TO_GL_3(getQueryivEXT, GetQueryivEXT, WGC3Denum, WGC3Denum, WGC3Dint*) |
+DELEGATE_TO_GL_3(getQueryObjectuivEXT, GetQueryObjectuivEXT, |
+ WebGLId, WGC3Denum, WGC3Duint*) |
+ |
#if WEBKIT_USING_SKIA |
GrGLInterface* WebGraphicsContext3DInProcessCommandBufferImpl:: |
onCreateGrGLInterface() { |