skia2/experimental/SkV8Example
kozyatinskiy c09e8c2ec9 https://chromiumcodereview.appspot.com/331133004/
patch from issue 331133004
2014-07-15 11:11:25 -04: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
BaseContext.cpp Factor out a BaseContext from JsContext. 2014-03-04 20:44:32 +00:00
BaseContext.h Factor out a BaseContext from JsContext. 2014-03-04 20:44:32 +00:00
gears.js Start prototyping what DisplayList support will look like. 2014-03-04 19:05:50 +00:00
Global.cpp https://chromiumcodereview.appspot.com/331133004/ 2014-07-15 11:11:25 -04:00
Global.h Renamed JsCanvas to JsContext and moved into it's own file. 2014-01-06 18:17:24 +00:00
JsContext.cpp Factor out a BaseContext from JsContext. 2014-03-04 20:44:32 +00:00
JsContext.h Factor out a BaseContext from JsContext. 2014-03-04 20:44:32 +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