Commit Graph

117 Commits

Author SHA1 Message Date
Gliniak 5d3240d492 [CI] Changed VS version to see if it will prevent triggering AV 2024-07-08 21:43:43 +02:00
Margen67 1f176676b5 [Docs] Raise minimum requirements 2024-02-15 16:58:38 -08:00
Gliniak 5e0c67438c Merge branch 'master' of https://github.com/xenia-project/xenia into canary_experimental 2023-04-09 17:28:04 +02:00
Wunkolo f357f26eae [Build] Add parallel PPC test generation
Utilizes `multiprocessing` to allow for multiple power-pc assembly tests
to be generated in parallel.

Some results on my i9-11900k(8c/16t):

Before:
```
Measure-Command {.\xb gentests}

Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 11
Milliseconds      : 200
Ticks             : 112007585
TotalDays         : 0.000129638408564815
TotalHours        : 0.00311132180555556
TotalMinutes      : 0.186679308333333
TotalSeconds      : 11.2007585
TotalMilliseconds : 11200.7585
```

After:
```
Measure-Command {.\xb gentests}

Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 5
Milliseconds      : 426
Ticks             : 54265895
TotalDays         : 6.28077488425926E-05
TotalHours        : 0.00150738597222222
TotalMinutes      : 0.0904431583333333
TotalSeconds      : 5.4265895
TotalMilliseconds : 5426.5895
```

This is an over **x2** speedup!
2023-02-05 20:56:37 -06:00
Gliniak 26415cb8b1 Merge branch 'master' of https://github.com/xenia-project/xenia into canary_experimental 2022-12-31 11:19:01 +01:00
p01arst0rm a1bb6cc142 moved vswhere to tools directory 2022-12-28 14:17:24 -06:00
Bo Anderson df368691cd xenia-build: find clang-format in VS installation 2022-12-17 13:36:59 -05:00
Margen67 74d83e4af8 Python/xenia-build/xb fixes
Use variable for Python version to make upgrading easier.
xb.bat:
 Update copyright date.
 Add candidate paths.
xb.ps1
 Properly use found python executable.
 More consistency with .bat.
 Don't spew unnecessary errors, etc.
 EOF newline.
2022-07-21 08:31:35 -05:00
Joel Linn a41770acc5 [xenia-build] Check for clang-format 14 2022-07-17 19:57:37 -05:00
Joel Linn 846fedfa47 [xenia-build] Report premake errors via exit code 2022-07-17 19:57:37 -05:00
Triang3l 5875f6ab31 [UI] Windows: Disable rounded corners 2022-05-05 21:46:20 +03:00
Triang3l 3a07559df9 [GPU] XeSL host depth store and VS passthrough shaders 2022-03-27 16:15:53 +03:00
Triang3l 2cd6c31998 [Vulkan] Samplerless texelFetch 2022-03-27 00:09:44 +03:00
Triang3l e07ed95f53 [Build] Wrap XeSL in GLSL via #include to keep line numbers 2022-02-06 18:25:55 +03:00
Triang3l 4480437a3d [SPIR-V] xb genspirv > buildshaders + opt + remap + .xesl 2022-02-05 17:07:07 +03:00
Rick Gibbed 4b8740d94f Don't recursively init/update submodules.
Don't recursively init/update submodules.

