Commit Graph

24301 Commits

Author SHA1 Message Date
Henrik Rydgård
993423f82d
Merge pull request #10899 from hrydgard/restore-hw-skinning-part-2
Restore hw skinning part 2
2018-04-10 14:39:23 +02:00
Henrik Rydgård
02ea4b5efa Inner interpreter safety check - in hw skinning mode, we need to flush if any part of the vertex format changes. 2018-04-10 14:37:32 +02:00
Henrik Rydgård
dbe52c8135 Remove some obsolete checks - software skinning is now supported even if morphcount isn't 1. 2018-04-10 13:09:01 +02:00
Henrik Rydgård
b58bc7c799
Merge pull request #10898 from hrydgard/restore-hw-skinning-part-1
Restore hw skinning part 1
2018-04-10 12:53:53 +02:00
Henrik Rydgård
00f3bf6102 Revert "Start removing support for hardware skinning."
This reverts commit dcb773d624.
2018-04-10 12:31:21 +02:00
Henrik Rydgård
ccd594dae7 Revert "VertexLoader: Remove now-unused weights translation code"
This reverts commit 44100c6c1d.
2018-04-10 12:30:49 +02:00
Henrik Rydgård
0345e1a7d4 Revert "Oops, fix hardware tess in Vulkan (after removing hw skinning, we need to adjust the binding number)"
This reverts commit 87575910df.
2018-04-10 12:28:30 +02:00
Henrik Rydgård
36fd2711d6 Revert "Remove further remains of hardware skinning."
This reverts commit 40db61a680.
2018-04-10 12:22:41 +02:00
Henrik Rydgård
7de3edb46c Revert "Remove gstate_c.deferredVertTypeDirty"
This reverts commit fcdb816235.
2018-04-10 12:22:41 +02:00
Henrik Rydgård
8953d7ff73 Revert "Comment fixes, reindentation."
This reverts commit 6fa9fcefb2.
2018-04-10 12:14:23 +02:00
Henrik Rydgård
1c99ebcbcc Fix DecFmt bug 2018-04-10 12:12:47 +02:00
Henrik Rydgård
6a90b8fbb4 Revert "Further cleanup after the removal of hardware skinning."
This reverts commit f086a0915f.

