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

Side by Side Diff: gpu/GLES2/extensions/CHROMIUM/CHROMIUM_trace_marker.txt

Issue 780653007: Added GL_CHROMIUM_trace_marker feature as well as gpu_toplevel markers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed endtrace calls Created 6 years 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 unified diff | Download patch
OLDNEW
(Empty)
1 Name
2
3 CHROMIUM_trace_marker
4
5 Name Strings
6
7 GL_CHROMIUM_trace_marker
8
9 Version
10
11 Last Modifed Date: December 17, 2014
12
13 Dependencies
14
15 OpenGL ES 2.0 is required.
16
17 Overview
18
19 This extension lets you mark chromium style GPU traces. Each trace can
20 specify both a category name and a trace name which will be associated
21 with the trace.
22
23 Each trace's beginning is marked by TraceBeginCHROMIUM and the end can
24 optionally be marked by TraceEndCHROMIUM. If the trace's end is not marked,
25 the trace will automatically end with the commands of the traced graphics
vmiura 2014/12/18 21:49:39 nit: "the trace will automatically end when the co
David Yen 2014/12/18 21:54:27 Done.
26 context is finished.
27
28 Multiple traces can happen simultaneously, however traces act as a stack
29 and must be fully contained within one another. Therefore, you cannot
30 have overlapping traces.
31
32 Once a trace has been recorded, it is up to the application to decide
33 how the traces should be displayed.
34
35 New Tokens
36
37 None
38
39 New Procedures and Functions
40
41 void TraceBeginCHROMIUM(const char* category_name, const char* trace_name)
42
43 Marks the beginning of when a GPU trace should begin. Once the trace begins
44 it lasts until the current graphics context is finished or when
45 TraceEndCHROMIUM is called.
46
47
48 void TraceEndCHROMIUM()
49
50 Marks the last trace to end, this will signal the application to stop
51 tracing the previous trace.
52
53 Errors
54
55 None.
56
57 New State
58
59 None.
60
61 Revision History
62
63 12/17/2014 Documented the extension
64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698