Commit Graph

327 Commits

Author SHA1 Message Date
Hajime Hoshi
214f099ef7 Simplify main() 2014-05-11 19:54:19 +09:00
Hajime Hoshi
86846b0171 Remove unnecessary channels 2014-05-11 19:44:36 +09:00
Hajime Hoshi
1c187597e6 Add some comments 2014-05-04 03:29:45 +09:00
Hajime Hoshi
a6bf0f6634 Merge pull request #4 from hajimehoshi/remove-glget
Remove unnecessary glGet* in the render loop
2014-05-04 02:40:03 +09:00
Hajime Hoshi
52e7817c1d Issue 1 2014-05-04 02:32:52 +09:00
Hajime Hoshi
26122aa120 Remove gl.go 2014-05-04 00:40:53 +09:00
Hajime Hoshi
de7d980289 Remove LICENSE.txt 2014-05-03 18:15:16 +09:00
Hajime Hoshi
61db71e453 Make CreateTexture/RenderTarget synchronous 2014-05-03 17:50:42 +09:00
Hajime Hoshi
4e6aeaa291 Add Textures 2014-05-03 15:53:43 +09:00
Hajime Hoshi
322d0f1924 Remove graphics.Drawer.DrawParts 2014-05-03 13:58:18 +09:00
Hajime Hoshi
f0356748be Refactoring 2014-05-03 01:13:15 +09:00
Hajime Hoshi
562d04cacc Change API of graphics.Context 2014-05-01 22:45:48 +09:00
Hajime Hoshi
2d6818c81e Refactoring 2014-05-01 21:42:57 +09:00
Hajime Hoshi
24430719ff Bug fix: move waiting onto the window's own thread 2014-01-15 01:59:49 +09:00
Hajime Hoshi
bbb28d2083 Add wait at drawing 2014-01-13 16:02:47 +09:00
Hajime Hoshi
144b890558 Remove LazyContext 2014-01-13 15:30:27 +09:00
Hajime Hoshi
8ff6e4efa0 Refactoring: Add NSAutoreleasePool 2014-01-13 15:26:29 +09:00
Hajime Hoshi
adbd0b1dac Edit README.md 2014-01-13 01:16:32 +09:00
Hajime Hoshi
ae7091c42f Add README.md 2014-01-13 01:14:35 +09:00
Hajime Hoshi
2b18ce8748 Rename PollEvents -> DoEvents 2014-01-11 18:11:13 +09:00
Hajime Hoshi
ffc08a75d3 Add filter to CreateRenderTarget 2014-01-11 18:07:12 +09:00
Hajime Hoshi
ca4275d347 Refactoring 2014-01-11 18:04:15 +09:00
Hajime Hoshi
11a9b77be3 Refactoring 2014-01-11 15:18:04 +09:00
Hajime Hoshi
ee23301538 Use signal to catch SIGINT and SIGTERM 2014-01-11 15:14:47 +09:00
Hajime Hoshi
6f1799b1c6 Bug fix: Ignore Draw when the window is closed 2014-01-11 14:48:43 +09:00
Hajime Hoshi
172dd4bca4 Refactoring 2014-01-11 11:42:23 +09:00
Hajime Hoshi
738c06c28d Add gl.go 2014-01-11 11:18:55 +09:00
Hajime Hoshi
41eb300065 Rename textureFactory -> sharedContext 2014-01-11 11:09:11 +09:00
Hajime Hoshi
96c53234e5 Hide some functions of RenderTarget 2014-01-11 09:03:00 +09:00
Hajime Hoshi
1b6bc12ead Remove Offscreen 2014-01-11 08:59:38 +09:00
Hajime Hoshi
1772d85d58 Move Clear/Fill to RenderTarget 2014-01-11 08:20:05 +09:00
Hajime Hoshi
1c10c45f69 Refactoring 2014-01-10 22:30:36 +09:00
Hajime Hoshi
29e5aa331f Refactoring 2014-01-10 00:42:42 +09:00
Hajime Hoshi
a9711cd509 Delete a texture when deleting the render target 2014-01-08 18:58:15 +09:00
Hajime Hoshi
92b2e0d948 Refactoring 2014-01-08 18:47:38 +09:00
Hajime Hoshi
cd6db439e4 Refactoring 2014-01-08 18:03:21 +09:00
Hajime Hoshi
b60db9c2f6 Make RenderTarget's fields unexported 2014-01-08 16:38:03 +09:00
Hajime Hoshi
2ed01a6232 Remove graphics/texture 2014-01-08 14:54:12 +09:00
Hajime Hoshi
05dede71e7 Refactoring 2014-01-08 01:04:14 +09:00
Hajime Hoshi
1dece94cc8 Move functions from graphics/texture to graphics 2014-01-08 00:45:53 +09:00
Hajime Hoshi
0cbf6a58aa Move texture.Quad -> graphics.TextureQuad 2014-01-07 23:33:53 +09:00
Hajime Hoshi
2b4dc28d91 go fmt 2014-01-07 23:29:24 +09:00
Hajime Hoshi
7cea6f4bc8 Remove the render target when closing the window 2014-01-07 21:58:46 +09:00
Hajime Hoshi
5d2e2476b6 Refactoring: lazy initializing the application 2014-01-07 02:14:53 +09:00
Hajime Hoshi
1f1c5cba95 Add methods to ui/cocoa/texture_factory.go 2014-01-07 00:10:46 +09:00
Hajime Hoshi
0829299fea Rename Window -> GameWindow 2014-01-04 01:47:05 +09:00
Hajime Hoshi
1a7a8b340f Rename files 2013-12-31 18:17:35 +09:00
Hajime Hoshi
cc14882cb2 Remove void* 2013-12-31 03:17:39 +09:00
Hajime Hoshi
f82241b56f Refactoring 2013-12-30 01:55:53 +09:00
Hajime Hoshi
fbd35ac6a8 Add 'release' 2013-12-30 01:36:11 +09:00