Commit Graph

2992 Commits

Author SHA1 Message Date
Hajime Hoshi
5590cdc073 doc: Update 2048 2018-01-19 12:17:46 +09:00
Hajime Hoshi
f1cb294913 examples/2048: high resolution 2018-01-19 12:12:29 +09:00
Hajime Hoshi
6334320762 examples/2048: Use M+ font 2018-01-19 12:07:34 +09:00
Hajime Hoshi
d4796cd3bf examples/flood: Simplify logic 2018-01-19 03:17:14 +09:00
Hajime Hoshi
efdb845328 Rename examples/fill -> flood 2018-01-19 03:15:34 +09:00
Hajime Hoshi
5f0471273d Add examples/fill 2018-01-19 00:50:27 +09:00
Hajime Hoshi
8f32d34536 Fix path in .travis.yml 2018-01-14 16:21:08 +09:00
Hajime Hoshi
a49fb7fcdf Add gofmt test to .travis.yml 2018-01-14 16:18:09 +09:00
Hajime Hoshi
406edf28c2 graphics: Use 0.0 instead of type conversion; gofmt 2018-01-14 16:05:18 +09:00
Hajime Hoshi
abc20ca160 Add seebs@ to AUTHORS 2018-01-14 16:04:13 +09:00
seebs
0b7ba8e573 Do GeoM projection on CPU (#477)
Handling GeoM projection on CPU may seem like a weird choice, given
how fast GPU is, but it pays off:

* You only have to do a very small subset of the actual matrix
  multiply.
* You don't have to construct a matrix in the vertex shader.
* Six fewer float32 values per vertex.
* You do still have to do the matrix computation for each vertex,
  though.

Signed-off-by: Seebs <seebs@seebs.net>
2018-01-14 16:01:55 +09:00
Hajime Hoshi
38c72faf95 ui: Deprecate SetCursorVisibility and add SetCursorVisible (#407) 2018-01-09 02:01:33 +09:00
Hajime Hoshi
5c55df87d7 audio: Deprecate Size() and add Length() (#466) 2018-01-09 01:25:38 +09:00
Hajime Hoshi
ef282f7f4f audio/internal/convert: Remove unused functions 2018-01-09 00:26:54 +09:00
Hajime Hoshi
e83810fc57 audio/internal/convert: Add resampling_test.go
Fixes #369
2018-01-08 23:44:44 +09:00
Hajime Hoshi
2dab8ccc6e examples/piano: Refactoring 2018-01-08 22:44:15 +09:00
Hajime Hoshi
b30703eb00 examples/piano: Refactoring 2018-01-08 22:18:19 +09:00
Hajime Hoshi
8b2dfdb3e7 examples: Use iframe to show example
Fixes #475
2018-01-08 03:08:19 +09:00
Hajime Hoshi
d8c0d88960 clock: Add comments 2018-01-07 21:12:25 +09:00
Hajime Hoshi
1e33cbb66f clock: Remove limitation of the number of frames to be updated 2018-01-07 20:20:02 +09:00
Hajime Hoshi
d5d5ebb0b3 clock: Make ProceedAudioTimer take a number of frames 2018-01-07 18:32:19 +09:00
Hajime Hoshi
d12a3d4073 clock: Refactoring 2018-01-07 17:10:56 +09:00
Hajime Hoshi
0b3495b81f audio: Use mock sync on browsers 2018-01-07 15:26:18 +09:00
Hajime Hoshi
0a911b28b2 ui: Remove unneeded variable deviceScale 2018-01-07 14:51:25 +09:00
Hajime Hoshi
34d2e9a3fb ui: Remove unused function 2018-01-07 05:25:29 +09:00
Hajime Hoshi
b62df75e36 graphics: Don't update the screen when not necessary 2018-01-07 03:13:13 +09:00
Hajime Hoshi
0469ef386b ui: Fix comment 2018-01-06 23:53:35 +09:00
Hajime Hoshi
61646e5d03 Refactoring: Remove updater 2018-01-06 23:30:11 +09:00
Hajime Hoshi
364823e70c doc: Add link to 'Works' 2018-01-06 22:09:04 +09:00
Hajime Hoshi
a76d564147 docs: Update 2018-01-06 02:59:32 +09:00
Hajime Hoshi
407cc6a0e2 doc: Bug fix: example resources are generately at a wrong place 2018-01-06 02:57:33 +09:00
Hajime Hoshi
11a1e6ec39 audio/internal/convert: Adjust window size again (confirmed this worked well on iPhone 6) 2018-01-06 01:49:55 +09:00
Hajime Hoshi
5b2dbf6036 audio/internal/convert: Adjust resamplingBufferSize again 2018-01-06 01:46:54 +09:00
Hajime Hoshi
ab70f6fc58 audio/internal/convert: Much faster sine/cosine functions 2018-01-06 00:15:07 +09:00
Hajime Hoshi
005d18ceff audio/internal/convert: Use int64 (now it is fast enough on browsers?) 2018-01-05 20:03:17 +09:00
Hajime Hoshi
c020101afc audio/internal/convert: Use cosine table 2018-01-05 19:40:12 +09:00
Hajime Hoshi
2884fb7070 audio/internal/convert: Fix algorithm 2018-01-05 18:21:14 +09:00
Hajime Hoshi
4bcb2e5682 devicescale: Rename XFCE -> Xfce 2018-01-04 17:16:02 +09:00
Hajime Hoshi
ee87a0fd71 devicescale: Add other desktops 2018-01-04 03:29:58 +09:00
Hajime Hoshi
75f5cbd45a devicescale: Rename windowManager -> desktop 2018-01-04 03:22:30 +09:00
Hajime Hoshi
60993fe3ea devicescale: Rename files 2018-01-04 03:19:19 +09:00
Hajime Hoshi
738d23cf51 devicescale: Bug fix: need to parse XDG_CURRENT_DESKTOP for GNOME classic 2018-01-04 00:55:53 +09:00
Hajime Hoshi
70f9fee8af devicescale: Detect window manager 2018-01-04 00:01:41 +09:00
Hajime Hoshi
eac5564342 devicescale: Fix scaling on UNIX 2018-01-03 23:38:47 +09:00
Hajime Hoshi
9ec0785203 Rename files _xwindow.go to _unix.go 2018-01-03 23:38:47 +09:00
Hajime Hoshi
edaaa178b8 devicescale: Implement scaling for Gnome and Cinnamon (#344) 2018-01-03 23:36:33 +09:00
Hajime Hoshi
91105420fb Add example/highdpi 2018-01-03 20:58:45 +09:00
Hajime Hoshi
dc75e69d1e ui: Rename DeviceScale -> DeviceScaleFactor 2018-01-03 19:23:29 +09:00
Hajime Hoshi
a64367f906 ui: Refactoring: remove an unneeded member 2018-01-03 17:35:34 +09:00
Hajime Hoshi
5dfb361aca doc: Fix DeviceScale comment 2018-01-03 16:56:23 +09:00