|
cc: Remove WebCore rect use from the compositor, except within Region.
This replaces the last cases of FloatRect with gfx::RectF. It depends on the
IsExpressibleAsRect() method in https://codereview.chromium.org/11364054/ and
removes the stubs as well!
We add an API to the Region class that is intended to be our final Region
class interface. It uses an iterator to walk the rects in the Region, which is
compatible with the SkRegion API, but can also hide the IntRects exposed by the
WebCore Region API.
Once this is done, there is no need to use cc::IntRect, and we can remove it
entirely.
Covered by existing tests; no change in behaviour.
BUG= 147395
R=enne
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=165837
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+255 lines, -409 lines) |
Patch |
 |
M |
cc/cc.gyp
|
View
|
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/gl_renderer.cc
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
cc/layer.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
cc/layer_impl.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
cc/layer_tree_host_unittest.cc
|
View
|
|
11 chunks |
+39 lines, -39 lines |
0 comments
|
Download
|
 |
M |
cc/occlusion_tracker.cc
|
View
|
|
5 chunks |
+10 lines, -14 lines |
0 comments
|
Download
|
 |
M |
cc/occlusion_tracker_unittest.cc
|
View
|
|
51 chunks |
+136 lines, -134 lines |
0 comments
|
Download
|
 |
M |
cc/render_pass.cc
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
D |
cc/stubs/FloatRect.h
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
D |
cc/stubs/IntRect.h
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/stubs/Region.h
|
View
|
1
2
|
3 chunks |
+50 lines, -24 lines |
0 comments
|
Download
|
 |
D |
cc/stubs/float_rect.h
|
View
|
|
1 chunk |
+0 lines, -73 lines |
0 comments
|
Download
|
 |
D |
cc/stubs/int_rect.h
|
View
|
|
1 chunk |
+0 lines, -61 lines |
0 comments
|
Download
|
 |
M |
cc/test/layer_test_common.cc
|
View
|
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/tiled_layer.cc
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/tiled_layer_unittest.cc
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
webkit/compositor_bindings/web_content_layer_impl.cc
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
webkit/compositor_bindings/web_layer_impl.cc
|
View
|
1
|
2 chunks |
+7 lines, -9 lines |
0 comments
|
Download
|
 |
M |
webkit/compositor_bindings/webcore_convert.h
|
View
|
1
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
webkit/compositor_bindings/webcore_convert.cc
|
View
|
1
|
2 chunks |
+0 lines, -15 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|