Commit Graph

23 Commits

Author SHA1 Message Date
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
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
bd4434c62c Add loadimage_js.go 2015-01-02 16:48:07 +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
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
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
76b7da090c Remove dependencies on ebiten from opengl 2014-12-14 15:26:10 +09:00
Hajime Hoshi
d264d7a06b Remove dependencies on ebiten from shader 2014-12-13 14:53:54 +09:00
Hajime Hoshi
4addf8f9af Rename PushOffscreen -> PushRenderTarget 2014-12-13 14:53:53 +09:00
Hajime Hoshi
54509e42cf Add GraphicsContext.PushOffscreen / PopOffscreen (#21) 2014-12-11 03:50:35 +09:00
Hajime Hoshi
ab47f14124 Move opengl -> internal/opengl 2014-12-10 00:25:54 +09:00