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

Unified Diff: gpu/command_buffer/client/query_tracker.h

Issue 1188013004: Added support for Time Elapsed queries through the command buffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed ppapi support Created 5 years, 6 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 e83e041a712b926177ad6be0e2c2d39be79f851d..6271b19d9849ff8f81bb251c595595b76584b91a 100644
--- a/gpu/command_buffer/client/query_tracker.h
+++ b/gpu/command_buffer/client/query_tracker.h
@@ -131,7 +131,7 @@ class GLES2_IMPL_EXPORT QueryTracker {
bool CheckResultsAvailable(CommandBufferHelper* helper);
- uint32 GetResult() const;
+ uint64 GetResult() const;
void Begin(GLES2Implementation* gl);
void End(GLES2Implementation* gl);
@@ -148,7 +148,7 @@ class GLES2_IMPL_EXPORT QueryTracker {
int32 token_;
uint32 flush_count_;
uint64 client_begin_time_us_; // Only used for latency query target.
- uint32 result_;
+ uint64 result_;
};
QueryTracker(MappedMemoryManager* manager);

Powered by Google App Engine
This is Rietveld 408576698