skia2/experimental
Stephan Altmueller efa48d599d Experimental Go bindings for Skia
This CL implements Go bindings for a subset of the functions in the C API. 
It implements a Go version of the C demo program in 
experimental/c-api-example/skia-c-example.c and the output is identical. 
(Checked by hand). 

The main purpose is to establish a pattern of calling the Skia C API that 
is memory safe and provides a idiomatic Go interface to Skia. 

Follow up CLs will cover the entire C API, add documentation and establish 
a pattern to distribute the bindings more easily.

BUG=
Change-Id: I96ff7c3715164c533202ce300ab0312b1b07f884

Change-Id: I96ff7c3715164c533202ce300ab0312b1b07f884
Reviewed-on: https://skia-review.googlesource.com/10032
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Stephan Altmueller <stephana@google.com>
2017-05-10 15:32:19 +00:00
..
c-api-example remove more old cmake files 2016-11-30 20:37:45 +00:00
ChromeUtils Sanitizing source files in Housekeeper-Nightly 2013-12-11 07:02:06 +00:00
docs runs some sample animations side by side in canvas and svg 2015-11-16 13:36:08 -08:00
documentation experimental/documentation/gerrit.md: more detail 2017-01-30 19:49:20 +00:00
DrawingBoard remove SkFloatToScalar macro 2013-11-25 19:44:07 +00:00
expectations/skp add headers to experimental SKP expectations 2014-08-20 11:51:39 -07:00
FileReaderApp Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
GLFWTest bench, samples, etc: s/SkAutoTUnref/sk_sp/ 2016-11-07 15:17:32 +00:00
go-demo Experimental Go bindings for Skia 2017-05-10 15:32:19 +00:00
go-skia Experimental Go bindings for Skia 2017-05-10 15:32:19 +00:00
iOSSampleApp delete project.pbxproj 2017-01-30 23:54:48 +00:00
iOSShell Remove custom bundle ID for iOS 2016-05-20 11:20:38 -07:00
Networking Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
SimpleCocoaApp Make SkGraphics::Term a no-op, stop calling it. 2015-09-09 07:35:42 -07:00
SimpleiOSApp Make SkGraphics::Term a no-op, stop calling it. 2015-09-09 07:35:42 -07:00
SkPerlinNoiseShader2 Move the ability to access textures, buffers, and image storages out from GrProcessor. 2017-04-04 15:27:44 +00:00
SkV8Example bench, samples, etc: s/SkAutoTUnref/sk_sp/ 2016-11-07 15:17:32 +00:00
svg/model Mark overridden destructors with 'override' and remove 'virtual' 2017-03-22 16:06:18 +00:00
tools experimental/documentation/gerrit.md: more detail 2017-01-30 19:49:20 +00:00
xps_to_png experimental/xps_to_png: pass in DPI as program argument 2016-11-14 15:39:09 +00:00
SkSetPoly3To3_A.cpp Change SkMemory to the more accurately named SkMalloc. 2017-03-27 18:13:07 +00:00
SkSetPoly3To3_D.cpp Change SkMemory to the more accurately named SkMalloc. 2017-03-27 18:13:07 +00:00
SkSetPoly3To3.cpp Change SkMemory to the more accurately named SkMalloc. 2017-03-27 18:13:07 +00:00