|
SkColorType instead of (deprecated) SkBitmap::Config
Part of this refactoring was the recognition of a common pattern:
- setConfig + alloc + setImmutable + pass_to_UIResourceBitmap
This CL introduces a direct way on UIResourceBitmap to create such a bitmap, by just specifying its dimensions. This encapsulates internal requirements (e.g. colortype and immutability).
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259349
Total comments: 14
Total comments: 22
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+93 lines, -159 lines) |
Patch |
 |
M |
cc/layers/heads_up_display_layer_impl.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/layers/nine_patch_layer_impl_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/layers/nine_patch_layer_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/layers/painted_scrollbar_layer.cc
|
View
|
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
cc/layers/ui_resource_layer_impl_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
 |
M |
cc/layers/ui_resource_layer_unittest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -8 lines |
0 comments
|
Download
|
 |
M |
cc/output/gl_renderer.cc
|
View
|
1
|
2 chunks |
+3 lines, -7 lines |
0 comments
|
Download
|
 |
M |
cc/output/renderer_pixeltest.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
cc/resources/bitmap_content_layer_updater.cc
|
View
|
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/resources/picture_pile_impl_unittest.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -8 lines |
0 comments
|
Download
|
 |
M |
cc/resources/resource_provider.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+24 lines, -29 lines |
0 comments
|
Download
|
 |
M |
cc/resources/resource_provider_unittest.cc
|
View
|
1
2
|
5 chunks |
+6 lines, -10 lines |
0 comments
|
Download
|
 |
M |
cc/resources/resource_update_controller_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
cc/resources/ui_resource_bitmap.h
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/resources/ui_resource_bitmap.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+14 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_scoped_ui_resource.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/test/layer_tree_json_parser.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
cc/test/layer_tree_pixel_test.cc
|
View
|
|
2 chunks |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/test/skia_common.cc
|
View
|
|
1 chunk |
+5 lines, -12 lines |
0 comments
|
Download
|
 |
M |
cc/test/tiled_layer_test_common.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_impl_unittest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -12 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_pixeltest_masks.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_pixeltest_readback.cc
|
View
|
|
1 chunk |
+4 lines, -9 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
Total messages: 25 (0 generated)
|