Commit Graph

8 Commits

Author SHA1 Message Date
gram@google.com 686e35e638 Support for non-DOM canvases/contexts (backed by bitmaps).
Also updated to work with recent Skia CL 7640.
Review URL: https://codereview.chromium.org//12212074

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18279 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-08 22:23:08 +00:00
vsm@google.com e6e4ae45b3 Use bash on linux for skia script
TBR=gram

Review URL: https://codereview.chromium.org//12224077

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18263 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-08 17:47:06 +00:00
gram@google.com dc451b374f Canvas API. There are still a number of things to do:
- off-screen canvases/contexts
- image APIs
- clips need to be tested
- text baseline and direction
- image smoothing
- global composite op testing
Review URL: https://codereview.chromium.org//12186002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18084 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 22:49:02 +00:00
gram@google.com 15ba619d13 Remove dead code.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17242 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 23:26:42 +00:00
gram@google.com 9703d7bfdd Refactored OpenGL embedder that works on Android, Mac or Linux.
To build on/for linux: tools/build.py -a x64 samples
To build on/for Mac: tools/build.py -a ia32 samples
To build on Linux for Android: tools/bui8ld.py --os=android samples

Note that to run on a Mac, you need to delete the first line of the
fragment shader in raytrace.dart, that says:

  precision mediump float;
Review URL: https://codereview.chromium.org//11883013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17161 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 21:17:52 +00:00
gram@google.com fae2529290 Backport some work from sample to embedder:
- more sound support
- refactored extension methods
- some additional graphics functionality
- better error logging
- misc other changes
Review URL: https://codereview.chromium.org//11823034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16895 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 00:20:26 +00:00
vsm@google.com aec31578d4 Refactor generic android embedder code out of the sample and fix gcc warnings.
Review URL: https://codereview.chromium.org//11467028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16869 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 18:43:13 +00:00
vsm@google.com b5e5fcd160 Refactored Android samples / embedder.
- Started moving generic embedder code from sample into runtime/embedders/android.  I'd like to move more in a later CL.
- Removed dependence on vm/bin in sample.

Ivan or Siva: can one of you review the changes under runtime?

Review URL: https://codereview.chromium.org//11416343

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15766 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 00:27:04 +00:00