Henrik Rydgård
2f85e6516e
Minor optimizations (use the new hashmap in a few more places)
2017-08-20 19:18:46 +02:00
Henrik Rydgård
9bce767b73
Merge pull request #9916 from hrydgard/faster-hashmaps
...
Replace the most critical unordered_maps and maps with faster maps.
2017-08-20 17:56:31 +02:00
Henrik Rydgård
a4b97f00b6
And yet another buildfix.
2017-08-20 15:52:12 +02:00
Henrik Rydgård
10cebb4195
32-bit buildfix
2017-08-20 15:33:53 +02:00
Henrik Rydgård
6ffb3d6b53
Buildfix
2017-08-20 14:58:10 +02:00
Henrik Rydgård
c2bd739b49
Optimize uniform uploads for D3D9 and GL as well.
2017-08-20 13:53:39 +02:00
Henrik Rydgård
73a94f4b11
Merge pull request #9917 from hrydgard/dataconv-simd
...
SIMD-optimize some data conv routines used in uniform updates.
2017-08-20 13:39:10 +02:00
Henrik Rydgård
237cca683b
Maintain the hashmap from time to time. Fix a bug in count reset on grow.
2017-08-20 13:34:11 +02:00
Henrik Rydgård
ceb76bd89a
Include Hashmaps.h in CMakeLists.txt.
2017-08-20 11:44:43 +02:00
Henrik Rydgård
91783a3281
SIMD-optimize some data conv routines used in uniform updates.
2017-08-20 11:43:35 +02:00
Henrik Rydgård
e0e13e191f
Replace the most critical unordered_maps and maps with two new maps: FastHashMap and PrehashMap.
2017-08-20 11:30:19 +02:00
Unknown W. Brackets
cbd107b03d
Merge pull request #9898 from vnctdj/master
...
Make more strings translatable
2017-08-19 17:28:33 -04:00
Henrik Rydgård
641c5f36f9
Merge pull request #9915 from unknownbrackets/marvel-copy
...
Add hooks for Marvel video copy func
2017-08-19 21:30:43 +02:00
Unknown W. Brackets
1cf5e30bd6
Add hooks for Marvel video copy func.
...
Not tested - but should make videos visible in Marvel Ultimate Alliance 1.
See #9852 .
2017-08-19 11:47:42 -07:00
Henrik Rydgård
7ddf704804
Vulkan: Fix bug sometimes causing the wrong renderpass to be ended at exit, causing crashes.
2017-08-18 17:24:03 +02:00
Henrik Rydgård
750c124c33
Vulkan: Fix some inefficient command pool usage, might also fix a race condition
2017-08-18 17:09:48 +02:00
Henrik Rydgård
b9b2656e93
More vulkan microoptimizations. Add more profiler scopes.
2017-08-18 13:48:11 +02:00
Henrik Rydgård
ed776d8c0b
ARM: Delete obsolete comments and check
2017-08-18 13:48:11 +02:00
Henrik Rydgård
4e2726f540
Merge pull request #9913 from thesourcehim/master
...
Fixed invalid preprocessor directive
2017-08-18 13:19:47 +02:00
thesource
76dd5d380e
Fixed invalid preprocessor directive
2017-08-18 11:53:47 +03:00
Henrik Rydgård
d1685954c5
Merge pull request #9909 from vnctdj/hFileStringI18n
...
Make some strings in .h files translatable
2017-08-18 10:51:15 +02:00
vnctdj
7f37c40382
Make dev menu pop-up title translatable
2017-08-17 23:10:12 +02:00
vnctdj
b31b76c536
Make control mapping pop-up title translatable
2017-08-17 23:10:12 +02:00
Henrik Rydgård
e8a81df8d8
FRAGMENT_SHADER needs to be marked dirty if shademode changes. Fixes #9904 .
...
No clue why the problem only happened on GL though...
2017-08-17 21:02:09 +02:00
Henrik Rydgård
560eaa5390
Vulkan: Add code (disabled) to be able to run with more in-flight frames. Only improves performance marginally and needs more testing.
2017-08-17 17:57:37 +02:00
Henrik Rydgård
d65547edb5
Crashfix on older devices
2017-08-17 17:49:36 +02:00
Henrik Rydgård
d60bb27cd9
Merge pull request #9906 from hrydgard/fastrunloop-optimize
...
GPU FastRunLoop optimizations
2017-08-17 16:25:15 +02:00
Henrik Rydgård
e50cb4f395
Merge pull request #9905 from hrydgard/vulkan-vertex-cache
...
Implement vertex caching for Vulkan.
2017-08-17 15:53:55 +02:00
Henrik Rydgård
319df97bc7
Buildfix for X86 Android
2017-08-17 15:48:52 +02:00
Henrik Rydgård
5680332343
Minor cleanups
2017-08-17 15:20:21 +02:00
Henrik Rydgård
2c4e5e2303
Fastpath in fastrunloop when diff=0. Remove need for Execute for UV scale/offset.
2017-08-17 15:20:16 +02:00
Henrik Rydgård
71baecabd6
Make FLAG_FLUSHBEFORE a no-op, move flushes into the execution functions.
...
It would only be necessary if we needed the previous value, which we
don't do in any of these.
2017-08-17 15:20:10 +02:00
Henrik Rydgård
45737466e2
Vulkan vertex cache: Fix bug with "pure prim" draws (where we avoid the index buffer)
2017-08-17 12:00:20 +02:00
Henrik Rydgård
5e788ffadf
Implement vertex caching for Vulkan.
2017-08-17 11:22:45 +02:00
vnctdj
ee87c08e79
Oops, forgot this one
2017-08-17 00:21:00 +02:00
vnctdj
15c983a382
Add a new translation category for the remote ISO feature
2017-08-16 23:39:30 +02:00
Unknown W. Brackets
cd43049788
Merge pull request #9901 from hrydgard/sustained-perf-mode
...
Initial work on supporting sustained perf mode
2017-08-16 11:05:11 -04:00
Henrik Rydgård
d383976625
Merge pull request #9902 from VVVFO/master
...
Add controller entries from gabomdq/SDL_GameControllerDB
2017-08-16 10:25:08 +02:00
Henrik Rydgård
95d3a8edbe
Spacing
2017-08-16 10:24:12 +02:00
Henrik Rydgård
b35d0e00ec
Oops, forgot to update NativeQueryConfig, thanks unknown
2017-08-16 10:23:27 +02:00
Qingning Yao
f3575c8196
Add controller entries from gabomdq/SDL_GameControllerDB
...
Before using gabomdq/SDL_GameControllerDB as submodule, there's a few entries that exists in our current file but not in that repository. I have created a [pull request](https://github.com/gabomdq/SDL_GameControllerDB/pull/149 ) for that repo, and before that get merged, this could be a direct temporary fix to #9872 and #9825 and many more potential controller support issues.
2017-08-16 15:18:16 +08:00
Henrik Rydgård
bc76c8d541
Cleaner Vulkan shutdown
2017-08-15 17:30:37 +02:00
Henrik Rydgård
d94351ef90
Initial work on supporting sustained perf mode
2017-08-15 16:41:13 +02:00
Henrik Rydgård
b3b459507a
Neon-optimize the audio s32->s16 packing function
2017-08-15 16:16:25 +02:00
Henrik Rydgård
d19d8a8bb8
NEON-optimize CLUT loads
2017-08-15 16:02:31 +02:00
Henrik Rydgård
50d771961b
Vulkan: More minor optimization (avoid pipeline cache lookups when possible)
2017-08-15 16:01:50 +02:00
Henrik Rydgård
2b8e81f01e
NEON-optimize bone matrix loads
2017-08-15 14:35:21 +02:00
Henrik Rydgård
983bb3bd0f
Can't dirty VERTEXSHADER_STATE before the flush in Execute_VertexTypeSkinning, causes obscure bugs when software skinning is enabled
2017-08-15 14:27:54 +02:00
Henrik Rydgård
c4ccf5b734
Simple micro-optimization in AdvanceVerts
2017-08-15 12:02:47 +02:00
Henrik Rydgård
4e7099bf47
Vulkan: Fix some more state dirtying issues.
2017-08-15 10:51:44 +02:00