Commit Graph

743 Commits

Author SHA1 Message Date
Unknown W. Brackets
6bd6b86c05 Discord: Add cmake option to disable. 2018-11-10 09:49:08 -08:00
Rémi Verschelde
3cc7054831 CMake: Fix linking X11 when using EGL and not fbdev
Co-authored-by: Unknown W. Brackets <checkins@unknownbrackets.org>
2018-11-06 18:31:05 +01:00
Henrik Rydgård
b6742af077
Merge pull request #11538 from akien-mga/cmake-arm-linux-opengl
CMake: Link against OpenGL when using EGL but not GLES2
2018-11-06 16:17:04 +01:00
Rémi Verschelde
ea2025c291 CMake: Link against OpenGL when using EGL but not GLES2
At least for Linux armv7hl this seems to be necessary, otherwise build
fails with:

/usr/bin/ld: lib/libnative.a(GLQueueRunner.cpp.o): undefined reference to symbol 'glStencilOp'
2018-11-06 14:31:46 +01:00
Rémi Verschelde
3bc89f3d1c CMake: Allow disabling Wayland support with USE_WAYLAND_WSI
This change means that USE_WAYLAND_WSI=ON no longer triggers a
fatal error if Wayland libraries are missing though, it will just
show a message and continue building without Wayand WSI support.

Closes #11536.
2018-11-06 12:08:11 +01:00
Unknown W. Brackets
f81dd83aa0 Core: Format CMakeLists.txt consistently. 2018-10-28 14:58:51 -07:00
Unknown W. Brackets
6b89b6a4bb Qt: Add GLES defines if USING_GLES2.
See #11495 - thanks to Jan Beich.
2018-10-28 14:58:17 -07:00
Jan Beich
94c56ea09c native: enable backtrace on some BSDs 2018-10-27 18:22:24 +00:00
Henrik Rydgård
f8ea364371 Cleanup: Split out the WASAPI code into its own file. 2018-09-30 20:29:39 -07:00
AreaScout
d222417bfe Fix: prevent linkage error if EGL and GLES is not in one big blob 2018-09-25 12:19:23 +00:00
AreaScout
0dbe5d7249 Fix: should close on spec #11404 2018-09-20 15:06:49 +00:00
Unknown W. Brackets
1f881d7904 Android: Buildfix for CMake 3.6.
The buildbot doesn't support GREATER_EQUAL.
2018-09-18 19:31:26 -07:00
AreaScout
95556e8d03 Add: some helpers to compile on ODROID-XU4/XU3 2018-09-17 20:01:12 +00:00
AreaScout
468c508b3a Add: -ffast-math compiler option to anything other then Intel 2018-09-11 19:12:09 +00:00
Unknown W. Brackets
f87dcefdd8 Android: Buildfix for CMake.
May affect other arm64 too.  Also, ifdef out a check in case of compiling
with GL 3 headers (to fix a Linux buildbot issue.)
2018-09-03 18:41:52 -07:00
Unknown W. Brackets
653129c528 Debugger: Add an event for GE dump recording. 2018-09-01 10:59:37 -07:00
Unknown W. Brackets
a4c0640f01 GE Debugger: Factor out host calls some.
Moving more of this to cross platform for the web debugger.
2018-09-01 08:32:03 -07:00
Unknown W. Brackets
22a536fb0c
Merge pull request #11307 from hrydgard/discord-mac-linux
Enable Discord integration for Mac and Linux.
2018-08-26 23:04:49 -04:00
Henrik Rydgård
529b8c6025 Untested attempt to fix ios/mac discord
(no machines around right now)
2018-08-26 23:10:37 +02:00
orbea
8ba1f049da Allow choosing to use the system snappy or not. 2018-08-26 12:59:02 -07:00
Henrik Rydgård
e34378a1c1 Enable Discord integration for Mac and Linux. 2018-08-18 10:11:15 +02:00
LunaMoo
f038b6489a Add sceUsbAcc stubs, improves EyePet(fixes endless loop on boot) 2018-08-15 18:35:07 +02:00
Henrik Rydgård
9c22f6ed55 Don't forget to update the other build systems and try to fix the
builds.
2018-08-13 00:28:12 +02:00
hissingshark
90fbbaba1a Made X11-Vulkan default. Provided explanatory toolchain file as overriding is more complex. 2018-06-27 12:48:59 +01:00
hissingshark
d1f116356f Changed cmake option to exclude X11 rather than Vulkan itself. 2018-06-26 22:17:22 +01:00
hissingshark
e4fea3be6a Added Vulkan disable and forced CPU detection options 2018-06-26 22:17:22 +01:00
Unknown W. Brackets
b4496f1975 Core: Move config enums to separate file.
These are a bit strewn about and there are constants that aren't
consistently used, which just adds confusion.
2018-06-23 10:59:18 -07:00
Unknown W. Brackets
e6917cccf6 Debugger: Add APIs to retrieve render image. 2018-06-16 15:33:02 -07:00
Unknown W. Brackets
9d96e6579c
Merge pull request #10909 from unknownbrackets/debugger
WebSocket based debugger interface
2018-06-09 15:37:06 -04:00
Unknown W. Brackets
a676721683 Qt: Remove bundled assets reader.
It was no longer being used or linked, so it just meant the assets were missing.
With this removed, the assets (lang inis, shaders, etc.) are available again.

