Commit Graph

194 Commits

Author SHA1 Message Date
Hajime Hoshi
631264fce1 Add 'internal/math' package 2017-08-06 20:05:14 +09:00
Hajime Hoshi
9c9c70e7ba graphics: Use SourceRect at image_test.go 2017-05-30 01:01:19 +09:00
Hajime Hoshi
3b25289a18 graphics: Add BenchmarkDrawImage 2017-05-27 22:28:14 +09:00
Hajime Hoshi
0ab46b1780 graphics: Fix tests 2017-05-27 17:25:47 +09:00
Hajime Hoshi
6a4bb0513b graphics: But fix TestImageSelf: DrawImage must panic 2017-03-04 02:20:13 +09:00
Hajime Hoshi
6ca71c6931 graphics: Errors of NewImage* are always nil (#331) 2017-03-04 01:22:51 +09:00
Hajime Hoshi
2358143eea graphics: Give up to pass all tests on TravisCI 2017-02-11 04:15:14 +09:00
Hajime Hoshi
9748b28c0e graphics: Try to make CI happy 2017-02-11 03:44:33 +09:00
Hajime Hoshi
6ccd27ee67 graphics: Add TestImageEdge and remove examples/edge instead 2017-02-11 03:32:51 +09:00
Hajime Hoshi
98054928ac graphics: Update TestImageScale 2017-02-05 16:05:19 +09:00
Hajime Hoshi
4f45c0361d graphics: Add TestImageScale 2017-02-05 06:15:51 +09:00
Hajime Hoshi
0967df7f5e graphics: Fix TestImagePixels to check out-of-range pixels 2017-02-05 04:24:07 +09:00
Hajime Hoshi
dfa9eef753 graphics: Add TestImage90DegreeRotate 2017-02-04 21:41:00 +09:00
Hajime Hoshi
5c403d9969 graphics: Avoid copying images twice 2016-12-27 10:43:05 +09:00
Hajime Hoshi
e47c3bbbfb graphics: Limit image size strictly 2016-11-05 03:06:18 +09:00
Hajime Hoshi
53e1f90146 graphics: Bug fix: Don't store interface color.Color value inside (#261) 2016-08-30 23:34:18 +09:00
Hajime Hoshi
0f19f67fc9 image: Add ReplacePixels test 2016-08-23 00:13:44 +09:00
Hajime Hoshi
0aca79ed0b graphics: Add error checks 2016-08-03 11:05:10 +09:00
Hajime Hoshi
6968e898c3 Bug fix: ui.Main should be suspended when error occurs in the loop 2016-08-02 02:48:19 +09:00
Hajime Hoshi
fb8b6e93e5 graphics: Add TestNewImageFromSubImage (not bug fix) 2016-07-02 23:24:43 +09:00
Hajime Hoshi
71a508ca7b gofmt -s -w 2016-05-18 12:09:48 +09:00
Hajime Hoshi
90aeee5144 graphics: Revive image_test.go 2016-05-16 23:35:58 +09:00
Hajime Hoshi
9d569e3e49 graphics: Bug fix: now ebiten.Image can be passed to NewImageFromImage (#213) 2016-05-12 11:23:52 +09:00
Hajime Hoshi
15d48703fc graphics: Bug fix: NewImageFromImage with ebiten.Image froze (#212) 2016-05-12 02:00:22 +09:00
Hajime Hoshi
61ed13e322 graphics: Lazy image processing (especailly for mobile platforms) 2016-05-08 03:23:11 +09:00
Hajime Hoshi
c6fc5ab865 graphics: CompositionMode -> CompositeMode (#170) 2016-03-01 02:16:32 +09:00
Hajime Hoshi
8ae1e292ab graphics: Introduce CompositionMode (#151) 2016-02-29 01:37:06 +09:00
Hajime Hoshi
84361878de image: Add TestImageDispose 2016-02-07 02:37:43 +09:00
Hajime Hoshi
0abe40790b test: Refactoring 2016-02-06 15:34:56 +09:00
Hajime Hoshi
2ab7c2eb9b image: Add test 2015-01-22 11:27:50 +09:00
Hajime Hoshi
3aed28b4a7 Add TestImageReplacePixels 2015-01-21 01:46:30 +09:00
Hajime Hoshi
683ffafe8d Bug fix: image.Pixels didn't work on WebGL 2015-01-17 19:06:58 +09:00
Hajime Hoshi
d91a467c53 Add TestImageDotByDotInversion 2015-01-17 16:41:03 +09:00
Hajime Hoshi
f27ba0ea03 Enable gopherjs test 2015-01-14 23:16:06 +09:00
Hajime Hoshi
6dbe57ec11 Change test import paths 2015-01-10 00:55:53 +09:00
Hajime Hoshi
a1d3815008 Fix spelling miss 2015-01-06 23:56:05 +09:00
Hajime Hoshi
4eaba93c73 Bug fix: image can't draw itself (#45) 2015-01-06 23:50:02 +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
494d07387d Remove DrawImage.+ function (#41) 2014-12-24 23:17:58 +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
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
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