Commit Graph

637 Commits

Author SHA1 Message Date
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
Henrik Rydgård
5018e400f2 Remove some code duplication 2017-11-01 14:51:15 +01:00
Henrik Rydgård
ca7a2d06ca Vulkan: Implement stencil upload (for Star Ocean). 2017-11-01 14:18:39 +01:00
Henrik Rydgård
97dced543e Share the conversion code between vulkan and D3D, fixing the missing format thing. 2017-10-29 14:42:51 +01:00
Henrik Rydgård
9b183f1f4b Forgot to add the CMakeLists.txt change to the last commit. 2017-10-26 10:57:00 +02:00
Henrik Rydgård
1c5bd0f8dc Move the VulkanRenderManager stuff to thin3d, fits in better there. 2017-10-26 10:56:59 +02:00