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

Side by Side Diff: content/renderer/gpu/gpu_benchmarking_extension.cc

Issue 19266015: [SkiaBenchmarkingExtension] Add draw command timing info. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 7 years, 5 months 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/renderer/gpu/gpu_benchmarking_extension.h" 5 #include "content/renderer/gpu/gpu_benchmarking_extension.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/base64.h" 9 #include "base/base64.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/memory/scoped_vector.h" 12 #include "base/memory/scoped_vector.h"
13 #include "base/strings/string_number_conversions.h" 13 #include "base/strings/string_number_conversions.h"
14 #include "content/common/browser_rendering_stats.h" 14 #include "content/common/browser_rendering_stats.h"
15 #include "content/common/gpu/gpu_rendering_stats.h" 15 #include "content/common/gpu/gpu_rendering_stats.h"
16 #include "content/public/renderer/render_thread.h" 16 #include "content/public/renderer/render_thread.h"
17 #include "content/renderer/all_rendering_benchmarks.h" 17 #include "content/renderer/all_rendering_benchmarks.h"
18 #include "content/renderer/gpu/render_widget_compositor.h" 18 #include "content/renderer/gpu/render_widget_compositor.h"
19 #include "content/renderer/render_view_impl.h" 19 #include "content/renderer/render_view_impl.h"
20 #include "content/renderer/rendering_benchmark.h" 20 #include "content/renderer/rendering_benchmark.h"
21 #include "content/renderer/skia_benchmarking_extension.h" 21 #include "content/renderer/skia_benchmarking/skia_benchmarking_extension.h"
22 #include "third_party/WebKit/public/web/WebFrame.h" 22 #include "third_party/WebKit/public/web/WebFrame.h"
23 #include "third_party/WebKit/public/web/WebImageCache.h" 23 #include "third_party/WebKit/public/web/WebImageCache.h"
24 #include "third_party/WebKit/public/web/WebView.h" 24 #include "third_party/WebKit/public/web/WebView.h"
25 #include "third_party/WebKit/public/web/WebViewBenchmarkSupport.h" 25 #include "third_party/WebKit/public/web/WebViewBenchmarkSupport.h"
26 #include "third_party/skia/include/core/SkData.h" 26 #include "third_party/skia/include/core/SkData.h"
27 #include "third_party/skia/include/core/SkGraphics.h" 27 #include "third_party/skia/include/core/SkGraphics.h"
28 #include "third_party/skia/include/core/SkPicture.h" 28 #include "third_party/skia/include/core/SkPicture.h"
29 #include "third_party/skia/include/core/SkPixelRef.h" 29 #include "third_party/skia/include/core/SkPixelRef.h"
30 #include "third_party/skia/include/core/SkStream.h" 30 #include "third_party/skia/include/core/SkStream.h"
31 #include "ui/gfx/codec/png_codec.h" 31 #include "ui/gfx/codec/png_codec.h"
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 const v8::FunctionCallbackInfo<v8::Value>& args) { 580 const v8::FunctionCallbackInfo<v8::Value>& args) {
581 WebImageCache::clear(); 581 WebImageCache::clear();
582 } 582 }
583 }; 583 };
584 584
585 v8::Extension* GpuBenchmarkingExtension::Get() { 585 v8::Extension* GpuBenchmarkingExtension::Get() {
586 return new GpuBenchmarkingWrapper(); 586 return new GpuBenchmarkingWrapper();
587 } 587 }
588 588
589 } // namespace content 589 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698