Commit Graph

150 Commits

Author SHA1 Message Date
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
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
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
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
Hajime Hoshi
8860d315ca Add Monochrome 2013-06-23 23:43:44 +09:00
Hajime Hoshi
92ac4b97ea Change the signiture of GraphicsContext.DrawTexture 2013-06-23 21:51:23 +09:00
Hajime Hoshi
81a7d4c4fd Define textureError 2013-06-23 16:06:32 +09:00
Hajime Hoshi
e0b36010f7 Make Clp2 internal 2013-06-23 02:42:13 +09:00
Hajime Hoshi
420187b45b Remove opengl.Texture.isDirty 2013-06-23 02:23:45 +09:00
Hajime Hoshi
edceec9220 Rename TextureLocation to TexturePart 2013-06-23 02:16:22 +09:00
Hajime Hoshi
2b04f74614 Add Rects 2013-06-23 02:01:26 +09:00
Hajime Hoshi
99f17c418b Create packages for games 2013-06-22 23:16:01 +09:00
Hajime Hoshi
04ecb15be2 Bug fix: correct the calculation for texture coords 2013-06-22 22:57:31 +09:00
Hajime Hoshi
215df5d190 Implement DrawRect 2013-06-22 15:56:25 +09:00
Hajime Hoshi
03fae7032a Renamed methods 2013-06-22 02:42:14 +09:00
Hajime Hoshi
79a68a425b Remove graphics.Point and graphics.Size 2013-06-22 01:52:10 +09:00
Hajime Hoshi
fad8fb7a98 Add graphics.DrawTextures (which I want to rename later) 2013-06-22 00:50:55 +09:00
Hajime Hoshi
a374565e37 Add graphics.Rectangle 2013-06-22 00:03:45 +09:00
Hajime Hoshi
faa9c1bfe8 go fmt 2013-06-21 11:16:19 +09:00
Hajime Hoshi
93565f79a9 Change Game.Draw to have graphics.Texture 2013-06-21 01:56:24 +09:00
Hajime Hoshi
b430d385bf Add the new package graphics/matrix 2013-06-21 01:47:39 +09:00
Hajime Hoshi
773e3afa1d Rename the project to go.ebiten 2013-06-20 23:29:51 +09:00
Hajime Hoshi
6ed9102f01 go fmt 2013-06-19 23:51:41 +09:00
Hajime Hoshi
847b6b80f6 Add TextureFactory 2013-06-19 23:08:24 +09:00
Hajime Hoshi
eda572d03e Add graphics.Texture 2013-06-19 10:33:06 +09:00
Hajime Hoshi
532b52d389 Add glFlush 2013-06-19 09:41:17 +09:00
Hajime Hoshi
7c23c6b326 Hide AffineMatrixElement 2013-06-19 09:29:17 +09:00
Hajime Hoshi
b5df3231e3 Cache shader location 2013-06-19 09:22:54 +09:00
Hajime Hoshi
493748ec9e Added grahpics/opengl 2013-06-19 08:49:54 +09:00