Commit Graph

111 Commits

Author SHA1 Message Date
p01arst0rm a1bb6cc142 moved vswhere to tools directory 2022-12-28 14:17:24 -06: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
Triang3l db44eaf2e4 Merge branch 'master' into d3d12 2019-07-11 09:26:57 +03:00
Margen67 d9ace8a923 [xenia-build] Update old link and fix VS Preview not being found
-prerelease allows preview/prerelease versions of VS to work in xb.
https://github.com/microsoft/vswhere/issues/185#issuecomment-499962802
2019-06-30 17:06:53 -05:00
Silent 17924bc945
[xenia-build] Make vswhere.exe output in UTF-8 so Python doesn't fail to parse regional characters in output 2019-06-29 13:08:54 +02:00
gibbed 6789873620 Merge branch 'master' into d3d12 2019-05-12 07:48:18 -05:00
Margen67 24c290e8a9 Fix/remove OpenGL leftovers 2019-05-08 08:31:04 -07:00
gibbed 827567a21a Merge branch 'master' into d3d12 2019-04-18 11:23:41 -05:00