|
Run draw callback immediately if no Display is damaged.
This may cause the draw callback to be run earlier than before if the Surface would later be added to a Display, but prevents it ensures that the callback runs if the Surface wouldn't be drawn at all
BUG= 440269
Committed: https://crrev.com/c247da12fcca15fdcc948024287b94d6e63e9784
Cr-Commit-Position: refs/heads/master@{#313212}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+60 lines, -33 lines) |
Patch |
 |
M |
cc/surfaces/display.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/surfaces/display.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+13 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/surfaces/surface.h
|
View
|
1
2
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/surfaces/surface.cc
|
View
|
1
2
3
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/surfaces/surface_aggregator.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/surfaces/surface_damage_observer.h
|
View
|
1
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/surfaces/surface_factory.h
|
View
|
1
2
3
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/surfaces/surface_factory.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/surfaces/surface_factory_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
 |
M |
cc/surfaces/surface_manager.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/surfaces/surface_manager.cc
|
View
|
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/delegated_frame_host.h
|
View
|
1
2
3
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/compositor/delegated_frame_host.cc
|
View
|
1
2
3
4
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/onscreen_display_client.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/surface_display_output_surface.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/compositor/surface_display_output_surface.cc
|
View
|
1
2
3
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
Total messages: 8 (2 generated)
|