OLD | NEW |
(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 |
OLD | NEW |