Commit Graph

4636 Commits

Author SHA1 Message Date
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
8ae31a35dc Bug fix: a rect's size 2013-10-19 00:57:43 +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
20f9a990ac Replace Screen/ResetOffscreen 2013-10-16 22:18:46 +09:00
Hajime Hoshi
2794c70388 Refactoring 2013-10-16 21:17:40 +09:00
Hajime Hoshi
75b1c850a1 Refactoring 2013-10-16 01:13:34 +09:00
Hajime Hoshi
319d1bfc74 Refactoring: glut.UI implements ui.UI 2013-10-15 09:12:43 +09:00
Hajime Hoshi
9d83ae1cfa Add ui.UI 2013-10-15 00:49:30 +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
a6ebcbbda6 Use typedef 2013-10-13 23:39:10 +09:00
Hajime Hoshi
ea6e88d06e Refactoring 2013-10-13 23:33:22 +09:00
Hajime Hoshi
983aeec03b Implement ui.cocoa 2013-10-13 23:06:05 +09:00
Hajime Hoshi
54893c3031 Remove GameContext.Terminate() 2013-10-13 17:43:56 +09:00
Hajime Hoshi
c396d5561d Update ui/cocoa 2013-10-13 17:36:18 +09:00
Hajime Hoshi
e8a4bdcef2 Add ui/cocoa 2013-10-13 03:17:51 +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
Hajime Hoshi
e6680eeda9 Refactoring 2013-10-11 22:20:36 +09:00
Hajime Hoshi
59921c5a34 Remove graphics.Context.DrawRect 2013-10-11 22:17:38 +09:00
Hajime Hoshi
0ff5524911 Add comments 2013-10-11 21:31:23 +09:00
Hajime Hoshi
81faffa76a Add matrix.Geometry.Scale 2013-10-11 21:30:04 +09:00
Hajime Hoshi
8004bd802e Bug fix: blending 2013-10-11 11:35:10 +09:00
Hajime Hoshi
62e8755b64 Remove Game.ScreenWidth/Height 2013-10-09 23:34:11 +09:00
Hajime Hoshi
129532692d Refactoring 2013-10-09 22:35:08 +09:00
Hajime Hoshi
55331e2453 Remove Game.Fps() 2013-10-06 18:44:15 +09:00