Commit graph

4025 commits

Author SHA1 Message Date
sephiroth99
03091d1b71 Add missing libraries when linking xenia-app on Linux
Currently, each module in Xenia is built as a static library (also
called archive). On Linux, an archive only contains the object files
for that module. So any depedency that module has must be specified by
adding those other modules when linking the program, as the dependencies
are resolved at that time.
2017-07-11 11:47:25 -06:00
Doug Johnson
879d6e979f Add missing <string> include 2017-07-11 11:47:25 -06:00
Doug Johnson
ae30bc1207 ui:loop_gtk: Use default thread::id constructor instead of explicit id 2017-07-11 11:47:25 -06:00
Doug Johnson
b65c7e6297 vulkan: render_cache: More clang compilation fixes 2017-07-11 11:47:24 -06:00
Doug Johnson
1c40e46cd1 Add Add XCB/Xlib interaction and X11 specific GTK headers/includes 2017-07-11 11:47:24 -06:00
sephiroth99
7ede34b593 vulkan: render_cache: fix clang compilation 2017-07-11 11:47:24 -06:00
sephiroth99
11637af8e9 Add missing Profiler function when profiling is disabled 2017-07-11 11:47:24 -06:00
sephiroth99
c438458426 Enable premake linkgroups when building Linux applications
The linkgroups option is a convenience option that makes it
possible to specify all the libraries required to build an
application (console or GUI) in any order. It also prevents
circular dependency issues between libraries.

Basically, it surrounds the list of libraries with the
start-group/end-group options when calling the linker.
2017-07-11 11:47:24 -06:00
sephiroth99
6bf05d6e63 Enable XCB in Vulkan loader on Linux 2017-07-11 11:47:24 -06:00
Doug Johnson
570e359caa Support vulkan xcb device for Linux 2017-07-11 11:47:24 -06:00
sephiroth99
bc8356bb83 Remove usage of non standard identity struct
std::identity was removed from the standards, but Visual Studio kept
it as an extension.

