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

Side by Side Diff: cc/resources/raster_worker_pool.h

Issue 21159007: cc: Adding support for RGBA_4444 tile textures (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 7 years, 4 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 | « no previous file | cc/resources/raster_worker_pool.cc » ('j') | cc/resources/raster_worker_pool.cc » ('J')
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 #ifndef CC_RESOURCES_RASTER_WORKER_POOL_H_ 5 #ifndef CC_RESOURCES_RASTER_WORKER_POOL_H_
6 #define CC_RESOURCES_RASTER_WORKER_POOL_H_ 6 #define CC_RESOURCES_RASTER_WORKER_POOL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/containers/hash_tables.h" 10 #include "base/containers/hash_tables.h"
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 gfx::Rect content_rect, 190 gfx::Rect content_rect,
191 float contents_scale, 191 float contents_scale,
192 RasterMode raster_mode, 192 RasterMode raster_mode,
193 bool is_tile_in_pending_tree_now_bin, 193 bool is_tile_in_pending_tree_now_bin,
194 TileResolution tile_resolution, 194 TileResolution tile_resolution,
195 int layer_id, 195 int layer_id,
196 const void* tile_id, 196 const void* tile_id,
197 int source_frame_number, 197 int source_frame_number,
198 RenderingStatsInstrumentation* rendering_stats, 198 RenderingStatsInstrumentation* rendering_stats,
199 const RasterTask::Reply& reply, 199 const RasterTask::Reply& reply,
200 Task::Set* dependencies); 200 Task::Set* dependencies,
201 bool use_16bit_tiles);
201 202
202 static Task CreateImageDecodeTask( 203 static Task CreateImageDecodeTask(
203 skia::LazyPixelRef* pixel_ref, 204 skia::LazyPixelRef* pixel_ref,
204 int layer_id, 205 int layer_id,
205 RenderingStatsInstrumentation* stats_instrumentation, 206 RenderingStatsInstrumentation* stats_instrumentation,
206 const Task::Reply& reply); 207 const Task::Reply& reply);
207 208
208 protected: 209 protected:
209 typedef std::vector<scoped_refptr<internal::WorkerPoolTask> > TaskVector; 210 typedef std::vector<scoped_refptr<internal::WorkerPoolTask> > TaskVector;
210 typedef std::vector<scoped_refptr<internal::RasterWorkerPoolTask> > 211 typedef std::vector<scoped_refptr<internal::RasterWorkerPoolTask> >
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 270
270 base::WeakPtrFactory<RasterWorkerPool> weak_ptr_factory_; 271 base::WeakPtrFactory<RasterWorkerPool> weak_ptr_factory_;
271 scoped_refptr<internal::WorkerPoolTask> raster_finished_task_; 272 scoped_refptr<internal::WorkerPoolTask> raster_finished_task_;
272 scoped_refptr<internal::WorkerPoolTask> 273 scoped_refptr<internal::WorkerPoolTask>
273 raster_required_for_activation_finished_task_; 274 raster_required_for_activation_finished_task_;
274 }; 275 };
275 276
276 } // namespace cc 277 } // namespace cc
277 278
278 #endif // CC_RESOURCES_RASTER_WORKER_POOL_H_ 279 #endif // CC_RESOURCES_RASTER_WORKER_POOL_H_
OLDNEW
« no previous file with comments | « no previous file | cc/resources/raster_worker_pool.cc » ('j') | cc/resources/raster_worker_pool.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698