skia2/experimental/SkV8Example
2014-02-27 17:39:40 +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 Both gears and snow should detect if Path is available, and also report on the console if present. 2014-01-23 13:53:12 +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 Add handling alpha values in RRGGBBAA formatted styles. 2014-01-13 18:28: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
Path.cpp Add conicTo(). 2014-02-13 16:00:58 +00:00
Path.h Add conicTo(). 2014-02-13 16:00:58 +00:00
path.js 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
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 Move SkV8Example to SkSurface 2014-02-27 17:39:40 +00:00
SkV8Example.h Move SkV8Example to SkSurface 2014-02-27 17:39:40 +00:00
snow.js Both gears and snow should detect if Path is available, and also report on the console if present. 2014-01-23 13:53:12 +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