Commit Graph

23 Commits

Author SHA1 Message Date
Hajime Hoshi
0c19b8d7ae ebitenutil: typo 2022-09-24 13:53:10 +09:00
Hajime Hoshi
96e3b06a0c ebitenutil: fix typo
Closes #2194
2022-07-11 12:22:56 +09:00
Filip Piwowarczyk
a249296723
ebitenutil: add DrawCircle (#2175)
Closes #2163
2022-07-03 18:31:57 +09:00
Hajime Hoshi
e687865c8c ebiten: add ColorM.ScaleWithColor
Updates #1944
2022-01-10 17:36:46 +09:00
Hajime Hoshi
040fcd930f Revert "Revert 2 commits using ColorM cache"
This reverts commit dd7a8bc497.

Reason: DrawTriangles worked fine for the reporter's purpose.

Updates #1655
2021-05-30 15:17:11 +09:00
Hajime Hoshi
dd7a8bc497 Revert 2 commits using ColorM cache
This reverts commit 87c8625692.
This reverts commit a6dd6196b4.

Reason: Performance regression (#1655)

Closes #1655
2021-05-30 03:10:00 +09:00
Hajime Hoshi
87c8625692 Remove internal/colormcache 2021-01-28 03:28:29 +09:00
Hajime Hoshi
569964d7e4 Cache SubImage for the empty images 2021-01-25 01:31:18 +09:00
Hajime Hoshi
fa53160e18 mipmap: Stop using negative mipmaps
Negative mipmaps tend to allocate extremely big images.

Instead, encourage to use images with explicit padding when enlarging
the image.

Fixes #1400
2020-10-31 02:52:40 +09:00
Hajime Hoshi
c6053bcf14 ebiten: Remove the error returning value from NewImage
Updates #1380
2020-10-06 00:48:56 +09:00
Hajime Hoshi
54da0d9763 ebiten: Remove the returning value from (*Image).DrawImage
Updates #1380
2020-10-06 00:21:17 +09:00
Hajime Hoshi
c2ee8e8d59 ebiten: Remove returning values from (*Image).Clear and Fill
Updates #1380
2020-10-06 00:08:55 +09:00
Hajime Hoshi
fe97e7b0a5 ebiten: Remove the filter argument from NewImage and NewImageFromImage
Updates #503
2020-10-05 01:40:44 +09:00
Hajime Hoshi
bf515bb594 Update version to v2.0.0-alpha 2020-10-04 04:30:40 +09:00
Hajime Hoshi
780465b702 ebitenutil: Cache ColorM and reuse them at DrawRect
Fixes #1221
2020-06-29 22:35:28 +09:00
Hajime Hoshi
fc42af208d graphics: Use 1x1 image for empty images
This change leaves some empty images for DrawTriangles.
2019-07-30 23:11:06 +09:00
Hajime Hoshi
d9571c7e32 ebitenutil: Use the default filter 2018-03-04 22:45:47 +09:00
Hajime Hoshi
6bbf6c53ce ebitenutil: Give up using linear filter for lines
The edges of a source texture would be unexpectable with linear filterling
2017-12-03 23:41:05 +09:00
Hajime Hoshi
95906e9630 ebitenutil: Bug fix: line should use linear filter 2017-12-03 23:12:02 +09:00
Hajime Hoshi
d832f1e3cb ebitenutil: emptyImage should use nearest filter 2017-12-03 23:08:58 +09:00
Hajime Hoshi
3cf5ca4df3 doc: Improve comments 2017-10-08 03:14:33 +09:00
Hajime Hoshi
93173506f5 ebitenutil: English 2017-08-14 00:45:10 +09:00
Hajime Hoshi
abd8cb7759 ebitenutil: Add DrawLine and DrawRect
Add new APIs DrawLine and DrawRect mainly for debugging or prototyping purpose. Also add examples/shapes.
2017-08-14 00:16:32 +09:00