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

Side by Side Diff: cc/raster/one_copy_tile_task_worker_pool.h

Issue 1405883002: cc: Remove the base RasterSource (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge more Created 5 years, 2 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/raster/gpu_tile_task_worker_pool.cc ('k') | cc/raster/one_copy_tile_task_worker_pool.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_RASTER_ONE_COPY_TILE_TASK_WORKER_POOL_H_ 5 #ifndef CC_RASTER_ONE_COPY_TILE_TASK_WORKER_POOL_H_
6 #define CC_RASTER_ONE_COPY_TILE_TASK_WORKER_POOL_H_ 6 #define CC_RASTER_ONE_COPY_TILE_TASK_WORKER_POOL_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 void ReleaseBufferForRaster(scoped_ptr<RasterBuffer> buffer) override; 71 void ReleaseBufferForRaster(scoped_ptr<RasterBuffer> buffer) override;
72 72
73 // Overridden from base::trace_event::MemoryDumpProvider: 73 // Overridden from base::trace_event::MemoryDumpProvider:
74 bool OnMemoryDump(const base::trace_event::MemoryDumpArgs& args, 74 bool OnMemoryDump(const base::trace_event::MemoryDumpArgs& args,
75 base::trace_event::ProcessMemoryDump* pmd) override; 75 base::trace_event::ProcessMemoryDump* pmd) override;
76 76
77 // Playback raster source and copy result into |resource|. 77 // Playback raster source and copy result into |resource|.
78 void PlaybackAndCopyOnWorkerThread( 78 void PlaybackAndCopyOnWorkerThread(
79 const Resource* resource, 79 const Resource* resource,
80 const ResourceProvider::ScopedWriteLockGL* resource_lock, 80 const ResourceProvider::ScopedWriteLockGL* resource_lock,
81 const RasterSource* raster_source, 81 const DisplayListRasterSource* raster_source,
82 const gfx::Rect& raster_full_rect, 82 const gfx::Rect& raster_full_rect,
83 const gfx::Rect& raster_dirty_rect, 83 const gfx::Rect& raster_dirty_rect,
84 float scale, 84 float scale,
85 bool include_images, 85 bool include_images,
86 uint64_t resource_content_id, 86 uint64_t resource_content_id,
87 uint64_t previous_content_id); 87 uint64_t previous_content_id);
88 88
89 protected: 89 protected:
90 OneCopyTileTaskWorkerPool(base::SequencedTaskRunner* task_runner, 90 OneCopyTileTaskWorkerPool(base::SequencedTaskRunner* task_runner,
91 TaskGraphRunner* task_graph_runner, 91 TaskGraphRunner* task_graph_runner,
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 // canceled when ScheduleTasks() is called. 169 // canceled when ScheduleTasks() is called.
170 base::WeakPtrFactory<OneCopyTileTaskWorkerPool> 170 base::WeakPtrFactory<OneCopyTileTaskWorkerPool>
171 task_set_finished_weak_ptr_factory_; 171 task_set_finished_weak_ptr_factory_;
172 172
173 DISALLOW_COPY_AND_ASSIGN(OneCopyTileTaskWorkerPool); 173 DISALLOW_COPY_AND_ASSIGN(OneCopyTileTaskWorkerPool);
174 }; 174 };
175 175
176 } // namespace cc 176 } // namespace cc
177 177
178 #endif // CC_RASTER_ONE_COPY_TILE_TASK_WORKER_POOL_H_ 178 #endif // CC_RASTER_ONE_COPY_TILE_TASK_WORKER_POOL_H_
OLDNEW
« no previous file with comments | « cc/raster/gpu_tile_task_worker_pool.cc ('k') | cc/raster/one_copy_tile_task_worker_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698