aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/SkV8Example/JsContext.h
Commit message (Collapse)AuthorAge
* Start moving to the new canvas structure.Gravatar jcgregorio2014-10-27
| | | | | | | | | | | | | 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
* Doing the "using namespace" penance by adding in v8:: everywhere, like I ↵Gravatar jcgregorio2014-10-24
| | | | | | | | | | | | | | | should have to begin with. Also: - SkWindow now has createSurface, not createCanvas. - Add the platform init code v8 now seems to require. - Fix library linkage. - Call isolate->Enter(); because it doesn't look like v8 starts with a default isolate to begin with. BUG=skia: Review URL: https://codereview.chromium.org/673223002
* Factor out a BaseContext from JsContext.Gravatar commit-bot@chromium.org2014-03-04
| | | | | | | | | | | 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
* Add the gears.js demo and all the code changes needed to get it working, ↵Gravatar commit-bot@chromium.org2014-01-07
| | | | | | | | | | | | | including implementing both fill and stroke style. Also add the HTML and JS files to compare with browser performance. BUG= R=robertphillips@google.com Author: jcgregorio@google.com Review URL: https://codereview.chromium.org/122373003 git-svn-id: http://skia.googlecode.com/svn/trunk@12946 2bbb7eff-a529-9590-31e7-b0007b416f81
* Renamed JsCanvas to JsContext and moved into it's own file.Gravatar commit-bot@chromium.org2014-01-06
Fleshed out a lot of the Path interface. BUG= R=robertphillips@google.com, tfarina@chromium.org, reed@google.com Author: jcgregorio@google.com Review URL: https://codereview.chromium.org/121303004 git-svn-id: http://skia.googlecode.com/svn/trunk@12913 2bbb7eff-a529-9590-31e7-b0007b416f81