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

Side by Side Diff: cc/resources/raster_worker_pool_perftest.cc

Issue 21159007: cc: Adding support for RGBA_4444 tile textures (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed a signed vs. unsigned comparison in video_resource_updater.cc Created 7 years, 3 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 | « cc/resources/raster_worker_pool.cc ('k') | cc/resources/raster_worker_pool_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "cc/resources/raster_worker_pool.h" 5 #include "cc/resources/raster_worker_pool.h"
6 6
7 #include "base/time/time.h" 7 #include "base/time/time.h"
8 #include "cc/test/lap_timer.h" 8 #include "cc/test/lap_timer.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 #include "testing/perf/perf_test.h" 10 #include "testing/perf/perf_test.h"
(...skipping 22 matching lines...) Expand all
33 virtual ~PerfRasterWorkerPool() {} 33 virtual ~PerfRasterWorkerPool() {}
34 34
35 static scoped_ptr<PerfRasterWorkerPool> Create() { 35 static scoped_ptr<PerfRasterWorkerPool> Create() {
36 return make_scoped_ptr(new PerfRasterWorkerPool); 36 return make_scoped_ptr(new PerfRasterWorkerPool);
37 } 37 }
38 38
39 // Overridden from RasterWorkerPool: 39 // Overridden from RasterWorkerPool:
40 virtual void ScheduleTasks(RasterTask::Queue* queue) OVERRIDE { 40 virtual void ScheduleTasks(RasterTask::Queue* queue) OVERRIDE {
41 NOTREACHED(); 41 NOTREACHED();
42 } 42 }
43 virtual GLenum GetResourceFormat() const OVERRIDE { 43 virtual ResourceFormat GetResourceFormat() const OVERRIDE {
44 NOTREACHED(); 44 NOTREACHED();
45 return GL_RGBA; 45 return RGBA_8888;
46 } 46 }
47 virtual void OnRasterTasksFinished() OVERRIDE { 47 virtual void OnRasterTasksFinished() OVERRIDE {
48 NOTREACHED(); 48 NOTREACHED();
49 } 49 }
50 virtual void OnRasterTasksRequiredForActivationFinished() OVERRIDE { 50 virtual void OnRasterTasksRequiredForActivationFinished() OVERRIDE {
51 NOTREACHED(); 51 NOTREACHED();
52 } 52 }
53 53
54 void SetRasterTasks(RasterTask::Queue* queue) { 54 void SetRasterTasks(RasterTask::Queue* queue) {
55 RasterWorkerPool::SetRasterTasks(queue); 55 RasterWorkerPool::SetRasterTasks(queue);
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 RunBuildTaskGraphTest("100_4", 100, 4); 212 RunBuildTaskGraphTest("100_4", 100, 4);
213 RunBuildTaskGraphTest("1000_4", 1000, 4); 213 RunBuildTaskGraphTest("1000_4", 1000, 4);
214 RunBuildTaskGraphTest("10_16", 10, 16); 214 RunBuildTaskGraphTest("10_16", 10, 16);
215 RunBuildTaskGraphTest("100_16", 100, 16); 215 RunBuildTaskGraphTest("100_16", 100, 16);
216 RunBuildTaskGraphTest("1000_16", 1000, 16); 216 RunBuildTaskGraphTest("1000_16", 1000, 16);
217 } 217 }
218 218
219 } // namespace 219 } // namespace
220 220
221 } // namespace cc 221 } // namespace cc
OLDNEW
« no previous file with comments | « cc/resources/raster_worker_pool.cc ('k') | cc/resources/raster_worker_pool_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698