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
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
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
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
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
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
Henrik Rydgard
cf365bb257
Minor cleanup with GOLD define - only use it in System_GetPropertyInt
2017-04-05 16:21:08 +02:00
Henrik Rydgård
22782b6439
UWP: Fix DPI calculations for touch. Implement back button support.
2017-03-23 10:02:29 +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 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 and GitHub
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 and GitHub
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
Henrik Rydgård
3286c62ee5
Fix shutdown crash in SDL builds. Fixes #9409
2017-03-11 12:58:21 +01:00
Henrik Rydgård
a1941d8a81
It's enough to call net::Init/Shutdown in NativeInit/Shutdown. Remove other calls.
2017-03-06 10:51:28 +01:00
ASL97
56431ca9ab
Don't minimize PPSSPP when losing focus while fullscreen
2017-02-23 05:51:25 +08:00
Henrik Rydgard
ad29974a56
Change when drawcontexts are allocated. Hook up backbuffer events to fix d3d9 resizing.
2017-02-06 11:40:16 +01:00
Henrik Rydgard
20d9e60a67
Just some renaming. Start moving away from the "thin3d" name
2017-01-30 14:38:31 +01:00
Henrik Rydgård
6fef65b8f1
Another non-Windows buildfix
2016-12-27 11:59:11 +01:00
Henrik Rydgård
f86b9f7900
Guess what? More renaming
2016-12-27 11:59:06 +01:00
Florent Castelli
8c3552de74
cmake: Detect features at compile time
...
Instead of relying on manually passed down flags from CMake,
we now have ppsspp_config.h file to create the platform defines for us.
This improves support for multiplatform builds (such as iOS).
2016-10-19 12:31:19 +02:00
Florent Castelli
94d57f4573
maemo: Remove!
2016-10-12 13:13:09 +02:00
Neil Munday
db2cc49e0d
Modified SDL2 code to make full use of SDL2's Game Controller API.
2016-09-18 23:23:36 +01:00
Unknown W. Brackets
2e2674be21
Properly allow triggering a core context.
...
This will be useful on Mac.
2016-08-08 17:56:09 -07:00
Henrik Rydgård
3fc255b429
Make it possible to run even if SDL was built with joystick disabled. Should fix #8851 .
2016-07-09 09:15:49 +02:00
Unknown W. Brackets
95d912c378
Get rid of the input_state global linkage.
2016-05-27 20:24:01 -07:00
Henrik Rydgard
b39206f922
Use the app cache directory on Android for the shader cache.
2016-01-17 22:15:23 +01:00
Henrik Rydgard
27c71aa340
Get rid of the unused "InstallID"
2016-01-17 15:46:15 +01:00
Unknown W. Brackets
481be1cd34
Fix GL feature detection.
2016-01-06 20:26:53 -08:00
Henrik Rydgård
95822a165d
Fix Mac build
2016-01-01 14:40:19 +01:00
Henrik Rydgard
ae3458ec6e
Buildfixes linux
2016-01-01 14:40:17 +01:00
Henrik Rydgard
15de6e6b98
GraphicsContext: Abstract away things like swapbuffers etc before adding even more backends.
...
Needed to prevent clutter all over the codebase.
Does not go all the way yet, goal would be a common render loop between platforms but not there yet.
2016-01-01 14:40:16 +01:00
Unknown W. Brackets
267bd0e2f7
SDL: Avoid dereferencing an invalid iterator.
...
Might not be a key we know about.
2015-12-27 12:04:18 -08:00
Unknown W. Brackets
dcda4967fe
SDL: Prevent windowevents from triggering keys.
...
There was no break, unintentional fall-through.
2015-12-27 12:03:26 -08:00
Unknown W. Brackets
82e41a1392
Make sure the config is saved on exit.
...
May help #7724 .
2015-12-25 19:39:52 -08:00
Henrik Rydgard
732b1239e7
Add some permission infrastructure, add an ugly button that asks you to grant STORAGE permission if necessary.
2015-12-17 22:41:50 +01:00
Henrik Rydgård
437d7b80e3
Fix window resize/fullscreen ingame on Mac and other SDL builds
2015-10-25 11:19:41 +01:00
Henrik Rydgard
3232e46c36
Make debug build nearly warning free in MSVC 2015
2015-09-17 22:02:15 +02:00