gltrace: add start time & duration to each traced call.
Change-Id: Idfec8f715f6000594b6381cbfdee9fdf6d89f484
diff --git a/opengl/libs/GLES_trace/gltrace.proto b/opengl/libs/GLES_trace/gltrace.proto
index 12d8e7c..7dde69f 100644
--- a/opengl/libs/GLES_trace/gltrace.proto
+++ b/opengl/libs/GLES_trace/gltrace.proto
@@ -480,9 +480,12 @@
}
required int32 context_id = 1; // GL context ID
- required Function function = 2 [default = invalid]; // GL function called
- repeated DataType args = 3; // GL function's arguments
- optional DataType returnValue = 4; // GL function's return value
- optional float duration = 5; // duration of GL call
- optional FrameBuffer fb = 6; // contents of the framebuffer
+ required int64 start_time = 2; // time when call was invoked
+ required int32 duration = 3; // duration of the call
+
+ required Function function = 4 [default = invalid]; // GL function called
+ repeated DataType args = 5; // GL function's arguments
+ optional DataType returnValue = 6; // GL function's return value
+
+ optional FrameBuffer fb = 7; // contents of the framebuffer
};