Hajime Hoshi
d8b34b136a
Add cmd/ebitenmonogame
...
Fixes #1144
2020-04-24 20:48:01 +09:00
Hajime Hoshi
cfe1aa1191
monogame: Add a variable for a namespace that will be overwritten
2020-04-24 16:46:56 +09:00
Hajime Hoshi
edc58a2c9d
cmd/ebitenmobile: Bug fix: Specifying arches did not work
...
-target value should have been parsed correctly.
Fixes #1142
2020-04-23 12:37:12 +09:00
Hajime Hoshi
9b8c547342
graphicscommand: Do not flush (glFlush) when commands are empty
...
Fixes #1140
2020-04-23 00:51:28 +09:00
Hajime Hoshi
56ae207d2a
cmd/ebitenmobile: Bug fix: -ldflags did not work correctly
...
Fixes #1139
2020-04-23 00:26:08 +09:00
Hajime Hoshi
9c1b99bd26
examples/audioinfiniteloop: Fix a wrong comment
2020-04-22 21:57:15 +09:00
Hajime Hoshi
7ad3343e9c
graphicsdriver/monogame: Implement Pixels
...
Updates #1078
2020-04-22 02:23:16 +09:00
Hajime Hoshi
33e850a6d4
driver: Bug fix: (Key).String might cause infinite loop
2020-04-22 00:32:35 +09:00
Hajime Hoshi
2e49ed5402
audio: Add a mock implementation for MonoGame
...
Updates #1078
2020-04-21 23:59:41 +09:00
Hajime Hoshi
0e75540f8e
monogame: Add IsKeyPressed
...
Updates #1078
2020-04-21 22:48:57 +09:00
Hajime Hoshi
ea99743e0d
driver: Add (Key).String()
2020-04-21 22:43:53 +09:00
Hajime Hoshi
a190569e23
Update Go to 1.14.2 in .travs.yml
2020-04-21 02:44:44 +09:00
Hajime Hoshi
691e42f806
graphicsdriver/monogame: Bug fix: An underlying image size should be adjusted
2020-04-21 02:43:47 +09:00
Hajime Hoshi
29ef737413
examples/gamepad: Use RunGame
...
Updates #1111
2020-04-20 01:36:12 +09:00
Hajime Hoshi
ff271493e2
examples/fullscreen: Use RunGame
...
Updates #1111
2020-04-20 01:10:05 +09:00
Hajime Hoshi
81159b8538
ebiten: Skip some slow tests on GopherJS
...
Fixes #1138
2020-04-19 02:09:02 +09:00
Hajime Hoshi
bbf9b219ec
buffered: Skip mutex at ReplacePixels when possible
...
Updates #1137
2020-04-19 00:18:19 +09:00
Hajime Hoshi
3550abef7a
shareable: Replace At with Pixels
...
This change replaces the API At with Pixels to reduce mutex locks.
Updates #1137
2020-04-18 21:05:51 +09:00
Hajime Hoshi
bbeb0d14e6
buffered: Defer filling an image
...
This change defers filling an image so that successive fillings
can be merged into one for more efficient rendering.
Fixes #1134
2020-04-18 02:11:25 +09:00
Hajime Hoshi
514c3faebd
buffered: Remove unnecessary line and add comments
2020-04-17 21:50:42 +09:00
Hajime Hoshi
b9e0b5f04b
graphicsdriver/monogame: Change the V direction
2020-04-17 21:36:59 +09:00
Hajime Hoshi
1d701577d6
buffered: Use the pending pixels when possible at At
...
(*Image).At can be unnecessarily slow since this tries to get
pixels from GPU. This change reduces the chance to read GPU by
using its pending pixels when possible.
Fixes #1137
2020-04-17 21:34:49 +09:00
Hajime Hoshi
4dad044ad1
monogame: Update
...
Updates #1078
2020-04-16 01:10:16 +09:00
Hajime Hoshi
de02bcf19f
monogame: Update
...
Updates #1078
2020-04-14 03:23:54 +09:00
Hajime Hoshi
de8707f6a1
examples/highdpi: Use RunGame
...
Updates #1111
2020-04-12 20:49:52 +09:00
Hajime Hoshi
6529629d29
examples: Use RunGame
...
Updates #1111
2020-04-12 20:30:51 +09:00
Hajime Hoshi
7b77164710
restorable: Ignore the error when restoring failed due to being not ready
...
(driver.Graphics).BeginFrame tries to restore the images, but
the context might be lost at that time yet. If the attempt to
restore the context because the driver is not ready, return
silently.
Fixes #1133
2020-04-12 20:01:18 +09:00
Hajime Hoshi
e16a4cd85c
examples: Use RunGame
...
Updates #1111
2020-04-12 19:03:04 +09:00
Hajime Hoshi
cd4a0ba489
examples/rotate: Use RunGame
...
Updates #1111
2020-04-12 18:05:35 +09:00
Hajime Hoshi
d0115f61ae
graphicsdriver/monogame: Bug fix: Wrong viewport values
2020-04-11 18:56:50 +09:00
Hajime Hoshi
8b78855462
docs: Update README
2020-04-09 13:21:14 +09:00
Hajime Hoshi
8adadccea0
docs: Update the overview image for 1.11
...
Fixes #1131
2020-04-09 02:51:14 +09:00
Hajime Hoshi
3437f35444
graphicscommand: Fix debug messages
2020-04-08 13:48:22 +09:00
Hajime Hoshi
f0c2c0e8e9
monogame: Set viewports
...
Updates #1078
2020-04-06 02:36:15 +09:00
Hajime Hoshi
7f64043ba5
monogame: Implement drawing screens
...
Updates #1078
2020-04-06 01:51:06 +09:00
Hajime Hoshi
7dd9150b86
monogame: Implement Draw temporarily
...
Updates #1078
2020-04-06 00:13:08 +09:00
Hajime Hoshi
44088cf14e
monogame: Implement SetVertices
...
Updates #1078
2020-04-05 23:26:45 +09:00
Hajime Hoshi
08ac91fb50
monogame: Refactoring
2020-04-05 20:00:53 +09:00
Hajime Hoshi
3a5f0a7a95
graphicsdriver/monogame: Implement some functions
...
Updates #1078
2020-04-05 17:36:26 +09:00
Hajime Hoshi
fa90e48eec
graphicscommand: Show the number of indices when dumping the command
2020-04-05 14:38:54 +09:00
Hajime Hoshi
57a5783ca0
graphicsdriver/monogame: Implement ReplacePixels
...
Updates #1078
2020-04-05 04:44:48 +09:00
Hajime Hoshi
8809076682
graphicsdriver/monogame: Create a RenderTarget2D for an image
...
Updates #1078
2020-04-04 22:59:55 +09:00
Hajime Hoshi
6236ba1f00
Add internal/monogame
...
Updates #1078
2020-04-04 22:59:13 +09:00
Hajime Hoshi
eabe4152a7
graphicsdriver/opengl: Rename Driver -> Graphics
2020-04-04 17:23:38 +09:00
Hajime Hoshi
01d1afa25c
graphicsdriver/metal: Rename Driver -> Graphics
2020-04-04 17:12:24 +09:00
Hajime Hoshi
6cbf37e855
Add graphicsdriver/monogame
2020-04-04 17:03:45 +09:00
Hajime Hoshi
8777140e91
driver: Simplify UIContext.Update
2020-04-03 00:18:27 +09:00
Hajime Hoshi
218281ce6f
ebiten: Fix the copyright year
2020-04-02 12:42:54 +09:00
Hajime Hoshi
9b0d95cfcf
clock: Integrate now.go and now_js.go
...
The monotonic timer already uses performance.now, then we don't
have to have the original code.
2020-04-02 01:52:00 +09:00
Hajime Hoshi
4179e6c122
Introduce 'monogame' build tag experimentally
...
Updates #1078
2020-04-01 23:42:17 +09:00