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

Side by Side Diff: gpu/perftests/texture_upload_perftest.cc

Issue 932003005: gpu: Remove gpu_bindings.h inclusion from headers and reduce includes dependencies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add include logging to measurements.cc and s/uint/unsigned int/ Created 5 years, 10 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
« no previous file with comments | « gpu/perftests/measurements.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 <algorithm> 5 #include <algorithm>
6 #include <vector> 6 #include <vector>
7 7
8 #include "base/containers/small_map.h" 8 #include "base/containers/small_map.h"
9 #include "base/logging.h"
9 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "gpu/command_buffer/service/gpu_timing.h"
11 #include "gpu/perftests/measurements.h" 13 #include "gpu/perftests/measurements.h"
12 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
13 #include "ui/gfx/geometry/size.h" 15 #include "ui/gfx/geometry/size.h"
14 #include "ui/gl/gl_bindings.h" 16 #include "ui/gl/gl_bindings.h"
15 #include "ui/gl/gl_context.h" 17 #include "ui/gl/gl_context.h"
16 #include "ui/gl/gl_surface.h" 18 #include "ui/gl/gl_surface.h"
17 #include "ui/gl/scoped_make_current.h" 19 #include "ui/gl/scoped_make_current.h"
18 20
19 namespace gpu { 21 namespace gpu {
20 namespace { 22 namespace {
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 } 255 }
254 256
255 for (const auto& entry : aggregates) { 257 for (const auto& entry : aggregates) {
256 const auto m = entry.second.Divide(kUploadPerfTestRuns); 258 const auto m = entry.second.Divide(kUploadPerfTestRuns);
257 m.PrintResult(); 259 m.PrintResult();
258 } 260 }
259 } 261 }
260 262
261 } // namespace 263 } // namespace
262 } // namespace gpu 264 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/perftests/measurements.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698