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

Side by Side Diff: Source/core/inspector/InspectorInstrumentation.h

Issue 46663010: DevTools: Show GPU utilization bar on timeline (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Tune PID to hue magic const Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/inspector/tracing.html ('k') | Source/core/inspector/InspectorInstrumentation.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 122
123 namespace InstrumentationEvents { 123 namespace InstrumentationEvents {
124 extern const char PaintSetup[]; 124 extern const char PaintSetup[];
125 extern const char PaintLayer[]; 125 extern const char PaintLayer[];
126 extern const char RasterTask[]; 126 extern const char RasterTask[];
127 extern const char ImageDecodeTask[]; 127 extern const char ImageDecodeTask[];
128 extern const char Paint[]; 128 extern const char Paint[];
129 extern const char Layer[]; 129 extern const char Layer[];
130 extern const char BeginFrame[]; 130 extern const char BeginFrame[];
131 extern const char UpdateLayer[]; 131 extern const char UpdateLayer[];
132 extern const char GPUTask[];
132 }; 133 };
133 134
134 namespace InstrumentationEventArguments { 135 namespace InstrumentationEventArguments {
135 extern const char LayerId[]; 136 extern const char LayerId[];
136 extern const char LayerTreeId[]; 137 extern const char LayerTreeId[];
137 extern const char NodeId[]; 138 extern const char NodeId[];
138 extern const char PageId[]; 139 extern const char PageId[];
139 extern const char PixelRefId[]; 140 extern const char PixelRefId[];
141 extern const char OwnerPID[];
140 }; 142 };
141 143
142 namespace InspectorInstrumentation { 144 namespace InspectorInstrumentation {
143 145
144 inline InstrumentingAgents* instrumentingAgentsFor(ExecutionContext* context) 146 inline InstrumentingAgents* instrumentingAgentsFor(ExecutionContext* context)
145 { 147 {
146 if (!context) 148 if (!context)
147 return 0; 149 return 0;
148 return context->isDocument() ? instrumentingAgentsFor(*toDocument(context)) : instrumentingAgentsForNonDocumentContext(context); 150 return context->isDocument() ? instrumentingAgentsFor(*toDocument(context)) : instrumentingAgentsForNonDocumentContext(context);
149 } 151 }
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 } // namespace WebCore 192 } // namespace WebCore
191 193
192 // This file will soon be generated 194 // This file will soon be generated
193 #include "InspectorInstrumentationInl.h" 195 #include "InspectorInstrumentationInl.h"
194 196
195 #include "InspectorInstrumentationCustomInl.h" 197 #include "InspectorInstrumentationCustomInl.h"
196 198
197 #include "InspectorOverridesInl.h" 199 #include "InspectorOverridesInl.h"
198 200
199 #endif // !defined(InspectorInstrumentation_h) 201 #endif // !defined(InspectorInstrumentation_h)
OLDNEW
« no previous file with comments | « LayoutTests/inspector/tracing.html ('k') | Source/core/inspector/InspectorInstrumentation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698