diff options
author | dyen <dyen@chromium.org> | 2015-07-16 15:59:30 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-16 23:00:45 +0000 |
commit | da06bae00bee789d12cd6f4418018d048b04cfd2 (patch) | |
tree | 79826f0d5e5e3aa6188b8054bceacfce03f2a37c /gpu/command_buffer/client/gles2_c_lib_autogen.h | |
parent | 65410813e3997a19f99d35f059e8d8f8b6986d35 (diff) | |
download | chromium_src-da06bae00bee789d12cd6f4418018d048b04cfd2.zip chromium_src-da06bae00bee789d12cd6f4418018d048b04cfd2.tar.gz chromium_src-da06bae00bee789d12cd6f4418018d048b04cfd2.tar.bz2 |
Added support for TimeStamp queries using QueryCounterEXT.
BUG=345227
TEST=trybots
Review URL: https://codereview.chromium.org/1233233002
Cr-Commit-Position: refs/heads/master@{#339153}
Diffstat (limited to 'gpu/command_buffer/client/gles2_c_lib_autogen.h')
-rw-r--r-- | gpu/command_buffer/client/gles2_c_lib_autogen.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gpu/command_buffer/client/gles2_c_lib_autogen.h b/gpu/command_buffer/client/gles2_c_lib_autogen.h index 956b0d5..986538f 100644 --- a/gpu/command_buffer/client/gles2_c_lib_autogen.h +++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h @@ -1049,6 +1049,9 @@ void GLES2GenQueriesEXT(GLsizei n, GLuint* queries) { void GLES2DeleteQueriesEXT(GLsizei n, const GLuint* queries) { gles2::GetGLContext()->DeleteQueriesEXT(n, queries); } +void GLES2QueryCounterEXT(GLuint id, GLenum target) { + gles2::GetGLContext()->QueryCounterEXT(id, target); +} GLboolean GLES2IsQueryEXT(GLuint id) { return gles2::GetGLContext()->IsQueryEXT(id); } @@ -2389,6 +2392,10 @@ extern const NameToFunc g_gles2_function_table[] = { reinterpret_cast<GLES2FunctionPointer>(glDeleteQueriesEXT), }, { + "glQueryCounterEXT", + reinterpret_cast<GLES2FunctionPointer>(glQueryCounterEXT), + }, + { "glIsQueryEXT", reinterpret_cast<GLES2FunctionPointer>(glIsQueryEXT), }, |