|
cc: Replace Region with SimpleEnclosedRegion for occlusion tracking
Instead of using an arbitrary Region, which is costly (slow), use
a new SimpleEnclosedRegion. This class tracks only a single Rect
at a given time so it is very fast and small. It tries to get
something like the largest rect enclosed in the actual Region
(were we to track such a Region) in an online fashion, ie it
doesn't remember anything except its current largest possible
rect.
BUG= 405663
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291292
Total comments: 3
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1545 lines, -758 lines) |
Patch |
 |
M |
cc/BUILD.gn
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/base/region.h
|
View
|
|
3 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/base/region.cc
|
View
|
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
A |
cc/base/simple_enclosed_region.h
|
View
|
|
1 chunk |
+122 lines, -0 lines |
0 comments
|
Download
|
 |
A |
cc/base/simple_enclosed_region.cc
|
View
|
1
2
3
|
1 chunk |
+136 lines, -0 lines |
0 comments
|
Download
|
 |
A |
cc/base/simple_enclosed_region_unittest.cc
|
View
|
|
1 chunk |
+637 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/cc.gyp
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/cc_tests.gyp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
cc/layers/layer.h
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/layer.cc
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/layers/layer_impl.h
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/layer_impl.cc
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/layers/texture_layer.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/texture_layer.cc
|
View
|
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/layers/texture_layer_impl.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/texture_layer_impl.cc
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/layers/tiled_layer.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/tiled_layer.cc
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/layers/tiled_layer_impl.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/tiled_layer_impl.cc
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/layers/tiled_layer_unittest.cc
|
View
|
|
15 chunks |
+15 lines, -15 lines |
0 comments
|
Download
|
 |
M |
cc/resources/layer_tiling_data.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/resources/layer_tiling_data.cc
|
View
|
|
3 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/test/test_occlusion_tracker.h
|
View
|
|
1 chunk |
+10 lines, -8 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_unittest_occlusion.cc
|
View
|
|
4 chunks |
+35 lines, -26 lines |
0 comments
|
Download
|
 |
M |
cc/trees/occlusion_tracker.h
|
View
|
|
3 chunks |
+5 lines, -8 lines |
0 comments
|
Download
|
 |
M |
cc/trees/occlusion_tracker.cc
|
View
|
1
2
|
18 chunks |
+79 lines, -68 lines |
0 comments
|
Download
|
 |
M |
cc/trees/occlusion_tracker_unittest.cc
|
View
|
1
2
3
|
50 chunks |
+449 lines, -601 lines |
0 comments
|
Download
|
Total messages: 11 (0 generated)
|