skia2/experimental/SkV8Example
2014-01-16 19:48:33 +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 Clear the canvas before drawing the gears. 2014-01-16 19:48:33 +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 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
Path.h 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
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 Move v8 into third_party. 2014-01-08 15:14:09 +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 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
SkV8Example.h Turn on GL drawing, allow switching via --gpu flag. 2014-01-06 20:03:55 +00:00
snow.js 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
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 'make -C out/ SkV8Example BUILDTYPE=Debugmake'
6. Run the sample as:
     ./out/Debug/SkV8Example --infile experimental/SkV8Example/speed.js