|
cc: Remove SurfaceSize from OutputSurface.
SurfaceSize is no longer needed that the external viewport is always
at 0,0 and no output surfaces override the size returned there except
cc unittests. So make them stop and remove the getter.
This kinda points out that GLFrameData's size is redundant with the
size given to Reshape. For now I'm DCHECKing that they are the same
to document (and confirm) this.
Also adds DCHECKs that the viewport rect is at 0,0 and the clip rect
given to DirectRenderer matches the viewport rect since that is what
Display does now. Followups can remove code to not need DCHECKs.
R=enne@chromium.org
BUG= 606056
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel
Committed: https://crrev.com/a7e03fe1f42b541fa54b218808c1354fbf498e7e
Cr-Commit-Position: refs/heads/master@{#423650}
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+80 lines, -262 lines) |
Patch |
 |
M |
cc/BUILD.gn
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/output/direct_renderer.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/output/direct_renderer.cc
|
View
|
1
|
4 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/output/gl_renderer.cc
|
View
|
|
2 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/output/gl_renderer_unittest.cc
|
View
|
1
|
2 chunks |
+0 lines, -91 lines |
0 comments
|
Download
|
 |
M |
cc/output/output_surface.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/output/renderer_pixeltest.cc
|
View
|
1
|
1 chunk |
+0 lines, -24 lines |
0 comments
|
Download
|
 |
M |
cc/test/data/background_filter_on_scaled_layer_gl.png
|
View
|
1
|
Binary file |
0 comments
|
Download
|
 |
M |
cc/test/data/rotated_drop_shadow_filter_gl.png
|
View
|
1
|
Binary file |
0 comments
|
Download
|
 |
M |
cc/test/data/rotated_filter_gl.png
|
View
|
1
|
Binary file |
0 comments
|
Download
|
 |
M |
cc/test/layer_tree_pixel_test.cc
|
View
|
1
|
3 chunks |
+2 lines, -9 lines |
0 comments
|
Download
|
 |
M |
cc/test/pixel_test.h
|
View
|
1
|
3 chunks |
+0 lines, -9 lines |
0 comments
|
Download
|
 |
M |
cc/test/pixel_test.cc
|
View
|
1
|
4 chunks |
+5 lines, -27 lines |
0 comments
|
Download
|
 |
D |
cc/test/pixel_test_software_output_device.h
|
View
|
1
|
1 chunk |
+0 lines, -26 lines |
0 comments
|
Download
|
 |
D |
cc/test/pixel_test_software_output_device.cc
|
View
|
1
|
1 chunk |
+0 lines, -17 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/gpu_browser_compositor_output_surface.cc
|
View
|
|
1 chunk |
+10 lines, -13 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc
|
View
|
|
3 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/offscreen_browser_compositor_output_surface.cc
|
View
|
|
1 chunk |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/reflector_impl.h
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/reflector_impl.cc
|
View
|
|
1 chunk |
+11 lines, -13 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/reflector_impl_unittest.cc
|
View
|
|
5 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
 |
M |
services/ui/surfaces/direct_output_surface_ozone.h
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/surfaces/direct_output_surface_ozone.cc
|
View
|
1
2
|
5 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 25 (17 generated)
|