DescriptionCanvas 2D: Remove CompositeOperator and WebBlendMode parameters in drawImageInternal().
fillInternal() and strokeInternal() don't have those parameters.
CompositeOperator and WebBlendMode parameters exists due to
drawImageFromRect(), which is non-standard API and will maybe deprecated.
Give up the optimization for only drawImageFromRect(), because it's confused
why drawImageInternal() doesn't set current global composite before calling
drawVideo().
In addition, include some clean-up.
1. remove redundant "blink::".
2. merge fullCanvasCompositedFill() with fullCanvasCompositedStroke().
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183704
Patch Set 1 #Patch Set 2 : Make drawImageInternal() simpler #
Messages
Total messages: 11 (4 generated)
|