Commit Graph

5478 Commits

Author SHA1 Message Date
Hajime Hoshi
446d216da0 packing: Bug fix: Extend could create a too big page
Closes #1454
2020-12-31 17:35:26 +09:00
Hajime Hoshi
1be8c3fc16 uidriver/glfw: Bug fix: OpenGL was adopted unexpectedly on macOS Big Sur
Fixes #1429
2020-12-09 10:22:00 +09:00
Hajime Hoshi
68a5bcd066 Update Oto to v0.6.8
Fixes #1424
2020-11-29 13:01:25 +09:00
Hajime Hoshi
0527073264 uidriver/glfw: Bug fix: Do not iconify the fullscreen window automatically
Fixes #1405
2020-11-22 22:43:53 +09:00
Hajime Hoshi
d6c0cfe3ad ebiten: Bug fix: Compile error on the new tests
Updates #1399
2020-10-21 11:39:29 +09:00
Hajime Hoshi
dcdd1f287a mipmap: Bug fix: Too big scale tried to allocate too big images
Fixes #1399
2020-10-21 11:36:12 +09:00
Hajime Hoshi
02094c2bff mipmap: Bug fix: Scale could be Inf/0 and caused a forever loop
Fixes #1398
2020-10-21 11:01:21 +09:00
Hajime Hoshi
320282667f Update Oto to v0.6.6 2020-10-19 04:05:46 +09:00
Hajime Hoshi
3e0cf29a26 ebiten: Add an explicit type to CursorModeType consts for pkg.go.dev 2020-10-18 03:56:17 +09:00
Hajime Hoshi
ac6930f831 ebiten: Fix comments 2020-10-18 01:31:48 +09:00
Hajime Hoshi
fe558545c7 graphicsdriver/metal: Bug fix: Had to set the vsync state again at resetting
Fixes #1364
2020-10-14 01:58:36 +09:00
Hajime Hoshi
01be505f30 audio: Bug fix: Rare crash on macOS/iOS
Fixes #1386
2020-10-12 23:23:46 +09:00
Hajime Hoshi
57eab0f1a8 examples/gamepad: Bug fix: Misuse of indices and gamepad IDs 2020-10-08 01:14:14 +09:00
Hajime Hoshi
176e383de4 audio/wav: Fix a wrong comment 2020-10-07 23:23:12 +09:00
Hajime Hoshi
a440504c9e text: Bug fix: Draw didn't work correctly with non-integer glyph bounds
Fixes #1377
2020-10-03 23:08:40 +09:00
Hajime Hoshi
88aeca7392 text: Bug fix: Treat negative kernings correctly
Fixes #1378
2020-10-03 20:03:51 +09:00
Hajime Hoshi
f731c563e4 Add Bui Quoc Trong to AUTHORS 2020-09-29 22:03:21 +09:00
Bui Quoc Trong
985ee12164 Fix the comment style cause heading in pkgsite (#1369) 2020-09-29 22:03:11 +09:00
Hajime Hoshi
14fc77f776 ebiten: Add comments about shaders 2020-09-23 17:13:34 +09:00
Hajime Hoshi
dc2662e463 ebiten: Add links to documents/shader.html 2020-09-23 16:45:21 +09:00
Hajime Hoshi
acf589b1bd ebiten: Better comments about uniform variables 2020-09-23 16:25:02 +09:00
Hajime Hoshi
7386fa3bbc uidriver/glfw: Bug fix: Need to call updateVsync after setWindowSize
Fixes #1363
2020-09-22 18:48:05 +09:00
Hajime Hoshi
26768aa831 shaderir: Bug fix: Implement atan2 for Metal correctly
Fixes #1360
2020-09-22 04:30:38 +09:00
Hajime Hoshi
a3634e163a Update version to v1.12.0-rc.2 2020-09-21 21:07:32 +09:00
Hajime Hoshi
a95fbd6104 Update version to v1.12.0-rc.1 2020-09-21 20:44:11 +09:00
Hajime Hoshi
ee52c88e98 uidriver/glfw: Bug fix: Set the correct window size when going back from fullscreen 2020-09-21 19:20:58 +09:00
Hajime Hoshi
3fc328db8d uidriver/glfw: Adjust monitor sizes with math.Ceil
deviceScaleFactor() sometimes returns an unnice value (e.g.,
1.502361). Add math.Ceil whenever the calculation involves the
device scale factor.
2020-09-21 18:52:27 +09:00
Hajime Hoshi
8cb037e902 examples/gamepad: Sort gamepad ids when showing the states 2020-09-21 17:30:28 +09:00
Hajime Hoshi
f3ef2e2af5 Performance optimization for the path without a shader
Fixes #1355
2020-09-21 05:43:24 +09:00
Hajime Hoshi
cb73230301 graphics: Revive the special allocating method for vertices for Wasm
It looks like the allocation cost is pretty high even on Wasm.
Revive the special method not only on GopherJS but also on Wasm.

examples/sprites kept 30FPS without this fix, but keeps 35FPS with
this fix, on Hajime's MacBook Pro 2020 (macOS Catalina 10.15.6).

Updates #797
2020-09-21 04:21:21 +09:00
Hajime Hoshi
8d17ec837a shareable: Refactoring 2020-09-21 01:58:00 +09:00
Hajime Hoshi
138d9b8e47 shareable: Bug fix: Wrong offset calculation 2020-09-21 01:52:21 +09:00
Hajime Hoshi
9ac7a16333 examples/camera: Add limitations to the zoom factor 2020-09-21 01:13:00 +09:00
Hajime Hoshi
8803138464 examples/airship: Bug fix: Avoid too big scaling
Fixes #1353
2020-09-21 00:43:13 +09:00
Hajime Hoshi
14e324ceff Update bitmapfont 2020-09-21 00:13:58 +09:00
Hajime Hoshi
9906e4b882 go generate 2020-09-20 23:28:17 +09:00
Hajime Hoshi
bd3d2b3394 Update dependencies (gopkg.in/check.v1) 2020-09-20 22:23:42 +09:00
Hajime Hoshi
5685952664 Update dependencies 2020-09-20 22:11:27 +09:00
Hajime Hoshi
b2f6cc5791 ebiten: Revive DrawTrianglesShader
Updates #1325
2020-09-20 18:55:24 +09:00
Hajime Hoshi
938d78122f ebiten: Remove shaders from DrawImage
Updates #1325
2020-09-20 18:14:01 +09:00
Hajime Hoshi
0db7dc22b2 ebiten: Allow SubImage at DrawTriangles 2020-09-20 05:10:08 +09:00
Hajime Hoshi
41564533f9 ebiten: Allow SubImage at DrawRectShader 2020-09-20 04:48:10 +09:00
Hajime Hoshi
f287fada13 ebiten: Update comments 2020-09-20 01:05:16 +09:00
Hajime Hoshi
7bd8fad738 ebiten: Add TestShaderFillWithDrawTriangles 2020-09-20 00:49:57 +09:00
Hajime Hoshi
85a6ef2ea6 ebiten: Add comments 2020-09-19 21:07:23 +09:00
Hajime Hoshi
e406ebb1aa ebiten: Rename imageSrcTextureRegion -> imageSrcRegionOnTexture
Updates #1325
2020-09-19 19:36:53 +09:00
Hajime Hoshi
1d51be7f68 ebiten: Merge DrawTriangles and DrawTrianglesShader
Updates #1325
2020-09-19 19:18:02 +09:00
Hajime Hoshi
9f7d6962ff ebiten: Rename shader functions to get colors from textures
Updates #1325
2020-09-19 19:01:05 +09:00
Hajime Hoshi
b52de27d49 ebiten: Refactoring shader.go 2020-09-19 17:35:43 +09:00
Hajime Hoshi
28ce1fc3fb uidriver/glfw: Bug fix: Compile failure 2020-09-19 01:32:33 +09:00