Commit Graph
124 Commits
Author SHA1 Message Date
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
Unknown W. Brackets 7ab3e58dec UI: Add colorBlend() helper. 2017-12-03 09:39:28 -08:00
Unknown W. Brackets 66832d2180 SDL: Use core profile, fixing old Mac GL issues.
This applies to all platforms, but falls back to a compat profile if
core is not available.
2017-12-03 07:00:55 -08:00
Henrik Rydgård 6ea669368c Crash reports from 5% rollout of 1.5: Make some asserts dbg_asserts for now, try to fix an issue with framebuffers when postproc is enabled. 2017-11-29 18:53:52 +01:00
Unknown W. Brackets affb57bd23 UI: Fix alphaMul clamping. 2017-11-25 14:08:51 -08:00
Henrik Rydgård 2e9d59ad10 Android: Use __android_log_assert facility to get pretty message-asserts into crash dumps. 2017-11-21 18:06:26 +01:00
Henrik Rydgård 232e30f4db Vulkan: When deriving stencilref from color, don't forget to update the value.
Plus minor cleanups.
2017-11-12 19:33:21 +01:00
Henrik Rydgård 93e148fed6 Vulkan: Implement post-processing. The Vulkan backend is now "feature-complete", and GL is now legacy :P
Bit hacky but works.
2017-11-12 16:12:26 +01:00
Henrik Rydgård f3eeafc728 Change Android logging ID from "NativeApp" to "PPSSPP" 2017-11-10 12:37:54 +01:00
Henrik Rydgård b9ba525de1 Don't call functions in asserts, they get compiled out in release... 2017-10-20 14:45:00 +02:00
Henrik Rydgård 017d3da067 Allow D3D9 context creation to bail if shader compilation fails (D3D9 runtime not installed).
Fixes an issue where after switching to D3D9 on a PC without the D3D9 runtime, it's impossible to start PPSSPP anymore.
2017-10-20 11:53:07 +02:00
Henrik Rydgård 6ab39ba475 Reorder SDL init a bit, allowing us to read the fullscreen option early enough to fix #9086 2017-10-01 23:03:40 +02:00
Henrik Rydgård 4de75235ff Oops, forgot this one. 2017-09-28 20:27:31 +02:00
Henrik Rydgård ebaa8051a4 Remove unnecessary ifdef. Thanks Bracket-. See #9548 comments. 2017-09-28 19:33:07 +02:00
Henrik Rydgård 6a1fa728d8 Remove Globals.h 2017-08-31 17:15:22 +02:00
Henrik Rydgård ff3d799871 Remove snprintf compatibility hacks for MSVC versions before 2015 2017-08-31 16:46:54 +02:00
Florin9doi 892bc8617d Integrate sceUsbGps and sceUsbCam with Android 2017-08-27 17:19:11 +03:00
Henrik Rydgård d94351ef90 Initial work on supporting sustained perf mode 2017-08-15 16:41:13 +02:00
Henrik Rydgård bf91f67a30 Another buildfix 2017-08-07 20:10:13 +02:00
Henrik Rydgård e6bf7b5fe0 Buildfixes 2017-08-07 17:09:16 +02:00
Henrik Rydgård f4cf501cf6 Separate X and Y dpi_scale 2017-08-07 13:37:01 +02:00
Henrik Rydgård 11c75476f7 Turn g_dpi into a float, because why not 2017-08-07 12:16:08 +02:00
Unknown W. Brackets cc88435b48 Windows: Support multi-display full screen.
For when you have an ultrawide monitor, or I guess even multiple.
2017-07-30 09:14:36 -07:00
Unknown W. Brackets 626102e84a Windows: Use system API to toggle fullscreen.
Instead of having a special Host API for Windows only.
2017-07-30 07:51:53 -07:00
Henrik Rydgård be77ffd4e8 Show the Android "board name" in system information. 2017-05-26 12:29:27 +02:00
Unknown W. Brackets 3b4103cb3b System: Use a separate API for bool props.
This simplifies defaulting, instead of -1 being "true".
2017-04-29 17:35:12 -07:00
Unknown W. Brackets 661b2a3aa8 UI: Make GPU events more consistent. 2017-04-27 20:03:50 -07:00
Unknown W. Brackets 638a015ced Add a restarting flag to NativeInit/NativeShutdown.
Will be used externally.  Also cleanup some LogManager init/shutdown in
case these are called multiple times on Windows.
2017-04-15 16:30:37 -07:00
Henrik Rydgard 1ac51f952d QtMain: Renamed mis-named variable assets_dir to external_dir 2017-04-07 09:58:36 +02:00
Henrik Rydgard cf365bb257 Minor cleanup with GOLD define - only use it in System_GetPropertyInt 2017-04-05 16:21:08 +02:00
Unknown W. Brackets e59ebf8ad9 Windows: Add option to browse for bg image.
And also to clear the image.
2017-04-02 10:50:09 -07:00
Henrik Rydgård 22782b6439 UWP: Fix DPI calculations for touch. Implement back button support. 2017-03-23 10:02:29 +01:00
Henrik Rydgard 4ced81b1df UWP: Hook up basic touch/mouse input. Start work on loading from a StorageFile. Getting closer to starting to boot a game 2017-03-23 10:02:28 +01:00
William L. DeRieux IV 1a5a73bec2 Fix issue with repeated keypresses even if a key was pressed only once
-- fixes pause menu and fullscreen toggle among others
2017-03-22 22:54:41 -04:00
Henrik Rydgård fdfc572b69 Misc logging improvments, minor safety check 2017-03-20 13:07:22 +01:00
Unknown W. Brackets a36ecb7065 UI: Track translate/scale/fade transform by screen.
This translates drawing, scissor, and touch to the transform.
2017-03-19 15:42:13 -07:00
Henrik Rydgård aefad893f8 Windows: Start at a sensible window size if high-DPI. Avoids the worst of #9437 but does not fix it. 2017-03-17 13:22:00 +01:00
Henrik Rydgard 4d5e0a3c89 SDL: Fix the command line parser to not double-parse args, fixing #9367 2017-03-16 10:50:08 +01:00
Henrik Rydgård f8343e9efc Add Gradle build. This time, we don't remove the old build system and we don't switch Travis. 2017-03-15 19:42:17 +01:00
Henrik Rydgård e17772b58d Merge pull request #9430 from unknownbrackets/input-state
Remove legacy InputState tracking
2017-03-15 10:16:14 +01:00
Unknown W. Brackets 9e390510df Remove legacy InputState. 2017-03-14 22:07:07 -07:00
Unknown W. Brackets 255c726c1e Remove legacy pointer tracking outside Windows. 2017-03-14 22:07:05 -07:00
Unknown W. Brackets df67497388 Remove legacy accelerometer state. 2017-03-14 22:07:03 -07:00
Henrik Rydgård 7e007c3973 Merge pull request #9426 from unknownbrackets/input-state
Remove various legacy parts of the InputState
2017-03-14 09:34:57 +01:00
Unknown W. Brackets 94700f287d Remove pad_lstick/rstick/ltrigger/rtrigger. 2017-03-13 23:01:50 -07:00
Unknown W. Brackets 2812ddcc86 Remove End/UpdateInputState and ButtonTracker.
No longer used for anything.
2017-03-13 22:58:38 -07:00
Unknown W. Brackets 02855e7abb Remove unused pad_buttons and old virtual_input.
GamepadEmu does this now.
2017-03-13 22:57:22 -07:00
Unknown W. Brackets ef57eafaad Correct GE debugger font size in small window mode.
This should handle high and low DPI cases correctly, to avoid making the
text unreadably small.
2017-03-12 12:17:35 -07:00