Commit Graph

24136 Commits

Author SHA1 Message Date
Henrik Rydgård
55ea4bdfd9
Merge pull request 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 .
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 .
2018-04-08 19:22:46 -07:00
Henrik Rydgård
330bb8158c
Merge pull request 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 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 .
2018-04-08 08:14:07 -07:00
Henrik Rydgård
6fccefae5f
Merge pull request 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 , 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 , 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 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 2018-04-05 20:26:29 +02:00
Henrik Rydgård
4624d09e29
Merge pull request 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
Henrik Rydgård
b06df3536e Auto unregister push buffer on deletion. 2018-04-05 17:53:03 +02:00
Henrik Rydgård
c7eb259c0c Auto register new push buffers on creation 2018-04-05 17:50:37 +02:00
Henrik Rydgård
76138fee6d Move pushbuffer deletion to the render manager. 2018-04-05 17:47:08 +02:00
Henrik Rydgård
feb3870f7d Also take control over Begin/End 2018-04-05 17:34:32 +02:00
Henrik Rydgård
8d6bbc54a9 Minor refactoring moving creation/deletion of GLPushBuffer to GLRenderManager 2018-04-05 17:31:12 +02:00
Henrik Rydgård
513ea72d5d OpenGL debug log: Filter out some buffer mapping info from the NV driver 2018-04-05 12:29:09 +02:00
Henrik Rydgård
1d6263d5eb More GL shutdown fixes. Partially fixes 2018-04-05 12:28:59 +02:00
Henrik Rydgård
fea97f2bc8
Merge pull request from unknownbrackets/arm64jit
arm64jit: Fix reg size in jr delay slot path
2018-04-04 16:48:09 +02:00
Unknown W. Brackets
4861cadb79 arm64jit: Fix reg size in jr delay slot path.
Can't use the 64-bit reg.
2018-04-04 06:58:12 -07:00
Henrik Rydgård
d3164d77d4
Merge pull request from LunaMoo/SSAAflag
Add SSAA flag for post process shaders
2018-04-04 15:40:26 +02:00
Henrik Rydgård
3f89cccd3d
Merge pull request from unknownbrackets/vertexdec
GPU: Fix s8 norm with skin and morph
2018-04-03 07:38:55 +02:00
Unknown W. Brackets
d70568abd2 GPU: Fix s8 norm with skin and morph.
Fixes .
2018-04-02 19:18:16 -07:00
Henrik Rydgård
e51fdace3f
Merge pull request from LunaMoo/pauseMenuExit
Add "--pause-menu-exit" option.
2018-04-02 23:32:01 +02:00
LunaMoo
e5e19554e6 Add "--pause-menu-exit" option. 2018-04-02 16:31:26 +02:00
LunaMoo
ffac542f95 Change to int to allow higher supersampling scale. 2018-04-02 13:44:28 +02:00