skia2/experimental/SkV8Example
jcgregorio 5e44b00392 Start moving to the new canvas structure.
Adds DrawingMethods with some of the methods it defines. Context is now
an implementation of DrawingMethods.

The sample.js file now shows how the context is used.

Not much new code here, that's mostly in DrawingMethods::DrawPath, most everything else is a code move.

BUG=skia:

Review URL: https://codereview.chromium.org/676423002
2014-10-27 10:27:01 -07:00
..
compare Fixup references to the js files from the HTML files in SkV8Example. 2014-10-27 07:19:44 -07:00
js Start moving to the new canvas structure. 2014-10-27 10:27:01 -07:00
DrawingMethods.cpp Start moving to the new canvas structure. 2014-10-27 10:27:01 -07:00
DrawingMethods.h Start moving to the new canvas structure. 2014-10-27 10:27:01 -07:00
Global.cpp Doing the "using namespace" penance by adding in v8:: everywhere, like I should have to begin with. 2014-10-24 12:49:17 -07:00
Global.h Doing the "using namespace" penance by adding in v8:: everywhere, like I should have to begin with. 2014-10-24 12:49:17 -07:00
JsContext.cpp Doing the "using namespace" penance by adding in v8:: everywhere, like I should have to begin with. 2014-10-24 12:49:17 -07:00
JsContext.h Start moving to the new canvas structure. 2014-10-27 10:27:01 -07:00
Path2D.cpp Doing the "using namespace" penance by adding in v8:: everywhere, like I should have to begin with. 2014-10-24 12:49:17 -07:00
Path2D.h Rename Path to Path2D 2014-02-27 20:20:21 +00:00
README Move .js files to their own directory 2014-10-24 20:02:31 -07:00
SkV8Example.cpp Doing the "using namespace" penance by adding in v8:: everywhere, like I should have to begin with. 2014-10-24 12:49:17 -07:00
SkV8Example.h Doing the "using namespace" penance by adding in v8:: everywhere, like I should have to begin with. 2014-10-24 12:49:17 -07: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/js/speed.js