Hajime Hoshi
|
7f43ca2eb7
|
.travis.yml: Skip gopherjs test
|
2016-01-20 03:43:13 +09:00 |
|
Hajime Hoshi
|
9a3c6bd8c4
|
js: Update callers for headless-gl API
|
2016-01-20 01:18:53 +09:00 |
|
Josh Deprez
|
bbeb103383
|
Check was missing from context_js
Run calls Check whether or not gopherjs is used, and it was not implemented here.
|
2016-01-18 21:27:55 +11:00 |
|
Hajime Hoshi
|
633ee4096e
|
#132 Temporal hack to run with Go1.5
|
2015-07-22 23:28:15 +09:00 |
|
Hajime Hoshi
|
0bc321d3ef
|
Improve GL error messages
|
2015-06-22 23:14:40 +09:00 |
|
Hajime Hoshi
|
e3608d08eb
|
Use GL 2.1 (for Windows)
|
2015-06-21 01:33:28 +09:00 |
|
Hajime Hoshi
|
82ea3fa020
|
#125: Fix import paths (Use go-gl/gl and go-gl/glfw instead of go-gl/glow and go-gl/glfw3
|
2015-04-13 00:49:30 +09:00 |
|
Hajime Hoshi
|
bca600a093
|
Update for the latest GopherJS (use *js.Object instead of js.Object)
|
2015-03-01 01:26:16 +09:00 |
|
Hajime Hoshi
|
a67a8a03ec
|
graphics: Cache framebuffers
|
2015-02-20 02:02:23 +09:00 |
|
Hajime Hoshi
|
936942a28d
|
Add comments
|
2015-02-20 02:01:56 +09:00 |
|
Hajime Hoshi
|
eb0431f117
|
opengl: Remove Flush()
|
2015-02-18 23:35:39 +09:00 |
|
Hajime Hoshi
|
2b7617da7a
|
graphics: Cache values for uniformMatrix4fv
|
2015-02-18 11:30:24 +09:00 |
|
Hajime Hoshi
|
9ec7b13f27
|
example/piano: Speed up
|
2015-02-16 10:48:57 +09:00 |
|
Hajime Hoshi
|
beecf31937
|
Resolve some TODOs
|
2015-02-10 10:44:58 +09:00 |
|
Hajime Hoshi
|
249add3979
|
Add SetScreenSize
|
2015-02-09 11:02:04 +09:00 |
|
Hajime Hoshi
|
2544d74ba0
|
Use go-gl/glow instead of go-gl/gl (#112)
|
2015-01-29 00:58:56 +09:00 |
|
Hajime Hoshi
|
3964944deb
|
Move ui_*.go back to internal/ui again
|
2015-01-27 22:37:00 +09:00 |
|
Hajime Hoshi
|
ae450433db
|
Move some files of internal to internal/graphics
|
2015-01-27 00:08:24 +09:00 |
|
Hajime Hoshi
|
e23b0758e5
|
Merge internal/graphics/internal/shaders into internal/graphics
|
2015-01-26 23:32:50 +09:00 |
|
Hajime Hoshi
|
346bc53d53
|
Move internal/opengl -> internal/graphics/internal/opengl
|
2015-01-26 23:27:28 +09:00 |
|
Hajime Hoshi
|
1fa39e3b8a
|
Fix a variable name
|
2015-01-21 10:12:05 +09:00 |
|
Hajime Hoshi
|
d994f34d53
|
Add image.ReplacePixels; Add example/noise (#89)
|
2015-01-20 23:58:58 +09:00 |
|
Hajime Hoshi
|
0bd0a4dbc2
|
Rename image.FillRect -> DrawFilledRect (FillRect is confusing with Fill)
|
2015-01-18 04:19:38 +09:00 |
|
Hajime Hoshi
|
26358f3e63
|
Revert lines' vetices (float64 -> int)
|
2015-01-17 23:33:57 +09:00 |
|
Hajime Hoshi
|
f0d40b4e1f
|
Revert rectangles' vetices (float64 -> int)
|
2015-01-17 23:31:09 +09:00 |
|
Hajime Hoshi
|
1659e9abab
|
Bug fix: Line's vertices should be moved by 0.5
|
2015-01-17 23:04:19 +09:00 |
|
Hajime Hoshi
|
683ffafe8d
|
Bug fix: image.Pixels didn't work on WebGL
|
2015-01-17 19:06:58 +09:00 |
|
Hajime Hoshi
|
efe7b62745
|
Refactoring (use math.MaxUint16)
|
2015-01-17 14:44:47 +09:00 |
|
Hajime Hoshi
|
8c15b57d58
|
Add image.DrawLine / DrawLines
|
2015-01-17 14:17:42 +09:00 |
|
Hajime Hoshi
|
22e6996f74
|
Remove rectVertexQuads
|
2015-01-17 03:51:21 +09:00 |
|
Hajime Hoshi
|
db9f5e0984
|
example:shapes Bug fix: Structs containing js.Object can't be compared again
|
2015-01-17 01:11:30 +09:00 |
|
Hajime Hoshi
|
fe69c04f8f
|
Bug fix: Structs containing js.Object can't be compared (for now)
|
2015-01-17 00:56:38 +09:00 |
|
Hajime Hoshi
|
8564ba8541
|
Use (un)signed short vertices (#90)
|
2015-01-16 10:37:26 +09:00 |
|
Hajime Hoshi
|
155be5a88d
|
Add Rect.Color
|
2015-01-16 01:57:10 +09:00 |
|
Hajime Hoshi
|
037f35b0db
|
Pass color values for each vertex on drawing rects
|
2015-01-16 01:57:07 +09:00 |
|
Hajime Hoshi
|
b2924d193b
|
Use vertices for DrawTexture
|
2015-01-16 01:01:52 +09:00 |
|
Hajime Hoshi
|
2ec8c39cdd
|
Remove the first argument of FillFramebuffer
|
2015-01-15 23:42:08 +09:00 |
|
Hajime Hoshi
|
25cf2dab22
|
sprites: Speed up: use float64 as often as possible
|
2015-01-14 23:58:34 +09:00 |
|
Hajime Hoshi
|
cb26342b3d
|
Bug fix (#85): The limit of the size of vertices was wrong
|
2015-01-14 23:29:14 +09:00 |
|
Hajime Hoshi
|
6aef42d6fa
|
Bug fix: limit for the number of vertices
|
2015-01-14 10:31:09 +09:00 |
|
Hajime Hoshi
|
665ef46064
|
Add example/sprites (#83)
|
2015-01-13 23:03:37 +09:00 |
|
Hajime Hoshi
|
0328b049d0
|
Add image.DrawRects (experimental)
|
2015-01-13 10:36:19 +09:00 |
|
Hajime Hoshi
|
9418d4c577
|
Change useProgramTexture not to return program
|
2015-01-12 21:04:52 +09:00 |
|
Hajime Hoshi
|
243208b849
|
Rename programColorMatrix -> programFragmentShader
|
2015-01-12 18:34:02 +09:00 |
|
Hajime Hoshi
|
d96de18074
|
Remove TODOs
|
2015-01-09 12:13:29 +09:00 |
|
Hajime Hoshi
|
636ae84ad5
|
Resolve TODOs
|
2015-01-09 02:02:56 +09:00 |
|
Hajime Hoshi
|
cdc29210db
|
Introduce ImageParts
|
2015-01-05 09:32:27 +09:00 |
|
Hajime Hoshi
|
8994ffad9b
|
Avoid copying arrays
|
2015-01-04 22:26:20 +09:00 |
|
Hajime Hoshi
|
abed162e91
|
Bug fix: initial capacity of vertices
|
2015-01-03 16:25:17 +09:00 |
|
Hajime Hoshi
|
13a94d3446
|
Avoid type switch
|
2015-01-03 15:52:02 +09:00 |
|
Hajime Hoshi
|
71d463c102
|
Avoid copying for performance; Use location caches
|
2015-01-03 15:21:47 +09:00 |
|
Hajime Hoshi
|
1117862d19
|
Avoid copying for performance
|
2015-01-03 14:23:31 +09:00 |
|
Hajime Hoshi
|
ae04bb17f6
|
Reduce calling glFlush
|
2015-01-03 01:14:36 +09:00 |
|
Hajime Hoshi
|
24c39bcd18
|
Fix shaders for WebGL
|
2015-01-02 23:31:32 +09:00 |
|
Hajime Hoshi
|
bcbaf2e674
|
Bug fix: opengl.Program can't take 0 (in gopherjs)
|
2014-12-31 23:53:54 +09:00 |
|
Hajime Hoshi
|
438380bb6e
|
Add context_js.go
|
2014-12-31 23:34:50 +09:00 |
|
Hajime Hoshi
|
25fb0a9e31
|
Unify Uniform* methods
|
2014-12-31 20:07:27 +09:00 |
|
Hajime Hoshi
|
e10bcb3dd8
|
Move some methods to opengl.Context
|
2014-12-31 19:27:41 +09:00 |
|
Hajime Hoshi
|
4e3beb65f0
|
Rename Framebuffer.framebuffer -> Framebuffer.native
|
2014-12-31 18:00:53 +09:00 |
|
Hajime Hoshi
|
cdcc46543b
|
Remove all dependencies on go-gl/gl from internal/graphics
|
2014-12-31 17:54:29 +09:00 |
|
Hajime Hoshi
|
f88154f380
|
Add opengl.Context.NewBuffer
|
2014-12-31 17:45:23 +09:00 |
|
Hajime Hoshi
|
7597268e85
|
Remove dependency on go-gl/gl in framebuffer.go
|
2014-12-31 17:04:03 +09:00 |
|
Hajime Hoshi
|
37828c452f
|
Add opengl.AttribLocation
|
2014-12-31 17:01:08 +09:00 |
|
Hajime Hoshi
|
b8dde70b03
|
Add opengl.UniformLocation
|
2014-12-31 16:48:25 +09:00 |
|
Hajime Hoshi
|
dc6a153c65
|
Add opengl.Context.NewShader
|
2014-12-31 16:12:13 +09:00 |
|
Hajime Hoshi
|
a4a4c91eb1
|
Add opengl.Framebuffer.Fill
|
2014-12-31 15:26:06 +09:00 |
|
Hajime Hoshi
|
fbcd04cda8
|
Add opengl.Framebuffer.SetAsViewport
|
2014-12-31 15:22:15 +09:00 |
|
Hajime Hoshi
|
b1d4ce2120
|
Add opengl.Texture.Pixels
|
2014-12-31 15:11:19 +09:00 |
|
Hajime Hoshi
|
cc9b874dd0
|
Add opengl.NewTexture
|
2014-12-31 15:00:28 +09:00 |
|
Hajime Hoshi
|
efb759d23c
|
Add package internal/opengl
|
2014-12-31 03:04:52 +09:00 |
|
Hajime Hoshi
|
450a8da267
|
Rename internal/opengl -> internal/graphics
|
2014-12-31 02:55:17 +09:00 |
|