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

Side by Side Diff: mojo/gpu/mojo_gles2_impl_autogen.cc

Issue 1233233002: Added support for TimeStamp queries using QueryCounterEXT. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed GetQueryivEXT test with QueryCounter Created 5 years, 5 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 unified diff | Download patch
« no previous file with comments | « mojo/gpu/mojo_gles2_impl_autogen.h ('k') | ui/gl/gpu_timing.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file is auto-generated from 5 // This file is auto-generated from
6 // gpu/command_buffer/build_gles2_cmd_buffer.py 6 // gpu/command_buffer/build_gles2_cmd_buffer.py
7 // It's formatted by clang-format using chromium coding style: 7 // It's formatted by clang-format using chromium coding style:
8 // clang-format -i -style=chromium filename 8 // clang-format -i -style=chromium filename
9 // DO NOT EDIT! 9 // DO NOT EDIT!
10 10
(...skipping 1237 matching lines...) Expand 10 before | Expand all | Expand 10 after
1248 NOTREACHED() << "Unimplemented TexStorage2DEXT."; 1248 NOTREACHED() << "Unimplemented TexStorage2DEXT.";
1249 } 1249 }
1250 void MojoGLES2Impl::GenQueriesEXT(GLsizei n, GLuint* queries) { 1250 void MojoGLES2Impl::GenQueriesEXT(GLsizei n, GLuint* queries) {
1251 MojoGLES2MakeCurrent(context_); 1251 MojoGLES2MakeCurrent(context_);
1252 glGenQueriesEXT(n, queries); 1252 glGenQueriesEXT(n, queries);
1253 } 1253 }
1254 void MojoGLES2Impl::DeleteQueriesEXT(GLsizei n, const GLuint* queries) { 1254 void MojoGLES2Impl::DeleteQueriesEXT(GLsizei n, const GLuint* queries) {
1255 MojoGLES2MakeCurrent(context_); 1255 MojoGLES2MakeCurrent(context_);
1256 glDeleteQueriesEXT(n, queries); 1256 glDeleteQueriesEXT(n, queries);
1257 } 1257 }
1258 void MojoGLES2Impl::QueryCounterEXT(GLuint id, GLenum target) {
1259 NOTREACHED() << "Unimplemented QueryCounterEXT.";
1260 }
1258 GLboolean MojoGLES2Impl::IsQueryEXT(GLuint id) { 1261 GLboolean MojoGLES2Impl::IsQueryEXT(GLuint id) {
1259 MojoGLES2MakeCurrent(context_); 1262 MojoGLES2MakeCurrent(context_);
1260 return glIsQueryEXT(id); 1263 return glIsQueryEXT(id);
1261 } 1264 }
1262 void MojoGLES2Impl::BeginQueryEXT(GLenum target, GLuint id) { 1265 void MojoGLES2Impl::BeginQueryEXT(GLenum target, GLuint id) {
1263 MojoGLES2MakeCurrent(context_); 1266 MojoGLES2MakeCurrent(context_);
1264 glBeginQueryEXT(target, id); 1267 glBeginQueryEXT(target, id);
1265 } 1268 }
1266 void MojoGLES2Impl::BeginTransformFeedback(GLenum primitivemode) { 1269 void MojoGLES2Impl::BeginTransformFeedback(GLenum primitivemode) {
1267 NOTREACHED() << "Unimplemented BeginTransformFeedback."; 1270 NOTREACHED() << "Unimplemented BeginTransformFeedback.";
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
1711 } 1714 }
1712 GLenum MojoGLES2Impl::GetGraphicsResetStatusKHR() { 1715 GLenum MojoGLES2Impl::GetGraphicsResetStatusKHR() {
1713 NOTREACHED() << "Unimplemented GetGraphicsResetStatusKHR."; 1716 NOTREACHED() << "Unimplemented GetGraphicsResetStatusKHR.";
1714 return 0; 1717 return 0;
1715 } 1718 }
1716 void MojoGLES2Impl::BlendBarrierKHR() { 1719 void MojoGLES2Impl::BlendBarrierKHR() {
1717 NOTREACHED() << "Unimplemented BlendBarrierKHR."; 1720 NOTREACHED() << "Unimplemented BlendBarrierKHR.";
1718 } 1721 }
1719 1722
1720 } // namespace mojo 1723 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/gpu/mojo_gles2_impl_autogen.h ('k') | ui/gl/gpu_timing.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698