Commit Graph
24126 Commits
Author SHA1 Message Date
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
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 #10868 2018-04-05 12:28:59 +02:00
Henrik Rydgård fea97f2bc8 Merge pull request #10871 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 #10845 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 #10861 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 #10851.
2018-04-02 19:18:16 -07:00
Henrik Rydgård e51fdace3f Merge pull request #10858 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
Henrik Rydgård 62666ff47d Merge pull request #10853 from unknownbrackets/postshader
Display post-shader compilation errors to user as before
2018-04-02 10:59:36 +02:00
Henrik Rydgård bde16ebad7 Merge pull request #10856 from unknownbrackets/android-shortcut
Android: Fix initial start from shortcut
2018-04-02 10:54:00 +02:00
Unknown W. Brackets 895de164ed Android: Fix initial start from shortcut.
Fixes #10855.  We have to wait for the permission request to complete.
2018-04-01 23:28:36 -07:00
Unknown W. Brackets c6ef547176 GLES: Show post-shader compile errors to user. 2018-04-01 19:47:19 -07:00
Unknown W. Brackets 98d4131003 Vulkan: Show post-shader compile errors to user. 2018-04-01 19:47:19 -07:00
Unknown W. Brackets db756b6aeb GLES: Show post-shader translate errors to user.
Usually these should be syntax errors, so better to let them know it
happened.
2018-04-01 19:47:02 -07:00
Henrik Rydgård 0d677fff87 Merge pull request #10847 from unknownbrackets/arm64jit
arm64jit: Update rounding mode on thread switch
2018-04-01 22:11:26 +02:00
Unknown W. Brackets ab809bd19e jit: Apply hasSetRounding at compile time.
Otherwise, the block will be executed with the wrong rounding mode the
first time rounding is set.  This could be important if it was set for a
single operation.

This is only a problem the first time it's set.
2018-04-01 10:36:16 -07:00
Unknown W. Brackets 09e307b097 arm64jit: Update rounding mode on thread switch.
Since fcr31 is per-thread, we must update jit state when it changes.
This also fixes the rounding mode on load state and jit/interp switch.
2018-04-01 10:12:32 -07:00
LunaMoo 199106cad6 Add SSAA flag for post process shaders,
enforces 2x auto resolution, to be used with blurry effects
Also includes a perf. friendly example using simplified gauss filter
2018-04-01 17:00:10 +02:00