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
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
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 and GitHub
d60bb27cd9
Merge pull request #9906 from hrydgard/fastrunloop-optimize
...
GPU FastRunLoop optimizations
2017-08-17 16:25:15 +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
5e788ffadf
Implement vertex caching for Vulkan.
2017-08-17 11:22:45 +02:00
Henrik Rydgård
bc76c8d541
Cleaner Vulkan shutdown
2017-08-15 17:30:37 +02:00
Jan Beich
e33acdc5e9
Common: fix MAP_32BIT after 9f24203ef8
...
9f24203ef8 added 0x20000000 as a default fallback address hint which
unconditionally disabled MAP_32BIT. FreeBSD cannot use the hints
because without adjusting RLIMIT_DATA lower addresses are reserved for
brk(2) style heap. So, don't try to use hints with MAP_32BIT.
2017-07-26 15:25:54 +00:00
Henrik Rydgård
033676ca4d
Vulkan debug mode: In case of missing validation layers, warn, don't error out.
2017-07-13 23:36:53 +02:00
Henrik Rydgård
f7fea57bb6
More RIP addressing in software skinning..
2017-07-07 15:12:57 +02:00
Henrik Rydgård
837118d230
More RIP elimination
2017-07-07 15:07:56 +02:00
Henrik Rydgård
567937fa4d
x64: Enable non-RIP addressing for FPU registers
2017-07-07 11:33:07 +02:00
Henrik Rydgård
381c4ca4b2
X64: Fix bug in a case in the MOVQ emitter : rex byte should be after the 0x66 prefix
2017-07-07 11:33:07 +02:00
Henrik Rydgård
0645677fea
Access FPU temps through CTXREG
2017-07-07 11:33:06 +02:00
Henrik Rydgård
7c3b37c561
More RIP elimination
2017-07-07 11:33:05 +02:00
Henrik Rydgård
d82f90f1b2
More RIP removal
2017-07-07 11:33:05 +02:00
Henrik Rydgård
80b82ecd81
Buildfix attempt
2017-07-07 11:33:02 +02:00
Henrik Rydgård
e6e96c0d89
Fix build with NDK 15. This does force us to make do with 32-bit file sizes...
2017-07-03 16:25:12 +02:00
Henrik Rydgård
7da5dfcdd7
Don't use stat64 unless we need to
2017-07-03 16:14:41 +02:00
Gde Made Novan Priambhada
8ec2d50c28
Add virtual key for opening chat
2017-07-02 01:28:38 +08:00
Unknown W. Brackets
9dced68812
Core: Buildfix.
2017-06-24 14:19:25 -07:00
Simonas Kazlauskas
55c193ce78
Remove use of C file api in LocalFileLoader
...
Instead use native system calls.
2017-06-24 21:07:37 +03:00
Simonas Kazlauskas
3f63c29736
Also support atomic windows readAt
2017-06-23 18:40:00 +03:00
Unknown W. Brackets
531c6682b7
Vulkan: Increment engine version.
...
Since we are kinda majorly different now.
2017-05-31 20:04:11 -07:00
Henrik Rydgård
33d4f8c7ad
Vulkan: Fix minor bug when clearing the back buffer (loaded stencil for no reason)
2017-05-31 13:37:47 +02:00
Unknown W. Brackets
cb3db559bd
SoftGPU: Jit the linear sampling too.
...
For now, just reducing overhead. Could be smarter.
2017-05-30 22:57:46 -07:00
Henrik Rydgård and GitHub
901b62ae54
Merge pull request #9730 from LunaMoo/HomebrewIdent
...
Fix a bunch of emu features for Homebrew by better identification.
2017-05-30 14:57:31 +02:00
Henrik Rydgård
996d0e9508
Oops.
2017-05-30 14:54:12 +02:00
LunaMoo
5e0f8141d2
Corrections, some %i->%d around other code as well.
2017-05-30 13:52:29 +02:00
Henrik Rydgård
fede9a05fb
Only show the Vulkan setting if Vulkan might be available.
2017-05-30 10:38:17 +02:00
Henrik Rydgård
38b50501c2
Clearing fix, drawpixels fix/hack
2017-05-30 09:36:17 +02:00
Henrik Rydgård
c173da49d3
Fix a number of bugs and stuff affecting Vulkan on Mali
2017-05-30 09:36:17 +02:00
Henrik Rydgard
0c70735bc4
Buffered rendering is starting to work, though still kinda broken.
2017-05-30 09:36:17 +02:00
Henrik Rydgård
a7dd6d6085
Further steps towards Vulkan framebuffer support
2017-05-30 09:36:17 +02:00
Henrik Rydgard
4407445d50
Separate BeginFrame from BeginSurfaceRenderPass
2017-05-30 09:22:40 +02:00
Unknown W. Brackets
c5d1c1cd1c
Android: Fix minor typo.
2017-05-27 22:33:47 -07:00
Unknown W. Brackets
9b7f43db04
Add additional button defines.
...
Not yet functional (overlap with virtkeys.)
2017-05-27 10:25:04 -07:00
Henrik Rydgård
21fe73c8e7
Switch strncpy to truncate_cpy in a bunch of places.
2017-05-26 19:04:08 +02:00
Henrik Rydgård
0ec1e5e3b2
Don't erase and rewrite the dispatcher when the cache is cleared. Fixes #9708
2017-05-26 15:48:03 +02:00
Henrik Rydgård
d9695da3a5
Make extra sure that asserts arrive in the Android log.
2017-05-26 11:59:15 +02:00
Henrik Rydgård
6d58a8d8f6
Move up Software Rendering to Rendering where it belongs. Makes it easier to turn it off if enabled by accident. Also warn if used and it runs slow.
2017-05-18 14:56:10 +02:00
Henrik Rydgard
d4e1fc8d93
More vulkan shutdown fixes
2017-05-07 11:08:09 +02:00
Henrik Rydgard
5974e0ee6d
Work towards a clean vulkan shutdown.
2017-05-07 10:40:11 +02:00
Unknown W. Brackets
90f3ae14e0
Windows: Simplify host shutdown.
...
The whole nativeHost/oldHost thing is unnecessary.
This also fixes gl lost holder mismatches.
2017-04-29 12:04:54 -07:00
LunaMoo
a9d9063680
Handle more mouse buttons(middle, 4, 5)
2017-04-27 13:54:38 +02:00
Unknown W. Brackets
bf02f7d98b
Vulkan: Detect swapchain init failure.
...
This seems to be a driver bug, and occurs on NVIDIA when OpenGL has
previously been inited. Or we're not cleaning something up properly...
but there's a driver error logged to debug output.
2017-04-15 16:26:26 -07:00
LunaMoo
4a2677e0c6
Revert unintentional change from: https://github.com/hrydgard/ppsspp/commit/429bf5d8b31092fb7211b94517e590cbd51e1cdb
2017-03-23 11:54:54 +01:00
Henrik Rydgård
4bad28046b
UWP: Save memory by only committing the ranges we need, instead of doing a giant allocation.
2017-03-23 10:02:29 +01:00
Henrik Rydgård
29ad3180a0
Add hack to make the JIT stable(r) on UWP ARM. Can't make it right without FlushInstructionCache which is not available. Sigh...
2017-03-23 10:02:29 +01:00
Henrik Rydgård
5880f37598
Simplify log initialization a little. Minor logging improvments in native. Don't disable logging in UWPMain
2017-03-23 10:02:29 +01:00