Commit Graph

119 Commits

Author SHA1 Message Date
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
Hajime Hoshi
f290a137a9 Remove RenderTarget.Texture 2013-10-27 22:09:19 +09:00
Hajime Hoshi
0bf319f7d0 Refactoring 2013-10-27 21:29:39 +09:00
Hajime Hoshi
e4ab8de45e Remove texture.Texture.Native 2013-10-27 21:27:16 +09:00
Hajime Hoshi
feb9ac103f Add opengl/graphics/rendertarget 2013-10-27 19:54:28 +09:00
Hajime Hoshi
af1e77eced Add graphics/opengl/texture 2013-10-27 19:27:59 +09:00
Hajime Hoshi
37746fc323 Move calling glTexParameteri 2013-10-27 02:25:41 +09:00
Hajime Hoshi
0baad5a6c3 Add program.go 2013-10-27 01:56:58 +09:00
Hajime Hoshi
790a840389 Refactoring 2013-10-26 23:18:23 +09:00
Hajime Hoshi
a28443b2d9 Move drawing function to shader package 2013-10-26 22:14:50 +09:00
Hajime Hoshi
c5f8738ae9 Refactoring 2013-10-26 04:15:27 +09:00