Enable video painting on Canvas for Chrome on Android. This change should land...
Enable 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). Review URL: https://chromiumcodereview.appspot.com/13620008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194785 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment