Henrik Rydgård
11f9df33ba
Vulkan: Start adding object names for easier validation debugging
2020-08-08 21:29:29 +02:00
Henrik Rydgård
3fd8f3d86d
Add a setting. Various tweaks to sound triggering.
2020-08-03 12:08:11 +02:00
Henrik Rydgård
434b717ba0
Add a couple of more sounds. Rename some vars.
2020-08-03 12:08:11 +02:00
Henrik Rydgård
55eb2844fd
Hook up a couple more sounds. Unfortunately clickable back buttons now play both back and confirm sounds...
2020-08-03 12:08:11 +02:00
Henrik Rydgård
5423f76e25
Hook up the first UI sound, make it play.
2020-08-03 12:08:11 +02:00
Henrik Rydgård
b30be913c0
Read in WAV files for UI sounds
2020-08-03 12:08:11 +02:00
Henrik Rydgård
6aa3681f7c
Minor logging improvements
2020-08-02 15:41:00 +02:00
Henrik Rydgård
4766e4fcb9
Merge pull request #13233 from hrydgard/kirk-cleanup
...
Add some comments and const-correctness, and a pointer type fix, to the "semaphore" crypto stuff.
2020-08-02 01:11:06 +02:00
Henrik Rydgård
ce31d3e375
Update Vulkan headers to the latest, just to keep up.
2020-08-01 23:37:15 +02:00
Henrik Rydgård
0586338d5e
Add some comments and const-correctness, and a pointer type fix, to the "semaphore" crypto stuff.
2020-08-01 23:11:48 +02:00
Unknown W. Brackets
5c1bb52ce6
Merge pull request #13221 from hrydgard/android-minor-cleanup
...
Android: Various minor cleanup
2020-07-29 02:51:50 -04:00
Henrik Rydgård
73166def93
Android: Reduce asserts during startup.
2020-07-28 19:06:29 +02:00
Henrik Rydgård
06d57b1656
GL: Add some paranoid checks. Remove a useless option.
2020-07-28 14:24:36 +02:00
Henrik Rydgård
51f080dfd0
Remove unnecessary vector from thin3d_gl texture handling.
2020-07-27 18:22:23 +02:00
ANR2ME
596fad3f42
Provides quick IP fill on Adhoc Server IP address setting to makes player's life easier :)
2020-07-23 12:41:13 +02:00
Henrik Rydgård
31e861132b
Implement ANR2ME's solution for miniupnpcstring.h
2020-07-22 10:26:21 +02:00
Henrik Rydgård
e1069da10a
Oops
2020-07-22 01:40:54 +02:00
Henrik Rydgård
597647a2eb
Create an Android.mk for miniupnp
2020-07-22 01:19:40 +02:00
Henrik Rydgård
5f2156fa27
Windows: Run the upnp string gen script regardless of architecture, and in UWP.
2020-07-22 00:31:34 +02:00
Henrik Rydgård
eb7b6b38f6
Switch to my miniupnpc fork with a UWP fix
2020-07-21 23:43:32 +02:00
Henrik Rydgård
e2035bf241
MiniUPNPC: Windows: Try to fix build on VS 2017, add more platforms.
2020-07-21 23:07:36 +02:00
ANR2ME
33d3ac28de
Added UPnP Support
...
Fix i18n type
2020-07-21 23:02:58 +02:00
Henrik Rydgård
0829543987
Third part of getting rid of PanicAlert
2020-07-19 20:34:02 +02:00
Henrik Rydgård
c5e0b799d9
Remove category from _assert_msg_ functions. We don't filter these by category anyway.
...
Fixes the inconsistency where we _assert_ didn't take a category but
_assert_msg_ did.
2020-07-19 20:33:25 +02:00
Henrik Rydgård
6560192d8e
Support full VSync control in SDL OpenGL.
...
(Not yet Qt).
Forgot about iOS
SDL headless buildfix
Additional iOS buildfix
2020-07-19 12:07:16 +02:00
Henrik Rydgård
f5afb2dbbd
Improve some logging, and print the line number from PanicAlerts.
2020-07-19 11:10:51 +02:00
Henrik Rydgård
82bc6f6cc5
Windows ARM fix, cleanup
2020-07-14 13:47:25 +02:00
Henrik Rydgård
fe91f62f92
Merge pull request #11795 from hrydgard/exception-handler
...
Exception handler - catch bad memory accesses by the JIT
2020-07-14 13:35:16 +02:00
Henrik Rydgård
6f97c3d422
Various platform buildfixes
2020-07-14 09:25:59 +02:00
Henrik Rydgard
c988d42b04
ARM/ARM64 instruction analysis, hook up to handler
2020-07-14 09:25:45 +02:00
Henrik Rydgård
b5e7220ed1
Switch to a fence instead for readbacks. Some sources suggest this is better than idling a queue or device.
...
Like https://stackoverflow.com/questions/39537176/in-what-situations-is-vkfence-better-than-vkqueuewaitidle-for-vkqueuesubmit .
Additionally, this is easier to refactor and loosen up if we can in the
future.
2020-07-14 09:06:07 +02:00
Henrik Rydgård
e66f034fb3
Readback: Downgrade from vkWaitDeviceIdle to vkWaitQueueIdle. Probably effectively pretty much the same.
2020-07-14 09:06:07 +02:00
Unknown W. Brackets
9ebb402e4f
Vulkan: Buildfix.
2020-07-13 18:19:36 -07:00
Henrik Rydgård
131a1eedfb
Vulkan: Make sure textures/samplers are unbound at the end of PresentationCommon::CopyToOutput.
...
Validation caught an issue where old stuff lingered in sampler 1 and texture 1.
Bug probably introduced in #12921 , but could also be others.
2020-07-13 23:32:37 +02:00
Henrik Rydgård
bb6219e402
Merge pull request #12921 from unknownbrackets/postshader
...
Use less FBOs for chained post-processing shaders
2020-07-13 18:52:53 +02:00
Henrik Rydgård
e8370b94c0
Remove irrelevant comment
2020-07-13 18:14:12 +02:00
Henrik Rydgård
dc6e7a7938
Move the Vulkan swapchain out-of-date checking to the vkQueuePresentKHR call.
2020-07-13 18:14:12 +02:00
Unknown W. Brackets
dbbcaa9eca
GLES: Invalidate framebuffers bound DONT_CARE.
...
Let's try to invalidate when it's possible. We move the invalidate to the
end of the render when detected.
2020-07-13 08:00:24 -07:00
Henrik Rydgård
b58ca8af12
Merge pull request #12945 from unknownbrackets/io-timing
...
Make file open timing a bit more accurate
2020-07-13 13:37:53 +02:00
twinaphex
f958ed5817
Add custom GLEW - interfaces with libretro get_proc_address -
...
we need this for compatibility with DRM/KMS and Wayland contexts -
otherwise we're limited to GLX context
2020-07-12 23:51:57 +02:00
Henrik Rydgård
406c06ccaf
Merge pull request #12972 from unknownbrackets/gl-step-debug
...
Label steps using GL debug groups
2020-07-12 23:27:09 +02:00
Henrik Rydgård
7e5527285d
Screen: Unlock the inputLock_ mutex slightly earlier in processFinishDialog
...
It's really just there to protect the stack.
2020-07-05 11:56:04 +02:00
Unknown W. Brackets
4d47715e41
http: Check cancel flag more often.
...
Would be better to use non-blocking sockets, but this code is working,
so not planning to rewrite it right now.
2020-07-04 21:18:41 -07:00
Henrik Rydgård
bd8083fb26
Downloader: Join threads in CancelAll
2020-06-28 18:34:00 +02:00
Henrik Rydgård
1a8084cdbc
Different handling of Download lifetimes. Might help an issue from #13057 (1.10 crash mysteries)
2020-06-28 13:26:12 +02:00
Jan Beich
2c7290e98b
cmake: don't install bundled glslang
...
lib/libglslang.a
lib/cmake/glslangTargets.cmake
lib/cmake/glslangTargets-release.cmake
include/glslang/Public/ShaderLang.h
include/glslang/Include/arrays.h
[...]
2020-06-27 21:14:58 +00:00
Henrik Rydgård
4bcd8df079
Logging improvements and warning fixes.
...
(Had a super odd crash that I can't repro anymore in PPGe init...)
2020-06-22 22:46:03 +02:00
Henrik Rydgård
cd1d73436d
Vulkan: Recreate the swapchain if we get too many "out of date" frames.
...
Should help an issue on my Linux laptop with Intel GPU.
2020-06-22 00:45:05 +02:00
iota97
804b673d8e
Vulkan: Correct secondary texture binding in Draw.
2020-06-12 12:40:53 -07:00
Unknown W. Brackets
201d2782b4
Draw: Allow 2 textures bound in Vulkan.
...
Not working properly though...
2020-06-12 12:35:37 -07:00
Unknown W. Brackets
21ac3ca7a4
Draw: Fix textures and samplers at an offset.
2020-06-12 12:35:37 -07:00
Unknown W. Brackets
64435e56b1
Draw: Use uniform locs for GLES, add samplers.
...
So that we can initialize and bind samplers.
2020-06-12 12:35:36 -07:00
Henrik Rydgård
737688a22a
Annotate calls to RebindFramebuffer with their cause.
2020-06-02 09:51:38 +02:00
Henrik Rydgård
d141e0cf84
Merge pull request #12989 from hrydgard/display-layout-inset-fixes
...
Display layout editor inset fix/workaround
2020-06-02 00:27:45 +02:00
Henrik Rydgård
34a2713c3f
Have DisplayLayoutScreen implemented insets manually. Gave up refactoring it.
2020-05-31 23:23:13 +02:00
Henrik Rydgård
8e7d2109fe
VulkanQueueRunner: Fix some uninitialized struct members (not sure if it has any effect)
2020-05-31 19:35:19 +02:00
Henrik Rydgård
774bea4f33
Merge pull request #12977 from unknownbrackets/travis
...
Make UWP build again and build on Travis
2020-05-26 23:05:03 +02:00
Unknown W. Brackets
40a0525aea
Vulkan: Ensure depth/stencil load match on Mali.
2020-05-25 12:14:03 -07:00
Unknown W. Brackets
c90c29df32
Vulkan: Trivially kill more empty steps.
...
Just in case we have a DONT_CARE step.
2020-05-25 12:04:18 -07:00
Unknown W. Brackets
f232352457
UWP: Include TextDrawer in main MSVC project.
2020-05-25 09:44:05 -07:00
Unknown W. Brackets
c46015e237
UWP: Fix TextDrawer with latest changes.
2020-05-25 09:44:05 -07:00
Unknown W. Brackets
24c844445e
GPU: Don't allow step id to decrease at a sync.
...
This might've caused us to miss necessary dynamic state dirtying in games,
but only in fairly specific cases. But it happens a lot when stepping via
the GE debugger.
2020-05-24 22:39:29 -07:00
Unknown W. Brackets
c8f8d55118
Vulkan: Correct viewport flag reset on rebind.
...
Can't break since we're checking two separate flags.
2020-05-24 21:36:23 -07:00
Unknown W. Brackets
356468fe83
GLES: Use debug groups for render steps.
2020-05-24 20:50:17 -07:00
Unknown W. Brackets
00656a2d8d
GLES: Avoid duplicate state resets.
...
Between render passes, we don't need to re-disable stencil test each time.
Only when it changes. This makes render logs clearer.
2020-05-24 20:50:17 -07:00
Unknown W. Brackets
8fa84fd717
Merge pull request #12968 from hrydgard/dirty-from-drawengine
...
Dirty state from each DrawEngine
2020-05-24 15:35:05 -04:00
Henrik Rydgård
370678c498
Do a similar thing for D3D (let the backend handle the dirtying).
2020-05-24 20:57:59 +02:00
Henrik Rydgård
bebf649705
OpenGL/Vulkan: Rework the contract around dynamic state. Removes some ugly dirtying from the GL render manager.
2020-05-24 20:27:58 +02:00
Unknown W. Brackets
544576e6c2
UI: Lock around removal from dispatch queue.
2020-05-24 10:57:32 -07:00
Henrik Rydgård
bef078a3bd
GLRenderManager: Removes some redundant dirtying. Preserves blend state (color mask) across clears.
2020-05-24 19:18:04 +02:00
Henrik Rydgård
23bdc40715
Merge pull request #12942 from unknownbrackets/vulkan-debug
...
When debugging, expose pass tags to RenderDoc
2020-05-22 09:28:09 +02:00
Unknown W. Brackets
49abe9ed6c
Io: Open sce_lbn references and whole ISO faster.
2020-05-21 18:58:24 -07:00
Unknown W. Brackets
2dbb7a598d
Vulkan: Label render passes in RenderDoc/etc.
2020-05-21 08:55:36 -07:00
Henrik Rydgård
4aec10d04f
Correct an issue where reformat didn't work if no renderpass was active due to the use of clear.
...
Also instantly convert to a clear when binding the framebuffer in cases
when we know it's the optimal thing. The QueueRunner would have later merged
anyway hopefully, but I like the simplicity of this.
2020-05-21 12:01:15 +02:00
Henrik Rydgård
fabe987c8f
Add a name tag for all render steps (GL/Vulkan). Helps with debugging and should be cheap enough (a single pointer per "step").
2020-05-21 11:24:05 +02:00
Unknown W. Brackets
8d900bb432
Vulkan: Check driver version for Adreno 5xx bug.
...
It's now fixed at least as of this version (possibly earlier.)
2020-05-19 22:13:15 -07:00
Unknown W. Brackets
2e05d22eb7
Vulkan: Move Harvest Moon fix to Draw::Bugs.
...
Also, make it so you can skip using ini settings.
2020-05-19 22:12:30 -07:00
Henrik Rydgård
e64fdfa0c3
Fix a case of pointer truncation in Vulkan on 32-bit. Fixes #12932
2020-05-19 20:53:51 +02:00
Henrik Rydgård
69c092dce1
Vulkan crashfix (pNext was uninitialized)
2020-05-19 20:52:47 +02:00
Henrik Rydgård
f1b9943947
Merge pull request #12930 from unknownbrackets/gpu-stencil
...
GPU: Avoid unnecessary clear on stencil upload
2020-05-19 09:05:58 +02:00
Unknown W. Brackets
cb23c0c01d
Vulkan: Create FB compatible pipelines in Draw.
...
The easiest way is just to create both and support both. Perhaps we could
optimize out the creation of the framebuffer one.
Fixes #12928 .
2020-05-18 22:45:20 -07:00
Unknown W. Brackets
396bf1d1c7
Vulkan: Expand logging of render steps a bit.
2020-05-18 21:38:36 -07:00
Henrik Rydgård
612fdb957e
Revert "Experimental commit that effectively reverts the Vulkan part of #12882."
...
This reverts commit 29d1f97dd5
.
2020-05-19 00:44:42 +02:00
Henrik Rydgård
29d1f97dd5
Experimental commit that effectively reverts the Vulkan part of #12882 .
...
For the #12927 investigation.
2020-05-19 00:42:34 +02:00
Henrik Rydgård
d37893d1ac
Track scissors like we track viewports (bugfix?).
2020-05-18 23:21:03 +02:00
Unknown W. Brackets
7fffe1d885
Vulkan: Verify scissor as well.
...
Vulkan spec requires both are set - we do set both, so let's catch any
mistakes.
2020-05-17 21:23:32 -07:00
Unknown W. Brackets
d295feda82
Vulkan: Add asserts to catch no viewport render.
...
Also assert to prevent a sync outside a frame, which goes badly.
The curRenderStep_ reset on same fb made some debugging easier, but should
not actually be hit in any real case.
2020-05-17 21:01:08 -07:00
Unknown W. Brackets
059e2e5e16
Vulkan: Stop merge at clear/touched read only.
...
Before we would merge on a future render after a clear, which can't be
good. But we can safely ignore a draw to another FB that reads from a
touched FB.
2020-05-17 15:04:21 -07:00
Unknown W. Brackets
112a58cb1a
Vulkan: Make merge pass a bit easier to read.
2020-05-17 14:53:37 -07:00
Unknown W. Brackets
caf9d39fec
GLES: Fix invalidation of backbuffer.
...
And of the stencil buffer.
2020-05-17 11:06:39 -07:00
Unknown W. Brackets
47bc11a682
Vulkan: Generalize dependency tracking.
...
Might as well track on all steps. We also can know if the dst was fully
written to here.
2020-05-17 11:06:39 -07:00
Unknown W. Brackets
a36239473d
GLES: Add dependency tracking for render passes.
...
Let's try to invalidate when it's possible. We move the invalidate to the
end of the render when detected.
2020-05-17 11:06:39 -07:00
Henrik Rydgård
9ed9468d72
Make the IsValidPBP DISC_ID check a bit more lenient. Fixes an issue where some homebrew would no longer show in the list.
2020-05-17 15:12:38 +02:00
Unknown W. Brackets
d88099e701
GLES: Specify buffer type just to be safe.
...
Probably doesn't matter, but maybe some drivers take it as a hint?
2020-05-16 23:48:56 -07:00
Henrik Rydgård
4bf92a66c5
Thin3D: use 16-bit indices. Fixes #12898 .
2020-05-15 18:07:07 +02:00
Unknown W. Brackets
8b4821bc05
Draw: Small optimization to callback.
...
This allows the callback to say "I didn't copy, please copy for me." This
helps when additional conversions will be applied during the copy, or a
copy can be skipped.
Also, fixed a couple cases of the wrong mip level being used.
2020-05-13 20:30:24 -07:00
Unknown W. Brackets
cb0f8cb373
D3D11: Allow pixel shader uniforms in Draw.
2020-05-13 18:10:09 -07:00
Unknown W. Brackets
8fdc557040
D3D9: Attempt PS/VS 3.0 if it doesn't work with 2.
...
So that postshaders can work. Downside is, if we write a UI shader that
requires 2.0, we may not notice... but I think the risk is not that high.
2020-05-13 18:10:09 -07:00
Unknown W. Brackets
762b656ea2
GPU: Use a texture directly for MakePixelTexture.
...
This makes it easier to do things with it.
2020-05-13 18:10:09 -07:00
Unknown W. Brackets
f9697c2c32
Vulkan: Allow frag shader UBO reads.
2020-05-13 18:10:09 -07:00
Unknown W. Brackets
e309712fed
Vulkan: Correct missing offsets in Draw.
...
Was silently ignoring them. Caused stretch in postshaders.
2020-05-13 18:10:09 -07:00
Unknown W. Brackets
ddd3af2297
Draw: Actually use the index offset parameter.
...
I'm not sure we need it, but having a param used only on one backend is
confusing.
2020-05-13 18:10:09 -07:00
Unknown W. Brackets
b91b7aaa0a
Draw: Enable backwards compat on D3D11 shaders.
...
To match/support postshaders.
2020-05-13 18:07:25 -07:00
Unknown W. Brackets
c025eab86e
Draw: Add more uniform types.
...
Only because we might have float a[2]; float b[2];...
2020-05-13 18:07:25 -07:00
Unknown W. Brackets
9b8157f624
Draw: Allow specifying a tag on shaders.
...
This way they are not always "thin3d" when using Draw.
2020-05-13 18:07:25 -07:00
Unknown W. Brackets
a03e368566
GPU: Move cardboard/etc. to PresentationCommon.
...
Now this works on softgpu as well.
Some hacks for backend differences...
2020-05-13 18:07:25 -07:00
Unknown W. Brackets
61cca61d0c
Vulkan: Fix Draw usage of framebuffers.
2020-05-13 18:07:25 -07:00
Henrik Rydgård
f23dd7635c
Merge pull request #12882 from hrydgard/vulkan-fix-renderpass-opt
...
Vulkan: Don't merge render passes where the second one begins with a clear.
2020-05-11 00:18:59 +02:00
Henrik Rydgård
a34c773b13
Vulkan: Don't merge render passes where the second one begins with a clear.
...
God of War optimization survives this check, thankfully.
Force Unleashed doesn't, but meh, it's not as bad there anyway.
2020-05-10 23:10:57 +02:00
Unknown W. Brackets
03fc86a147
UI: Return to game settings after restart.
...
This is more convenient. Also restarts the game if needed.
Added a way to pass args to Android here as well, and fixed displaying an
error if the shortcut file doesn't exist on Android (like if you deleted
it after creating the shortcut.)
2020-05-09 13:53:42 -07:00
Unknown W. Brackets
dddaa57392
Windows: Fix GL reinit on backend switch.
2020-05-09 12:20:42 -07:00
Henrik Rydgård
15a785cacb
Merge pull request #12840 from unknownbrackets/android-osk
...
Android: Don't cache env in text drawer
2020-04-20 09:12:02 +02:00
Unknown W. Brackets
418e881f14
Android: Don't cache env in text drawer.
...
For PPGe, the thread is changing on lost, so we can't use the cached env.
2020-04-19 15:40:48 -07:00
Henrik Rydgård
e62c669f10
GLES: Disable range culling on old Tegras, they seem to misbehave (see issue #12838 ).
...
This is a blind fix - couldn't find my old Shield Portable :(
2020-04-19 18:43:20 +02:00
LunaMoo
a0fef4136a
Fix SDK requirements of Atlas and Zim tools.
2020-04-05 16:56:08 +02:00
Aaron Kling
a7f2415469
libretro: Fix Android builds
...
Text Drawer functionality is not available in libretro as it
depends on standalone jni calls. InputBox is also standalone only
gui functionality.
2020-04-03 09:59:16 -05:00
Henrik Rydgård
e8d6a605eb
Merge pull request #12748 from orbea/libpng
...
cmake: Improve building with the system libpng.
2020-04-01 12:57:52 +02:00
Henrik Rydgård
3838a1c94f
Support drawing around notches on Android displays. Fixes #12261
2020-03-31 00:47:01 +02:00
iota97
d89a858dcd
Rember cheat scroll position
2020-03-26 10:59:08 +01:00
Unknown W. Brackets
3bc59b0ef7
Windows: Fix strange build error.
2020-03-23 08:14:36 -07:00
Unknown W. Brackets
89595e0d8f
UI: Translate HAT and left analog the same way.
...
Before, we were resetting our HAT state for each axis we got, so we'd act
like you pressed the arrow more times for each axis your device has.
A similar thing was possible if you had multiple pads.
2020-03-23 07:58:24 -07:00
orbea
c8c7889f0f
cmake: Improve building with the system libpng.
...
This also now requires at least libpng16 instead of libpng17.
v2: Require libpng17 on arm platforms.
v3: Fix the android and windows travis builds.
2020-03-22 18:43:51 -07:00
Unknown W. Brackets
b9795057cf
Osk: Correct UCS2 conversion.
...
String end was calculated incorrectly.
2020-03-22 18:34:03 -07:00
Henrik Rydgård
1ad65c7c7a
Remove some more uint16_t
2020-03-22 21:28:06 +01:00
Henrik Rydgård
d6ba1b7f99
More correctly handle UCS2 encoding.
2020-03-22 19:29:25 +01:00
Henrik Rydgård
bb30169c88
Address feedback
2020-03-22 19:20:23 +01:00
Henrik Rydgård
d1196f2fc0
Support a few more wstring functions on non-windows platforms, due to the armips assembler.
2020-03-22 17:03:49 +01:00
Henrik Rydgård
75cdc11fdb
Text input: Clearly use 16-bit chars like the PSP, don't rely on wchar_t.
2020-03-22 16:44:19 +01:00
Henrik Rydgård
0faa3f2ce3
Merge pull request #12743 from unknownbrackets/ui-minor
...
UI: Disable render dup frames where it can't work
2020-03-22 11:37:19 +01:00
Unknown W. Brackets
da9158b34b
UI: Allow startup without UI assets.
...
On platforms where we render fonts, it is at least somewhat usable without
assets. A much better experience than a segfault.
On other platforms, it'll probably be mostly unusable, but you can already
get that with an old/wrong assets file.
2020-03-21 21:35:43 -07:00
Unknown W. Brackets
c65bfdffc6
UI: Avoid crash when atlas metadata is missing.
...
See #12722 .
2020-03-21 21:10:20 -07:00
Unknown W. Brackets
3b05e839e1
UI: Disable render dup frames where it can't work.
...
Fixes #12724 .
2020-03-21 18:33:54 -07:00
Henrik Rydgård
b3c111399e
Merge pull request #12725 from unknownbrackets/ppge-text
...
Qt: Correct DPI accounting in font rendering
2020-03-18 09:59:29 +01:00
Unknown W. Brackets
22c8ef0b07
Qt: Correct DPI accounting in font rendering.
...
Like Android, we'll increase the font size at higher DPI.
2020-03-17 20:25:37 -07:00
orbea
ee918a4535
cmake: Disable discord-rpc for libretro builds.
2020-03-17 12:32:07 -07:00
Henrik Rydgård
ccd62e7612
Merge pull request #12708 from unknownbrackets/i18n-lock
...
Core: Use a lock for i18n categories
2020-03-15 17:30:06 +01:00
M4xw
fe32ad88fb
Core: Add some libnx calls for Switch.
2020-03-15 07:56:38 -07:00
Unknown W. Brackets
7404592431
Core: Use a lock for i18n categories.
...
Also for the missed key log.
2020-03-14 22:57:20 -07:00
Henrik Rydgård
d0e2aa3a4f
Merge pull request #12702 from unknownbrackets/ppge-text
...
PPGe: Use TextDrawer for save UI if available
2020-03-11 17:26:50 +01:00
Unknown W. Brackets
51b94a9c9c
Core: Quiet some warnings.
2020-03-10 22:19:59 -07:00
Unknown W. Brackets
08a6047768
PPGe: Show ellipsis for overly long lines.
...
To match PPGE_LINE_USE_ELLIPSIS when using TextDrawer.
2020-03-10 21:30:53 -07:00
Unknown W. Brackets
6652fe261f
PPGe: Use TextDrawer for save UI if available.
...
This should result in better spacing for non-Latin characters, and less
missing letters. Basically the same benefits as for the UI.
2020-03-10 21:30:53 -07:00
Unknown W. Brackets
fbf4769ea6
PPGe: Support 8-bit text bitmaps from TextDrawer.
2020-03-10 21:30:50 -07:00
Unknown W. Brackets
5141dc7e91
PPGe: Allow overriding text drawer DPI scale.
2020-03-10 21:29:01 -07:00
Unknown W. Brackets
70b07f20c9
Qt: Cleanup differences in text hashing.
...
We don't want to use just adler to cache strings. Also, port over the DPI
handling to be consistent. Not tested.
2020-03-10 21:29:01 -07:00
Unknown W. Brackets
85d2702304
UI: Refactor TextDrawer to provide bitmaps too.
2020-03-10 21:28:46 -07:00
Henrik Rydgård
d527e5913f
Merge pull request #12697 from unknownbrackets/http
...
http: Correct new thread executor
2020-03-10 09:54:58 +01:00
Unknown W. Brackets
bf83bb1e47
http: Correct new thread executor.
...
It needs to be able to handle N new threads, oops.
2020-03-09 19:57:15 -07:00
Henrik Rydgård
819c62e21e
Android: Fix upside-down joystick navigation (due to an old sin).
...
(Android's joystick Y axis is upside down, and we should have corrected it on the Java
side instead of in all our mappings everywhere).
2020-03-10 01:04:26 +01:00
Unknown W. Brackets
a3e12f4242
Android: Process input prompts more clearly.
...
This way, the processing is generally inline or explicitly a callback.
There's also less parsing issues since all the parsing is centralized.
2020-03-08 20:45:01 -07:00
Unknown W. Brackets
efceb031ce
UI: Make System_InputBox API asynchronous.
...
Doing this as a precursor to cleaning up the Android madness.
2020-03-08 18:59:17 -07:00
Unknown W. Brackets
09dc2ea3eb
Merge pull request #12686 from hrydgard/vulkan-inflight-frames-leak-fix
...
Vulkan: Fix minor vulkan resource leak if inflight frames isn't max.
2020-03-08 12:41:49 -04:00
Henrik Rydgård
b0b9e24d4e
Vulkan: Fix minor vulkan resource leak if inflight frames isn't max.
2020-03-08 17:14:14 +01:00
Henrik Rydgård
6fc073ffa7
UI: Simple joystick navigation. Fixes #10996 .
2020-03-08 16:52:15 +01:00
Henrik Rydgård
34456773c6
Comment fix
2020-03-08 16:27:01 +01:00
Henrik Rydgård
c176c6c114
Also move out the global stuff from view.cpp/h to root.cpp/h
2020-03-08 15:16:32 +01:00
Henrik Rydgård
271f79ea63
UI: Break out the hierarchy functions into ui/root.cpp/h
2020-03-08 14:49:29 +01:00
Henrik Rydgård
8f623be3ea
Merge pull request #12674 from hrydgard/upgrade-glslang
...
Update the glslang submodule, fix the build afterwards.
2020-03-05 07:49:35 +01:00
Unknown W. Brackets
693c9bbae2
Android: Fix glslang include path.
2020-03-04 20:02:31 -08:00
Henrik Rydgård
527f2b52d8
Add the glslang include path in another place
2020-03-04 21:13:17 +01:00
Henrik Rydgård
618881c96d
Merge pull request #12675 from iota97/atlas-tool
...
Fix atlas tool build on linux
2020-03-04 21:11:53 +01:00
Unknown W. Brackets
11e828053b
http: Avoid detach() in webserver code.
...
Should make debugger server more viable on Switch. Also fixes a leak.
2020-03-03 23:08:34 -08:00
Unknown W. Brackets
cb1b7b1e43
Core: Bring over some file related Switch changes.
...
Reducing the distance from the Switch port code.
2020-03-03 22:53:03 -08:00
Henrik Rydgård
7f86dc2605
Another attempt
2020-03-04 01:18:20 +01:00
iota97
7dcb80a7fe
Fix atlas tool build on linux
2020-03-03 23:52:56 +01:00
Henrik Rydgård
db4511c9f5
Also try to fix the legacy Android build.
2020-03-03 23:26:09 +01:00
Henrik Rydgård
f8a0ba3b86
Update the glslang submodule, fix the build afterwards.
2020-03-03 22:19:32 +01:00
Unknown W. Brackets
051a84e9bd
GPU: Restart when changing inflight frames setting.
...
We need to keep the push and pull in step, so changing at runtime is
messy.
2020-03-02 19:21:15 -08:00
Henrik Rydgård
fa8968f5c6
Merge pull request #12660 from unknownbrackets/frame-latency
...
GPU: Add setting to control inflight frame usage
2020-03-02 00:16:48 +01:00
Henrik Rydgård
63f06cdd91
Address some feedback, thanks unknown
2020-03-01 18:41:09 +01:00
Unknown W. Brackets
98df4bbec3
GPU: Allow choosing number of inflight frames.
2020-03-01 08:53:46 -08:00
Unknown W. Brackets
a91e206926
GPU: Add setting to control inflight frame usage.
2020-03-01 06:21:27 -08:00
Henrik Rydgård
25dcf8dd8d
Warning fixes
2020-03-01 14:15:10 +01:00
Henrik Rydgård
0da04f3694
Vulkan: Support devices that don't properly support 16-bit texture (like MoltenVK).
...
Fixes #12615 .
Will make finishing #10654 worthwhile.
2020-03-01 14:07:13 +01:00
Henrik Rydgård
4c392c6473
Fix bug in atlas gen.
...
(Due to the squash and some reordering, the previous commit already
includes fixed metadata)
2020-03-01 12:06:47 +01:00
Henrik Rydgård
45d94c4877
Switch all images to dynamic lookup in the atlas by string ID.
...
SLN fix
It works, but with the wrong images and the wrong characters!
Fix another bug in atlastool's binary output
Get Android building again.
Oops, didn't mean to disable this permanently.
Error checking
Minor cleanup
Gotta tweak my git ignores...
Regenerate metadata
2020-03-01 12:06:47 +01:00
Henrik Rydgård
db24b5ac39
Modify atlas generator to output binary metadata
2020-03-01 12:04:50 +01:00
Henrik Rydgård
2ec82951a0
Merge pull request #12659 from unknownbrackets/vsync
...
Support vsync in all hardware backends, support runtime update
2020-03-01 09:52:14 +01:00
Unknown W. Brackets
3c1e8abcfe
GPU: Centralize vsync interval logic.
...
We already do unthrottle checking here.
2020-02-29 22:27:00 -08:00
Henrik Rydgård
aea3cf74f0
Remove support for "lowmem" UI atlas. Had to regenerate unfortunately.
2020-02-29 19:00:52 +01:00
Henrik Rydgård
1460d94849
And 2017 again...
2020-02-29 18:52:10 +01:00
Henrik Rydgård
d35fd5040d
Delete unused support for ETC1 texture compression
2020-02-29 17:50:35 +01:00
Henrik Rydgård
9a6e9aff11
And fix it on 2019...
2020-02-29 17:13:27 +01:00
Henrik Rydgård
e4cf97557a
Recreate the VS projects in 2017
2020-02-29 16:56:28 +01:00
Henrik Rydgård
d80ec881c1
Code cleanup
2020-02-29 15:24:22 +01:00
Henrik Rydgård
1a1a5a87bd
More VS2017 compat
2020-02-29 15:21:41 +01:00
Henrik Rydgård
daa55ac074
Reformat the atlastool/zimtool source, fix warnings.
2020-02-29 14:57:37 +01:00
Henrik Rydgård
a5af7e9b70
Atlastool/zimtool: Try not to require VS 2019.
2020-02-29 14:48:21 +01:00
Henrik Rydgård
2bf92c5d97
Atlastool/zimtool: Make it easy to build these on Windows (prebuilt submodule)
2020-02-29 12:19:08 +01:00
Unknown W. Brackets
5009698cc0
Core: Use a shared_ptr for i18n categories.
...
This does not make them thread safe, but it reduces the chances of a crash
a bit (see #12594.)
2020-02-09 07:35:16 -08:00
Henrik Rydgård
a4ba5d4859
HttpClient/Buffer: Just some tweaks/sanity checks
...
After a mysterious crash report by Azuka on Discord.
2020-02-07 00:09:42 +01:00
李通洲
55bb58e13e
NativeApp: add System_GetPropertyFloat all the places
2020-02-04 09:20:34 +08:00
李通洲
0a2aa2c3af
Qt/macOS: enable HiDPI ( retina display ) support
2020-02-04 09:20:34 +08:00
Florin9doi
2b57d2365f
Android satellites info
2020-01-26 09:22:24 +02:00
Florin9doi
5fbf2d7713
Add camera/location support for iOS
...
Add front camera support for Android
Allow to change the active camera in-game
2020-01-25 16:54:45 +02:00
Henrik Rydgård
81b42df7c2
D3D11: Fix mistake in UI vertex shader for non-textured geometry. Fixes #12587 .
2020-01-20 22:54:28 +01:00
Henrik Rydgård
52156ec4e5
Merge pull request #12550 from unknownbrackets/win-long-path
...
Attempt support for Windows long paths
2020-01-11 23:32:38 +01:00
Davee Morgan
e7ec568b02
PRX Decryption: add missing decryption keys
2020-01-11 15:25:37 +00:00
Davee Morgan
1d7bbdd006
PRX Decryption: add support for type 0/1/2/5/6 decryption
2020-01-11 15:00:07 +00:00
Unknown W. Brackets
61e4818419
Windows: Allow long path for sys directory.
...
Unlikely, though.
2020-01-04 11:04:33 -08:00