Hajime Hoshi
|
447bda7d68
|
Remove calling gl.checkFramebufferStatus
|
2015-01-03 02:01:30 +09:00 |
|
Hajime Hoshi
|
ae04bb17f6
|
Reduce calling glFlush
|
2015-01-03 01:14:36 +09:00 |
|
Hajime Hoshi
|
5c755f2f31
|
Fix BindFramebuffer to pass JS null object explicitly
|
2015-01-02 23:52:40 +09:00 |
|
Hajime Hoshi
|
24c39bcd18
|
Fix shaders for WebGL
|
2015-01-02 23:31:32 +09:00 |
|
Hajime Hoshi
|
bd4434c62c
|
Add loadimage_js.go
|
2015-01-02 16:48:07 +09:00 |
|
Hajime Hoshi
|
cadb3fffdf
|
Add ui_js.go and input_js.go
|
2015-01-02 15:20:05 +09:00 |
|
Hajime Hoshi
|
438380bb6e
|
Add context_js.go
|
2014-12-31 23:34:50 +09:00 |
|
Hajime Hoshi
|
25fb0a9e31
|
Unify Uniform* methods
|
2014-12-31 20:07:27 +09:00 |
|
Hajime Hoshi
|
e10bcb3dd8
|
Move some methods to opengl.Context
|
2014-12-31 19:27:41 +09:00 |
|
Hajime Hoshi
|
cdcc46543b
|
Remove all dependencies on go-gl/gl from internal/graphics
|
2014-12-31 17:54:29 +09:00 |
|
Hajime Hoshi
|
f88154f380
|
Add opengl.Context.NewBuffer
|
2014-12-31 17:45:23 +09:00 |
|
Hajime Hoshi
|
37828c452f
|
Add opengl.AttribLocation
|
2014-12-31 17:01:08 +09:00 |
|
Hajime Hoshi
|
b8dde70b03
|
Add opengl.UniformLocation
|
2014-12-31 16:48:25 +09:00 |
|
Hajime Hoshi
|
dc6a153c65
|
Add opengl.Context.NewShader
|
2014-12-31 16:12:13 +09:00 |
|
Hajime Hoshi
|
a4a4c91eb1
|
Add opengl.Framebuffer.Fill
|
2014-12-31 15:26:06 +09:00 |
|
Hajime Hoshi
|
fbcd04cda8
|
Add opengl.Framebuffer.SetAsViewport
|
2014-12-31 15:22:15 +09:00 |
|
Hajime Hoshi
|
b1d4ce2120
|
Add opengl.Texture.Pixels
|
2014-12-31 15:11:19 +09:00 |
|
Hajime Hoshi
|
cc9b874dd0
|
Add opengl.NewTexture
|
2014-12-31 15:00:28 +09:00 |
|
Hajime Hoshi
|
efb759d23c
|
Add package internal/opengl
|
2014-12-31 03:04:52 +09:00 |
|
Hajime Hoshi
|
450a8da267
|
Rename internal/opengl -> internal/graphics
|
2014-12-31 02:55:17 +09:00 |
|
Hajime Hoshi
|
0f569807e2
|
Bug fix: rename short32Size -> float32Size
|
2014-12-31 02:46:37 +09:00 |
|
Hajime Hoshi
|
957b4d392f
|
Refactoring: Hide some functions of opengl
|
2014-12-31 02:06:08 +09:00 |
|
Hajime Hoshi
|
22035e79fe
|
Reduce panics (#16)
|
2014-12-29 00:21:40 +09:00 |
|
Hajime Hoshi
|
4a07c6f0df
|
Refactoring: gl bug fix
|
2014-12-27 17:58:39 +09:00 |
|
Hajime Hoshi
|
48f639db02
|
Bug fix: glfw's framebuffer might be lately changed after consuming some events
|
2014-12-26 20:44:35 +09:00 |
|
Hajime Hoshi
|
ce81251730
|
Bug fix: gl.EnableClientState should not be called
|
2014-12-26 20:13:57 +09:00 |
|
Hajime Hoshi
|
f2fbd991d2
|
Rename ImageDrawOptions -> DrawImageOptions (#43)
|
2014-12-26 01:39:48 +09:00 |
|
Hajime Hoshi
|
389b2b75f2
|
Remove currentVBO
|
2014-12-26 01:19:08 +09:00 |
|
Hajime Hoshi
|
c156cb1e66
|
Use VBO for vertices, tex coords (#2)
|
2014-12-26 01:11:42 +09:00 |
|
Hajime Hoshi
|
7f6e440d97
|
Use VBO for indices (#2)
|
2014-12-25 23:16:18 +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
|
27fe3d9ab8
|
Reduce depndencies on go-gl/gl
|
2014-12-23 04:32:36 +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
|
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
|
0f8ac49055
|
Unify RenderTarget and Image into Image (#34)
|
2014-12-22 11:10:08 +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
|
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 |
|