Commit Graph

9731 Commits

Author SHA1 Message Date
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
Hajime Hoshi
9bd0f9363c Change the filter 2014-12-18 21:59:44 +09:00
Hajime Hoshi
60a1626724 Add example perspective 2014-12-18 21:23:36 +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
87d49546f3 Enrich the example 2014-12-18 01:38:01 +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
33cb234ae1 Bug fix: Creating a render target before running 2014-12-17 20:21:27 +09:00
Hajime Hoshi
ebdee00dd2 Simplify API: Make loading textures enable before running a game (#24) 2014-12-17 20:03:26 +09:00
Hajime Hoshi
a95ed2cd2a Simplify Run and Remove Game 2014-12-17 17:45:06 +09:00
Hajime Hoshi
1c460d80c3 Add examples/image 2014-12-17 17:10:38 +09:00
Hajime Hoshi
46a9901be8 Revert the algorithm of RotateHue 2014-12-15 10:55:40 +09:00
Hajime Hoshi
3cf449c52c Change the algorithm of RotateHue 2014-12-15 09:37:44 +09:00
Hajime Hoshi
c3e909676c Bug fix: Translate -> TranslateColor 2014-12-15 02:06:01 +09:00
Hajime Hoshi
6eaec92a4e Change ColorMatrix's methods to functions 2014-12-15 02:04:33 +09:00
Hajime Hoshi
2c67a71a53 Change GeometryMatrix's methods to functions 2014-12-15 01:58:52 +09:00
Hajime Hoshi
d5f8e79c88 Add RotateHue 2014-12-15 01:47:38 +09:00
Hajime Hoshi
d25d5f39b0 Move example files 2014-12-14 23:15:18 +09:00
Hajime Hoshi
00a7cb1bac Implement paint.go 2014-12-14 23:06:58 +09:00
Hajime Hoshi
e55f53cfab Fix the comment 2014-12-14 22:24:17 +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
6f3e45098b Refactoring 2014-12-14 21:21:05 +09:00
Hajime Hoshi
97857715fa Add syncer 2014-12-14 21:04:26 +09:00
Hajime Hoshi
3190609f07 Remove canvas 2014-12-14 19:29:59 +09:00
Hajime Hoshi
60aad4326e Hide members of RenderTarget (again) 2014-12-14 18:34:47 +09:00
Hajime Hoshi
d0c0dea2be Remove GameContext 2014-12-14 17:28:19 +09:00
Hajime Hoshi
87bdd1a994 Hide Input 2014-12-14 17:07:45 +09:00
Hajime Hoshi
8319e0d41d Remove package glfw (once) 2014-12-14 17:00:11 +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