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

Unified Diff: Source/core/inspector/TimelineRecordFactory.cpp

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
« no previous file with comments | « Source/core/inspector/TimelineRecordFactory.h ('k') | Source/core/inspector/TimelineTraceEventProcessor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/TimelineRecordFactory.cpp
diff --git a/Source/core/inspector/TimelineRecordFactory.cpp b/Source/core/inspector/TimelineRecordFactory.cpp
index a60515b045844a83b820961d771620d58d418923..9a557a68d6a4bcdbc8911c44594ef0df547d9a9b 100644
--- a/Source/core/inspector/TimelineRecordFactory.cpp
+++ b/Source/core/inspector/TimelineRecordFactory.cpp
@@ -220,6 +220,13 @@ PassRefPtr<JSONObject> TimelineRecordFactory::createAnimationFrameData(int callb
return data.release();
}
+PassRefPtr<JSONObject> TimelineRecordFactory::createGPUTaskData(unsigned ownerPID)
+{
+ RefPtr<JSONObject> data = JSONObject::create();
+ data->setNumber("ownerPID", ownerPID);
+ return data.release();
+}
+
static PassRefPtr<JSONArray> createQuad(const FloatQuad& quad)
{
RefPtr<JSONArray> array = JSONArray::create();
« no previous file with comments | « Source/core/inspector/TimelineRecordFactory.h ('k') | Source/core/inspector/TimelineTraceEventProcessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698