Increment the shader cache version. Restore some more.
2018-04-10 11:38:02 +02:00
Henrik Rydgård
69309aa400 Revert "Remove some remains of software skinning"
This reverts commit 2d33d526b8.
2018-04-10 11:21:56 +02:00
Henrik Rydgård
c005d7433d
Merge pull request #10896 from unknownbrackets/loading
Module: Fix function hashing typo
2018-04-10 08:29:14 +02:00
Unknown W. Brackets
da0173f40c Module: Fix function hashing typo.
May help #10895.
2018-04-09 19:12:23 -07:00
Henrik Rydgård
55ea4bdfd9
Merge pull request #10893 from unknownbrackets/gl-thread
Fix a few more GLES threading issues
2018-04-09 10:11:04 +02:00
Unknown W. Brackets
c0f1b7793a UI: Assert on invalid permission status. 2018-04-08 23:54:56 -07:00
Unknown W. Brackets
6ba0a6cdfd Android: End GLES renderer after emu thread join.
This matches other backends, and prevents things from being added to the
deleter after GLES end.  Fixes #10849.
2018-04-08 19:28:15 -07:00
Unknown W. Brackets
32eb483932 GLES: Defrag using deleter off render thread.
Moving it to the render thread was a bit more complex because of
localMemory.  Fixes #10859.
2018-04-08 19:22:46 -07:00
Henrik Rydgård
330bb8158c
Merge pull request #10887 from konistehrad/subtle_volume
Less intrusive volume change indicator on iOS
2018-04-08 20:03:56 +02:00
Conrad Kreyling
b4e315a839 Use tabs for indentation
When those Xcode defaults bite you
2018-04-08 13:29:38 -04:00
Conrad Kreyling
3f90c97f39 fix “crash on exit”
Leaving this view here causes some kinda race condition on a lock, causing a crash on exit. Simply removing the volume from the superview fixes the issue.
2018-04-08 13:29:38 -04:00
Conrad Kreyling
2febfa1888 allow padding specification, remove NSLog 2018-04-08 13:29:38 -04:00
Conrad Kreyling
cb83ff598b add updated Obj-C version of SubtleVolume 2018-04-08 13:29:38 -04:00
Henrik Rydgård
58206f4fe7
Merge pull request #10892 from unknownbrackets/android-file
Android: Avoid pread64 for > 2GB offsets
2018-04-08 17:54:12 +02:00
Unknown W. Brackets
7dbd2cecd8 Android: Avoid pread64 for > 2GB offsets.
Appears to not actually work as advertised.  See #10862.
2018-04-08 08:14:07 -07:00
Henrik Rydgård
6fccefae5f
Merge pull request #10888 from unknownbrackets/replay
WIP: Initial basic replay recording
2018-04-08 14:20:19 +02:00
Unknown W. Brackets
462d4d648e Replay: Handle long button presses correctly. 2018-04-07 18:00:51 -07:00
Unknown W. Brackets
3ea652714a Replay: Initial file handling and control funcs. 2018-04-07 18:00:51 -07:00
Unknown W. Brackets
0f9c53e03a Replay: Track replay of file operations. 2018-04-07 18:00:51 -07:00
Unknown W. Brackets
76e2a40e5f Replay: Prep side data structure. 2018-04-07 15:36:28 -07:00
Unknown W. Brackets
89186d8113 Replay: Initial structure for replay functionality. 2018-04-07 15:36:28 -07:00
Henrik Rydgård
93bf866125 UWP: Fix (or patch up...) a race condition in StorageFileLoader. Might help #10882, fixes some other freezes.
Not convinced it's 100% correct but it appears to work, heh. Can't be
bothered to investigate too deeply.
2018-04-07 17:47:02 +02:00
Henrik Rydgård
ac898c54f3 UWP: Remove the rendering backend picker. Fixes #10883, sort of. 2018-04-07 17:37:31 +02:00
Henrik Rydgård
32d1a85223 UWP buildfix 2018-04-07 16:01:56 +02:00
Henrik Rydgård
e4a333a467 Update lang submodule 2018-04-07 16:01:05 +02:00
Henrik Rydgård
e784d1a29c Vulkan: Ease off on the allocator "slab pressure" if texture scaling is enabled.` 2018-04-07 10:40:49 +02:00
Henrik Rydgård
6496150ccc
Merge pull request #10881 from unknownbrackets/vulkan-alloc
Track Vulkan memory usage better, reuse more aggressively
2018-04-07 10:26:35 +02:00
Unknown W. Brackets
d07a124a90 Vulkan: Increase base slab allocation size. 2018-04-06 21:43:18 -07:00
Unknown W. Brackets
7811c03c3b Vulkan: Report old allocations when enabled. 2018-04-06 21:43:18 -07:00
Unknown W. Brackets
99d16b2202 Vulkan: Add tags to UI textures too. 2018-04-06 21:43:18 -07:00
Unknown W. Brackets
5f27a2e60a Vulkan: Track tags on emu textures. 2018-04-06 21:43:18 -07:00
Unknown W. Brackets
3445a82567 Vulkan: Allow reusing memory more aggressively.
This causes allocated slabs to get reused more, which means more smaller
slabs are kept around.  However, it also reduces fragmentation.
2018-04-06 21:42:32 -07:00
Unknown W. Brackets
fd183715ec Vulkan: Decimate when there are many slabs.
This helps avoid one little texture holding onto a whole slab.

Won't change behavior when they are full, since then the cacheSizeEstimate
should be fairly high.
2018-04-06 21:42:32 -07:00
Unknown W. Brackets
1c253ee271 Vulkan: Add code to track allocator usage info.
This way we can potentially debug leaks, if any.
2018-04-06 21:42:32 -07:00
Henrik Rydgård
ca0fb77080 Assorted cleanups. Don't assert on no clear mask. 2018-04-06 23:29:44 +02:00
Henrik Rydgård
86966684d4 Vulkan: Remove the wrapper struct around VulkanTexture 2018-04-05 23:23:14 +02:00
Henrik Rydgård
2cd8bd9bc3 Fixes to in-game GPU shutdown/switching. Fixes #10860 2018-04-05 20:26:29 +02:00
Henrik Rydgård
4624d09e29
Merge pull request #10875 from hrydgard/more-gl-shutdown-fixes
More GL shutdown fixes
2018-04-05 20:19:11 +02:00
Henrik Rydgård
398d375568 Fix issue in TextureCacheGLES::DeviceRestore 2018-04-05 20:17:30 +02:00