Commit Graph

4595 Commits

Author SHA1 Message Date
Hajime Hoshi
d46e551c5c Remove New*Matrix 2014-12-26 11:31:20 +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
d764afcb8f Make the elements of matrices optional 2014-12-26 11:22:36 +09:00
Hajime Hoshi
3e5688e2e1 Show SetElement function 2014-12-26 10:33:50 +09:00
Hajime Hoshi
cf1b1ed15e Add 'Add' methods 2014-12-26 04:39:30 +09:00
Hajime Hoshi
7ea4e19f58 Remove methods IsIdentity 2014-12-26 04:02:34 +09:00
Hajime Hoshi
d53d55a629 Rename *MatrixI -> New*Matrix 2014-12-26 03:58:33 +09:00
Hajime Hoshi
f7b2157585 Fix a comment 2014-12-26 03:47:27 +09:00
Hajime Hoshi
843b0d8621 Remove the struct DrawImageAt; Add a method (*Image).DrawImageAt 2014-12-26 03:46:25 +09:00
Hajime Hoshi
b69dec3f1e Bug fix: comment 2014-12-26 03:24:57 +09:00
Hajime Hoshi
cdc84567ca Rename At -> DrawImageAt 2014-12-26 03:00:40 +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
5780e9020c Fix ui.go to use defer and call glfw.SwapInterval 2014-12-25 18:42:55 +09:00
Hajime Hoshi
f603859b01 Fix image_test.go to check if something is rendered 2014-12-25 18:42:55 +09:00
Hajime Hoshi
90665944b9 Rename ImageDrawOption -> ImageDrawOptions 2014-12-24 23:38:04 +09:00
Hajime Hoshi
742c7ad854 Fix comments 2014-12-24 23:35:01 +09:00
Hajime Hoshi
cb510fafa7 Hide matrix members 2014-12-24 23:26:04 +09:00
Hajime Hoshi
494d07387d Remove DrawImage.+ function (#41) 2014-12-24 23:17:58 +09:00
Hajime Hoshi
b39df50979 Introduce ImageDrawOption 2014-12-24 22:46:00 +09:00
Hajime Hoshi
aee86f7e9c Bug fix: Remove '+build ignore' at drawimage.go 2014-12-24 11:06:09 +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
bde8d9763f Modify readme 2014-12-24 10:00:09 +09:00
Hajime Hoshi
6b0ae1cd18 Resize gophers.jpg 2014-12-24 09:52:17 +09:00
Hajime Hoshi
642d77bb11 Rename example/image -> example/rotate 2014-12-24 09:31:23 +09:00
Hajime Hoshi
5b2c775e68 Initial commit _docs 2014-12-24 04:34:56 +09:00
Hajime Hoshi
6ef60e6c39 Use DrawImage in tests 2014-12-24 03:08:31 +09:00
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