Commit Graph

182 Commits

Author SHA1 Message Date
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
Hajime Hoshi
784a67aadf Use math.Sincos 2013-06-24 00:14:39 +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
bc91c2210b Add RotateMatrix and TranslateMatrix 2013-06-20 00:49:44 +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
45c59133ef Bug fix: test 2013-06-19 09:33:26 +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
Hajime Hoshi
0ab7dca5e4 Refactoring 2013-06-19 01:14:55 +09:00
Hajime Hoshi
d4fd3adc53 Show Ebiten 2013-06-19 00:48:41 +09:00
Hajime Hoshi
ab558db683 Refactoring 2013-06-18 21:16:37 +09:00
Hajime Hoshi
d4ef198c6d Call game.Update 2013-06-18 01:26:46 +09:00
Hajime Hoshi
b203859eae Modify for SNES screen size 2013-06-17 23:51:00 +09:00
Hajime Hoshi
e9fa26142e Add examples/glut/main.go 2013-06-17 23:10:55 +09:00
Hajime Hoshi
b8a1a1806c init 2013-06-17 00:04:38 +09:00