ebiten/internal
Hajime Hoshi b5d4c834b8 internal/uidriver/glfw: Bug fix: More precise window size adjustment
Before this change, setWindowSize converts the size in device-
independent pixels once, invokes adjustWindowSizeBasedOnSizeLimitsInDP,
and then restore the values in device-dependent pixels. This might
introduce a slight error and then SetSize be unexpectedly invoked.
Such SetSize call with a slightly different size might not invoke
the FramebufferSize callback, and then this blocked forever when
maximizing the window.

This change fixes this by adjusting the size limits instead of the
window size so that the window size is not modified unexpectedly.

Closes #1577
2021-04-18 00:56:37 +09:00
..
affine internal/affine: Add tests 2021-01-28 02:24:24 +09:00
atlas internal/graphics: Bug fix: Race condition at QuadVertices 2021-03-20 16:32:13 +09:00
buffered Rename internal/shareable -> internal/atlas 2021-03-12 00:22:08 +09:00
clock clock: Bug fix: High TPS didn't work well due to the timer precision 2020-12-21 00:23:29 +09:00
debug ebiten: Add a new log to dump update count 2020-11-24 22:36:32 +09:00
devicescale internal/devicescale: Add comment about #1573 2021-04-17 18:14:26 +09:00
driver ebiten: Add {Set,}WindowSizeLimits 2021-04-17 03:58:06 +09:00
glfw internal/glfw: Add tools.go to keep go.sum 2021-04-17 20:24:39 +09:00
graphics ebiten: Use the common vertices backend at DrawTriangles 2021-03-20 20:25:42 +09:00
graphicscommand internal/graphicscommand: fix missing graphicscommand log (#1543) 2021-03-15 02:14:03 +09:00
graphicsdriver internal/graphicsdriver/opengl: Bug fix: getBufferSubData was available only with WebGL2 2021-04-06 00:11:51 +09:00
hooks audio: More intellegent suspending/resuming (#617) 2018-05-26 23:31:04 +09:00
jsutil internal/jsutil: Restrict the build environment 2021-03-22 03:50:05 +09:00
mipmap internal/graphics: Bug fix: Race condition at QuadVertices 2021-03-20 16:32:13 +09:00
packing packing: Bug fix: Extend could create a too big page 2020-12-31 17:33:27 +09:00
png png: Update for Go 1.15 2020-08-14 03:25:02 +09:00
restorable internal/graphics: Bug fix: Race condition at QuadVertices 2021-03-20 16:32:13 +09:00
shader internal/shader: Add more tests and improve the comment 2021-04-09 01:25:37 +09:00
shaderir graphicsdriver/opengl: Enable dFdx for mobiles 2020-11-21 19:40:11 +09:00
testflock Clean up the 'js' build tags 2020-10-07 01:33:10 +09:00
testing testing: Bug fix: Lack of uniform variables 2020-12-09 11:52:45 +09:00
thread Update comments 2020-10-21 03:17:40 +09:00
uidriver internal/uidriver/glfw: Bug fix: More precise window size adjustment 2021-04-18 00:56:37 +09:00
web internal/web: Consider the case when navigator exists but userAgent doesn't 2021-02-09 23:59:39 +09:00