Commit Graph

67 Commits

Author SHA1 Message Date
Hajime Hoshi
dbd6ed8139 graphics: Move theDelayedImageTasks.exec() to newImageWithZeroFramebuffer 2016-05-18 22:45:15 +09:00
Hajime Hoshi
4d04413bf9 ui: Move the run loop to internal/ui 2016-05-18 10:46:23 +09:00
Hajime Hoshi
da0196911d graphics: Refactoring: Now all Image objects are generated from New* funcs 2016-05-15 21:08:39 +09:00
Hajime Hoshi
c291e2abad graphics: Refactoring 2016-05-11 00:48:30 +09:00
Hajime Hoshi
c3d8cf2366 graphics: Make Image functions concurrent safe (#201) 2016-04-07 03:49:11 +09:00
Hajime Hoshi
deabfa5e15 graphics: Clear the default render target just after initializing 2016-03-21 23:24:30 +09:00
Hajime Hoshi
b3d7e04de5 ui: Introduce IsRunningSlowly (#168) 2016-02-28 02:28:16 +09:00
Hajime Hoshi
8788c8439f Refactoring: Remove postUpdate 2016-02-28 00:11:27 +09:00
Hajime Hoshi
e2f528d206 Refactoring: unify preUpdate and calling f 2016-02-27 23:39:06 +09:00
Hajime Hoshi
63f2c3cb9f graphics: Refactoring: remove ExecOnUIThread 2016-02-20 04:39:43 +09:00
Hajime Hoshi
e8c2e5f3d6 image: Add image.Dipose and image.IsDisposed 2016-02-07 01:27:55 +09:00
Hajime Hoshi
633ee4096e #132 Temporal hack to run with Go1.5 2015-07-22 23:28:15 +09:00
Hajime Hoshi
936942a28d Add comments 2015-02-20 02:01:56 +09:00
Hajime Hoshi
af09da1665 graphics: Rename defaultR -> defaultRenderTarget 2015-02-19 01:12:00 +09:00
Hajime Hoshi
249add3979 Add SetScreenSize 2015-02-09 11:02:04 +09:00
Hajime Hoshi
3964944deb Move ui_*.go back to internal/ui again 2015-01-27 22:37:00 +09:00
Hajime Hoshi
346bc53d53 Move internal/opengl -> internal/graphics/internal/opengl 2015-01-26 23:27:28 +09:00
Hajime Hoshi
01dbc515b5 Remove innerImage 2015-01-12 19:54:25 +09:00
Hajime Hoshi
4226354e4a Use new style methods of matrices 2015-01-05 10:30:33 +09:00
Hajime Hoshi
96f5315c49 Add internal/ui module 2015-01-02 02:13:27 +09:00
Hajime Hoshi
e10bcb3dd8 Move some methods to opengl.Context 2014-12-31 19:27:41 +09:00
Hajime Hoshi
dc6a153c65 Add opengl.Context.NewShader 2014-12-31 16:12:13 +09:00
Hajime Hoshi
fbcd04cda8 Add opengl.Framebuffer.SetAsViewport 2014-12-31 15:22:15 +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
957b4d392f Refactoring: Hide some functions of opengl 2014-12-31 02:06:08 +09:00
Hajime Hoshi
ffab448d40 Rename ColorGeometry -> ColorM, GeometryMatrix -> GeoM (#27) 2014-12-26 22:50:25 +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
ec6dc4b7ec Use value-type values for some of DrawImageOption's members 2014-12-26 11:29:44 +09:00
Hajime Hoshi
d53d55a629 Rename *MatrixI -> New*Matrix 2014-12-26 03:58:33 +09:00
Hajime Hoshi
f2fbd991d2 Rename ImageDrawOptions -> DrawImageOptions (#43) 2014-12-26 01:39:48 +09:00
Hajime Hoshi
90665944b9 Rename ImageDrawOption -> ImageDrawOptions 2014-12-24 23:38:04 +09:00
Hajime Hoshi
b39df50979 Introduce ImageDrawOption 2014-12-24 22:46:00 +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
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
b3581d1c7a Bug fix: Need to clear the default framebuffer 2014-12-23 02:35:17 +09:00
Hajime Hoshi
095c3ca380 Rename opengl.Image (that is originally wrong) -> opengl.Framebuffer 2014-12-23 00:01:22 +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
480289cd5d Rename innerRenderTarget.texture -> .image 2014-12-21 02:47:53 +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
a9aa1589de Rename renderTarget -> innerRenderTarget; Remove TextureDrawer 2014-12-21 00:46:50 +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
7727ed13ae Bug fix: Screen should be clear with opaque black 2014-12-20 15:55:13 +09:00
Hajime Hoshi
c49937519e Change GraphicsContext.Fill to use color.Color 2014-12-20 06:18:28 +09:00