|
cc: Simplify task and its derived classes.
This patch merges TileTask, ImageDecodeTask and RasterTask into one
class to create a single class capable of handling dependencies,
scheduling and completing and is moved to its own file. Now this new
task has following functions for doing job by the task.
ScheduleOnOriginThread - must be called on origin thread
CompleteOnOriginThread - must be called on origin thread
RunOnWorkerThread - mab be called origin or worker thread
All the implementation classes like RasterTaskImpl,
ImageDecodeTaskImpl, etc. are derived directly from Task. The
TileTaskClient is renamed to RasterBufferProvider and
TileTaskRunner is inherited from it.
BUG= 599863
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Total comments: 10
Total comments: 2
Total comments: 4
Total comments: 1
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+449 lines, -467 lines) |
Patch |
|
M |
cc/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
cc/cc.gyp
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
cc/raster/bitmap_tile_task_worker_pool.h
|
View
|
1
2
3
|
3 chunks |
+8 lines, -9 lines |
0 comments
|
Download
|
|
M |
cc/raster/bitmap_tile_task_worker_pool.cc
|
View
|
1
2
3
4
|
3 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
cc/raster/gpu_tile_task_worker_pool.h
|
View
|
1
2
3
|
3 chunks |
+8 lines, -9 lines |
0 comments
|
Download
|
|
M |
cc/raster/gpu_tile_task_worker_pool.cc
|
View
|
1
2
3
|
3 chunks |
+4 lines, -7 lines |
0 comments
|
Download
|
|
M |
cc/raster/one_copy_tile_task_worker_pool.h
|
View
|
1
2
3
|
3 chunks |
+7 lines, -8 lines |
0 comments
|
Download
|
|
M |
cc/raster/one_copy_tile_task_worker_pool.cc
|
View
|
1
2
3
4
|
3 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
cc/raster/raster_buffer.h
|
View
|
1
2
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
A |
cc/raster/task.h
|
View
|
1
2
3
4
5
|
1 chunk |
+57 lines, -0 lines |
0 comments
|
Download
|
|
A |
cc/raster/task.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+67 lines, -0 lines |
0 comments
|
Download
|
|
M |
cc/raster/task_graph_runner.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -26 lines |
0 comments
|
Download
|
|
M |
cc/raster/task_graph_runner.cc
|
View
|
|
1 chunk |
+0 lines, -22 lines |
0 comments
|
Download
|
|
M |
cc/raster/task_graph_runner_perftest.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
cc/raster/tile_task_runner.h
|
View
|
1
2
3
|
2 chunks |
+4 lines, -64 lines |
0 comments
|
Download
|
|
M |
cc/raster/tile_task_runner.cc
|
View
|
|
1 chunk |
+0 lines, -48 lines |
0 comments
|
Download
|
|
M |
cc/raster/tile_task_worker_pool.h
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
cc/raster/tile_task_worker_pool.cc
|
View
|
1
2
3
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
cc/raster/tile_task_worker_pool_perftest.cc
|
View
|
1
2
3
4
5
|
10 chunks |
+42 lines, -32 lines |
0 comments
|
Download
|
|
M |
cc/raster/tile_task_worker_pool_unittest.cc
|
View
|
1
2
3
4
5
|
7 chunks |
+26 lines, -29 lines |
0 comments
|
Download
|
|
M |
cc/raster/zero_copy_tile_task_worker_pool.h
|
View
|
1
2
3
|
3 chunks |
+8 lines, -9 lines |
0 comments
|
Download
|
|
M |
cc/raster/zero_copy_tile_task_worker_pool.cc
|
View
|
1
2
3
4
|
3 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
cc/test/fake_tile_manager.cc
|
View
|
1
2
3
|
2 chunks |
+17 lines, -19 lines |
0 comments
|
Download
|
|
M |
cc/test/task_graph_runner_test_template.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
cc/tiles/gpu_image_decode_controller.h
|
View
|
1
2
3
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
cc/tiles/gpu_image_decode_controller.cc
|
View
|
1
2
3
|
5 chunks |
+7 lines, -10 lines |
0 comments
|
Download
|
|
M |
cc/tiles/image_decode_controller.h
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
cc/tiles/software_image_decode_controller.h
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
cc/tiles/software_image_decode_controller.cc
|
View
|
1
2
3
|
7 chunks |
+10 lines, -12 lines |
0 comments
|
Download
|
|
M |
cc/tiles/software_image_decode_controller_unittest.cc
|
View
|
1
2
3
|
26 chunks |
+45 lines, -45 lines |
0 comments
|
Download
|
|
M |
cc/tiles/tile.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
cc/tiles/tile_manager.h
|
View
|
1
2
3
6
|
3 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
|
M |
cc/tiles/tile_manager.cc
|
View
|
1
2
3
4
5
6
|
17 chunks |
+48 lines, -42 lines |
1 comment
|
Download
|
|
M |
cc/tiles/tile_manager_perftest.cc
|
View
|
1
2
3
|
3 chunks |
+16 lines, -17 lines |
0 comments
|
Download
|
|
M |
cc/tiles/tile_manager_unittest.cc
|
View
|
1
2
3
|
6 chunks |
+23 lines, -24 lines |
0 comments
|
Download
|
|
M |
content/renderer/raster_worker_pool.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Depends on Patchset:
Total messages: 37 (10 generated)
|