forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable video painting on Canvas for Chrome on Android. This change sh…
…ould 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
- Loading branch information
hkuang@chromium.org
committed
Apr 18, 2013
1 parent
4f60d80
commit 5394a41
Showing
5 changed files
with
110 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters