DescriptionCalling writePixels on a canvas using DisplayList2DCanvas was ignoring the call (canvas.pixels == null)
To make this work, we need to fallback to a raster canvas to be able to directly access the canvas' pixels.
To be more consistent, the method willReadback has be renamed to willAccessPixels.
Fixes the following layout-tests with --enable-display-list-2d-canvas:
fast/canvas/canvas-imageSmoothingEnabled.html [ Failure ]
fast/canvas/canvas-putImageData.html [ Failure ]
fast/canvas/webgl/tex-image-and-sub-image-2d-with-image-rgb565.html [ Failure ]
fast/canvas/webgl/tex-image-and-sub-image-2d-with-image-rgba4444.html [ Failure ]
fast/canvas/webgl/tex-image-and-sub-image-2d-with-image-rgba5551.html [ Failure ]
fast/canvas/webgl/tex-image-and-sub-image-2d-with-image.html [ Failure ]
fast/canvas/canvas-imageSmoothingEnabled-patterns.html [ ImageOnlyFailure ]
BUG=401624
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179969
Patch Set 1 #Patch Set 2 : Rebase master #
Messages
Total messages: 12 (0 generated)
|