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

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: rebase Created 5 years, 11 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 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 when the graphics context is destroyed.
26
27 Multiple traces can happen simultaneously, however traces act as a stack
28 and must be fully contained within one another. Therefore, you cannot
29 have overlapping traces.
30
31 Once a trace has been recorded, it is up to the application to decide
32 how the traces should be displayed.
33
34 New Tokens
35
36 None
37
38 New Procedures and Functions
39
40 void TraceBeginCHROMIUM(const char* category_name, const char* trace_name)
41
42 Marks the beginning of when a GPU trace should begin. Once the trace begins
43 it lasts until the graphics context is destroyed or when TraceEndCHROMIUM
44 is called.
45
46
47 void TraceEndCHROMIUM()
48
49 Marks the last trace to end, this will signal the application to stop
50 tracing the previous trace.
51
52 Errors
53
54 None.
55
56 New State
57
58 None.
59
60 Revision History
61
62 12/17/2014 Documented the extension
63
OLDNEW
« no previous file with comments | « content/common/gpu/client/context_provider_command_buffer.cc ('k') | gpu/blink/webgraphicscontext3d_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698