Commit Graph

25 Commits

Author SHA1 Message Date
Nadia Holmquist Pedersen 287f6642fc
Add an About dialog with build info (#2138)
add About dialog
2024-10-24 22:05:30 +02:00
Nadia Holmquist Pedersen 9ebc96d121 vcpkg 2024.10.21 2024-10-24 19:55:41 +02:00
Nadia Holmquist Pedersen 277b151ada update vcpkg and nixpkgs 2024-09-06 13:39:42 +02:00
Nadia Holmquist Pedersen d62c61ba08 vcpkg 2024.07.12 2024-07-30 00:43:15 +02:00
Nadia Holmquist Pedersen ececf337f2
Build Windows CI builds with vcpkg and Qt 6 (#2112)
If using Qt 6 becomes a problem in terms of compatibility, toggle it off in the CMakePresets.json.
2024-07-27 17:22:35 +02:00
Nadia Holmquist Pedersen a2406e3c0e
Vendored libslirp (#2045)
Add vendored libslirp into the repo with a shim to remove its dependency on glib.
2024-05-15 18:00:55 +02:00
Nadia Holmquist Pedersen da26453911
CI stuff (#1935)
Add new macOS CI using vcpkg
2023-12-28 15:03:44 +01:00
Nadia Holmquist Pedersen b069a2acf1 Clean Windows build instructions
* CMake in MSYS2 now depends on Ninja and uses it by default, use it
  instead of Make as it has much easier to read output when doing
  parallel builds and doesn't need an extra program
* Ninja uses the maximum number of cores by default, so we don't have to
  run nproc --all
* We don't need mesa for its headers anymore
2022-11-09 19:54:35 +01:00
RSDuck ac3118cbc5
No more context mess (#1531)
* WIP: use Duckstation's context code to directly render into QT Widget from separate thread without two OpenGL contexts

currently only works on Windows

* reenable gay OSD

* add back vsync

* make it atleast a little more thread safe

* linux support

* don't segfault on closing

* reorganise and cleanup build system
it's still not good, but better than before

* macos?

* try to get it working on Ubuntu CI
also update instructions

* let's try this

* ok how about this

* try creating an OGL 4.3 context first
(https://i.kym-cdn.com/photos/images/original/001/264/842/220.png)

* fix Ubuntu

* hm

* try again for Windows

* let's try this

* make the OpenGL renderer work again
that was stupid

* do OGL surface resizing from the mainthread

* Fix small mistake in GL context creation on macOS causing version 3.2 to
be considered invalid

* C stupidness

* cleanup

* don't let the emuthread deinit OGL if there's no OGL

* reset lastScreenWidth/Height when deiniting OpenGL

* disable stencil test while drawing framebuffers

* macOS: Link Cocoa framework explicitly when not building with Qt6

Seems to be needed for the classes used by DuckStation's GL context
code.

* Set ScreenPanelGL's minimum size immediately

Fixes GL context creation for OpenGL display on macOS using the wrong
size as the underlying window was not resized to the correct size by Qt
yet.

* don't emit window updates when OGL display is used

* stuff Arisotura said

Co-authored-by: Nadia Holmquist Pedersen <nadia@nhp.sh>
2022-10-17 22:55:11 +02:00
Nadia Holmquist Pedersen 94b33c924e
Modernize CMake build system (#1434)
These changes modernize the CMake build system to (hopefully) match newer best practices

* Library linking is simpler and more automatic because of using imported targets
* Multi-configuration builds should be supported (Ninja Multi-Config, Visual Studio, etc. generators)
* Clean up build options using cmake_dependent_option
* Let CMake do its job in more cases, like finding the math/dl libraries and detecting and enabling LTO support
* Remove platform-specific kludges like the Fedora/flatpak LTO workaround and a bunch of Windows stuff
* Simplify Windows static builds
* Consistent formatting
2022-05-21 19:54:55 +02:00
WaluigiWare64 1cd477db71 Change workflow upload name to platform on GitHub CI 2021-06-13 13:06:15 +01:00
WaluigiWare64 0ea85fdd2b
Use setup-msys2 GitHub Action (#1029)
* Use setup-msys2 GitHub Action

This makes the Windows CI a few minutes faster
2021-03-06 19:37:51 +00:00
WaluigiWare64 ab222ab135
Use libepoxy to load in OpenGL functions (#960)
* Use libepoxy to load in OpenGL functions

Prevents having to load them in manually

* Install libepoxy in the CI

* Do not link OpenGL libraries, libepoxy opens them itself

* Add libepoxy to build instructions
2021-01-26 13:19:32 +00:00
WaluigiWare64 6b8738bb60 Update workflow files 2020-12-19 17:51:23 +00:00
WaluigiWare64 8d70d0926c
Merge branch 'master' into feature/zip-support 2020-10-23 00:39:29 +01:00
WaluigiWare64 6d71f9c832
Merge branch 'master' into feature/zip-support 2020-08-05 15:06:15 +01:00
Raphaël Zumer 68e310e4ef Deploy Qt libraries with dynamic Windows builds
Also stop using msys-dist.sh with the static CI build.
2020-07-31 16:50:19 -04:00
Nadia Holmquist Pedersen 8a1964a75c Add libslirp to workflows 2020-07-26 21:43:01 +02:00
Nadia Holmquist Pedersen acb1eec35d
Windows CI: Install MSYS2 with chocolatey 2020-07-25 20:26:36 +02:00
U-RAYYAN-PC\Rayyan 523ff9ff1c Add libzip dependency in the workflow files and to CMakeLists.txt 2020-07-22 14:22:23 +01:00
Arisotura 054b94b2b7 fix the Github Actions shit, hopefully 2020-05-29 22:00:31 +02:00
Raphaël Zumer fa1558319b Disable CI on non-master branches 2020-03-21 18:40:44 -04:00
Raphaël Zumer 55db337c8d Package shared resources with Windows CI artifacts 2019-12-13 13:00:42 -05:00
Raphaël Zumer 331c3c3b86 Upload CI build artifacts 2019-12-12 22:58:30 -05:00
Raphaël Zumer 546e7ded96 Add Windows CI configuration 2019-12-12 21:35:19 -05:00