Fixes #9831 - likely broken since #9061, which stopped using the qrc.
2018-06-09 10:47:53 -07:00
Unknown W. Brackets
5bfba9b284 Debugger: Add HLE API funcs.
Lumping function symbols in here too, they're pretty related...
2018-06-08 06:59:18 -07:00
Unknown W. Brackets
29d93c56c7 Debugger: Initial breakpoint APIs. 2018-06-08 06:59:18 -07:00
Unknown W. Brackets
e746a2d106 Debugger: Add stepping to WebSocket API. 2018-06-08 06:59:17 -07:00
Unknown W. Brackets
944948a5f4 Debugger: Initial disasm API. 2018-06-08 06:59:17 -07:00
Unknown W. Brackets
3dac5f2103 Debugger: Add current game info. 2018-06-08 06:59:17 -07:00
Unknown W. Brackets
1f987bf1c1 Debugger: Initial register get/set APIs. 2018-06-08 06:59:16 -07:00
Unknown W. Brackets
b37d59e8fa Debugger: Organize WebSocket event handling.
Just a starting point to organize it.  Trying to keep it simple.
2018-06-08 06:59:16 -07:00
Unknown W. Brackets
c2b9b5a9e8 Debugger: Serve a simple log listener WebSocket.
Planning to add more functionality to it, and sharing the reporting port
is possibly not ideal - although it would make discovery easier.
2018-06-08 06:59:16 -07:00
Unknown W. Brackets
3a8a2ff933 http: Move web server to core and use flags.
This way we can independently control the debugger and disc sharing, since
debugger could have security impact.
2018-06-07 16:28:01 -07:00
Unknown W. Brackets
b75b6801c8 http: Add a simple WebSocket server class. 2018-06-07 14:11:52 -07:00
Henrik Rydgård
df699c67b2
Merge pull request #10960 from unknownbrackets/debugger-json
Switch json to gason, include json writer in build
2018-06-06 21:19:13 +02:00
Henrik Rydgård
bc6f211724
Merge pull request #11093 from unknownbrackets/debugger-armips
Include armips assembler in build
2018-06-06 20:41:20 +02:00
Unknown W. Brackets
082ddf5120 json: Switch to gason instead of vjson.
From the same author.  Most importantly, reads numbers as doubles rather
than as signed ints and floats.  This allows us to actually read 32 bit
unsigned int parameters.

