Commit Graph

129 Commits

Author SHA1 Message Date
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
7cea6f4bc8 Remove the render target when closing the window 2014-01-07 21:58:46 +09:00
Hajime Hoshi
c35d0f85ec Title for blocks 2013-12-18 18:05:28 +09:00
Hajime Hoshi
f61d9280e4 Rename: Canvas -> Context 2013-12-14 06:10:24 +09:00
Hajime Hoshi
b1062a80bf Refactoring 2013-12-14 05:34:27 +09:00
Hajime Hoshi
d087333e48 Refactoring 2013-12-13 00:45:24 +09:00
Hajime Hoshi
63fc25d24c Refactoring 2013-12-12 01:46:56 +09:00
Hajime Hoshi
2e17c366ca Add and use cocoa.Window 2013-12-11 00:18:08 +09:00
Hajime Hoshi
df836df45e Add ids.lock 2013-12-10 21:21:11 +09:00
Hajime Hoshi
c18b1cc9bd Separate Device and Canvas 2013-12-09 23:52:14 +09:00
Hajime Hoshi
7e246015ff Rename Context -> Canvas 2013-12-09 22:40:54 +09:00
Hajime Hoshi
2bd77e949a Refactoring 2013-12-09 09:45:40 +09:00
Hajime Hoshi
4489557c84 UnuseGLContext 2013-12-08 01:35:24 +09:00
Hajime Hoshi
e55060c239 Add cocoa.textureFactory 2013-12-07 02:20:53 +09:00
Hajime Hoshi
dd979ac4d6 Add 'Tag' to the methods of TextureFactory 2013-12-03 23:24:34 +09:00
Hajime Hoshi
89c33eac85 Remove Canvas.ToTexture 2013-11-29 22:45:18 +09:00
Hajime Hoshi
e8c518735b Rename graphics.Context -> graphics.Canvas 2013-11-29 22:06:22 +09:00
Hajime Hoshi
5fbfb3a3a3 Refactoring 2013-11-29 03:21:53 +09:00
Hajime Hoshi
f0ef3384cb Refactoring 2013-11-29 02:38:18 +09:00
Hajime Hoshi
c9e8036617 Refactoring 2013-11-28 09:57:30 +09:00
Hajime Hoshi
861449cbd7 Move rendertarget.RenderTarget to texture.RenderTarget 2013-11-28 09:36:31 +09:00
Hajime Hoshi
dc9f682863 Refactoring 2013-11-27 11:56:44 +09:00
Hajime Hoshi
f76171c79d Remove comments 2013-11-27 01:46:53 +09:00
Hajime Hoshi
991d0a975b Refactoring 2013-11-27 01:46:07 +09:00
Hajime Hoshi
c921f4fc3b Refactoring 2013-11-26 23:05:54 +09:00
Hajime Hoshi
a109c11594 Refactoring 2013-11-26 21:07:37 +09:00
Hajime Hoshi
e7c7c69dcc Add AdjustImage 2013-11-26 01:08:12 +09:00
Hajime Hoshi
8ff19c031d Use the shared context 2013-11-25 22:27:59 +09:00
Hajime Hoshi
170ed689fa Stop using [NSApp run] 2013-11-23 02:56:18 +09:00
Hajime Hoshi
2bc4d6bf14 Refactoring 2013-11-21 00:05:57 +09:00
Hajime Hoshi
f72076641a Refactoring 2013-11-17 22:42:12 +09:00
Hajime Hoshi
00fd9fc8ba Add draw_texture.go 2013-10-30 22:26:10 +09:00
Hajime Hoshi
df50171c1f Remove RenderTarget.SetAsViewport 2013-10-27 23:55:44 +09:00
Hajime Hoshi
d97b7a2999 Refactoring 2013-10-27 23:11:26 +09:00
Hajime Hoshi
e90f6d3222 Add ids.go 2013-10-27 23:06:14 +09:00
Hajime Hoshi
f6523b28f4 Add texture.NewEmpty 2013-10-27 22:12:28 +09:00