Commit Graph

185 Commits

Author SHA1 Message Date
Hajime Hoshi
bc7dd51adf Show a piece 2013-12-19 03:21:25 +09:00
Hajime Hoshi
c35d0f85ec Title for blocks 2013-12-18 18:05:28 +09:00
Hajime Hoshi
94ecfbba9c Refactoring event handling 2013-12-16 09:39:49 +09:00
Hajime Hoshi
0a3ec197ff Rename InputStateUpdated -> MouseStateUpdated 2013-12-15 23:45:50 +09:00
Hajime Hoshi
f61d9280e4 Rename: Canvas -> Context 2013-12-14 06:10:24 +09:00
Hajime Hoshi
4d62fb0b01 Bug fix: parts should be copied 2013-12-14 05:55:13 +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
cdb511b08b Add matrix.Color.Scale 2013-12-08 19:38:22 +09:00
Hajime Hoshi
cbc5c38db6 Remove games 2013-12-08 16:19:24 +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
79c74273f5 Fix the event handling model 2013-12-03 22:15:00 +09:00
Hajime Hoshi
f9e5e754b2 Move some definitions to the ui package 2013-12-03 00:15:01 +09:00
Hajime Hoshi
add743572c Add LazyCanvas 2013-12-02 21:47:41 +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
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
Hajime Hoshi
59921c5a34 Remove graphics.Context.DrawRect 2013-10-11 22:17:38 +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
a35c74790c Remove Device.Drawing 2013-10-06 18:22:45 +09:00
Hajime Hoshi
df84d26636 Add Device.Update 2013-10-06 02:27:51 +09:00
Hajime Hoshi
70723e1211 Refactoring 2013-07-13 02:23:09 +09:00
Hajime Hoshi
15c76624f1 Change Texture 2013-07-13 01:36:01 +09:00
Hajime Hoshi
984d572cb0 Add assertion 2013-07-10 22:59:38 +09:00
Hajime Hoshi
4e4cd85a35 Optimization 2013-07-09 22:48:56 +09:00
Hajime Hoshi
38d343f3e7 Bug fix: call runtime.LockOSThread 2013-07-09 00:49:21 +09:00
Hajime Hoshi
9b2e8d023f Add adjustPixels 2013-07-07 04:39:56 +09:00
Hajime Hoshi
30cdcfd574 Refactoring 2013-07-05 00:49:17 +09:00
Hajime Hoshi
508e5150de Modify Game.Draw 2013-07-04 23:57:53 +09:00
Hajime Hoshi
1a1bc9f0b3 Add game/text 2013-07-03 01:27:04 +09:00
Hajime Hoshi
86b2157b68 Add license descriptions 2013-07-01 22:25:41 +09:00
Hajime Hoshi
f06e541f48 Refactoring 2013-06-28 00:33:03 +09:00
Hajime Hoshi
ef6d643438 Refactoring 2013-06-27 01:46:13 +09:00
Hajime Hoshi
9dd6fff9ab Refactoring 2013-06-27 01:13:09 +09:00
Hajime Hoshi
a8f42d6497 Refactoring 2013-06-26 01:13:09 +09:00
Hajime Hoshi
6b1e76b669 Add AsyncGraphicsContext; Use goroutines in the main routine 2013-06-26 00:56:01 +09:00
Hajime Hoshi
cf53d6a6d0 Change the color of clearing 2013-06-24 22:03:38 +09:00