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

Unified Diff: Source/core/inspector/TimelineTraceEventProcessor.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 side-by-side diff with in-line comments
Download patch
Index: Source/core/inspector/TimelineTraceEventProcessor.h
diff --git a/Source/core/inspector/TimelineTraceEventProcessor.h b/Source/core/inspector/TimelineTraceEventProcessor.h
index 8b4d99d5c114c106b72337f580c04d6fdd76cd75..5483d1e496ec5d61bc1602a425c54cbc2079909b 100644
--- a/Source/core/inspector/TimelineTraceEventProcessor.h
+++ b/Source/core/inspector/TimelineTraceEventProcessor.h
@@ -219,6 +219,8 @@ private:
void onLayerDeleted(const TraceEvent&);
void onDrawLazyPixelRef(const TraceEvent&);
void onLazyPixelRefDeleted(const TraceEvent&);
+ void onGPUTaskBegin(const TraceEvent&);
+ void onGPUTaskEnd(const TraceEvent&);
WeakPtr<InspectorTimelineAgent> m_timelineAgent;
TimelineTimeConverter m_timeConverter;
@@ -240,6 +242,7 @@ private:
unsigned long long m_layerId;
double m_paintSetupStart;
double m_paintSetupEnd;
+ RefPtr<JSONObject> m_gpuTask;
struct ImageInfo {
int backendNodeId;
« no previous file with comments | « Source/core/inspector/TimelineRecordFactory.cpp ('k') | Source/core/inspector/TimelineTraceEventProcessor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698