Chromium Code Reviews| Index: Source/core/inspector/TimelineTraceEventProcessor.h |
| diff --git a/Source/core/inspector/TimelineTraceEventProcessor.h b/Source/core/inspector/TimelineTraceEventProcessor.h |
| index 8b4d99d5c114c106b72337f580c04d6fdd76cd75..b2b634dc34c2e93cbffcfd101e6b6e3804eca79b 100644 |
| --- a/Source/core/inspector/TimelineTraceEventProcessor.h |
| +++ b/Source/core/inspector/TimelineTraceEventProcessor.h |
| @@ -81,7 +81,7 @@ private: |
| class TimelineTraceEventProcessor : public ThreadSafeRefCounted<TimelineTraceEventProcessor> { |
| public: |
| - TimelineTraceEventProcessor(WeakPtr<InspectorTimelineAgent>, InspectorClient*); |
| + TimelineTraceEventProcessor(WeakPtr<InspectorTimelineAgent>, InspectorClient*, bool collectGpuEvents); |
|
caseq
2013/11/01 13:04:20
do we have to pass this? can we pull it from timel
alph
2013/11/01 16:40:19
Done.
|
| ~TimelineTraceEventProcessor(); |
| void shutdown(); |
| @@ -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,8 @@ private: |
| unsigned long long m_layerId; |
| double m_paintSetupStart; |
| double m_paintSetupEnd; |
| + double m_gpuTaskStart; |
| + unsigned m_gpuTaskRendererPid; |
| struct ImageInfo { |
| int backendNodeId; |