Hajime Hoshi
|
a7e7e007ca
|
restorable: Bug fix: PutQuadVertices should take the source image
Fixes #898
|
2019-07-15 03:10:03 +09:00 |
|
Hajime Hoshi
|
4ab97ad250
|
graphics: Add TestImageZeroSizedMipmap
|
2019-04-25 10:51:59 +09:00 |
|
Hajime Hoshi
|
3cb9d18fc4
|
graphics: Bug fix: Too small mipmap
Bug: #839
|
2019-04-07 05:29:46 +09:00 |
|
Hajime Hoshi
|
5ed6565d1d
|
graphics: Bug fix: SubImage's SubImage's bounds was wrong
|
2019-02-21 23:44:57 +09:00 |
|
Hajime Hoshi
|
8934f8296f
|
graphics: Bug fix: Don't touch pixelsToSet when disposing a subimage
This change also removes finalizer for subimages since this is not
necessary.
Fixes #823
|
2019-02-21 23:07:11 +09:00 |
|
Hajime Hoshi
|
cbb0a1da95
|
graphicsdriver: Refactoring
This improved FPS on mobiles a little bit. Maybe now texture2D is
called only when necessary, but not sure.
|
2019-02-17 17:37:11 +09:00 |
|
Hajime Hoshi
|
1c3113e763
|
graphics: Add TestImageDrawTrianglesWithSubImage
|
2019-02-16 22:37:44 +09:00 |
|
Hajime Hoshi
|
fd250c8d8c
|
graphics: Rename NextPowerOf2Int -> InternalImageSize and add image size adjustment
There is a minimum internal image size on some system like old iOS
devices. This change adds adjustment of the size.
Issue: #810
|
2019-02-14 23:06:01 +09:00 |
|
Hajime Hoshi
|
5ccd240a35
|
graphics: Add TestImageAlphaOnBlack
|
2019-01-27 21:45:18 +09:00 |
|
Hajime Hoshi
|
128e99b6af
|
graphics: Implement (*Image).Set
|
2019-01-14 02:25:36 +09:00 |
|
Hajime Hoshi
|
6783aaae56
|
graphics: Better test for a crash
|
2019-01-11 00:31:32 +09:00 |
|
Hajime Hoshi
|
f1582c2d73
|
graphics: Add Address representing a sampler address mode
Fixes #761
|
2018-12-24 17:29:31 +09:00 |
|
Hajime Hoshi
|
189b8a17e9
|
graphics: Use source-border check even at DrawTriangles
DrawTriangles can now take a sub-image.
|
2018-12-23 03:24:39 +09:00 |
|
Hajime Hoshi
|
cae5f6bf4b
|
graphics: Add a test for #669 and #759
|
2018-12-21 04:08:44 +09:00 |
|
Hajime Hoshi
|
968e137cc5
|
graphics: Add TestImageLinearGradation
|
2018-12-03 01:53:12 +01:00 |
|
Hajime Hoshi
|
e537cb2c27
|
graphics: Bug fix: render source might not be initialized
|
2018-12-01 21:36:51 +01:00 |
|
Hajime Hoshi
|
962a11468b
|
restorable: Fix clearing logic
Fixes #740
|
2018-11-28 23:00:24 +01:00 |
|
Hajime Hoshi
|
1a54ff34e6
|
graphics: Forbid nil at ReplacePixels explicitly
|
2018-11-28 22:26:34 +01:00 |
|
Hajime Hoshi
|
14f5a03a79
|
Merge math and graphics packages
|
2018-11-17 20:23:12 +09:00 |
|
Hajime Hoshi
|
959c6511dd
|
graphics: Fix test names
|
2018-11-09 01:58:41 +09:00 |
|
Hajime Hoshi
|
03c800cb9b
|
graphics: Bug fix: wrong region on a subimage
|
2018-11-09 01:40:02 +09:00 |
|
Hajime Hoshi
|
9f0d14dd05
|
graphics: Add tests for #732
|
2018-11-09 00:48:21 +09:00 |
|
Hajime Hoshi
|
f54bdfa159
|
Reland: graphics: Bug fix: a sub image's Size was wrong
Size() usages are also fixed.
Fixes #732
|
2018-11-08 12:58:14 +09:00 |
|
Hajime Hoshi
|
27331024af
|
Revert "graphics: Bug fix: a sub image's Size was wrong"
This reverts commit 76ac850f6b .
Reason: This breaks many examples
|
2018-11-08 12:19:38 +09:00 |
|
Hajime Hoshi
|
76ac850f6b
|
graphics: Bug fix: a sub image's Size was wrong
Fixes #732
|
2018-11-08 04:22:19 +09:00 |
|
Hajime Hoshi
|
710f56531f
|
graphics: Experimental: (*image.Image).SubImage
Fixes #722
|
2018-10-28 02:19:14 +09:00 |
|
Hajime Hoshi
|
d3bd858aba
|
graphics: Bug fix: Mipmap was not invalidated at DrawTriangle
Fixes #725
|
2018-10-26 02:08:18 +09:00 |
|
Hajime Hoshi
|
8b82667df1
|
graphics: Bug fix: Violating edge pixels with linear filter
Fixes #724
|
2018-10-26 00:48:51 +09:00 |
|
Hajime Hoshi
|
b9328bf14d
|
graphics: Add tests for #710
|
2018-10-11 02:44:51 +09:00 |
|
Hajime Hoshi
|
1a703ae34b
|
graphics: Extend the range to 4000 in TestImageStretch (#611)
|
2018-09-28 01:13:25 +09:00 |
|
Hajime Hoshi
|
bac0431c9f
|
graphics: Simplify mipmap calculation
|
2018-08-03 00:02:49 +09:00 |
|
Hajime Hoshi
|
d17a6dde9b
|
graphics: Remove unnecessary converts
|
2018-08-02 01:10:06 +09:00 |
|
Hajime Hoshi
|
972eea89db
|
affine: Fix some functions in GeoM test
Fixes #657
|
2018-08-02 01:06:54 +09:00 |
|
Hajime Hoshi
|
351c048e2f
|
graphics: Add TestSprites
|
2018-05-29 02:20:50 +09:00 |
|
Hajime Hoshi
|
b9cd7afff5
|
graphics: Add TestImageStretch (#611)
|
2018-05-13 23:47:59 +09:00 |
|
Hajime Hoshi
|
d7d892f2d6
|
graphics: Allow a little margin for edge pixels
|
2018-05-13 23:00:06 +09:00 |
|
Hajime Hoshi
|
63c33b24df
|
graphics: Refactoring
|
2018-04-16 01:51:32 +09:00 |
|
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 |
|
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 |
|