Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(336)

Side by Side Diff: experimental/go-skia/skia.go

Issue 670303005: Compiling Go against C interface (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fixed import paths Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | include/c/sk_surface.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 package skia
2
3 /*
4 #cgo CFLAGS: -I../../include/c
5 #cgo LDFLAGS: -L ../../out/Debug/
6 #cgo LDFLAGS: -lskia_core
7 #cgo LDFLAGS: -lskia_effects
8 #cgo LDFLAGS: -lskia_images
9 #cgo LDFLAGS: -lskia_opts
10 #cgo LDFLAGS: -lskia_ports
11 #cgo LDFLAGS: -lskia_sfnt
12 #cgo LDFLAGS: -lskia_utils
13 #cgo LDFLAGS: -lskia_opts_ssse3
14 #cgo LDFLAGS: -lskia_opts_sse4
15 #cgo LDFLAGS: -lm
16 #cgo LDFLAGS: -lstdc++
17 #cgo LDFLAGS: -lGL
18 #cgo LDFLAGS: -lGLU
19 #include "sk_surface.h"
20 */
21 import "C"
22
23 func dummyFunction() {
24 testPaint := C.sk_paint_new()
25 defer func() {
26 sk_paint_delete(testPaint)
27 }()
28 }
29
30 // TODO: replace this which an idiomatic interface to Skia.
tfarina 2014/10/30 22:16:33 s/which/with?
stephana 2014/10/31 12:18:48 Done.
OLDNEW
« no previous file with comments | « no previous file | include/c/sk_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698