|
Blend TextureLayer background-color at draw time.
This enables the following optimization:
1. The compositor will be able to disable GL blending
if the background-color is opaque.
2. For elements that paint directly to a texture layer,
i.e. accelerated canvas, video, etc., there is no need to
allocate an additional layer just to paint the background.
BUG= 236982
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=211339
Total comments: 9
Total comments: 1
Total comments: 6
Total comments: 1
Total comments: 4
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+469 lines, -20 lines) |
Patch |
 |
M |
cc/layers/heads_up_display_layer_impl.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
cc/layers/nine_patch_layer_impl.cc
|
View
|
1
2
3
4
5
6
|
8 chunks |
+12 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/layers/scrollbar_layer_impl.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/layers/texture_layer.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/layers/texture_layer.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/layers/texture_layer_impl.h
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/layers/texture_layer_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/texture_layer_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
cc/layers/video_layer_impl.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/output/gl_renderer.h
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/output/gl_renderer.cc
|
View
|
1
2
3
4
5
6
7
|
8 chunks |
+83 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/output/gl_renderer_draw_cache.h
|
View
|
1
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/output/gl_renderer_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/output/renderer_pixeltest.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+169 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/output/shader.h
|
View
|
1
2
3
4
5
|
4 chunks |
+32 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/output/shader.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+62 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/output/software_renderer.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+22 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/quads/draw_quad_unittest.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+14 lines, -7 lines |
0 comments
|
Download
|
 |
M |
cc/quads/texture_draw_quad.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/quads/texture_draw_quad.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/test/render_pass_test_common.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_unittest_delegated.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/cc_messages.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/cc_messages_unittest.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/renderer/compositor_bindings/web_external_texture_layer_impl.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
Total messages: 33 (0 generated)
|