1
0
mirror of https://github.com/hajimehoshi/ebiten.git synced 2025-01-21 00:12:04 +01:00
Commit Graph

15 Commits

Author SHA1 Message Date
TotallyGamerJet
05470f7706
internal/graphicsdriver/metal: remove C for macOS ()
Updates 
2022-08-18 01:39:34 +09:00
Hajime Hoshi
5c63c4a4aa internal/graphicsdriver/metal: support macOS 10.12 by removing packed types
From the Metal shading language specification [1] Table 2.2.3, attribute
variables in Ebitengine's vertices don't have to be packed. Then, we can
remove `packed` types.

[1] https://developer.apple.com/metal/Metal-Shading-Language-Specification.pdf

Closes 
2022-05-28 23:57:59 +09:00
Hajime Hoshi
fef79f4d3e internal/graphicsdriver/metal: update the minimum version of macOS
Updates 
2022-05-18 00:09:04 +09:00
Hajime Hoshi
35deb53624 internal/graphicsdriver/metal: Rename files to remove +build comments 2021-08-23 02:06:09 +09:00
Hajime Hoshi
15ac69b8d5 internal/graphicsdriver/metal: Bug fix: Disable presentsWithTransaction on fullscreen
Closes 
2021-08-08 17:40:37 +09:00
Hajime Hoshi
b54ad73a2b Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
Hajime Hoshi
bf515bb594 Update version to v2.0.0-alpha 2020-10-04 04:30:40 +09:00
Hajime Hoshi
a3b41515a9 ui: Replace the native window's type (unsafe.Pointer) with uintptr
Updates 
2020-09-04 00:51:48 +09:00
Hajime Hoshi
eb056690aa graphicsdriver/metal: Update the minimum macOS version to 10.12 for Go 1.15 2020-07-25 04:18:26 +09:00
Hajime Hoshi
7991ba4cfa graphicsdriver/metal: Bug fix: Failed to compile for iOS
The definition of BOOL is different between macOS and iOS. C's
bool is used on iOS, but C's bool is hard to use from Go (e.g.,
an integer cannot be converted to C's bool). Use unsigned char
instead.

Fixes 
2019-12-03 01:03:44 +09:00
Hajime Hoshi
a040aae83b glfw: Update to GLFW 3.3
Fixes 
2019-11-26 01:19:20 +09:00
Hajime Hoshi
4a9a7f936d Make go vet a little happier on macOS
Updates 
2019-07-22 20:16:22 +09:00
Hajime Hoshi
3af351a2aa graphicsdriver/metal: Make this compilable on iOS
This change adds #ifs to enable to compile the driver on iOS.

This also removes BOOL, which can be a duplicated definition.
C's _Bool does not work well with Cgo. Use uint8_t instead for
boolean values.
2019-06-09 05:51:10 +09:00
Hajime Hoshi
a0a17330ee graphicsdriver/metal: Specify macOS version () 2019-01-02 00:08:46 +09:00
Hajime Hoshi
ff62876552 Add Metal implementation
Fixes 
2018-12-20 02:37:10 +09:00