Commit Graph

875 Commits

Author SHA1 Message Date
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
Hajime Hoshi
0f569807e2 Bug fix: rename short32Size -> float32Size 2014-12-31 02:46:37 +09:00
Hajime Hoshi
957b4d392f Refactoring: Hide some functions of opengl 2014-12-31 02:06:08 +09:00
Hajime Hoshi
501e51c554 Update doc 2014-12-30 00:53:41 +09:00
Hajime Hoshi
9fb5c178ed Update version (1.1.0-alpha) 2014-12-29 23:54:22 +09:00
Hajime Hoshi
9e03c28c67 Show current version 2014-12-29 23:52:37 +09:00
Hajime Hoshi
075c67a84c Separate license and version from docs 2014-12-29 23:24:22 +09:00
Hajime Hoshi
b77181e37a Remove returning values of Add/Concat 2014-12-29 19:04:18 +09:00
Hajime Hoshi
2d667a399c Bug fix: blocks/main.go 2014-12-29 18:52:56 +09:00
Hajime Hoshi
1e6f51ed23 Add blocks example to index.html 2014-12-29 18:43:35 +09:00
Hajime Hoshi
1c4a652a6d blocks: Change font color 2014-12-29 18:33:57 +09:00
Hajime Hoshi
bb1d168154 blocks: Show background image; Go back to title after gameover 2014-12-29 18:30:36 +09:00
Hajime Hoshi
083dafa627 blocks: Flushing blocks 2014-12-29 17:44:06 +09:00
Hajime Hoshi
9288c9dcc9 blocks: Gameover 2014-12-29 16:41:58 +09:00
Hajime Hoshi
b02bce4876 Add score, level, lines 2014-12-29 16:12:26 +09:00
Hajime Hoshi
0346e81161 blocks: Introduce level and gravity 2014-12-29 15:24:20 +09:00
Hajime Hoshi
bb0dfcfc3e blocks: Show next 2014-12-29 14:27:43 +09:00
Hajime Hoshi
f0277727d1 Refactoring 2014-12-29 13:39:35 +09:00
Hajime Hoshi
47214fb572 Improve animation GIF color 2014-12-29 01:57:39 +09:00
Hajime Hoshi
2810161cdb Remove ebiten.rgba 2014-12-29 01:45:18 +09:00
Hajime Hoshi
a5b4b605dd Replace panic with log.Fatal 2014-12-29 01:09:38 +09:00
Hajime Hoshi
83d129e674 Remove blocks.Images 2014-12-29 01:07:34 +09:00
Hajime Hoshi
0a2a76be3b Remove imagePaths and renderTargetSizes; Initialize images in init() 2014-12-29 01:04:43 +09:00
Hajime Hoshi
22035e79fe Reduce panics (#16) 2014-12-29 00:21:40 +09:00
Hajime Hoshi
d8ffa6388a Add travis status 2014-12-28 22:27:07 +09:00
Hajime Hoshi
1ea7bbc83a Update .travis.yml to pass tests 2014-12-28 22:25:19 +09:00
Hajime Hoshi
03069b987c Update .travis.yml (install should not be overridden) 2014-12-28 21:23:49 +09:00
Hajime Hoshi
d34f7a8dfe Update .travis.yml to instal GLEW, GLFW 2014-12-28 21:20:56 +09:00
Hajime Hoshi
307d4ada77 Add .travis.yml (experimental) 2014-12-28 21:11:34 +09:00
Hajime Hoshi
be5785c1cf Remove parseMarkdown 2014-12-28 19:16:29 +09:00
Hajime Hoshi
2737b29867 Bug fix: titles of examples 2014-12-28 18:52:16 +09:00
Hajime Hoshi
907b31a641 Add <title> 2014-12-28 17:14:56 +09:00
Hajime Hoshi
018a46621b Update index.html 2014-12-28 17:12:17 +09:00
Hajime Hoshi
1f19cc3506 Fix doc 2014-12-28 17:11:24 +09:00