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

Unified Diff: gpu/command_buffer/service/query_manager.h

Issue 1222563003: Revert of Added support for Time Elapsed queries through the command buffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/service/query_manager.h
diff --git a/gpu/command_buffer/service/query_manager.h b/gpu/command_buffer/service/query_manager.h
index e453d03f818e3b99d54e7104749fabb3dea5e183..5f14929272c2c5ce77ee4c3c85606894cfce83f8 100644
--- a/gpu/command_buffer/service/query_manager.h
+++ b/gpu/command_buffer/service/query_manager.h
@@ -16,11 +16,6 @@
#include "gpu/command_buffer/service/feature_info.h"
#include "gpu/gpu_export.h"
-namespace gfx {
- class GPUTimer;
- class GPUTimingClient;
-}
-
namespace gpu {
class GLES2Decoder;
@@ -193,9 +188,6 @@
return decoder_;
}
- scoped_ptr<gfx::GPUTimer> CreateGPUTimer(bool elapsed_time);
- bool GPUTimingAvailable();
-
void GenQueries(GLsizei n, const GLuint* queries);
bool IsValidQuery(GLuint id);
@@ -249,9 +241,6 @@
// Async pixel transfer queries waiting for completion.
QueryQueue pending_transfer_queries_;
- // Used for timer queries.
- scoped_refptr<gfx::GPUTimingClient> gpu_timing_client_;
-
DISALLOW_COPY_AND_ASSIGN(QueryManager);
};
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc ('k') | gpu/command_buffer/service/query_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698