Hajime Hoshi
a43efb66b2
shaderir: Bug fix: Function prototypes were required for GLSL
...
Fixes #1267
2020-07-28 00:04:03 +09:00
nanoslayer
5cf6c53418
Add build manifests for various Linux distributions ( #1257 )
...
This change adds various build manifests that will be used by sourcehut builds.
It tests the installation of Ebiten on the following distros:
* Alpine Linux
* Arch Linux
* Debian
* Fedora
* Ubuntu
Fixes #1147
2020-07-27 12:20:44 +09:00
Hajime Hoshi
52a5ea2d44
ebiten: More precise calculation for mipmap
2020-07-26 18:41:59 +09:00
Hajime Hoshi
a0197d4c2f
graphicsdriver/opengl: Bug fix: Build error on Android
...
Fixes #1266
2020-07-26 17:01:11 +09:00
Hajime Hoshi
ca3fd4eaa4
ebiten: Add texture[ID]Size functions for shaders
...
Fixes #1239
2020-07-26 15:18:01 +09:00
Hajime Hoshi
d08a04a635
ebiten: Refactoring
2020-07-26 15:05:00 +09:00
Hajime Hoshi
637afe6d67
mipmap: Skip mipmap calculation if possible
...
If we know we can skip mipmap calculation from GeoM, let's skip it.
Updates #1265
2020-07-26 12:25:03 +09:00
Hajime Hoshi
d017a1b95e
Swap the order of the dependencies 'buffered and 'mipmap'
2020-07-26 12:15:23 +09:00
Hajime Hoshi
71aec36ef3
graphics: Update comments
2020-07-26 01:11:11 +09:00
Hajime Hoshi
2fb5108bbe
shader: Rename viewportSize to textureDstSize
...
Updates #1239
2020-07-26 00:03:55 +09:00
Hajime Hoshi
c6282e1cfc
examples/polygons: Bug fix: Inserted an experimental code
2020-07-25 23:30:01 +09:00
Hajime Hoshi
968f077bab
ebiten: Enable to specify a shader to (*Image).DrawTriangles
2020-07-25 23:29:10 +09:00
Hajime Hoshi
2bdbcd724d
ebiten: Rename Draw*WithShader -> Draw*Shader
...
Updates #1168
2020-07-25 23:15:11 +09:00
Hajime Hoshi
eb056690aa
graphicsdriver/metal: Update the minimum macOS version to 10.12 for Go 1.15
2020-07-25 04:18:26 +09:00
Hajime Hoshi
5ec3113aa2
cmd/ebitenmobile: Enable to specify a local gomobile
2020-07-25 03:11:40 +09:00
Hajime Hoshi
f4fff5439e
Update Oto version
2020-07-25 02:17:52 +09:00
Hajime Hoshi
7afc242a13
Update gomobile version
2020-07-25 01:35:46 +09:00
Hajime Hoshi
ca3c74d88d
audio: Bug fix: Audio didn't work correctly after recovering from sleeping on macOS
...
Fixes #1259
2020-07-24 22:08:36 +09:00
Hajime Hoshi
0463160b15
audio: Mitigate the issue on recovering from sleep
...
Updates #1259
2020-07-24 19:39:10 +09:00
Hajime Hoshi
434c58e8b3
ebiten: Use the term 'sub-image' instead of subimage
2020-07-23 19:57:43 +09:00
Hajime Hoshi
75d34ab585
graphicsdriver/opengl: Forbids PBO on Raspberry Pi 4 ( #1261 )
...
Fixes #1208
2020-07-23 19:15:34 +09:00
Hajime Hoshi
96921668ca
ebiten: Move the definition DrawImageOptions
2020-07-23 18:55:19 +09:00
Hajime Hoshi
0123c0676a
ebiten: Fix comments
2020-07-23 17:14:36 +09:00
Hajime Hoshi
388e2623e8
ebiten: Merge DrawImage and DrawImageWithShader
...
Updates #1168
2020-07-23 17:08:35 +09:00
Hajime Hoshi
283de9b847
cmd/ebitenmobile: Enable to specify the package
...
If a package is not specified, the current directory (.) is adopted.
2020-07-22 00:51:47 +09:00
Hajime Hoshi
ec9863dfef
ebiten: Bug fix: Wrong argument type at DrawImageWithShader
2020-07-21 06:23:39 +09:00
Hajime Hoshi
a159f55520
examples/airship: Bug fix: z could be a too small number
...
Fixes #1256
2020-07-21 00:34:06 +09:00
Hajime Hoshi
911750c4a6
text: Add comments
2020-07-20 23:47:46 +09:00
Hajime Hoshi
65783489a5
ebiten: Panic when a sub-image is specified at DrawRectangleWithImage and DrawTrianglesWithShader
...
Updates #1168
2020-07-20 23:04:19 +09:00
Hajime Hoshi
63f83ceeaa
ebiten: Add DrawImageWithShader
...
Fixes #1168
2020-07-20 22:55:21 +09:00
Hajime Hoshi
c567a7b507
ebiten: Add DrawRectangleWithShader
...
Updates #1168
2020-07-20 22:48:22 +09:00
Hajime Hoshi
76534fcf5f
ebiten: Fix comments: a triangle -> triangles
2020-07-20 20:54:12 +09:00
Hajime Hoshi
1123cf46f9
ebiten: DrawTriangles is no longer experimental
2020-07-20 20:38:24 +09:00
Hajime Hoshi
e34bb20dcd
ebiten: Add comments for DrawTrianglesWithShader(Options)
2020-07-20 20:37:10 +09:00
Hajime Hoshi
bb1d08a681
shader: Remove the comments
2020-07-20 11:14:54 +09:00
Hajime Hoshi
1217db3b1e
ebiten: Remove user-defined vertex shaders
...
Fixes #1253
2020-07-20 10:07:55 +09:00
Hajime Hoshi
29d53edf1d
graphicsdriver/opengl: Bug fix: Rename the attribute variables along with custom shaders
2020-07-20 04:06:35 +09:00
Hajime Hoshi
c8fa937a0a
shaderir: Format
2020-07-20 02:12:31 +09:00
Hajime Hoshi
31a5905b8a
Add a badge for pkg.go.dev
2020-07-19 18:59:11 +09:00
Hajime Hoshi
a3f62559c6
examples/shader: Add lighting example
...
Fixes #1234
2020-07-19 15:42:35 +09:00
Hajime Hoshi
5506491c03
graphicsdriver/opengl: Bug fix: Binding the same texture multiple times did not work
...
Updates #1193
2020-07-19 04:34:53 +09:00
Hajime Hoshi
36e9803cea
shader: Enable to get pixels from multiple images
...
Updates #1193
2020-07-19 02:33:43 +09:00
Hajime Hoshi
5dd073fcbb
restorable, graphicscommand: Remove uniform variables
2020-07-19 01:55:01 +09:00
Hajime Hoshi
fe79bb27af
graphicscommand: Refactoring
2020-07-18 23:25:16 +09:00
Hajime Hoshi
d22026d366
ebiten: Better test values for CompositeModeMultiply
2020-07-18 21:57:02 +09:00
Hajime Hoshi
6ccb614b08
graphicsdriver/metal: Implement CompositeModeMultiply
...
Updates #410
2020-07-18 21:51:57 +09:00
Hajime Hoshi
3010476e9d
Add nanoslayer to AUTHORS
2020-07-18 21:40:34 +09:00
nanoslayer
72babcd420
ebiten: Add CompositeModeMultiply ( #1251 )
...
This change adds a new composite mode called `CompositeModeMultiply`,
which multiplies the source color with the destination color.
This is tested on Linux and Windows only.
Fixes #410
2020-07-18 21:37:17 +09:00
Hajime Hoshi
4bd3bc16ac
shader: Define special variables for textures __t%d
...
This eanbles to define texture0At to texture3At.
Updates #1193
2020-07-18 19:37:50 +09:00
Hajime Hoshi
e0d5763a60
shader: Use the fixed number of images for shaders
...
This changes uses arrays rather than slices in order to avoid heap
allocations.
Updates #1193
2020-07-18 18:27:47 +09:00