moz-skia/experimental/SkV8Example
commit-bot@chromium.org 24e0496e8d Factor out a BaseContext from JsContext.
BUG=skia:
R=robertphillips@google.com

Author: jcgregorio@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@13660 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-03-04 20:44:32 +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
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
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 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
README Update directions and lib paths for ninja. 2014-02-13 15:30:06 +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
gears.js Start prototyping what DisplayList support will look like. 2014-03-04 19:05:50 +00:00
path.js Rename Path to Path2D 2014-02-27 20:20:21 +00:00
sample.js Renamed JsCanvas to JsContext and moved into it's own file. 2014-01-06 18:17:24 +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

README

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