Commit Graph

79 Commits

Author SHA1 Message Date
Hajime Hoshi
9902497e3d test: Use flock to make tests exclusive
Fixes #575
2018-04-07 00:59:52 +09:00
Hajime Hoshi
f92a2748a4 graphics: Fix TestImageCompositeModeLighter 2018-03-21 03:42:58 +09:00
Hajime Hoshi
dbdae667f8 graphics: Temporary hack to pass tests on TravisCI 2018-03-21 03:10:15 +09:00
Hajime Hoshi
0a5deab0a2 graphics: Reland Bug fix: More strict calculation for the nearest filter (#558)
Better version of bae8f9d874
2018-03-21 02:40:26 +09:00
Hajime Hoshi
b157f2d6d0 Revert "graphics: Bug fix: More strict calculation for the nearest filter (#558)"
This reverts commit bae8f9d874.

Reason: TravisCI failed
2018-03-20 04:16:37 +09:00
Hajime Hoshi
bae8f9d874 graphics: Bug fix: More strict calculation for the nearest filter (#558) 2018-03-20 04:05:03 +09:00
Hajime Hoshi
1b35bbec9a test: Simplify code to get a test image 2018-03-15 03:48:32 +09:00
Hajime Hoshi
efea65ee58 graphics: Bug fix: wrong texels were used (#546) 2018-03-11 04:11:49 +09:00
Hajime Hoshi
dbe5c9c0ab graphics: Add comments 2018-03-11 00:40:37 +09:00
Hajime Hoshi
48408cba11 shareable: Bug fix: Protect critical sections 2018-03-11 00:38:49 +09:00
Hajime Hoshi
c5872c6640 graphics: Misspelling 2018-03-03 20:42:16 +09:00
Hajime Hoshi
caf4e9504f graphics: ReplacePixels should work on shared textures 2018-03-03 20:35:44 +09:00
Hajime Hoshi
d5bca2d499 graphics: Bug fix: (*Image).At must return color.RGBA type value 2018-03-03 18:51:52 +09:00
Hajime Hoshi
ecf4757809 graphics: Add TestImageSize 2018-03-02 02:57:12 +09:00
Hajime Hoshi
94c4cc35ab graphics: Forbid copying Image objects 2018-02-25 21:55:46 +09:00
Hajime Hoshi
f1bb0f1a70 gofmt 2018-02-03 20:41:06 +09:00
Hajime Hoshi
331e46a6ce graphics: Improve TestImageTooManyFill 2018-02-03 20:35:32 +09:00
Hajime Hoshi
a99c632cb7 graphics: Add TestImageSize1 2018-02-03 17:20:07 +09:00
Hajime Hoshi
e1640f5ae0 graphics: Allow errors in TestImageLinear (#492) 2018-02-03 17:01:19 +09:00
Hajime Hoshi
2014822f12 graphics: Fix TestImage4096 2018-02-03 15:39:17 +09:00
Hajime Hoshi
fe140c2caf graphics: Add TestImage4096 2018-02-03 03:52:47 +09:00
Hajime Hoshi
06853be1a5 graphics: Remove error checks from image_test.go 2018-02-03 02:33:43 +09:00
Hajime Hoshi
654a88c140 graphics: Add TestImageOutsideUpperLeft 2017-12-16 01:20:58 +09:00
Hajime Hoshi
4744b461df graphics: Handle non-well-formatted rectangle at DrawImageOptions 2017-12-14 11:52:19 +09:00
Hajime Hoshi
7378192fc2 graphics: Fix TestImageOutside 2017-12-14 00:49:53 +09:00
Hajime Hoshi
98532d8983 graphics: Add TestImageOutside 2017-12-14 00:25:35 +09:00
Hajime Hoshi
723d153800 Reland(2): graphics: Appropriate rendering of edges on linear filter 2017-12-12 00:03:01 +09:00
Hajime Hoshi
362d1c417f Revert 'graphics: Appropriate rendering of edges on linear filter (Reland)' (#458) 2017-12-11 20:30:54 +09:00
Hajime Hoshi
1152439e65 graphics: Appropriate rendering of edges on linear filter (Reland)
Fixes #456
2017-12-07 02:26:16 +09:00
Hajime Hoshi
8091aa5190 Revert 'graphics: Appropriate rendering of edges on linear filter' #456 2017-12-06 23:40:29 +09:00
Hajime Hoshi
bc0432f310 graphics: Appropriate rendering of edges on linear filter
Fixes #315
2017-12-06 21:40:24 +09:00
Hajime Hoshi
e206c16fc6 graphics: Improve TestImageTooManyFill 2017-12-06 20:53:02 +09:00
Hajime Hoshi
8e7e960b56 graphics: Limit source-rectangle range
Remove texture adjustment introduced due to #317
2017-12-02 23:13:44 +09:00
Hajime Hoshi
c2fab6cca3 graphics: Bug fix: glClear doesn't treat 0 or 1 correctly
Fixes #452
2017-12-02 22:25:02 +09:00
Hajime Hoshi
12c24215b1 graphics: Bug fix: Flush after filling (#419) 2017-08-24 00:11:08 +09:00
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