|
Add ColorBehavior to Image draw methods
Add a ColorBehavior argument to
- blink::Image::imageForCurrentFrame
- blink::Image::draw
- blink::Image::applyShader
Plumb these arguments through to all sub-classes. For sub-classes where
there is a trivial implementation, add it (e.g, blink::BitmapImage).
For all other sub-classes and callsites that need behavior changes, add
TODOs referencing the appropriate bugs.
This patch should have no behavior change -- it just formally
propagates arguments that were previously implied or pulled out of
global variables.
BUG= 667420
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Committed: https://crrev.com/7d997bde5eb18172951ccc321744929aea560d36
Cr-Commit-Position: refs/heads/master@{#437666}
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+320 lines, -130 lines) |
Patch |
 |
M |
third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializerTest.cpp
|
View
|
1
2
3
4
5
|
3 chunks |
+14 lines, -8 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/frame/ImageBitmap.cpp
|
View
|
1
|
4 chunks |
+19 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp
|
View
|
|
3 chunks |
+42 lines, -18 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
|
View
|
1
2
3
4
5
|
5 chunks |
+17 lines, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/ImageQualityControllerTest.cpp
|
View
|
1
2
3
4
5
|
3 chunks |
+15 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/shapes/Shape.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/svg/graphics/SVGImage.h
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
|
View
|
1
|
2 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.h
|
View
|
1
2
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.cpp
|
View
|
1
2
|
2 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/svg/graphics/SVGImageTest.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp
|
View
|
1
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.cpp
|
View
|
1
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/imagebitmap/ImageBitmapRenderingContext.cpp
|
View
|
1
|
2 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/shapedetection/ShapeDetector.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
|
View
|
1
2
3
4
5
|
3 chunks |
+14 lines, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/DragImage.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/DragImageTest.cpp
|
View
|
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/exported/WebImage.cpp
|
View
|
1
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.h
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/BitmapImage.h
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/BitmapImage.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/BitmapImageTest.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/CrossfadeGeneratedImage.h
|
View
|
1
2
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/CrossfadeGeneratedImage.cpp
|
View
|
1
2
|
5 chunks |
+12 lines, -8 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/GeneratedImage.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/GeneratedImage.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.h
|
View
|
1
2
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.cpp
|
View
|
1
2
|
3 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp
|
View
|
1
2
3
4
5
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/Image.h
|
View
|
1
2
|
3 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/Image.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+9 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/ImageLayerChromiumTest.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/ImagePattern.cpp
|
View
|
1
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/PaintGeneratedImage.h
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/PaintGeneratedImage.cpp
|
View
|
1
2
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/PlaceholderImage.h
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/PlaceholderImage.cpp
|
View
|
1
|
2 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/UnacceleratedStaticBitmapImage.h
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/UnacceleratedStaticBitmapImage.cpp
|
View
|
1
|
1 chunk |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.cpp
|
View
|
1
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
Depends on Patchset:
Total messages: 41 (30 generated)
|