Replace it by std::remove_reference, which does just a little bit
more than std::identity does, but without impact in this case.
2017-07-11 11:47:24 -06:00
Doug Johnson
224c779554 Add missing climits include 2017-07-11 11:47:24 -06:00
Doug Johnson
136cc92a66 Remove platform specific headers where unnecessary 2017-07-11 11:47:24 -06:00
Doug Johnson
bb0ee0e4a3 Change glsl lang call that supports scalar rather than vector 2017-07-11 11:47:24 -06:00
Doug Johnson
71294a79b8 Add const qualifiers to SpvBuilder.h in glslang lib
This was needed because the temporary vectors passed as non-const were throwing a compiler error in linux. The updated library appears to have fixed this, but there were other changes that could break compatability so these qualifiers were added manually
2017-07-11 11:47:24 -06:00
Doug Johnson
3074066463 Add xb symlink to xenia-build to match xb.bat for win 2017-07-11 11:47:24 -06:00
Doug Johnson
5d579fc846 Add Linux vulkan init routines using xcb lib 2017-07-11 11:47:24 -06:00
Doug Johnson
a8053f72e5 Add xcb headers to linux platform, needed for vulkan 2017-07-11 11:47:24 -06:00
Doug Johnson
be3615b15b Add missing include <vector> 2017-07-11 11:47:24 -06:00
Doug Johnson
9275f15279 Add missing consts for default vulkan config dirs on linux 2017-07-11 11:47:24 -06:00
Doug Johnson
91cfd7f784 Add missing include of <functional> 2017-07-11 11:47:24 -06:00
Doug Johnson
1dc346d0df Add additional build instructions for Linux 2017-07-11 11:47:24 -06:00
Doug Johnson
4abb1623ea Add _gtk and _x11 as linux specific platform files 2017-07-11 11:47:24 -06:00
Doug Johnson
f8093cb1e0 Add gtk and x11 headers to linux specific platform header 2017-07-11 11:47:24 -06:00
Doug Johnson
2dbdc24d52 Add LaunchBrowser implementation for linux 2017-07-11 11:47:24 -06:00
Doug Johnson
41dafa8860 Add stub exception handler backend for linux 2017-07-11 11:47:24 -06:00
Doug Johnson
48a2435bde Add header dependencies that prevented linux build
There were several files with dependancies on vector and cmath that
caused compiler errors under linux. In addition, there was a printf
formatting error that threw a compiler error as well
2017-07-11 11:47:24 -06:00
Doug Johnson
417eacb48c xenia: ui: Add GTK implemention of UI 2017-07-11 11:47:24 -06:00
Doug Johnson
a9e5d7a496 Add GLX context for linux platform 2017-07-10 03:28:30 -06:00
Doug Johnson
a63c9458cd Implement GL context for windows platform 2017-07-09 19:22:13 -06:00
Doug Johnson
ce10d9bd02 Create GL context abstraction layer 2017-07-09 19:21:32 -06:00
Doug Johnson
69e818555d Filter resource file from non-windows platforms 2017-07-09 19:21:32 -06:00
Doug Johnson
fb8d83b9b5 Add compile and link flags for Linux platform (X11, vulkan, gtk, etc) 2017-07-09 19:21:00 -06:00
Christiaan Biesterbosch
3d4f707062 Updated clang-format and added the provided editor integrations and LICENSE.txt 2017-07-07 00:29:38 +02:00
Justin Moore
969b4df7dd Merge pull request #744 from drillsar/patch
32-bit value fix to the 64-bit type.
2017-07-05 20:43:39 -05:00
Dr. Chat
283b7bc1b4 GPU: Change ReadRegister/WriteRegister constants to be consistent with other numberings. 2017-07-04 20:47:22 -05:00
Dr. Chat
f6fac58ae1 Nevermind 2017-07-04 18:30:08 -05:00
Dr. Chat
8cf56a7044 Coverity test 2017-07-04 18:07:16 -05:00
Parker Lamb
aae82430f2 Emulator: Don't trigger on_launch() until the main thread is set. 2017-07-02 11:58:54 -05:00
Parker Lamb
fc27b34304 UI: Prevent race condition during emulator startup. 2017-07-02 11:57:54 -05:00
drillsar
2d13fdd681 32-bit value fix to the 64-bit type. 2017-07-01 22:37:12 -04:00
Justin Moore
0c20f1c0fc Merge pull request #737 from viva64/bug_fixes
xboxkrnl_threading.cc: PVS-Studio: fixed return value.
2017-06-29 11:05:05 -05:00
Svyatoslav
2f1cf1452d xboxkrnl_threading.cc: PVS-Studio: fixed return value. 2017-06-27 12:16:29 +03:00
Justin Moore
a2fb0a06fe Merge pull request #718 from parkerlamb/disasm_fixes
PPC disassembly fixes
2017-06-25 13:01:19 -05:00
Justin Moore
afa52b532a Merge pull request #722 from tmccaff/patch
Added GPU Register Definition
2017-06-13 18:19:57 -05:00
Thomas Mccaffery
fb51148b03 Added GPU Register Definition
Added 0x1924 = 0x6490 according to this referenced here https://www.x.org/docs/AMD/old/RRG-216M56-03oOEM.pdf as DC_LUT_PWL_DATA.
2017-06-12 02:48:51 -04:00
Parker Lamb
4b607a68ba PPC: Fix typo in instruction disassembly for mtspr. 2017-06-11 14:40:59 -05:00
Parker Lamb
aab946a36b PPC: Add cstdlib includes for code generated by ppc-table-gen. 2017-06-11 14:37:07 -05:00
Parker Lamb
3117d737ed PPC: Fixed padding for FormatDS instruction decode data. 2017-06-11 14:28:07 -05:00
Dr. Chat
9dc740dcc0 GraphicsSystem: Properly support register file reads/writes, and fill in some unknown registers 2017-06-11 13:00:31 -05:00