Commit Graph

2741 Commits

Author SHA1 Message Date
Hajime Hoshi
d4b8b99784 ui: Bug fix: return is needed for Edge case
Fixes #507
2018-02-21 21:53:49 +09:00
Hajime Hoshi
9f4455a65c docs: Update README 2018-02-20 02:22:04 +09:00
Hajime Hoshi
e8d5c59e65 ebitenutil: Update doc 2018-02-20 02:02:30 +09:00
Hajime Hoshi
30e48d5c3c graphics: Stop unnecessary copy of elements (projection matrix) 2018-02-20 01:36:56 +09:00
Hajime Hoshi
40b1948baa graphics: Stop unnecessary copy of elements 2018-02-20 01:17:21 +09:00
Hajime Hoshi
f1f7e5bcec affine: Transpose ColorM implementation for optimization 2018-02-20 00:53:53 +09:00
Hajime Hoshi
9b361086d7 affine: Use float32 inside of ColorM 2018-02-20 00:33:56 +09:00
Hajime Hoshi
f500acde4c affine: Remove println 2018-02-19 02:50:35 +09:00
Hajime Hoshi
2db1753503 opengl: Remove struct usages to avoid copying (texture) 2018-02-19 02:49:00 +09:00
Hajime Hoshi
f85c846596 opengl: Remove invalidFramebuffer and use nil instead 2018-02-19 02:22:05 +09:00
Hajime Hoshi
1154fcf470 opengl: Remove unused casts 2018-02-19 02:20:28 +09:00
Hajime Hoshi
2936ea5080 opengl: Remove struct usages to avoid copying (framebuffer) 2018-02-19 02:18:56 +09:00
Hajime Hoshi
9400720ddf opengl: Remove struct usages to avoid copying (shader) 2018-02-19 02:06:06 +09:00
Hajime Hoshi
9dc68289b8 opengl: Remove struct usages to avoid copying (buffer) 2018-02-19 02:03:01 +09:00
Hajime Hoshi
c6cf8e5184 opengl: Remove struct usages to avoid copying (program) 2018-02-19 01:45:03 +09:00
Hajime Hoshi
2fbfd0bdcb opengl: Remove struct usages to avoid copying 2018-02-19 01:38:17 +09:00
Hajime Hoshi
896a47b2ee affine: Reduce copying cost of GeoM 2018-02-18 23:39:24 +09:00
Hajime Hoshi
c79b795e84 text: Cache GlyphAdvance result 2018-02-18 21:38:48 +09:00
Hajime Hoshi
e7f1623001 inpututil: Bug fix: Init prevTouchStates 2018-02-17 04:07:16 +09:00
Hajime Hoshi
d3f573523a inpututil: Add IsTouchJustReleased (#504) 2018-02-17 03:58:19 +09:00
Hajime Hoshi
a7fafc74e7 examples/gamepad: Add usage of inpututil 2018-02-17 03:52:16 +09:00
Hajime Hoshi
debe4735cd inpututil: Add IsGamepadButtonJustReleased (#504) 2018-02-17 03:52:05 +09:00
Hajime Hoshi
381aab0a91 inpututil: Add comments about concurrent safety 2018-02-17 03:12:58 +09:00
Hajime Hoshi
87f207d862 inpututil: Add IsKeyJustReleased and IsMouseButtonJustReleased (#504) 2018-02-17 03:10:53 +09:00
Hajime Hoshi
ed9de264f0 docs: Add filter example 2018-02-14 10:38:26 +09:00
Hajime Hoshi
cf333775f2 Add examples/filter 2018-02-14 03:07:17 +09:00
Hajime Hoshi
aa39c12d28 docs: Update 2018-02-14 03:00:08 +09:00
Hajime Hoshi
5ed5cceb43 examples: Use FilterDefault (#453) 2018-02-14 03:00:00 +09:00
Hajime Hoshi
6ef4bbde2d graphics: Add FilterDefault; Make DrawImageOptions specify Filter (#453) 2018-02-14 02:59:44 +09:00
Hajime Hoshi
929dfa1cfb affine: Implement ColorM.Add for backward compatibility: Don't use this anyway 2018-02-13 03:06:19 +09:00
Hajime Hoshi
f5a283effd ebitenutil: Add comments 2018-02-12 23:54:31 +09:00
Hajime Hoshi
31ae457a8c text: Refactoring 2018-02-12 22:24:25 +09:00
Hajime Hoshi
cc423c276d ui: Avoid creating empty slice at Touches 2018-02-12 20:23:24 +09:00
Hajime Hoshi
7d9b901ab3 ui: Avoid creating empty slice at GamepadIDs 2018-02-12 20:20:39 +09:00
Hajime Hoshi
57dd7db893 text: Use uint32 for map keys instead of color.Color interface 2018-02-12 19:32:21 +09:00
Hajime Hoshi
95480d0644 affine: Separate ColorM impl into two slices
This fix avoids unnecessary allocating arrays.
2018-02-12 19:01:01 +09:00
Hajime Hoshi
d70e703d5e examples/blocks: Bug fix: alpha should not be translated 2018-02-12 18:45:12 +09:00
Hajime Hoshi
eaaa714705 examples/block: Remove deprecated API ColorM.Add 2018-02-12 18:42:56 +09:00
Hajime Hoshi
3da09c493a affine: Remove ebiten.Monochrome usages 2018-02-12 18:20:09 +09:00
Hajime Hoshi
c4f02ac07c text: Limit color matrices cache size 2018-02-12 04:07:59 +09:00
Hajime Hoshi
12cef4d27e text: Cache color matrices for performance 2018-02-12 03:33:11 +09:00
Hajime Hoshi
9118772fd1 text: Optimization for browsers 2018-02-12 02:57:51 +09:00
Hajime Hoshi
950219f5b6 text: Remove font struct 2018-02-12 00:57:01 +09:00
Hajime Hoshi
8c1a8b64eb text: Avoid copying structs for browsers 2018-02-12 00:42:35 +09:00
Hajime Hoshi
da51377cc5 text: Optimize speed: Don't use a struct for map keys
Especially for browsers
2018-02-12 00:25:21 +09:00
Hajime Hoshi
a5f9382878 text: Refactoring 2018-02-11 16:17:59 +09:00
Hajime Hoshi
05671e784b text: Reuse font.Face instances if they are DeepEqual-ly same (#498) 2018-02-11 16:05:31 +09:00
Hajime Hoshi
fb7dc53031 ebitenutil: More agressive compression 2018-02-11 04:25:31 +09:00
Hajime Hoshi
0fefd59b24 ebitenutil: Use png2compressedrgba 2018-02-11 04:13:17 +09:00
Hajime Hoshi
e3b99dd081 ebitenutil: Remove RecordScreenAsGIF implementation (#500) 2018-02-11 03:36:45 +09:00