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

Side by Side Diff: gpu/command_buffer/client/gles2_c_lib_autogen.h

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
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 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after
1042 GLsizei height) { 1042 GLsizei height) {
1043 gles2::GetGLContext()->TexStorage2DEXT(target, levels, internalFormat, width, 1043 gles2::GetGLContext()->TexStorage2DEXT(target, levels, internalFormat, width,
1044 height); 1044 height);
1045 } 1045 }
1046 void GLES2GenQueriesEXT(GLsizei n, GLuint* queries) { 1046 void GLES2GenQueriesEXT(GLsizei n, GLuint* queries) {
1047 gles2::GetGLContext()->GenQueriesEXT(n, queries); 1047 gles2::GetGLContext()->GenQueriesEXT(n, queries);
1048 } 1048 }
1049 void GLES2DeleteQueriesEXT(GLsizei n, const GLuint* queries) { 1049 void GLES2DeleteQueriesEXT(GLsizei n, const GLuint* queries) {
1050 gles2::GetGLContext()->DeleteQueriesEXT(n, queries); 1050 gles2::GetGLContext()->DeleteQueriesEXT(n, queries);
1051 } 1051 }
1052 void GLES2QueryCounterEXT(GLuint id, GLenum target) {
1053 gles2::GetGLContext()->QueryCounterEXT(id, target);
1054 }
1052 GLboolean GLES2IsQueryEXT(GLuint id) { 1055 GLboolean GLES2IsQueryEXT(GLuint id) {
1053 return gles2::GetGLContext()->IsQueryEXT(id); 1056 return gles2::GetGLContext()->IsQueryEXT(id);
1054 } 1057 }
1055 void GLES2BeginQueryEXT(GLenum target, GLuint id) { 1058 void GLES2BeginQueryEXT(GLenum target, GLuint id) {
1056 gles2::GetGLContext()->BeginQueryEXT(target, id); 1059 gles2::GetGLContext()->BeginQueryEXT(target, id);
1057 } 1060 }
1058 void GLES2BeginTransformFeedback(GLenum primitivemode) { 1061 void GLES2BeginTransformFeedback(GLenum primitivemode) {
1059 gles2::GetGLContext()->BeginTransformFeedback(primitivemode); 1062 gles2::GetGLContext()->BeginTransformFeedback(primitivemode);
1060 } 1063 }
1061 void GLES2EndQueryEXT(GLenum target) { 1064 void GLES2EndQueryEXT(GLenum target) {
(...skipping 1320 matching lines...) Expand 10 before | Expand all | Expand 10 after
2382 }, 2385 },
2383 { 2386 {
2384 "glGenQueriesEXT", 2387 "glGenQueriesEXT",
2385 reinterpret_cast<GLES2FunctionPointer>(glGenQueriesEXT), 2388 reinterpret_cast<GLES2FunctionPointer>(glGenQueriesEXT),
2386 }, 2389 },
2387 { 2390 {
2388 "glDeleteQueriesEXT", 2391 "glDeleteQueriesEXT",
2389 reinterpret_cast<GLES2FunctionPointer>(glDeleteQueriesEXT), 2392 reinterpret_cast<GLES2FunctionPointer>(glDeleteQueriesEXT),
2390 }, 2393 },
2391 { 2394 {
2395 "glQueryCounterEXT",
2396 reinterpret_cast<GLES2FunctionPointer>(glQueryCounterEXT),
2397 },
2398 {
2392 "glIsQueryEXT", 2399 "glIsQueryEXT",
2393 reinterpret_cast<GLES2FunctionPointer>(glIsQueryEXT), 2400 reinterpret_cast<GLES2FunctionPointer>(glIsQueryEXT),
2394 }, 2401 },
2395 { 2402 {
2396 "glBeginQueryEXT", 2403 "glBeginQueryEXT",
2397 reinterpret_cast<GLES2FunctionPointer>(glBeginQueryEXT), 2404 reinterpret_cast<GLES2FunctionPointer>(glBeginQueryEXT),
2398 }, 2405 },
2399 { 2406 {
2400 "glBeginTransformFeedback", 2407 "glBeginTransformFeedback",
2401 reinterpret_cast<GLES2FunctionPointer>(glBeginTransformFeedback), 2408 reinterpret_cast<GLES2FunctionPointer>(glBeginTransformFeedback),
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
2769 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), 2776 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR),
2770 }, 2777 },
2771 { 2778 {
2772 NULL, 2779 NULL,
2773 NULL, 2780 NULL,
2774 }, 2781 },
2775 }; 2782 };
2776 2783
2777 } // namespace gles2 2784 } // namespace gles2
2778 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 2785 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698