Commit Graph

20 Commits

Author SHA1 Message Date
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
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
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
02660346c3 Call gl.Flush in DrawTexture 2014-12-20 15:36:31 +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
f3e4d1703d Add Texture.Width, Height and RenderTarget.Width, Height 2014-12-17 22:50:44 +09:00
Hajime Hoshi
c1fa38ebed Remove panic 2014-12-14 21:38:54 +09:00
Hajime Hoshi
60aad4326e Hide members of RenderTarget (again) 2014-12-14 18:34:47 +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
ab47f14124 Move opengl -> internal/opengl 2014-12-10 00:25:54 +09:00