Moved all the native customization to a separate json_reader.cpp.
2018-06-06 05:59:35 -07:00
Unknown W. Brackets
fb876e78c0 json: Actually include in build. 2018-06-06 05:59:33 -07:00
Unknown W. Brackets
e21753bc93 Debugger: Add assembler to build. 2018-06-06 05:59:24 -07:00
Unknown W. Brackets
ec398cbb1f Qt Debugger: Remove texture viewer.
No longer worked anyway.  Being replaced by WebSocket debugger.
2018-06-06 05:58:10 -07:00
Unknown W. Brackets
cf33e852ef Qt Debugger: Remove memory viewer.
Being replaced by WebSocket based debugger.
2018-06-06 05:58:10 -07:00
Unknown W. Brackets
28cabd578a Qt Debugger: Remove display list debugger.
Being replaced with WebSocket based debugger.  Was disabled and not
working anyway, and hardcoded some GL so a barrier to Vulkan.
2018-06-06 05:58:10 -07:00
Unknown W. Brackets
c3213ade25 Qt Debugger: Remove disassembly.
Being replaced by WebSocket based debugger which is better maintained.
2018-06-06 05:58:09 -07:00
Unknown W. Brackets
18f0168b63 Qt Debugger: Remove VFPU dialog.
Being replaced by new WeBsocket based debugger with better maintenance.
2018-06-06 05:58:09 -07:00
Unknown W. Brackets
360e28f971 Qt: Fix build on Mac. 2018-06-06 05:58:09 -07:00
Unknown W. Brackets
ef08c81a6f Qt: Mark git-version.cpp to skip automoc.
Fixes #10829.
2018-06-06 05:58:09 -07:00
Conrad Kreyling
cb83ff598b add updated Obj-C version of SubtleVolume 2018-04-08 13:29:38 -04:00
Unknown W. Brackets
89186d8113 Replay: Initial structure for replay functionality. 2018-04-07 15:36:28 -07:00
Aaron Kling
955652cc35 Libretro needs core staticly linked even on Android 2018-03-28 18:16:56 -05:00
aliaspider
d1711c5aa4 nits. 2018-03-24 13:39:05 +01:00
aliaspider
c4f7790618 Libretro port. 2018-03-24 12:44:53 +01:00
aliaspider
f94e9b1e74 set _WIN32_WINNT to 0x0601 in stdafx.h 2018-03-23 22:54:12 +01:00
aliaspider
3fbb340450 fix most write-strings warning. 2018-03-23 04:21:46 +01:00
aliaspider
54d9406713 fix mingw and msvc cmake builds. 2018-03-23 03:18:13 +01:00
Henrik Rydgård
448e8fb49a Split out QtHost.h from HostTypes.h 2018-03-03 08:46:12 +01:00
Henrik Rydgård
5f8118b82b Separate T3DCreate* into its own header to avoid including Windows.h etc in some cases. 2018-02-25 10:27:59 +01:00
Henrik Rydgård
59d6cc12f2 Add an option to use the system libzip, to please grumpy package maintainers.
This reverts commit 1a34f88331.
2018-02-07 12:10:46 +01:00
Henrik Rydgård
1a34f88331 Always use the bundled libzip to avoid compatibility issues. Should fix #10575 2018-02-06 19:41:00 +01:00
Henrik Rydgård
85446d6c51 Split the SDL graphics contexts into their own files. 2018-02-04 13:42:04 +01:00
Henrik Rydgård
67b8c4527d b.sh: Add a build option for address sanitizer. When enabled, we turn on some compatibility options to make it work right. 2018-01-31 14:29:23 +01:00
Henrik Rydgård
22e28e218b
Merge pull request #10411 from hrydgard/gl-render-manager
GL render manager - new faster GL multithreading
2018-01-31 12:22:07 +01:00
Henrik Rydgård
ab62587949 Avoid linking error on MacOSX. 2018-01-30 00:24:27 +01:00
Henrik Rydgård
c60c8ed68a Debug visualization for the Vulkan memory allocator. Shows some interesting behaviour. 2018-01-29 19:38:10 +01:00
Henrik Rydgård
49c3cb83fe GL render manager: Simple implementation of synchronous framebuffer readbacks. 2018-01-27 15:10:17 +01:00
Henrik Rydgård
f99fa02ba7 Run the depal stuff, seems a bit broken. Add some state filtering. 2018-01-27 15:10:17 +01:00
Henrik Rydgård
51f467a7b3 Kill off the GL state cache 2018-01-27 15:10:17 +01:00
Henrik Rydgård
133bef575a Split Android graphics context implementations into their own files. 2018-01-20 21:47:16 +01:00
Kentucky Compass
6ea4924ee9 require iOS 8, add a launch screen 2018-01-04 09:56:49 -08:00
Kentucky Compass
152dc2192f iOS: convert all obj-c source code to ARC 2017-12-31 19:36:47 -08:00
Kentucky Compass
ca5758f80b Change iOSCoreAudio from cpp to mm. Explicitly activate the audio session. Always set the same mDataByteSize. 2017-12-31 00:45:05 -08:00
Kentucky Compass
4cec3d1bf3 Add AVFoundation to linked frameworks on iOS 2017-12-31 00:37:22 -08:00
Kentucky Compass
bcd19ee520 fix cmake when building for iOS in a path with spaces 2017-12-30 20:57:45 -08:00
Henrik Rydgård
d487c75562 Android cmake buildfix 2017-12-27 15:28:17 +01:00
Greg V
bbf2dcdb21 Check for Wayland headers in CMake 2017-12-26 16:09:31 +03:00
Greg V
52234dae91 Remove VULKAN_STATIC 2017-12-26 16:09:31 +03:00
Greg V
f4d76c840c Support Vulkan on any Unix
In particular, it works FreeBSD
2017-12-26 16:09:31 +03:00
Greg V
f3783bdb44 Add support for Vulkan on Wayland 2017-12-26 16:09:27 +03:00
Henrik Rydgård
9f02e9c4f0 Android cmake fix 2017-12-22 00:02:46 +01:00
Henrik Rydgård
f73ec4608e Build Vulkan on all platforms, won't be used if not supported. 2017-12-21 14:13:55 +01:00
Henrik Rydgård
9007abddbf Get Vulkan going on Linux 2017-12-21 11:02:11 +01:00
Henrik Rydgård
7f758d52dc Statically link a vulkan loader on Linux. Use to to init vulkan on X11. Unfortunately, it's broken. 2017-12-21 11:02:11 +01:00
Henrik Rydgård
ea387b2a48 WIP vulkan on linux stuff 2017-12-21 10:48:00 +01:00
Henrik Rydgård
2bdae5b338
Merge pull request #10420 from hrydgard/core-cleanup
Some core cleanup
2017-12-20 11:25:11 +01:00
Conn O'Griofa
20080ba123
CMakeLists: relocate EGL library name detection
Raspberry Pi targets require a custom EGL library name (configured in cmake/Toolchains/raspberry.armv*.cmake). Move configuration of EGL_LIBRARIES for generic targets out of SDL2 target to ensure correct library name is used everywhere (including QT builds).

