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

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: Gpu -> GPU 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/TimelineRecordFactory.cpp
diff --git a/Source/core/inspector/TimelineRecordFactory.cpp b/Source/core/inspector/TimelineRecordFactory.cpp
index a60515b045844a83b820961d771620d58d418923..f8e28544115935376799dbafc8aa2cd82588cc5e 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);
caseq 2013/11/06 16:40:31 PID
+ return data.release();
+}
+
static PassRefPtr<JSONArray> createQuad(const FloatQuad& quad)
{
RefPtr<JSONArray> array = JSONArray::create();

Powered by Google App Engine
This is Rietveld 408576698