Commit Graph

3049 Commits

Author SHA1 Message Date
Hajime Hoshi
23c2fc0134 Revert "graphics: Remove type assertion"
This reverts commit ff331d031a.

Compile error
2018-03-21 16:48:51 +09:00
Hajime Hoshi
ff331d031a graphics: Remove type assertion 2018-03-21 16:45:57 +09:00
Hajime Hoshi
1b286198d1 docs: Update docs 2018-03-21 14:49:15 +09:00
Hajime Hoshi
cf6bfdda3c docs: Fix playground snippets 2018-03-21 14:38:42 +09:00
Hajime Hoshi
61005e3d4b docs: Update 2018-03-21 14:34:48 +09:00
Hajime Hoshi
f92a2748a4 graphics: Fix TestImageCompositeModeLighter 2018-03-21 03:42:58 +09:00
Hajime Hoshi
09166a6c42 graphics: Fix shaders cleaner way 2018-03-21 03:36:36 +09:00
Hajime Hoshi
dbdae667f8 graphics: Temporary hack to pass tests on TravisCI 2018-03-21 03:10:15 +09:00
Hajime Hoshi
0a5deab0a2 graphics: Reland Bug fix: More strict calculation for the nearest filter (#558)
Better version of bae8f9d874
2018-03-21 02:40:26 +09:00
Hajime Hoshi
b8025d06f8 opengl: Specify texture wrap (CLAMP_TO_EDGE) 2018-03-21 02:27:11 +09:00
Hajime Hoshi
b157f2d6d0 Revert "graphics: Bug fix: More strict calculation for the nearest filter (#558)"
This reverts commit bae8f9d874.

Reason: TravisCI failed
2018-03-20 04:16:37 +09:00
Hajime Hoshi
a40dc5cf22 graphics: Refactoring shader 2018-03-20 04:05:09 +09:00
Hajime Hoshi
bae8f9d874 graphics: Bug fix: More strict calculation for the nearest filter (#558) 2018-03-20 04:05:03 +09:00
Hajime Hoshi
aaa603dd08 Revert "Revert "shareable: Avoid unneeded extending images""
This reverts commit 96b9f09058.

Fixes #561
2018-03-20 02:15:49 +09:00
Hajime Hoshi
3e929de08a shareable: Revert extending images
Fixes #562
2018-03-20 02:14:04 +09:00
Hajime Hoshi
be4e3ab801 restorable: Bug fix: partial ReplacePixels broke the image state (#562) 2018-03-20 02:14:00 +09:00
Hajime Hoshi
9d37221743 restorable: Refactoring 2018-03-19 23:55:06 +09:00
Hajime Hoshi
927a4388b5 graphics: Bug fix: rounding texels is required even on the nearest filter
Fixes #558
2018-03-19 10:37:18 +09:00
Hajime Hoshi
d421648e57 shareable: Bug fix: workaround to fix #562 by disabling extending 2018-03-19 03:26:31 +09:00
Hajime Hoshi
c6cd672536 examples/contextlost: Extend the shared backend texture on purpose 2018-03-19 03:16:52 +09:00
Hajime Hoshi
96b9f09058 Revert "shareable: Avoid unneeded extending images"
This reverts commit ce4e00ff79.

Reason: #560
2018-03-19 02:28:17 +09:00
Hajime Hoshi
b5d065151a restorable: Don't flatten vertices until actually needed 2018-03-18 23:54:45 +09:00
Hajime Hoshi
de3a8d8893 restorable: Remove comments 2018-03-18 18:14:11 +09:00
Hajime Hoshi
200ddbd509 Add Siim to AUTHORS 2018-03-17 22:37:50 +09:00
Siim Põder
020ce7b4eb fix typo (#557) 2018-03-17 22:36:53 +09:00
Hajime Hoshi
5ec5cf2450 ui: Add comments 2018-03-17 18:34:20 +09:00
Hajime Hoshi
526fbd3619 ui: Implement SetWindowDecorated and IsWindowDecorated
Fixes #430.
2018-03-17 18:30:55 +09:00
Hajime Hoshi
ce4e00ff79 shareable: Avoid unneeded extending images 2018-03-17 17:41:36 +09:00
Hajime Hoshi
d8ba49eaab examples/blocks: Fix initializing fonts not to depend on init() order
https://golang.org/ref/spec#Package_initialization
It is expected that init() is executed in file name order,
but this is not 100%.
2018-03-17 01:56:32 +09:00
Hajime Hoshi
530041b4f2 examples: Remove HTMLs 2018-03-17 01:42:48 +09:00
Hajime Hoshi
93b2fab95b examples: Add comment to explain about files 2018-03-16 12:05:53 +09:00
Hajime Hoshi
e7925a12bd shareable: Refactoring 2018-03-16 01:21:33 +09:00
Hajime Hoshi
9092ec083d text: Remove uniqFace for performance
Fixes #554. Add comments for #498.
2018-03-15 23:00:23 +09:00
Hajime Hoshi
1b35bbec9a test: Simplify code to get a test image 2018-03-15 03:48:32 +09:00
Hajime Hoshi
1b0e71765f internal/hooks: Rename Update -> BeforeUpdate 2018-03-15 02:50:10 +09:00
Hajime Hoshi
e085f511ec examples: Remove _server
Use gopherjs serve --tags=example instead
2018-03-15 01:44:04 +09:00
Hajime Hoshi
eecb04eaea examples: Add jsgo build tag experimentally 2018-03-15 01:26:21 +09:00
Hajime Hoshi
5fc190013a examples/airship: Improve z values 2018-03-15 01:17:07 +09:00
Hajime Hoshi
2555e3f226 examples: Use embedded resources (#552) 2018-03-15 01:16:41 +09:00
Hajime Hoshi
908ff43d2e examples/platformer: Use embedded resources (#552) 2018-03-15 00:21:16 +09:00
Hajime Hoshi
d5d577c733 examples/blocks: Use embedded resources (#552) 2018-03-14 12:19:05 +09:00
Hajime Hoshi
08beed4306 examples/keyboard: Use image.Decode instead of png.Decode 2018-03-14 12:11:11 +09:00
Hajime Hoshi
0ad12e65df examples: Remove build tags from sub-packages 2018-03-14 04:13:54 +09:00
Hajime Hoshi
420c4306d0 examples/keyboard: Embed keyboard.png (#552) 2018-03-14 04:04:29 +09:00
Hajime Hoshi
b08f259674 examples/resources: Add more resources (#552) 2018-03-14 03:50:56 +09:00
Hajime Hoshi
cff14cbbd4 example: Embed resources (#552) 2018-03-14 03:13:46 +09:00
Hajime Hoshi
7061024ece examples/keyboard: Use os.Open instead of ebitenutil.OpenFile 2018-03-14 03:13:46 +09:00
Hajime Hoshi
c289b13a91 examples/2048: Bug fix: Tests didn't work 2018-03-14 03:13:46 +09:00
Hajime Hoshi
c925b9de55 Use the latest file2byteslice 2018-03-14 01:57:52 +09:00
Hajime Hoshi
adf35a4b49 examples: Remove game.ogg 2018-03-14 01:27:01 +09:00