Fixes build on Raspberry Pi.
2017-12-20 03:38:01 +00:00
Henrik Rydgård
740d0504ad Move QtMain.cpp and PCMain.cpp to more sensible locations. Native isn't standalone anymore... 2017-12-19 18:04:26 +01:00
Henrik Rydgård
6f0b382d9e Move vulkan debug callback out from WindowsVulkanContext into a file that can be shared with other platforms later. 2017-12-13 19:29:42 +01:00
Henrik Rydgård
99b34c7b45 Use glslang to translate GLSL 1.x postshaders to GLSL 3.0 or later to appease strict GL Core drivers. Should fix #10362
Fixed small bugs, now tested and working on mac.

Add spirv-cross to cmake build
2017-12-08 10:25:42 +01:00
Henrik Rydgård
7d0fc9ce65 Rework GL lost-device to work more like Vulkan. Gets rid of gl_lost manager etc. 2017-12-07 15:05:59 +01:00
Henrik Rydgård
cf5ede493b
Merge pull request #10247 from unknownbrackets/ui-tween
UI: Show a loading message during shader preload
2017-12-06 14:24:21 +01:00
Henrik Rydgård
44b1dc8daf Try to fix iOS builds on the Travis buildbot. #10254 2017-12-05 13:23:13 +01:00
sergio-br2
4b59fe6dac
Missing -lEGL when -DUSING_EGL=ON
Related to #9565

I tested only on ARM Linux (Ubuntu 14.04 on Odroid U3). Qt is building fine and working.
2017-12-04 16:09:06 -02:00
Unknown W. Brackets
b4b850bce8 UI: Add a simple tween class. 2017-12-03 09:39:50 -08:00
orbea
0f98ab21c2 Remove trailing whitespace from CMakeLists.txt 2017-11-18 08:17:08 -08:00
Henrik Rydgård
b8dc4d1fb8 Buildfixes for Android 2017-11-12 16:55:36 +01:00