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

Side by Side Diff: chrome/test/perf/frame_rate/frame_rate_tests.cc

Issue 10392068: ui: Move gl/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac_rel Created 8 years, 7 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 <map> 5 #include <map>
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/string_number_conversions.h" 10 #include "base/string_number_conversions.h"
11 #include "base/test/test_timeouts.h" 11 #include "base/test/test_timeouts.h"
12 #include "base/test/trace_event_analyzer.h" 12 #include "base/test/trace_event_analyzer.h"
13 #include "base/utf_string_conversions.h" 13 #include "base/utf_string_conversions.h"
14 #include "chrome/common/chrome_paths.h" 14 #include "chrome/common/chrome_paths.h"
15 #include "chrome/common/chrome_switches.h" 15 #include "chrome/common/chrome_switches.h"
16 #include "chrome/test/automation/automation_proxy.h" 16 #include "chrome/test/automation/automation_proxy.h"
17 #include "chrome/test/automation/tab_proxy.h" 17 #include "chrome/test/automation/tab_proxy.h"
18 #include "chrome/test/perf/perf_test.h" 18 #include "chrome/test/perf/perf_test.h"
19 #include "chrome/test/ui/javascript_test_util.h" 19 #include "chrome/test/ui/javascript_test_util.h"
20 #include "chrome/test/ui/ui_perf_test.h" 20 #include "chrome/test/ui/ui_perf_test.h"
21 #include "net/base/net_util.h" 21 #include "net/base/net_util.h"
22 #include "ui/gfx/gl/gl_implementation.h" 22 #include "ui/gl/gl_implementation.h"
23 #include "ui/gfx/gl/gl_switches.h" 23 #include "ui/gl/gl_switches.h"
24 24
25 namespace { 25 namespace {
26 26
27 enum FrameRateTestFlags { 27 enum FrameRateTestFlags {
28 kUseGpu = 1 << 0, // Only execute test if --enable-gpu, and verify 28 kUseGpu = 1 << 0, // Only execute test if --enable-gpu, and verify
29 // that test ran on GPU. This is required for 29 // that test ran on GPU. This is required for
30 // tests that run on GPU. 30 // tests that run on GPU.
31 kForceGpuComposited = 1 << 1, // Force the test to use the compositor. 31 kForceGpuComposited = 1 << 1, // Force the test to use the compositor.
32 kDisableVsync = 1 << 2, // Do not limit framerate to vertical refresh. 32 kDisableVsync = 1 << 2, // Do not limit framerate to vertical refresh.
33 // when on GPU, nor to 60hz when not on GPU. 33 // when on GPU, nor to 60hz when not on GPU.
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 kInternal | kHasRedirect | kUseGpu, 287 kInternal | kHasRedirect | kUseGpu,
288 kInternal | kHasRedirect | kUseGpu | kDisableVsync, 288 kInternal | kHasRedirect | kUseGpu | kDisableVsync,
289 kUseReferenceBuild | kInternal | kHasRedirect | kUseGpu, 289 kUseReferenceBuild | kInternal | kHasRedirect | kUseGpu,
290 kUseReferenceBuild | kInternal | kHasRedirect | kUseGpu | kDisableVsync)); 290 kUseReferenceBuild | kInternal | kHasRedirect | kUseGpu | kDisableVsync));
291 291
292 INTERNAL_FRAME_RATE_TEST_CANVAS_GPU(fireflies) 292 INTERNAL_FRAME_RATE_TEST_CANVAS_GPU(fireflies)
293 INTERNAL_FRAME_RATE_TEST_CANVAS_GPU(FishIE) 293 INTERNAL_FRAME_RATE_TEST_CANVAS_GPU(FishIE)
294 INTERNAL_FRAME_RATE_TEST_CANVAS_GPU(speedreading) 294 INTERNAL_FRAME_RATE_TEST_CANVAS_GPU(speedreading)
295 295
296 } // namespace 296 } // namespace
OLDNEW
« no previous file with comments | « chrome/test/gpu/gpu_pixel_browsertest.cc ('k') | chrome/test/perf/rendering/throughput_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698