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

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

Issue 10868048: Report texture upload time in renderingStats. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add surface_id to GpuChannelMsg_CollectRenderingStats and collect both global and surface specific … Created 8 years, 4 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/gles2_cmd_decoder.h
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.h b/gpu/command_buffer/service/gles2_cmd_decoder.h
index cc604fcce8296dfc21ca9c7352e6c0fc96700201..c1c8ce4c1e7ced0ebfd232cb283dae648f6deb56 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.h
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.h
@@ -173,6 +173,9 @@ class GPU_EXPORT GLES2Decoder : public CommonDecoder {
// A callback for messages from the decoder.
virtual void SetMsgCallback(const MsgCallback& callback) = 0;
+ virtual uint32 GetTextureUploadCount() = 0;
+ virtual double GetTotalTextureUploadTimeInSeconds() = 0;
apatrick_chromium 2012/08/28 20:07:06 double could be base::TimeDelta
+
static bool IsAngle();
// Used for testing only

Powered by Google App Engine
This is Rietveld 408576698