Commit graph

5222 commits

Author SHA1 Message Date
James Benton
3b4efb7994 gpu: Add some more logging during vulkan initialisation. 2019-10-19 16:07:32 +01:00
James Benton
aaec958a4f decaf-qt: Fix X11 window type.
Turns out even though Qt says xcb it really means X11.

That or our XCB path is broken.
2019-10-19 16:07:32 +01:00
James Benton
f89510f5a0 decaf-qt: Start logging before starting graphics driver. 2019-10-19 16:07:32 +01:00
James Benton
7cfbc9254f decaf-qt: Fix Tools > Debugger button not working. 2019-10-19 16:07:32 +01:00
James Benton
7504138c27 decaf-qt: Fix disassembly widget / stack widget frame drawing. 2019-10-19 16:07:32 +01:00
James Benton
ea3bb3c5b8 Fix Vulkan XLIB. 2019-10-19 16:07:32 +01:00
James Benton
38c738abb9 Use add_definitions instead of target_compile_definitions for vulkan.
Using target_compile_definitions on an imported target is not supported
until CMake 3.11.
2019-10-19 16:07:32 +01:00
James Benton
827a7d1a1a cmake: Correctly detect support for x11 / xcb / wayland. 2019-10-19 16:07:32 +01:00
James Benton
f44752b865 gpu: Fix some X11/Xcb initialisation.
Still broken tho lol
2019-10-19 16:07:32 +01:00
James Benton
e7bc05d145 cmake: Disable RTTI on Linux for files which use spv::Builder. 2019-10-19 16:07:32 +01:00
James Benton
014e5d8306 gpu: Fix setup of glad post callback. 2019-10-19 16:07:32 +01:00
James Benton
a2186f8752 libgpu/opengl: Fix some X11 context creation code. 2019-10-19 16:07:32 +01:00
James Benton
f571cd55d2 cmake: Add X11 to libgpu. 2019-10-19 16:07:32 +01:00
James Benton
3a47d3ebfc decaf-qt: Fix missing include for QPlatformNativeInterface 2019-10-19 16:07:32 +01:00
James Benton
ce81750159 decaf-qt: Fix include paths in debugger ui files 2019-10-19 16:07:32 +01:00
James Benton
03d9a21c7d decaf-qt: Fix usage of std::unique_ptr on forward declared type.
GCC does not like this for some reason.
2019-10-19 16:07:32 +01:00
James Benton
19eb1b479f glad: Fix redefinitions of pre/post callback. 2019-10-19 16:07:32 +01:00
James Benton
824efad670 glad: Add missing wgl extensions 2019-10-19 16:07:32 +01:00
James Benton
0dc2347e6a gpu: Use glad for glx & wgl. 2019-10-19 16:07:32 +01:00
James Benton
5b0bb76c4a sdl: Fix renderSurface cast from x11 window 2019-10-19 16:07:32 +01:00
James Benton
42a52d5166 cmake: Only add glad when DECAF_GL is set. 2019-10-19 16:07:32 +01:00
James Benton
6ef8a24da1 cpu: Fix 2pl failure with custom formatters.
Also add missing includes when built without precompiled header files.
2019-10-19 16:07:32 +01:00
James Benton
1dbebc43cb gpu/opengl: Move glad post callback from lamba to static function.
Some compilers strill struggle with lambda arg ...
2019-10-19 16:07:32 +01:00
James Benton
bc3f5d9670 common: Fix DataHash for non-stdlayout bitfield due to VS2019.
On vs2019 this fails without stdlayout bitfield, but non-stdlayout
bitfield is nicer for debugging and still actually works.

Possibly a bug in VS2019?
2019-10-19 16:07:32 +01:00
James Benton
a816dd2bfc gpu: Move from glbinding to glad.
glbinding takes FOREVER to compile on vs2019.
2019-10-19 16:07:32 +01:00
James Benton
64398518de gpu: Add missing include to cmath. 2019-10-19 16:07:31 +01:00
James Benton
1d87ce44f5 Remove imgui based debugui.
Replaced by Qt debugger.
2019-10-19 16:07:31 +01:00
James Benton
b2d18768bd Move ownership of rendering to graphics backends. 2019-10-19 16:07:31 +01:00
James Benton
edbe2b55f3 decaf-qt: Initial version of Qt based decaf debugger. 2019-10-19 16:07:31 +01:00
James Benton
80f349d006 cmake: Disable cotire pch for libgpu as glbinding is sensitive to include order. 2019-10-19 16:07:31 +01:00
James Benton
1c3fa71af3 cmake: Remove MSVC /GA flag for external dependencies. 2019-10-19 16:07:31 +01:00
James
3755998167
cafe/loader: Fix R_PPC_GHS_REL16_HA. 2019-10-01 20:24:24 +01:00
James
ae371bc21b
Update README.md
add a badge
badges are very very important
look cool
very nice very professional
2019-09-27 08:21:15 +01:00
James
89f549f4ef
Update ccpp.yml
Run action on pull request
2019-09-26 21:05:19 +01:00
James
c2a601183d
Update README.md 2019-09-26 17:35:15 +01:00
James Benton
0f998cd0c7 Update ccpp.yml 2019-09-26 17:18:46 +01:00
James Benton
318d2b0b5c tests: Fix gpu tiling test compile. 2019-09-26 17:18:46 +01:00
James Benton
a2f15542c0 tests: Fix compile from changes to cpu disassembly functions. 2019-09-26 17:18:46 +01:00
James Benton
7160b51c3e cmake: Add missing Windows libraries. 2019-09-26 17:18:46 +01:00
James Benton
65c181a694 Replace appveyor/travis with github actions. 2019-09-26 17:18:46 +01:00
James Benton
061f08be58 common-sdl: Add missing includes. 2019-09-26 17:18:46 +01:00
James Benton
675f0d872b cpu: Remove deprecated fmt internal convert_to_int specialisation for be2_val. 2019-09-26 17:18:46 +01:00
James Benton
6026d371d6 cmake: Set CMAKE_CXX_STANDARD 2019-09-26 17:18:46 +01:00
James Benton
3715c7e450 decaf-qt: Initialise decaf at time of game starting.
So things like log config options actually take affect.
2019-09-26 17:18:46 +01:00
James Benton
6d66f262d0 Update spdlog to 1.4.0 2019-09-26 17:18:46 +01:00
James Benton
35a68cc802 Update fmt to 6.0.0 2019-09-26 17:18:46 +01:00
James Benton
ea355ead68 cmake: Fix filesystem build on macOS.
C++ filesystem has been added to Xcode 11.
2019-09-26 17:18:46 +01:00
James Benton
4ef8c55e19 conan: Update dependencies. 2019-09-26 17:18:46 +01:00
James
e061a5c5b7 cmake: Only build glbinding submodule with DECAF_GL. 2019-09-26 17:18:46 +01:00
James Benton
bd017cca92 decaf/debug: Check for valid address before add / remove breakpoints. 2019-09-26 17:18:46 +01:00