Hajime Hoshi
|
9962fc5ee5
|
internal/graphicsdriver/direct: replace Get -> NewGraphics
Updates #2142
|
2022-06-17 11:48:40 +09:00 |
|
Hajime Hoshi
|
7484df0c5e
|
internal/graphicsdriver/metal: replace Get with NewGraphics
This is a prepartion to return an error when a graphics driver, especially
DirectX, fails to initialize.
Updates #2142
|
2022-06-17 02:40:35 +09:00 |
|
Hajime Hoshi
|
a6d415ebf2
|
internal/graphicsdriver/opengl: replace Get with NewGraphics (#2146)
This is a prepartion to return an error when a graphics driver, especially
DirectX, fails to initialize.
Updates #2142
|
2022-06-17 02:02:29 +09:00 |
|
Hajime Hoshi
|
9bfbbb6e9e
|
internal/ui: add graphicsDriverGetter.getDirectX()
Updates #1007
|
2022-03-25 19:43:38 +09:00 |
|
Hajime Hoshi
|
eeb5687b73
|
internal/graphicsdriver/metal, internal/graphicsdriver/opengl: change the return type to pointers
On second thought, returning pointers is more natural. Handling
nil is a caller's responsibility.
|
2022-03-24 13:20:36 +09:00 |
|
Hajime Hoshi
|
3074dca670
|
internal/ui: add the EBITEN_GRAPHICS_LIBRARY environment variable
The `ebitengl` build tag is gone instead.
Closes #2007
|
2022-03-24 02:23:37 +09:00 |
|
Hajime Hoshi
|
c82809867d
|
Add internal/devicescale
|
2018-01-03 05:22:56 +09:00 |
|
Hajime Hoshi
|
362f002d36
|
ui: Delete local variables asap on Android
|
2017-11-13 01:30:08 +09:00 |
|
Hajime Hoshi
|
0e2a1a1636
|
mobile: Change the unit from px to dp on Android (#241)
|
2016-07-03 05:37:56 +09:00 |
|
Hajime Hoshi
|
989ae1ebc5
|
ui: Fix deviceScale for mobiles
|
2016-06-19 05:14:02 +09:00 |
|
Hajime Hoshi
|
6f50ef3604
|
ui: Get correct device scale for iOS
|
2016-06-19 05:10:27 +09:00 |
|