22565 Commits

Author SHA1 Message Date
Unknown W. Brackets
d6506b3d59 GPU: Consider bbox failed with zero verts.
This seems to match behavior in tests.
2017-08-20 13:30:10 -07: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
d383976625 Merge pull request #9902 from VVVFO/master
Add controller entries from gabomdq/SDL_GameControllerDB
2017-08-16 10:25:08 +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
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
Henrik Rydgård
6a2f87690d Merge pull request #9899 from hrydgard/vulkan-state-opt
Vulkan state optimizations
2017-08-14 16:22:37 +02:00
Henrik Rydgård
000723f29f Fix minor blendstate oversight, restore a disabled optimization 2017-08-14 16:21:02 +02:00
Henrik Rydgård
a1fd2d1ed1 Dirty-track the current pipeline to avoid many vkBindPipeline calls. 2017-08-14 16:02:58 +02:00
Henrik Rydgård
5a65334646 Use dirty-flags more in Vulkan state setting 2017-08-14 15:14:46 +02:00
Henrik Rydgård
776c9e384f Oops, broke Vulkan in the rebase somehow. Fixed. 2017-08-14 13:52:40 +02:00
Henrik Rydgård
00f57a5d4c Merge pull request #9544 from hrydgard/state-optimizations-2
State optimizations 2
2017-08-14 12:49:29 +02:00
Unknown W. Brackets
ca40282a10 Dirty on various framebuf state helpers.
Ideally we should cut down on using DisableState(), or restore afterward.
2017-08-14 11:36:07 +02:00
Unknown W. Brackets
96ed8564ab Add some missing fragment shader state changes. 2017-08-14 11:36:07 +02:00
Henrik Rydgard
078e1151f9 Dirty-flag the fragment shader ID. 2017-08-14 11:36:07 +02:00
Unknown W. Brackets
f1cf92988f Dirty things on stencil buffer upload. 2017-08-14 11:36:06 +02:00
Unknown W. Brackets
c84efcfc97 Dirty vertexshader state on hw bezier/spline. 2017-08-14 11:36:06 +02:00
Henrik Rydgard
56cd991833 All: Only recompute the vertex shader ID when dirty 2017-08-14 11:36:06 +02:00
Henrik Rydgard
f01da87ab2 D3D11: Make better use of the dirty flags to avoid state calls 2017-08-14 11:36:03 +02:00
Henrik Rydgard
4e55654522 Add some missing VIEWPORTSCISSOR dirtying. 2017-08-14 11:35:11 +02:00
Unknown W. Brackets
aa2269020a Dirty viewport state on framebuf resize. 2017-08-14 11:14:26 +02:00
Henrik Rydgard
1098bf7342 All: Only convert viewportscissor state if dirty 2017-08-14 11:14:26 +02:00
Henrik Rydgard
712c36b98b Dirty RASTER_STATE when switching between rect and non-rect primitives (culling) 2017-08-14 11:14:26 +02:00
Henrik Rydgard
e439055a32 All: Only convert raster state if dirty 2017-08-14 11:14:26 +02:00
Henrik Rydgard
e2b179d6e2 All: Only convert depth stencil state if dirty 2017-08-14 11:14:26 +02:00
Henrik Rydgard
e4567c694c All: Only convert blend state if "dirty" 2017-08-14 11:14:26 +02:00
Unknown W. Brackets
3960a4d791 Ensure everything is dirty on frame start. 2017-08-14 11:14:26 +02:00
Henrik Rydgård
945f57af39 Update lang, add language name for Laotian 2017-08-08 20:16:37 +02:00
Henrik Rydgård
ec7e634215 Fix space stripping in a few more string input methods. Helps #9795 2017-08-08 16:42:05 +02:00
Henrik Rydgård
8ba5d7ec1e Strip spaces from pasted IP addresses. Helps #9795. Fix accidental typo 2017-08-08 16:34:46 +02:00
Henrik Rydgård
edf0606bf7 Disable the x86-64 Android build until it can be debugged. Works around #9814 (all such devices can run the x86 build instead) 2017-08-08 16:02:29 +02:00
Henrik Rydgård
3ad571a922 Merge pull request #9889 from hrydgard/android-misc-fixes
Android misc fixes
2017-08-08 15:59:33 +02:00
Henrik Rydgård
4b35e9e278 Reset the UI state properly in NativeInit. Fixes #9771 2017-08-08 15:58:25 +02:00
Henrik Rydgård
2de5e2b5c0 Android: Fix bug where the surface size could be wrong after task switching and automatic recreation 2017-08-08 13:41:45 +02:00
Henrik Rydgård
7b4cf8516b Make some decls private 2017-08-08 13:30:34 +02:00
Henrik Rydgård
3be5682247 Disable codepath that requires vibration permission which we don't have 2017-08-08 13:22:36 +02:00
Henrik Rydgård
7a3a620ff2 Always shut down audio, regardless of why the task is being destroyed. Might help #9771 2017-08-08 13:03:23 +02:00
Henrik Rydgård
cefb57d778 Misc cleanup 2017-08-08 13:01:09 +02:00
Henrik Rydgård
5627d82891 Format string fixes in DPI logging 2017-08-08 11:40:56 +02:00
Henrik Rydgård
e268da823a Android: Add some missing codepaths when using Vulkan, might fix audio/controller issues on task switching 2017-08-08 11:31:13 +02:00
Henrik Rydgård
5e4e23fd11 Merge pull request #9886 from hrydgard/android-scaling-fixes
Android scaling fixes
2017-08-08 11:01:10 +02:00
Henrik Rydgård
6ee8cb5f2e Review fixes, thanks unknown 2017-08-08 10:14:20 +02:00
Henrik Rydgård
bf91f67a30 Another buildfix 2017-08-07 20:10:13 +02:00
Henrik Rydgård
e6bf7b5fe0 Buildfixes 2017-08-07 17:09:16 +02:00