Commit Graph

859 Commits

Author SHA1 Message Date
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
0628d1342f Add CreateGLContext 2013-11-25 02:12:07 +09:00
Hajime Hoshi
638da2ed2c Have EbitenWindow have a NSOpenGLContext 2013-11-24 03:30:12 +09:00
Hajime Hoshi
3c979825db Remove EbitenWindow.glContext_ 2013-11-24 02:00:09 +09:00
Hajime Hoshi
0a16107cd6 Refactoring 2013-11-24 01:17:22 +09:00
Hajime Hoshi
bcb8c0d45a Remove ebiten.FPS 2013-11-23 19:51:29 +09:00
Hajime Hoshi
cc7b78bb9a Refactoring 2013-11-23 19:31:10 +09:00
Hajime Hoshi
c3968a5aaa Rename functions 2013-11-23 18:15:39 +09:00
Hajime Hoshi
75a362d5b1 Clean up 2013-11-23 18:10:15 +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
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