Henrik Rydgård
71adef9d75
Merge pull request #12448 from hrydgard/gl-dataformat-cleanup
...
Code cleanup: OpenGL texture format cleanup
2019-10-24 23:24:26 +02:00
Henrik Rydgård
4d6a4beae1
Text drawing fixes
2019-10-24 23:07:57 +02:00
Henrik Rydgård
46447c9e90
Correct the wrong GL DataFormat enums
2019-10-24 23:01:45 +02:00
Henrik Rydgård
9e607fdeb1
GL: remove another unused format
2019-10-24 22:49:36 +02:00
Henrik Rydgård
fcfeda653d
Reduce GL texture format support to the ES minimum. We have to handle these anyway so let's only have one path.
2019-10-24 22:47:22 +02:00
Henrik Rydgård
8c2e318416
OpenGL dataformat cleanup - pass Draw::DataFormat to the GLRenderManager.
...
Avoids triple GLenum all over the place, and also clearly shows that the
mapping is wrong.
2019-10-24 22:41:41 +02:00
Henrik Rydgård
aa04c57633
Merge pull request #12441 from hrydgard/lin-buildfix
...
Fix the build - there's a Vec3 name collision, fixed it using a namespace.
2019-10-22 23:16:25 +02:00
Henrik Rydgård
767b1e45b2
Fix the build - there's a Vec3 name collision, fixed it using a namespace.
2019-10-22 22:58:10 +02:00
Henrik Rydgård
ae286aef86
Vulkan+SoftwareRenderer: Fix screen rotation on Android.
...
(Missed this because software rendering is normally disabled on Android)
2019-10-22 22:08:21 +02:00
Henrik Rydgård
e09296b9b1
Merge pull request #12433 from unknownbrackets/io-minor
...
Io: Return error code for write attempt to UMD
2019-10-20 22:38:36 +02:00
Unknown W. Brackets
913121cf2b
Io: Consistently use error codes with OpenFile().
...
This gets rid of OpenWithError(), and just always returns a negative value
on error for OpenFile(). Also fixed the sequence rollover, which could've
returned 0.
0 should be considered a valid handle ideally, but left it never returning
0 to simplify cleanup in some areas.
2019-10-20 11:03:37 -07:00
Henrik Rydgård
1856dabb24
Merge pull request #12432 from unknownbrackets/io-async
...
Fix change async priority when thread already running
2019-10-20 19:56:46 +02:00
Unknown W. Brackets
45516783f6
Io: Return error code for write attempt to UMD.
...
Previously, we were returning file not found (because 0), which was not
correct. We were also allowing write handles to sce_lbn.
2019-10-20 10:36:13 -07:00
Unknown W. Brackets
f63daf8185
Io: Change async thread priority if running.
...
Really thought I'd already done this, must've made a mistake...
Fixes #12400 .
2019-10-20 10:26:37 -07:00
Unknown W. Brackets
4065fae262
Io: Destroy async threads on reset.
...
Oops, this left us in a different state on exit.
2019-10-20 10:25:57 -07:00
Henrik Rydgård
c7b3a08cf3
Vulkan: Add checks so we don't try to write NULL objects to a descriptor set.
...
(Shouldn't happen, but bad rendering is better than a crash in descriptor writing)
2019-10-20 17:05:42 +02:00
Henrik Rydgård
d3b74d1554
Merge pull request #12431 from LunaMoo/GOWBloomHack
...
Change Bloom Hack aggressive detection to include GOW games bloom.
2019-10-20 16:07:25 +02:00
LunaMoo
c23f11cf0a
Change Bloom Hack aggressive detection to include GOW games bloom.
2019-10-19 19:10:39 +02:00
Henrik Rydgård
90e91e24b3
Merge pull request #12424 from sbingner/jitfix
...
Use old jit enablement method if clean method fails
2019-10-17 00:27:59 +02:00
Sam Bingner
967c6f86b5
Use old jit enablement method if clean method fails
2019-10-16 12:19:47 -10:00
Henrik Rydgård
73bf6098e0
Merge pull request #12421 from sbingner/jitfix
...
Update iOS JIT hack
2019-10-15 09:35:00 +02:00
Sam Bingner
e3971dccbd
Fix fork logic
2019-10-14 17:33:04 -10:00
Sam Bingner
169473b7d0
Replace horrible hack with less horrible hack
2019-10-14 15:24:06 -10:00
Henrik Rydgård
aca18a188f
Merge pull request #12419 from hrydgard/vk-scissor-rotation-clamp
...
Vulkan: Move viewport/scissor rotation to the QueueRunner instead of RenderManager.
2019-10-13 22:29:26 +02:00
Henrik Rydgård
70c0a12b2b
Fix name collision on iOS build
2019-10-13 21:25:16 +02:00
Henrik Rydgård
5adb61a5f2
Move the viewport clamping back to rendermanager to avoid a struct copy in the common case.
2019-10-13 21:25:16 +02:00
Henrik Rydgård
7c0470e061
Fix misplaced break
2019-10-13 21:25:16 +02:00
Henrik Rydgård
87c1ce6fa2
Vulkan: Move viewport/scissor rotation to the QueueRunner instead of RenderManager. Add some checks.
2019-10-13 21:25:16 +02:00
Henrik Rydgård
1e3711ee66
Vulkan blend factor: Bugfix and minor optimization
2019-10-13 21:17:29 +02:00
Henrik Rydgård
29950c0ad5
Update last commit to use IsValidRange instead of IsValidAddress.
2019-10-13 16:21:52 +02:00
Unknown W. Brackets
8a6a494599
Merge pull request #12418 from hrydgard/skip-invalid-code-sections
...
ScanForFunctions: Skip invalid code sections. May help #12414 .
2019-10-13 06:59:42 -07:00
Henrik Rydgård
d64f9c44f3
Code analysis: Skip invalid code sections. May help #12414 .
2019-10-13 13:25:18 +02:00
Henrik Rydgård
94339b2280
Merge pull request #12410 from hrydgard/wasapi-crashfix
...
WASAPI: Discovered by chance that pwstrDeviceId can be null in OnDefaultDeviceChanged.
2019-10-11 20:23:40 +02:00
Henrik Rydgård
420e26b69d
Merge pull request #12412 from hrydgard/gameicon-crash-fix
...
UI: Better way of showing game/savedata images.
2019-10-11 20:20:23 +02:00
Henrik Rydgård
1f742fd07a
UI: Better way of showing game/savedata images. Fixes #12408
2019-10-11 17:34:38 +02:00
Henrik Rydgård
cb463b569a
WASAPI: Discovered by chance that pwstrDeviceId can be null. Treating it as a new device.
2019-10-11 14:29:02 +02:00
Henrik Rydgård
0b17dd04e6
Merge pull request #10393 from hrydgard/compute-upload
...
Vulkan: Texture upload through compute, experimental texture scaling too
2019-10-08 09:11:25 +02:00
Henrik Rydgård
56e2e0845e
Merge pull request #12327 from unknownbrackets/audio-device
...
Use SDL2 audio device API, switch on new device
2019-10-08 07:38:01 +02:00
Unknown W. Brackets
c0aa75917c
Merge pull request #12397 from TotalCaesar659/center-window
...
Move window to center
2019-10-07 20:33:40 -07:00
Unknown W. Brackets
622fc38c1f
Merge pull request #12398 from DuIslingr/master
...
[iOS] Resolve SDK 13 Generation
2019-10-07 20:27:38 -07:00
Unknown W. Brackets
a1ee226c39
SDL: Switch audio device when plugged in.
2019-10-07 20:16:20 -07:00
Unknown W. Brackets
c30bc4ee7d
SDL: Add UI to reset audio device at runtime.
2019-10-07 20:16:19 -07:00
Unknown W. Brackets
8751316051
SDL: Use a configurable output device.
2019-10-07 20:15:25 -07:00
Unknown W. Brackets
141258c366
SDL: Use SDL2 audio API for output.
2019-10-07 20:15:25 -07:00
Unknown W. Brackets
daf07032a6
cmake: Ignore if madbundle.sh fails.
2019-10-07 20:15:25 -07:00
Unknown W. Brackets
7fd96c9912
cmake: Remove old qmake options.
2019-10-07 20:15:25 -07:00
DuIslingr
fc65dc3c24
[iOS] Resolve SDK 13 Generation
...
With XCode 11/SDK 13 you now have to set a blank code signing identity along with disabling code signing in order for the project to generate.
2019-10-07 22:33:51 -04:00
TotalCaesar659
b014ecc335
Move window to center
2019-10-08 04:53:06 +03:00
Henrik Rydgård
1c8ac05b06
MainScreen: Prevent grid game buttons from becoming too wide if the png has the wrong dimensions.
...
Happens with Doom Legacy homebrew.
2019-10-07 23:58:23 +02:00
Henrik Rydgård
eb2109a0f1
Merge pull request #12328 from unknownbrackets/io-async
...
Use PSP threads for async IO
2019-10-07 21:50:57 +02:00