When recursive fetching is desireable, set
fetchRecurseSubmodules = true in .gitmodules for the relevant
submodule.
2022-01-29 22:48:24 -06:00
Triang3l fe3f0f26e4 [UI] Image post-processing and full presentation/window rework
[GPU] Add FXAA post-processing
[UI] Add FidelityFX FSR and CAS post-processing
[UI] Add blue noise dithering from 10bpc to 8bpc
[GPU] Apply the DC PWL gamma ramp closer to the spec, supporting fully white color
[UI] Allow the GPU CP thread to present on the host directly, bypassing the UI thread OS paint event
[UI] Allow variable refresh rate (or tearing)
[UI] Present the newest frame (restart) on DXGI
[UI] Replace GraphicsContext with a far more advanced Presenter with more coherent surface connection and UI overlay state management
[UI] Connect presentation to windows via the Surface class, not native window handles
[Vulkan] Switch to simpler Vulkan setup with no instance/device separation due to interdependencies and to pass fewer objects around
[Vulkan] Lower the minimum required Vulkan version to 1.0
[UI/GPU] Various cleanup, mainly ComPtr usage
[UI] Support per-monitor DPI awareness v2 on Windows
[UI] DPI-scale Dear ImGui
[UI] Replace the remaining non-detachable window delegates with unified window event and input listeners
[UI] Allow listeners to safely destroy or close the window, and to register/unregister listeners without use-after-free and the ABA problem
[UI] Explicit Z ordering of input listeners and UI overlays, top-down for input, bottom-up for drawing
[UI] Add explicit window lifecycle phases
[UI] Replace Window virtual functions with explicit desired state, its application, actual state, its feedback
[UI] GTK: Apply the initial size to the drawing area
[UI] Limit internal UI frame rate to that of the monitor
[UI] Hide the cursor using a timer instead of polling due to no repeated UI thread paints with GPU CP thread presentation, and only within the window
2022-01-29 13:22:03 +03:00
Joel Linn b2e51fd24f [xenia-build] Update clang-format version to 13 2022-01-02 16:47:05 -06:00
Triang3l 7e6cf349e2 [Build] Use first-party premake-androidndk (#1878) 2021-10-30 00:01:27 +03:00
Conrad Kramer 548758857f Fix Xcode support in xenia-build 2021-10-25 00:48:53 +03:00
gibbed ed0a15dcc8 Use AppVeyor vars for extended version info. 2021-08-18 16:44:41 -05:00
gibbed 997d0555db Lint/format .inc files. 2021-06-28 20:32:52 -05:00
Triang3l 12a907bfa5 [GPU] Shaders to common, xb buildshaders instead of buildhlsl 2021-06-05 18:53:53 +03:00
amine4567 165c6f0e4d
[Build] Support building with the standalone VS Build Tools 2021-05-15 18:50:59 -05:00
gibbed 536f6772da Fix reference to old var name in xenia-build.
Fix reference to old variable name in xenia-build.
2021-05-15 18:13:32 -05:00
Joel Linn 4f020e32c8 [xb] Remove whitespace 2021-05-03 22:50:44 -05:00
Joel Linn 0a662afd73 [xb] Only write version.h when changed 2021-05-03 22:50:44 -05:00
Satori 30b9719ee3 [Build] Add stub command for source file generation 2020-11-25 14:15:58 -06:00
Triang3l 7cb3cc3564 [Build] Fix a typo in get_premake_target_os comment 2020-11-21 16:32:07 +03:00
Triang3l 14157e063a [Build] Support cross-compilation via xb premake --target_os 2020-11-21 16:23:01 +03:00
Triang3l 25606774e1 [Build] xenia-build Android host OS detection 2020-11-21 16:22:48 +03:00
Joel Linn 171c97c929 Start CLion by invoking `xb devenv` when available 2020-11-14 13:30:06 -06:00
Joel Linn 9dea6b3f62 Add premake cmake generator.
`./build/CMakeLists.txt` is generated by `./xb.bat premake --devenv=cmake` and enables use of other IDEs like `CLion` for example.
2020-11-14 13:30:06 -06:00
Joel Linn adebaba799 Allow building without git. 2020-10-28 20:31:36 -05:00
Joel Linn c8ab1e9f36 Replace deprecated gmake with gmake2 action.
https://github.com/premake/premake-core/issues/1099
2020-04-08 16:17:06 -05:00
Joel Linn df1ee6268f Linux development environment.
- Fix CodeLite project generation.
- Implement `xb devenv` for CodeLite.
2020-04-08 16:17:06 -05:00
gibbed 2393381cff Make 'xb test' also run xenia-base-tests. 2020-04-07 16:09:41 -05:00
Rick Gibbed a0f486b0fa
Bump minimum Python version (#1581)
Bump minimum Python version to 3.6.
2020-03-30 17:37:32 -05:00
gibbed de50780107 Force -style=file for xb lint. 2020-02-22 13:29:07 -06:00
gibbed 5aeeed72b9 Lint all files in a sorted manner. 2020-02-22 12:31:21 -06:00
gibbed 39765093d6 Fix xb lint --all on Windows. 2020-02-22 12:31:21 -06:00
gibbed ec15da8b14 Use newer clang+llvm+clang-format. 2020-02-22 12:31:21 -06:00
Prism Tutaj f6e6641568 [XB] Fix python not expecting UTF-8 for the output of vswhere 2020-02-21 00:37:24 -06:00
Rick Gibbed 754e64fcf1 Fix warning that newer Python is whining about.
Fix a warning that a newer version of Python is whining about:
SyntaxWarning: "is" with a literal. Did you mean "=="?
2020-02-08 16:25:13 -06:00
gibbed c19dc9c7d6 Prefer vsdevcmd over vcvarsall. 2019-08-17 08:32:20 -05:00
gibbed 1ebc13df94 Oops. Call set after vsdevcmd. 2019-08-17 08:32:20 -05:00
Triang3l 352f12f92e [D3D12] Switch from gflags to cvars 2019-08-03 16:53:23 +03:00
Jonathan Goyvaerts eaf92cc7dc Default the number of parallel build threads to 4 so clang doesn't run out of memory (both local and on travis-ci) 2019-08-03 02:34:29 +02:00
gibbed e024cbc3f0 Merge remote-tracking branch 'origin/master' into d3d12 2019-07-18 12:33:52 -05:00
Margen67 efdc78ee22
Fix typo in xenia-build 2019-07-17 17:52:01 -07:00