|
cc: Remove DrawQuad::IterateResoruces
This patch removes IterateResources function in favor of
iterating resources directly on the quad. In order to
accomplish this, each derived quad uses new resources
object on the base class to store all of the resources
it needs. This allows the calling code that used to call
IterateResources with a callback to instead directly
iterate all of the ids and manipulate them in any way
that is required.
This improves the performance of the IterateResources
test by ~30%.
BUG= 492765
R=danakj, piman@chromium.org
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/0eca2e87110112c678c5f4c89b7f99e2de6026bb
Cr-Commit-Position: refs/heads/master@{#332476}
Total comments: 17
Total comments: 27
Total comments: 16
Total comments: 2
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+361 lines, -387 lines) |
Patch |
 |
M |
cc/layers/delegated_renderer_layer_impl.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+15 lines, -25 lines |
0 comments
|
Download
|
 |
M |
cc/layers/layer_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -11 lines |
0 comments
|
Download
|
 |
M |
cc/layers/tiled_layer_impl_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/output/delegating_renderer.cc
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -10 lines |
0 comments
|
Download
|
 |
M |
cc/output/gl_renderer.cc
|
View
|
1
2
3
4
|
11 chunks |
+22 lines, -27 lines |
0 comments
|
Download
|
 |
M |
cc/output/overlay_strategy_common.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/output/overlay_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/output/software_renderer.cc
|
View
|
|
3 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
cc/quads/checkerboard_draw_quad.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/quads/checkerboard_draw_quad.cc
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/quads/debug_border_draw_quad.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/quads/debug_border_draw_quad.cc
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/quads/draw_quad.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+16 lines, -3 lines |
1 comment
|
Download
|
 |
M |
cc/quads/draw_quad.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/quads/draw_quad_perftest.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+4 lines, -7 lines |
0 comments
|
Download
|
 |
M |
cc/quads/draw_quad_unittest.cc
|
View
|
1
2
3
4
5
|
17 chunks |
+47 lines, -45 lines |
0 comments
|
Download
|
 |
M |
cc/quads/io_surface_draw_quad.h
|
View
|
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/quads/io_surface_draw_quad.cc
|
View
|
|
4 chunks |
+7 lines, -11 lines |
0 comments
|
Download
|
 |
M |
cc/quads/list_container_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/quads/picture_draw_quad.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/quads/picture_draw_quad.cc
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/quads/render_pass_draw_quad.h
|
View
|
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/quads/render_pass_draw_quad.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+4 lines, -10 lines |
0 comments
|
Download
|
 |
M |
cc/quads/solid_color_draw_quad.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/quads/solid_color_draw_quad.cc
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/quads/stream_video_draw_quad.h
|
View
|
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/quads/stream_video_draw_quad.cc
|
View
|
|
4 chunks |
+7 lines, -9 lines |
0 comments
|
Download
|
 |
M |
cc/quads/surface_draw_quad.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/quads/surface_draw_quad.cc
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/quads/texture_draw_quad.h
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/quads/texture_draw_quad.cc
|
View
|
|
4 chunks |
+6 lines, -10 lines |
0 comments
|
Download
|
 |
M |
cc/quads/tile_draw_quad.h
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/quads/tile_draw_quad.cc
|
View
|
|
4 chunks |
+6 lines, -10 lines |
0 comments
|
Download
|
 |
M |
cc/quads/yuv_video_draw_quad.h
|
View
|
|
1 chunk |
+18 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/quads/yuv_video_draw_quad.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+20 lines, -26 lines |
0 comments
|
Download
|
 |
M |
cc/surfaces/surface_aggregator.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+8 lines, -7 lines |
0 comments
|
Download
|
 |
M |
cc/surfaces/surface_aggregator.cc
|
View
|
1
2
3
4
5
6
|
9 chunks |
+44 lines, -59 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_delegated_renderer_layer_impl.cc
|
View
|
1
2
3
4
|
2 chunks |
+9 lines, -16 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_unittest_delegated.cc
|
View
|
|
6 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/common/cc_messages.h
|
View
|
1
2
3
4
5
6
7
8
|
7 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
M |
content/common/cc_messages.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+41 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/cc_messages_unittest.cc
|
View
|
1
|
5 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
M |
mojo/converters/surfaces/surfaces_type_converters.cc
|
View
|
1
2
3
4
|
4 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
mojo/converters/surfaces/tests/surface_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 32 (8 generated)
|