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

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 extra line 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 b66556b5e7e7af9ad996cae9d20dce97831b8f97..abd2f5d331e4bdeb6cfe19d7b0500a766a2f0c68 100644
--- a/gpu/command_buffer/client/query_tracker.h
+++ b/gpu/command_buffer/client/query_tracker.h
@@ -135,7 +135,7 @@ class GLES2_IMPL_EXPORT QueryTracker {
bool CheckResultsAvailable(CommandBufferHelper* helper);
- uint32 GetResult() const;
+ uint64 GetResult() const;
private:
friend class QueryTracker;
@@ -152,7 +152,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