Commit Graph

3816 Commits

Author SHA1 Message Date
Hajime Hoshi
6cb8dac860 Add DrawImage* functions (#40) 2014-12-24 03:05:45 +09:00
Hajime Hoshi
a0cff8961b Modify docs 2014-12-24 02:08:03 +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
ddd43370bc Add RecordScreenAsGIF (#23) 2014-12-24 00:08:22 +09:00
Hajime Hoshi
341f7a56cc Update readme 2014-12-23 04:46:58 +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
0fe8387a5a Simplify examples 2014-12-23 02:43:26 +09:00
Hajime Hoshi
b3581d1c7a Bug fix: Need to clear the default framebuffer 2014-12-23 02:35:17 +09:00
Hajime Hoshi
16180a8925 Add TestComposition 2014-12-23 02:25:05 +09:00
Hajime Hoshi
30adcdba94 Add test for NewImageFromImage 2014-12-23 01:51:16 +09:00
Hajime Hoshi
cd9efd3932 Implement image.Image at ebiten.Image (#35) 2014-12-23 01:27:11 +09:00
Hajime Hoshi
095c3ca380 Rename opengl.Image (that is originally wrong) -> opengl.Framebuffer 2014-12-23 00:01:22 +09:00
Hajime Hoshi
43988399ee Bug fix: ColorMatrix should treat straight alpha 2014-12-22 23:08:13 +09:00
Hajime Hoshi
1663ad2250 Remove shader programColorFinal 2014-12-22 22:49:14 +09:00
Hajime Hoshi
2620414409 Simplify shaders 2014-12-22 21:51:58 +09:00
Hajime Hoshi
a3b0831472 Change the texture pixel format to premultiplied alpha (#36) 2014-12-22 21:39:25 +09:00
Hajime Hoshi
df6ebd5a9c go lint 2014-12-22 11:20:14 +09:00
Hajime Hoshi
baf18ba479 Rename variables 2014-12-22 11:18:05 +09:00
Hajime Hoshi
0f8ac49055 Unify RenderTarget and Image into Image (#34) 2014-12-22 11:10:08 +09:00
Hajime Hoshi
f6809862d6 Fix readme: 'go get' installs dependencies 2014-12-22 01:58:45 +09:00
Hajime Hoshi
89c6e7c371 Add comments 2014-12-22 01:54:07 +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
d34c94aa09 examples: Rename texture -> image 2014-12-21 03:08:01 +09:00
Hajime Hoshi
d774c19581 Rename NewTextureFromFile -> NewImageFromFile 2014-12-21 02:59:00 +09:00
Hajime Hoshi
3a9a7fed87 Rename Texture -> Image (#29) 2014-12-21 02:55:15 +09:00
Hajime Hoshi
480289cd5d Rename innerRenderTarget.texture -> .image 2014-12-21 02:47:53 +09:00
Hajime Hoshi
146c1db44a Rename RenderTarget.Texture -> .Image 2014-12-21 02:45:50 +09:00
Hajime Hoshi
6a2cfab839 Rename TexturePart -> ImagePart 2014-12-21 02:42:55 +09:00
Hajime Hoshi
40c763724f Rename NewTexture -> NewImage 2014-12-21 02:29:04 +09:00
Hajime Hoshi
ee61db3478 Rename DrawTexture -> DrawImage 2014-12-21 02:24:57 +09:00
Hajime Hoshi
79b67db0d8 Rename AdjustSizeForTexture -> NextPowerOf2Int 2014-12-21 02:05:08 +09:00
Hajime Hoshi
59270a6b54 Refactoring 2014-12-21 01:04:49 +09:00
Hajime Hoshi
aed317649f Rename members of TextureQuad 2014-12-21 00:59:32 +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
d4cd858eeb Improve alphablending example 2014-12-20 19:11:06 +09:00
Hajime Hoshi
df35a0ce1e Bug fix: the default framebuffer can't bind a texture 2014-12-20 18:57:00 +09:00
Hajime Hoshi
b50e82f49d Add example alphablending 2014-12-20 16:15:21 +09:00
Hajime Hoshi
7727ed13ae Bug fix: Screen should be clear with opaque black 2014-12-20 15:55:13 +09:00
Hajime Hoshi
012b014fe4 Fix readme 2014-12-20 15:39:17 +09:00
Hajime Hoshi
02660346c3 Call gl.Flush in DrawTexture 2014-12-20 15:36:31 +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
ccef1b5e65 Remove unneeded shaders 2014-12-20 05:59:07 +09:00
Hajime Hoshi
6673a39fa2 Introduce Photoshop-like alpha blending 2014-12-20 05:57:18 +09:00
Hajime Hoshi
dc0e67f600 Add example mosaic 2014-12-18 23:19:01 +09:00
Hajime Hoshi
49bcf8bb32 Remove Drawer; Add GraphicsContext.DrawTexture 2014-12-18 22:24:27 +09:00