Home
last modified time | relevance | path

Searched refs:TileTask (Results 1 – 25 of 43) sorted by relevance

12

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/cc/raster/
H A Dtile_task.cc11 TileTask::TileTask(bool supports_concurrent_execution) in TileTask() function in cc::TileTask
15 TileTask::TileTask(bool supports_concurrent_execution, in TileTask() function in cc::TileTask
16 TileTask::Vector* dependencies) in TileTask()
21 TileTask::~TileTask() { in ~TileTask()
25 void TileTask::DidComplete() { in DidComplete()
30 bool TileTask::HasCompleted() const { in HasCompleted()
H A Dtile_task.h14 class CC_EXPORT TileTask : public Task {
16 typedef std::vector<scoped_refptr<TileTask>> Vector;
18 const TileTask::Vector& dependencies() const { return dependencies_; } in dependencies()
35 explicit TileTask(bool supports_concurrent_execution);
36 TileTask(bool supports_concurrent_execution, TileTask::Vector* dependencies);
37 ~TileTask() override;
40 TileTask::Vector dependencies_;
H A Draster_buffer_provider_perftest.cc161 class PerfTileTask : public TileTask {
163 PerfTileTask() : TileTask(true) {} in PerfTileTask()
164 explicit PerfTileTask(TileTask::Vector* dependencies) in PerfTileTask()
165 : TileTask(true, dependencies) {} in PerfTileTask()
214 TileTask::Vector* dependencies) in PerfRasterTaskImpl()
247 typedef std::vector<scoped_refptr<TileTask>> RasterTaskVector;
283 TileTask::Vector dependencies = image_decode_tasks; in CreateRasterTasks()
420 TileTask::Vector image_decode_tasks; in RunScheduleTasksTest()
452 TileTask::Vector image_decode_tasks[kNumVersions]; in RunScheduleAlternateTasksTest()
489 TileTask::Vector image_decode_tasks; in RunScheduleAndExecuteTasksTest()
[all …]
H A Draster_buffer_provider_unittest.cc76 class TestRasterTaskImpl : public TileTask {
81 TileTask::Vector* dependencies) in TestRasterTaskImpl()
82 : TileTask(true, dependencies), in TestRasterTaskImpl()
124 TileTask::Vector* dependencies) in BlockingTestRasterTaskImpl()
196 typedef std::vector<scoped_refptr<TileTask>> RasterTaskVector;
306 TileTask::Vector empty; in AppendTask()
326 TileTask::Vector empty; in AppendBlockingTask()
339 TileTask::Vector empty; in AppendTaskWithResource()
/dports/www/chromium-legacy/chromium-88.0.4324.182/cc/raster/
H A Dtile_task.cc11 TileTask::TileTask( in TileTask() function in cc::TileTask
14 TileTask::Vector* dependencies) in TileTask()
18 : TileTask::Vector()), in TileTask()
21 TileTask::~TileTask() { in ~TileTask()
25 void TileTask::DidComplete() { in DidComplete()
30 bool TileTask::HasCompleted() const { in HasCompleted()
H A Dtile_task.h14 class CC_EXPORT TileTask : public Task {
16 typedef std::vector<scoped_refptr<TileTask>> Vector;
18 const TileTask::Vector& dependencies() const { return dependencies_; } in dependencies()
45 TileTask(SupportsConcurrentExecution supports_concurrent_execution,
47 TileTask::Vector* dependencies = nullptr);
48 ~TileTask() override;
52 TileTask::Vector dependencies_;
H A Draster_buffer_provider_perftest.cc161 class PerfTileTask : public TileTask {
163 explicit PerfTileTask(TileTask::Vector* dependencies = nullptr) in PerfTileTask()
164 : TileTask(TileTask::SupportsConcurrentExecution::kYes, in PerfTileTask()
165 TileTask::SupportsBackgroundThreadPriority::kYes, in PerfTileTask()
215 TileTask::Vector* dependencies) in PerfRasterTaskImpl()
248 typedef std::vector<scoped_refptr<TileTask>> RasterTaskVector;
284 TileTask::Vector dependencies = image_decode_tasks; in CreateRasterTasks()
421 TileTask::Vector image_decode_tasks; in RunScheduleTasksTest()
453 TileTask::Vector image_decode_tasks[kNumVersions]; in RunScheduleAlternateTasksTest()
490 TileTask::Vector image_decode_tasks; in RunScheduleAndExecuteTasksTest()
[all …]
H A Draster_buffer_provider_unittest.cc79 class TestRasterTaskImpl : public TileTask {
84 TileTask::Vector* dependencies) in TestRasterTaskImpl()
85 : TileTask(TileTask::SupportsConcurrentExecution::kYes, in TestRasterTaskImpl()
86 TileTask::SupportsBackgroundThreadPriority::kYes, in TestRasterTaskImpl()
129 TileTask::Vector* dependencies) in BlockingTestRasterTaskImpl()
201 typedef std::vector<scoped_refptr<TileTask>> RasterTaskVector;
311 TileTask::Vector empty; in AppendTask()
331 TileTask::Vector empty; in AppendBlockingTask()
344 TileTask::Vector empty; in AppendTaskWithResource()
/dports/www/chromium-legacy/chromium-88.0.4324.182/cc/test/
H A Dtest_tile_task_runner.h17 static void ProcessTask(TileTask* task);
19 static void ScheduleTask(TileTask* task);
20 static void CancelTask(TileTask* task);
24 static void RunTask(TileTask* task);
28 static void CompleteTask(TileTask* task);
H A Dtest_tile_task_runner.cc11 void TestTileTaskRunner::ProcessTask(TileTask* task) { in ProcessTask()
17 void TestTileTaskRunner::ScheduleTask(TileTask* task) { in ScheduleTask()
22 void TestTileTaskRunner::CancelTask(TileTask* task) { in CancelTask()
27 void TestTileTaskRunner::RunTask(TileTask* task) { in RunTask()
34 void TestTileTaskRunner::CompleteTask(TileTask* task) { in CompleteTask()
H A Dfake_tile_task_manager.cc18 TileTask* task = static_cast<TileTask*>(node.task.get()); in ScheduleTasks()
28 TileTask* tile_task = static_cast<TileTask*>(task.get()); in CheckForCompletedTasks()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/java/src/org/chromium/chrome/browser/suggestions/tile/
H A DTileGroup.java144 @IntDef({TileTask.FETCH_DATA, TileTask.SCHEDULE_ICON_FETCH, TileTask.FETCH_ICON})
146 @interface TileTask { annotation in TileGroup
229 if (trackLoad) addTask(TileTask.FETCH_ICON);
304 addTask(TileTask.FETCH_DATA); in startObserving()
341 if (trackLoadTask) addTask(TileTask.FETCH_DATA); in onSwitchToForeground()
343 if (trackLoadTask) removeTask(TileTask.FETCH_DATA); in onSwitchToForeground()
399 if (isInitialLoad) removeTask(TileTask.FETCH_DATA); in loadTiles()
435 private void addTask(@TileTask int task) { in addTask()
439 private void removeTask(@TileTask int task) { in removeTask()
460 return mPendingTasks.contains(TileTask.FETCH_DATA) in isLoadTracked()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/cc/tiles/
H A Dtile_manager.cc74 class RasterTaskImpl : public TileTask {
85 TileTask::Vector* dependencies, in RasterTaskImpl()
89 : TileTask( in RasterTaskImpl()
223 TileTask* task, in InsertNodeForTask()
235 TileTask* task, in InsertNodeForDecodeTask()
263 TileTask* decode_task = it->get(); in InsertNodesForRasterTask()
308 : TileTask(TileTask::SupportsConcurrentExecution::kYes, in TaskSetFinishedTaskImpl()
343 : TileTask(TileTask::SupportsConcurrentExecution::kNo, in DidFinishRunningAllTilesTask()
1021 scoped_refptr<TileTask> all_done_task = in ScheduleTasks()
1034 TileTask* task = tile->raster_task_.get(); in ScheduleTasks()
[all …]
H A Dimage_controller.h53 std::vector<scoped_refptr<TileTask>>* tasks,
60 std::vector<scoped_refptr<TileTask>> SetPredecodeImages(
93 scoped_refptr<TileTask> task,
103 scoped_refptr<TileTask> task;
H A Dimage_controller_unittest.cc135 void SetTaskToUse(scoped_refptr<TileTask> task) { task_to_use_ = task; } in SetTaskToUse()
139 scoped_refptr<TileTask> task_to_use_;
164 class SimpleTask : public TileTask {
167 : TileTask(TileTask::SupportsConcurrentExecution::kYes, in SimpleTask()
168 TileTask::SupportsBackgroundThreadPriority::kYes) { in SimpleTask()
193 class BlockingTask : public TileTask {
196 : TileTask(TileTask::SupportsConcurrentExecution::kYes, in BlockingTask()
197 TileTask::SupportsBackgroundThreadPriority::kYes), in BlockingTask()
H A Dtile_task_manager.cc42 TileTask* tile_task = static_cast<TileTask*>(task.get()); in CheckForCompletedTasks()
H A Dimage_controller.cc151 std::vector<scoped_refptr<TileTask>>* tasks, in ConvertImagesToTasks()
200 std::vector<scoped_refptr<TileTask>> ImageController::SetPredecodeImages( in SetPredecodeImages()
203 std::vector<scoped_refptr<TileTask>> new_tasks; in SetPredecodeImages()
272 scoped_refptr<TileTask> decode_task; in ProcessNextImageDecodeOnWorkerThread()
401 scoped_refptr<TileTask> task, in ImageDecodeRequest()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/cc/tiles/
H A Dimage_controller.h53 std::vector<scoped_refptr<TileTask>>* tasks,
60 std::vector<scoped_refptr<TileTask>> SetPredecodeImages(
93 scoped_refptr<TileTask> task,
103 scoped_refptr<TileTask> task;
H A Dtile_manager.cc74 class RasterTaskImpl : public TileTask {
85 TileTask::Vector* dependencies, in RasterTaskImpl()
177 TaskCategory TaskCategoryForTileTask(TileTask* task, in TaskCategoryForTileTask()
213 TileTask* task, in InsertNodeForTask()
225 TileTask* task, in InsertNodeForDecodeTask()
253 TileTask* decode_task = it->get(); in InsertNodesForRasterTask()
293 class TaskSetFinishedTaskImpl : public TileTask {
298 : TileTask(true), in TaskSetFinishedTaskImpl()
1006 scoped_refptr<TileTask> all_done_task = in ScheduleTasks()
1019 TileTask* task = tile->raster_task_.get(); in ScheduleTasks()
[all …]
H A Dtile_task_manager.cc42 TileTask* tile_task = static_cast<TileTask*>(task.get()); in CheckForCompletedTasks()
H A Dimage_controller.cc151 std::vector<scoped_refptr<TileTask>>* tasks, in ConvertImagesToTasks()
200 std::vector<scoped_refptr<TileTask>> ImageController::SetPredecodeImages( in SetPredecodeImages()
203 std::vector<scoped_refptr<TileTask>> new_tasks; in SetPredecodeImages()
272 scoped_refptr<TileTask> decode_task; in ProcessNextImageDecodeOnWorkerThread()
401 scoped_refptr<TileTask> task, in ImageDecodeRequest()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/javatests/src/org/chromium/chrome/browser/suggestions/tile/
H A DTileGroupUnitTest.java137 assertTrue(tileGroup.isTaskPending(TileGroup.TileTask.SCHEDULE_ICON_FETCH)); in testInitialiseWithTileList()
138 assertFalse(tileGroup.isTaskPending(TileGroup.TileTask.FETCH_DATA)); in testInitialiseWithTileList()
157 assertTrue(tileGroup.isTaskPending(TileGroup.TileTask.SCHEDULE_ICON_FETCH)); in testInitialiseWithEmptyTileList()
158 assertFalse(tileGroup.isTaskPending(TileGroup.TileTask.FETCH_DATA)); in testInitialiseWithEmptyTileList()
172 assertFalse(tileGroup.isTaskPending(TileGroup.TileTask.SCHEDULE_ICON_FETCH)); in testReceiveNewTilesWithoutChanges()
187 assertFalse(tileGroup.isTaskPending(TileGroup.TileTask.SCHEDULE_ICON_FETCH)); in testReceiveNewTilesWithoutChanges_TrackLoad()
205 assertFalse(tileGroup.isTaskPending(TileGroup.TileTask.SCHEDULE_ICON_FETCH)); in testReceiveNewTilesWithDataChanges()
224 assertTrue(tileGroup.isTaskPending(TileGroup.TileTask.SCHEDULE_ICON_FETCH)); in testReceiveNewTilesWithDataChanges_TrackLoad()
239 assertFalse(tileGroup.isTaskPending(TileGroup.TileTask.SCHEDULE_ICON_FETCH)); in testReceiveNewTilesWithCountChanges()
/dports/graphics/glosm/glosm-glosm-0.0.2/libglosm-client/include/glosm/
H A DTileManager.hh92 struct TileTask { struct in TileManager
96 TileTask(const TileId& i, const BBoxi& b) : id(i), bbox(b) { in TileTask() function
125 typedef std::list<TileTask> TilesQueue;
/dports/multimedia/handbrake/zimg-release-3.0.1/doc/example/
H A Dtile_example.cpp61 struct TileTask { struct
71 const TileTask *task;
174 void thread_func(const WindowsBitmap *in_bmp, WindowsBitmap *out_bmp, std::vector<TileTask> *tasks,…
195 std::vector<TileTask> task_queue; in execute()
254 void thread_func(const WindowsBitmap *in_bmp, WindowsBitmap *out_bmp, std::vector<TileTask> *tasks,… in thread_func()
262 TileTask task = tasks->back(); in thread_func()
/dports/graphics/sekrit-twc-zimg/zimg-release-3.0.3/doc/example/
H A Dtile_example.cpp61 struct TileTask { struct
71 const TileTask *task;
174 void thread_func(const WindowsBitmap *in_bmp, WindowsBitmap *out_bmp, std::vector<TileTask> *tasks,…
195 std::vector<TileTask> task_queue; in execute()
254 void thread_func(const WindowsBitmap *in_bmp, WindowsBitmap *out_bmp, std::vector<TileTask> *tasks,… in thread_func()
262 TileTask task = tasks->back(); in thread_func()

12