Unknown W. Brackets
4e6c083807
UI: When stepping, clear on initial load.
...
Otherwise we get the UI rather than a black screen.
2017-12-03 19:22:00 -08:00
Henrik Rydgård
7f5ba21402
Merge pull request #10248 from unknownbrackets/android
...
Android: Fix crash on shutdown/restart
2017-12-04 01:13:12 +01:00
Unknown W. Brackets
79f03a0767
Android: Fix crash on shutdown/restart.
...
The text drawing textures needed to be deleted before shutting down their
allocator. Fixes #10244 .
2017-12-03 14:39:00 -08:00
Henrik Rydgård
5eba689d6e
Merge pull request #10243 from unknownbrackets/d3d9-1x
...
UI: Fix D3D9 half-pixel offset at 1x
2017-12-03 17:59:44 +01:00
Unknown W. Brackets
84f5f633df
UI: Fix D3D9 half-pixel offset at 1x.
...
Since we scale by 0.5x for small window, we need to adjust the half pixel
offset to match real pixels.
2017-12-03 06:58:16 -08:00
Henrik Rydgård
aa0cc6712f
Clip block transfer destinations. Should fix crash in #10011 . Stats: Invent some sort of usage metric for device memory allocators.
2017-12-03 15:00:25 +01:00
Henrik Rydgård
cc2e162a00
Merge pull request #10242 from hrydgard/thin3d-texture-alloc
...
Use a VulkanDeviceAllocator for thin3d textures. Saves on allocations.
2017-12-03 14:26:47 +01:00
Henrik Rydgård
6a2f0f4191
Revert "Fix memory-scan bug in VulkanDeviceAllocator that probably causes some fragmentation."
...
This reverts commit ac6b491287
.
2017-12-03 11:31:25 +01:00
Henrik Rydgård
ac6b491287
Fix memory-scan bug in VulkanDeviceAllocator that probably causes some fragmentation.
2017-12-03 11:10:40 +01:00
Henrik Rydgård
1bf44b7ca3
Shutdown fix.
2017-12-03 11:02:49 +01:00
Henrik Rydgård
6abdbde47e
Fix bugs in VulkanImage allocator support
2017-12-03 10:50:25 +01:00
Henrik Rydgård
5d53f5e24c
Add another assert, which gets hit.. Hm. Something is wrong..
2017-12-03 10:42:19 +01:00
Henrik Rydgård
ff264efe7e
Change some Crash() to asserts in VulkanDeviceAllocator
2017-12-03 10:35:34 +01:00
Henrik Rydgård
d0c248368d
Use a VulkanDeviceAllocator for thin3d textures. Many devices have a hard limit on the total number of allocs and it's unnecessary to have the UI put pressure on that.
2017-12-03 10:29:41 +01:00
Henrik Rydgård
97bdc72d90
Vulkan: Only call EndCreate on the texture if it actually exists.. Though not having one would be bad.
2017-12-03 10:21:51 +01:00
Henrik Rydgård
1cb3564c11
Merge pull request #10239 from unknownbrackets/ui-minor
...
UI: Send prompt results even on back/cancel
2017-12-03 10:01:22 +01:00
Henrik Rydgård
a58ef7ce6b
Merge pull request #10238 from unknownbrackets/hashmaps
...
Fix missing Maintain() for some hashmaps
2017-12-03 10:00:49 +01:00
Unknown W. Brackets
cde6b3d3e4
UI: Send prompt results even on back/cancel.
...
Before, if you went to the GPU backend prompt, and canceled, it would
never call the callback, and so the g_Config value never got reset.
2017-12-02 19:04:33 -08:00
Unknown W. Brackets
0dee041002
D3D11: Change state caches to DenseHashMaps.
2017-12-02 18:55:02 -08:00
Unknown W. Brackets
243304a5e8
Hashmaps: Fix missing maintain calls in non-GLES.
...
Should only matter if vertex cache is enabled.
2017-12-02 18:27:18 -08:00
Henrik Rydgård
d6b7cde718
Fix a use-after-free in sceKernelTerminateDeleteThread
2017-12-03 02:33:50 +01:00
Henrik Rydgård
4c114c1b1a
Merge pull request #10236 from unknownbrackets/text-wrap
...
UI: Fix text wrapping issues
2017-12-03 02:19:41 +01:00
Unknown W. Brackets
04c61ea429
Android: Render text with newlines properly.
...
Fixes the Android part of #10217 .
Not sure if the line height calculation is ideal but it's visually fine.
2017-12-02 16:05:35 -08:00
Henrik Rydgård
b795258469
Merge pull request #10234 from unknownbrackets/ui-message
...
UI: Handle messages even when dialog is top
2017-12-03 00:34:02 +01:00
Unknown W. Brackets
4ad7107151
UI: Wrap text properly with explicit newlines.
...
Fixes the non-Android part of #10217 .
2017-12-02 14:38:59 -08:00
Unknown W. Brackets
8e27600236
UI: Clean up some unused code and flags.
2017-12-02 13:52:10 -08:00
Unknown W. Brackets
8a58bf6596
Hashmaps: Another cleanup.
2017-12-02 11:55:54 -08:00
Unknown W. Brackets
5c81c67410
UI: Avoid pushing a screen on top of itself.
...
In case someone doesn't realize they're on settings, or etc.
2017-12-02 11:55:06 -08:00
Unknown W. Brackets
f1bd54148b
UI: Cleanup common message handling.
...
Most of it can just be handled by the common parent classes.
2017-12-02 11:55:06 -08:00
Unknown W. Brackets
e945ad6ac1
UI: Avoid navigation with an active dialog.
...
Cleaning up next.
2017-12-02 11:55:05 -08:00
Unknown W. Brackets
68a5861f60
UI: Send messages to dialog parents by default.
...
If it has no sendMessage(), it probably still makes sense to send to the
parent (especially cpu change, clear cache, etc.)
This fixes the ability to change CPU cores ingame, and also fixes other
settings which weren't properly clearing caches.
2017-12-02 11:55:04 -08:00
Unknown W. Brackets
1f9fabee57
Merge pull request #10232 from unknownbrackets/shader-ids
...
GLES: Improve shader cache logging, another hashmap fix
2017-12-02 14:54:08 -05:00
Unknown W. Brackets
668b17febf
Hashmaps: Reset count on clear.
2017-12-02 10:45:46 -08:00
Unknown W. Brackets
681ce953ec
GLES: Log shader cache filesize error better.
2017-12-02 10:20:44 -08:00
Henrik Rydgård
7f858cc497
Merge pull request #10231 from unknownbrackets/shader-ids
...
Fix hashmap grow bug and add shader id typesafety
2017-12-02 19:19:42 +01:00
Unknown W. Brackets
9c52155d3f
GPU: Minor cleanup.
2017-12-02 09:47:59 -08:00
Unknown W. Brackets
bbb4987cc0
Hashmaps: Reset state when growing.
...
std::move() is by no means guaranteed to clear.
2017-12-02 09:47:15 -08:00
Unknown W. Brackets
e9a7bda2d5
Hashmaps: Change some crashes to asserts.
...
Silence is not golden.
2017-12-02 09:46:48 -08:00
Unknown W. Brackets
e50ec2c350
GLES: Validate shader cache filesize on preload.
2017-12-02 09:14:19 -08:00
Unknown W. Brackets
4731a2918c
GPU: Use more typesafe shader IDs.
...
Since they really are fairly distinct, let's make sure we can't mix them
accidentally.
2017-12-02 09:07:27 -08:00
Unknown W. Brackets
5c5dd5c4c4
GPU: Annotate free shader ID bits.
...
Some ere missing.
2017-12-02 08:52:36 -08:00
Henrik Rydgård
341611e16a
Update AndroidManifest.xml to 1.5.3.0, just in case anyone is still using the old build system where this isn't automatic.
2017-12-02 12:10:48 +01:00
Henrik Rydgård
00d4da40ae
Update lang
2017-12-02 12:06:56 +01:00
Henrik Rydgård
734d9c494c
Fix bug in Vulkan non-buffered where clears could extend outside the frame, since Vulkan clears do not respect scissors.
2017-12-02 11:05:10 +01:00
Henrik Rydgård
b84c15c663
Vulkan: Remove misguided assert about backbuffer clearing mode.
2017-12-02 11:05:10 +01:00
Henrik Rydgård
0389647013
Merge pull request #10225 from LunaMoo/AVdumpHotkey
...
Add hotkey to toggle audio and video dumping together in sync.
2017-12-02 09:59:23 +01:00
Unknown W. Brackets
b2bb1b676e
Reporting: Oops, fix module load log line.
...
Typo from 0a36549
- meant to disable reporting.
2017-12-01 18:25:06 -08:00
LunaMoo
95a14ca830
Add hotkey to toggle audio and video dumping together in sync.
2017-12-01 23:48:58 +01:00
Henrik Rydgård
d551c9e741
Add a github issue template. Let's see if this works.
...
https://github.com/blog/2111-issue-and-pull-request-templates
2017-12-01 23:11:58 +01:00
Henrik Rydgård
a67357db05
Merge pull request #10223 from unknownbrackets/minor
...
Reporting: Use a different link message on preload
2017-12-01 20:28:37 +01:00