|
cc: Stop using drawableContentRect for occlusion.
The occlusion tracker has been using the drawableContentRect() which is not
useful compared to the clipRect() unless queries go outside the bounds of
the layer (which they would not). Also, the tests would override and fake
out the layer drawableContentRect() instead of just making a clipRect()
with an appropriate tree hierarchy.
The unit tests are now more real, and set up clipping in legitimite ways,
and drawableContentRect() is no longer used.
This removes most of the usage of the drawableContentRect() outside of tests,
making it easier to remove it entirely in the future if we like.
Tested by all the occlusion tracker unit tests in cc_unittests.
TBR=cdn@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=177974
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+128 lines, -282 lines) |
Patch |
 |
M |
cc/delegated_renderer_layer_impl.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/delegated_renderer_layer_impl_unittest.cc
|
View
|
1
2
3
|
5 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/draw_quad.h
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/draw_quad_unittest.cc
|
View
|
1
2
|
2 chunks |
+4 lines, -7 lines |
0 comments
|
Download
|
 |
M |
cc/gl_renderer_pixeltest.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/layer_impl.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/layer_tree_host_impl.cc
|
View
|
1
2
3
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
cc/layer_tree_host_impl_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/occlusion_tracker.h
|
View
|
|
2 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/occlusion_tracker.cc
|
View
|
1
|
9 chunks |
+13 lines, -19 lines |
0 comments
|
Download
|
 |
M |
cc/occlusion_tracker_unittest.cc
|
View
|
|
43 chunks |
+93 lines, -189 lines |
0 comments
|
Download
|
 |
M |
cc/quad_culler.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/render_pass_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/render_surface_impl.cc
|
View
|
1
2
3
|
2 chunks |
+1 line, -23 lines |
0 comments
|
Download
|
 |
M |
cc/shared_quad_state.h
|
View
|
1
2
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/shared_quad_state.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/software_renderer_unittest.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/test/render_pass_test_common.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/test/render_pass_test_utils.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/tiled_layer.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/tiled_layer_unittest.cc
|
View
|
|
2 chunks |
+4 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/common/cc_messages.h
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/common/cc_messages_unittest.cc
|
View
|
1
2
|
4 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
Total messages: 11 (0 generated)
|