skia2/experimental/SkV8Example
commit-bot@chromium.org f679d1bf38 Rename Path to Path2D
BUG=skia:
R=robertphillips@google.com

Author: jcgregorio@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@13615 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-02-27 20:20:21 +00:00
..
compare Just use one version of the scripts in both the browser and in SkV8 by using feature detection to determine if we are running in a browser, and if the platform supports the Path() object. Also add oval, console.log, and the snow example code. 2014-01-10 21:33:01 +00:00
gears.js Rename Path to Path2D 2014-02-27 20:20:21 +00:00
Global.cpp Move v8 into third_party. 2014-01-08 15:14:09 +00:00
Global.h Renamed JsCanvas to JsContext and moved into it's own file. 2014-01-06 18:17:24 +00:00
JsContext.cpp Rename Path to Path2D 2014-02-27 20:20:21 +00:00
JsContext.h Add the gears.js demo and all the code changes needed to get it working, including implementing both fill and stroke style. Also add the HTML and JS files to compare with browser performance. 2014-01-07 19:00:27 +00:00
Path2D.cpp Rename Path to Path2D 2014-02-27 20:20:21 +00:00
Path2D.h Rename Path to Path2D 2014-02-27 20:20:21 +00:00
path.js Rename Path to Path2D 2014-02-27 20:20:21 +00:00
README Update directions and lib paths for ninja. 2014-02-13 15:30:06 +00:00
sample.js Renamed JsCanvas to JsContext and moved into it's own file. 2014-01-06 18:17:24 +00:00
SkV8Example.cpp Rename Path to Path2D 2014-02-27 20:20:21 +00:00
SkV8Example.h Move SkV8Example to SkSurface 2014-02-27 17:39:40 +00:00
snow.js Rename Path to Path2D 2014-02-27 20:20:21 +00:00
speed.js Renamed JsCanvas to JsContext and moved into it's own file. 2014-01-06 18:17:24 +00:00

Build Instructions
==================

V8 gyp is not quite standard and Chromium uses a Python script
to work around that, for now we have some manual steps to do
before you can compile and run this sample:

1. Uncomment out the v8 dep in DEPS and re-run gclient sync.
2. Run 'make dependencies' in third_pary/externals/v8.
3. Run 'make native' in third_pary/externals/v8.
4. Uncomment SkV8Example in gyp/everything.gyp.
5. Run 'ninja -C out/Debug SkV8Example'
6. Run the sample as:
     ./out/Debug/SkV8Example --infile experimental/SkV8Example/speed.js