|
Remove WebCore::IntRect usage from compositor, except within Region.
This adds 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
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+245 lines, -289 lines) |
Patch |
 |
M |
cc/cc.gyp
|
View
|
|
2 chunks |
+0 lines, -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
|
|
4 chunks |
+10 lines, -13 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/IntRect.h
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/stubs/Region.h
|
View
|
|
3 chunks |
+50 lines, -24 lines |
2 comments
|
Download
|
 |
D |
cc/stubs/int_rect.h
|
View
|
|
1 chunk |
+0 lines, -61 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
|
Total messages: 5 (0 generated)
|