Hajime Hoshi
06f2052817
Add graphics package and move Filter to graphics
2018-10-28 20:25:52 +09:00
Hajime Hoshi
2da5192510
Rename graphics -> graphicscommand
2018-10-28 20:10:05 +09:00
Hajime Hoshi
3349a2c520
graphics: Add comments
2018-10-28 19:41:39 +09:00
Hajime Hoshi
781554ecb9
graphics: Refactoring
2018-10-28 19:35:01 +09:00
Hajime Hoshi
710f56531f
graphics: Experimental: (*image.Image).SubImage
...
Fixes #722
2018-10-28 02:19:14 +09:00
Hajime Hoshi
41877bba0b
graphics: Add image state check at DrawTriangles
2018-10-28 01:43:28 +09:00
Hajime Hoshi
170f0fcaa9
graphics: Refactoring
2018-10-28 01:39:58 +09:00
Hajime Hoshi
5f04f05cb1
graphics: Add comments
2018-10-26 03:29:20 +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
58f4feda8d
graphics: Refactoring (preparing SubImage)
2018-10-25 12:48:24 +09:00
Hajime Hoshi
765af5a7af
gofmt -s -w
2018-10-25 12:47:27 +09:00
Hajime Hoshi
ce60f44490
graphics: Add (*mipmap).original()
2018-10-25 02:11:54 +09:00
Hajime Hoshi
15cad6ed9a
graphics: Rename shareableImages -> mipmap
2018-10-25 02:05:25 +09:00
Hajime Hoshi
022c40aa17
graphics: Move creating mipmap logic to shareableImages
2018-10-25 01:35:34 +09:00
Hajime Hoshi
4cd3e3ae30
Update go.mod/go.sum
2018-10-24 01:16:17 +09:00
Hajime Hoshi
7494b19dea
graphics: Refactoring: Add shareableImages struct
2018-10-24 01:09:59 +09:00
Hajime Hoshi
68199f85c9
docs: Update
2018-10-18 23:19:18 +09:00
Hajime Hoshi
057c16e4eb
Update go.mod
2018-10-18 23:16:40 +09:00
Hajime Hoshi
7cf85abb86
docs: Use transparent background at example iframes
2018-10-17 02:51:17 +09:00
Hajime Hoshi
6bc6c6674f
docs: Update
2018-10-16 00:47:29 +09:00
Hajime Hoshi
2c9a634752
Update version to 1.9.0-alpha
2018-10-16 00:19:04 +09:00
Hajime Hoshi
d14202ef7b
audio: Add Context.IsReady
...
Fixes #717
2018-10-16 00:02:19 +09:00
Hajime Hoshi
b6f7a0043c
examples/windowsize: Show DeviceScaleFactor
2018-10-14 19:15:26 +09:00
Hajime Hoshi
7e29a81177
ui: Refactoring
2018-10-14 18:28:27 +09:00
Hajime Hoshi
443e3ae3a4
examples/windowsize: Bug fix: Strange delta of window size
2018-10-14 17:34:02 +09:00
Hajime Hoshi
0c4ef7ee8e
ui: Bug fix: fix the initial window position on multiple monitors
2018-10-14 16:59:14 +09:00
Hajime Hoshi
13174cdb22
examples/flappy: Should use fullscreen on Wasm
2018-10-14 01:21:13 +09:00
Hajime Hoshi
56541a8c0a
examples/blocks: Fix message
2018-10-14 00:55:27 +09:00
Hajime Hoshi
b56061281d
ui: Add comments
2018-10-13 22:41:21 +09:00
Hajime Hoshi
a073f48faf
input: Bug fix: keypress event were not fired
...
This change suspends to 'preventDefault' on keydown events.
Now preventing navigation by pressing backspace is deprecated in
Chrome. For other keys, it looks like keyup's preventDefault is
enough to disable the browser default behavior.
2018-10-13 19:18:13 +09:00
Hajime Hoshi
d6e109555d
examples/blocks: Bug fix: multiple gamepad detection
2018-10-13 16:59:52 +09:00
Hajime Hoshi
8ed02efd28
examples/blocks: Improve gameover message
2018-10-13 16:59:52 +09:00
Hajime Hoshi
244e078810
examples/audioinfiniteloop: Fix message
2018-10-13 14:46:13 +09:00
Hajime Hoshi
faf32b9d37
devicescale: Plan 9 support
2018-10-13 04:08:40 +09:00
Hajime Hoshi
0fb33e7c36
examples/highdpi: Bug fix: doesn't work well on multiple monitors
2018-10-13 03:59:31 +09:00
Hajime Hoshi
7f291b7bb1
Fix screenshot/internal-images file names
2018-10-13 03:24:02 +09:00
Hajime Hoshi
f59f1990e7
docs: Reword GoDoc -> API
2018-10-13 01:12:47 +09:00
Hajime Hoshi
13aa4f69e0
docs: Update websites
2018-10-13 01:04:13 +09:00
Hajime Hoshi
f4ea5aef2e
docs: Update README
2018-10-13 00:52:34 +09:00
Hajime Hoshi
922ec70cf9
affine: Misspelling
2018-10-13 00:07:48 +09:00
Hajime Hoshi
1ac17862d4
docs: Fix about audio
2018-10-12 01:27:17 +09:00
Hajime Hoshi
9eac57f588
docs: Update
2018-10-12 01:25:49 +09:00
Hajime Hoshi
659f3ad8a0
examples/fullscreen: Fix offset
2018-10-12 01:11:14 +09:00
Hajime Hoshi
0509abfab6
examples: Use FilterDefault at NewImage
2018-10-12 00:40:48 +09:00
Hajime Hoshi
7e604c6890
input: Fix comments
2018-10-11 22:36:38 +09:00
Hajime Hoshi
6a9184dd63
ui: Add MonitorSize again
...
Fixes #711
2018-10-11 10:30:02 +09:00
Hajime Hoshi
b9328bf14d
graphics: Add tests for #710
2018-10-11 02:44:51 +09:00
Hajime Hoshi
5e09da1298
graphics: Bug fix: don't apply color matrix when creating mipmap images
...
TODO: Add tests.
Fixes #710
2018-10-11 02:34:07 +09:00
Hajime Hoshi
4813650735
docs: Add 'animation' example
2018-10-11 01:39:47 +09:00