Commit Graph

107 Commits

Author SHA1 Message Date
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
Hajime Hoshi
ac572a5554 Optimize rendering textures 2013-10-26 00:01:12 +09:00
Hajime Hoshi
b15febed51 Apply 'Tell, don't ask' 2013-10-25 09:30:39 +09:00
Hajime Hoshi
9aded38cc2 Refactoring 2013-10-23 01:08:29 +09:00
Hajime Hoshi
a0f17a4971 Rename ID -> Id 2013-10-21 22:18:10 +09:00
Hajime Hoshi
3a383b3078 Change TextureFactory.NewRenderTarget 2013-10-21 01:23:44 +09:00
Hajime Hoshi
ba931902b9 Refactoring: Any images are acceptable 2013-10-21 00:17:05 +09:00
Hajime Hoshi
801688f511 Rename Game.Init -> Game.InitTextures 2013-10-20 15:51:26 +09:00
Hajime Hoshi
6be8a2c691 Remove opengl.Texture.id 2013-10-20 01:52:18 +09:00
Hajime Hoshi
ec83c0ad5f Add Texture.native 2013-10-19 18:47:34 +09:00
Hajime Hoshi
78755c9b09 Refactoring 2013-10-19 18:33:55 +09:00
Hajime Hoshi
b594624105 Rename a function 2013-10-19 03:15:25 +09:00
Hajime Hoshi
d360f0effe Add TestPattern 2013-10-19 02:58:00 +09:00
Hajime Hoshi
a70cca8a9f Bug fix: orthogonal projection matrix 2013-10-19 01:02:44 +09:00
Hajime Hoshi
e2509e3439 Rename Context.TextureID -> ToTexture 2013-10-18 00:45:12 +09:00
Hajime Hoshi
cb25b6a9e4 Refactoring 2013-10-17 11:21:57 +09:00
Hajime Hoshi
c8011ffe88 Remove opengl.RenderTarget 2013-10-17 10:32:16 +09:00
Hajime Hoshi
db4e3fdc03 Remove Texture/RenderTarget 2013-10-17 00:14:32 +09:00
Hajime Hoshi
fd0ba69f0b Remove Texture.Width()/Height() 2013-10-16 23:20:07 +09:00
Hajime Hoshi
5679120f29 Remove RenderTarget.Width/Height 2013-10-16 23:06:35 +09:00
Hajime Hoshi
ef932bd5ae Rename the project name 2013-10-14 11:34:58 +09:00
Hajime Hoshi
5828feadd7 Refactoring 2013-10-14 02:04:26 +09:00
Hajime Hoshi
38af973461 Remove licenses on each files 2013-10-12 22:33:55 +09:00
Hajime Hoshi
531b24dd9b CHange Context.Fill 2013-10-12 03:21:10 +09:00
Hajime Hoshi
f8c0f0faaa go fmt 2013-10-12 02:51:20 +09:00
Hajime Hoshi
86eb30c650 Add graphics.RenderTarget 2013-10-12 01:29:19 +09:00