Commit Graph

38 Commits

Author SHA1 Message Date
Hajime Hoshi
8c15b57d58 Add image.DrawLine / DrawLines 2015-01-17 14:17:42 +09:00
Hajime Hoshi
f88154f380 Add opengl.Context.NewBuffer 2014-12-31 17:45:23 +09:00
Hajime Hoshi
cc9b874dd0 Add opengl.NewTexture 2014-12-31 15:00:28 +09:00
Hajime Hoshi
450a8da267 Rename internal/opengl -> internal/graphics 2014-12-31 02:55:17 +09:00
Hajime Hoshi
373371d1b2 Change license comments style to use magic comments (magic comments like +build should be placed before a general comment) 2014-12-24 11:04:10 +09:00
Hajime Hoshi
6cb8dac860 Add DrawImage* functions (#40) 2014-12-24 03:05:45 +09:00
Hajime Hoshi
604c0d095f Remove ImagePart 2014-12-24 02:04:56 +09:00
Hajime Hoshi
84f2e8aad2 Remove ebiten.Rect (#37) 2014-12-24 01:15:16 +09:00
Hajime Hoshi
27fe3d9ab8 Reduce depndencies on go-gl/gl 2014-12-23 04:32:36 +09:00
Hajime Hoshi
3e576c97f3 Modify docs 2014-12-23 04:10:28 +09:00
Hajime Hoshi
0f8ac49055 Unify RenderTarget and Image into Image (#34) 2014-12-22 11:10:08 +09:00
Hajime Hoshi
99434fa9d3 Bug fix: Consider color.Color.RGBA returns alpha-premultiplied values 2014-12-22 01:05:21 +09:00
Hajime Hoshi
3a9a7fed87 Rename Texture -> Image (#29) 2014-12-21 02:55:15 +09:00
Hajime Hoshi
6a2cfab839 Rename TexturePart -> ImagePart 2014-12-21 02:42:55 +09:00
Hajime Hoshi
ee61db3478 Rename DrawTexture -> DrawImage 2014-12-21 02:24:57 +09:00
Hajime Hoshi
59270a6b54 Refactoring 2014-12-21 01:04:49 +09:00
Hajime Hoshi
a9aa1589de Rename renderTarget -> innerRenderTarget; Remove TextureDrawer 2014-12-21 00:46:50 +09:00
Hajime Hoshi
991adb7449 Change RenderTexture to interface 2014-12-21 00:36:27 +09:00
Hajime Hoshi
01e0d42451 Remove GraphicsContext; Add rendering methods to RenderTarget (#26) 2014-12-20 23:24:15 +09:00
Hajime Hoshi
77ba18c2de Fix the comment for RenderTarget 2014-12-20 15:11:45 +09:00
Hajime Hoshi
c49937519e Change GraphicsContext.Fill to use color.Color 2014-12-20 06:18:28 +09:00
Hajime Hoshi
6673a39fa2 Introduce Photoshop-like alpha blending 2014-12-20 05:57:18 +09:00
Hajime Hoshi
49bcf8bb32 Remove Drawer; Add GraphicsContext.DrawTexture 2014-12-18 22:24:27 +09:00
Hajime Hoshi
c8007a6252 Change TexturePart int -> float64 2014-12-18 20:48:36 +09:00
Hajime Hoshi
9c18aef725 Change TexturePart 2014-12-18 20:04:40 +09:00
Hajime Hoshi
0e673670c0 Replace DrawWhole with DrawWholeTexture and DrawWholeRenderTarget 2014-12-17 23:06:14 +09:00
Hajime Hoshi
f3e4d1703d Add Texture.Width, Height and RenderTarget.Width, Height 2014-12-17 22:50:44 +09:00
Hajime Hoshi
7c56ac268e Remove render targets from ids 2014-12-17 22:24:30 +09:00
Hajime Hoshi
f8c6958a4a Remove textures from ids 2014-12-17 22:12:32 +09:00
Hajime Hoshi
bac4317fc5 Replace RenderTargetID with RenderTarget 2014-12-17 22:04:33 +09:00
Hajime Hoshi
eb11831585 Replace TextureID with Texture 2014-12-17 21:50:58 +09:00
Hajime Hoshi
ca5bd564a6 Add comments (to pass golint) 2014-12-14 22:05:44 +09:00
Hajime Hoshi
c1fa38ebed Remove panic 2014-12-14 21:38:54 +09:00
Hajime Hoshi
76b7da090c Remove dependencies on ebiten from opengl 2014-12-14 15:26:10 +09:00
Hajime Hoshi
d264d7a06b Remove dependencies on ebiten from shader 2014-12-13 14:53:54 +09:00
Hajime Hoshi
4addf8f9af Rename PushOffscreen -> PushRenderTarget 2014-12-13 14:53:53 +09:00
Hajime Hoshi
54509e42cf Add GraphicsContext.PushOffscreen / PopOffscreen (#21) 2014-12-11 03:50:35 +09:00
Hajime Hoshi
a39f0e904d Remove some methods; Add Game.Initialize 2014-12-11 01:12:46 +09:00