-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Xbox Series: new macro HL_XBS, directx adapt
This commit add a new target platform to hashlink : Xbox Series (console), aka Scarlett. Defined with macro `HL_XBS`. It does not contain Xbox specific features, except for some adaptation in DirectX12, but will allow the use of hashlink (instead of hashlink C) on the target platform. Use with `-lib heaps`, add `-lib directx -D dx12 -D usesys` and definitions of `haxe.AudioTypes`, `haxe.GameController`, `haxe.System`. - Tested on game with GDK version 230303, where 2D display are ok with Heaps.io - Known issues: - Support only 1920x1080 resolution + 60 FPS, but not yet 2k / 4k / 120 FPS. - The `dx12.getRequiredIntermediateSize` return size+offset for HL_XBS, which is a tmp fix for `dx12.updateSubResource` error when `first != 0`
- Loading branch information
Showing
31 changed files
with
1,408 additions
and
230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ Debug | |
Release | ||
ReleaseVS2013 | ||
x64 | ||
Gaming.Xbox.Scarlett.x64 | ||
*.stackdump | ||
*.hdll | ||
*.so | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.