DescriptionEnable video painting on Canvas for Chrome on Android. This change should land after another patch landing in https://codereview.chromium.org/13685002.
BUG=147265
TEST=visited the following site:
http://html5doctor.com/demos/video-canvas-magic/demo1.html
Visit http://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_canvas_drawimage_video.
Change different parameters of the canvas and video. Compare the result between desktop chrome and android chrome to see if video painting results are the same.
Canvas 500X400 ctx.drawImage(v,60,60,320,176) PASS
Canvas 500X400 ctx.drawImage(v,0,0,320,176) PASS
Canvas 200X100 ctx.drawImage(v,0,0,320,176) PASS
Canvas 200X100 ctx.drawImage(v,50,50,320,176) PASS
Canvas 500X400 ctx.drawImage(v,0,0,30,30,5,5,260,125) PASS
Canvas 500X400 ctx.drawImage(v,0,0) PASS
Canvas 600x700 ctx.drawImage(v,90,90,80,80,100,100,260,125) PASS
TODO:
More complex and mixed 2D Canvas operation to see if the painting result is right(Need to learn some more JS for that).
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194785
Patch Set 1 #
Total comments: 12
Patch Set 2 : Addressing Frank's comments. #
Total comments: 8
Patch Set 3 : Addressing Gregg's comments. #Patch Set 4 : Addressing Min's comments. #
Total comments: 11
Patch Set 5 : Addressing scherkus's comments. #
Total comments: 4
Patch Set 6 : Rebase and addressing xhwang's comments. #
Messages
Total messages: 21 (0 generated)
|