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

Unified Diff: gpu/command_buffer/client/query_tracker.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 side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/client/query_tracker.h
diff --git a/gpu/command_buffer/client/query_tracker.h b/gpu/command_buffer/client/query_tracker.h
index abd2f5d331e4bdeb6cfe19d7b0500a766a2f0c68..45f5681671b1912aaf3e0993ef4f1f131d89cfd4 100644
--- a/gpu/command_buffer/client/query_tracker.h
+++ b/gpu/command_buffer/client/query_tracker.h
@@ -143,6 +143,7 @@ class GLES2_IMPL_EXPORT QueryTracker {
void Begin(GLES2Implementation* gl);
void End(GLES2Implementation* gl);
+ void QueryCounter(GLES2Implementation* gl);
GLuint id_;
GLenum target_;
@@ -167,6 +168,7 @@ class GLES2_IMPL_EXPORT QueryTracker {
bool BeginQuery(GLuint id, GLenum target, GLES2Implementation* gl);
bool EndQuery(GLenum target, GLES2Implementation* gl);
+ bool QueryCounter(GLuint id, GLenum target, GLES2Implementation* gl);
private:
typedef base::hash_map<GLuint, Query*> QueryIdMap;
« no previous file with comments | « gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h ('k') | gpu/command_buffer/client/query_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698