Henrik Rydgård
92e1dce2db
Error handling fixes
2020-10-18 20:26:19 +02:00
Henrik Rydgård
d3339d93b0
Set up depth buffers to be bound as shader resource views
2020-10-18 20:14:25 +02:00
Henrik Rydgård
f526f5977b
OpenGL: Disable auto invalidation of framebuffers, it has somehow broken
...
(Breaks DBZ: Tag Team)
2020-10-17 12:51:45 +02:00
Henrik Rydgård
74f8b3c69a
Yet another one
2020-10-15 00:03:47 +02:00
Henrik Rydgård
f46759be5a
Another missing header buildfix
...
thanks autechre
2020-10-14 23:49:59 +02:00
Henrik Rydgård
dc3c161b21
Add missing include in URL.h
...
Thanks autechre.
2020-10-14 23:30:51 +02:00
Henrik Rydgård
6cc8c2ebc1
Merge pull request #13328 from hrydgard/libretro-fixes
...
Fix libretro with Vulkan
2020-10-14 22:08:11 +02:00
Henrik Rydgård
332bb7feeb
VK: Whenever safely possible, shrink the render area.
...
We just set the render area to the union of the scissor rects used in a pass.
Might help some games on some mobile hardware, a little bit.
Possibly #13464 ?
2020-10-11 23:23:25 +02:00
Henrik Rydgård
dffc36b854
Get Vulkan going again with libretro. Rendering is the wrong size and crashes on exit, but it's a start.
...
Only tested on Windows.
2020-10-11 19:06:09 +02:00
Henrik Rydgård
5ece3de8ba
Track and accumulate pipeline flags for render passes.
...
(Information that will later let us make some interesting optimizations)
2020-10-11 12:22:25 +02:00
Henrik Rydgård
9d78ba93e0
Bugfix
2020-10-11 11:17:43 +02:00
Henrik Rydgård
692048fb8b
VK: Separate layout transitions from renderpasses again.
...
According to sage advice from themaister, this is just unnecessary overengineering.
Having them separate reduces the size of the renderpass key - we might be able to just
change that to an array lookup again. Will also make it easier to in the future add
depth-less render passes.
2020-10-11 11:06:54 +02:00
Henrik Rydgård
940611fe65
Remove the USE_GENERAL_LAYOUT_FOR* debug defines.
2020-10-11 11:06:54 +02:00
Henrik Rydgård
dc0f7ca8ee
VK: Copy depth buffer if we can't blit. Some GPUs can't blit to depth.
...
Fixes some recent issues with Intel GPUs on Vulkan.
2020-10-11 10:57:35 +02:00
Henrik Rydgård
e97baa503a
Avoid a division in time_now_d(). Minor optimizations.
2020-10-10 19:05:46 +02:00
Henrik Rydgård
886a8b1ac6
Remove Timer.cpp/h. Move various collections into Common/Data/Collections.
2020-10-05 21:05:23 +02:00
Henrik Rydgård
7d43ca5125
Fix Qt build by simply moving the offending file to the native project. No idea why Qt include paths only work there.
2020-10-05 10:36:57 +02:00
Henrik Rydgård
4310e35714
Windows: Remove the native project.
2020-10-05 06:56:10 +02:00
Henrik Rydgård
b236691548
Complete the eradication of D3DX9 compiler loader
2020-10-05 00:13:29 +02:00
Henrik Rydgård
8761bf2bc9
Move text rendering to Common.
2020-10-05 00:05:28 +02:00
Henrik Rydgård
0e3a84b4a8
Move most GPU things to Common.
...
It works after the move, on Windows and Android at least.
Deletes the D3DX9 shader compiler loader, which was not used.
2020-10-04 23:39:02 +02:00
Henrik Rydgård
4f43cff5ca
Move fileutil, net, image loaders, ui to Common. ( #13506 )
...
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing
Let's also move net while we're at it.
Move the ZIM/PNG loaders over to Common.
Move the UI framework into Common
iOS buildfix
* Buildfix
* Buildfixes
* Apple buildfix
* This typo again..
* UWP buildfix
* Fix build of PPSSPPQt, such as it is (it's not in good condition...)
* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård
7ba8f684a0
Mac/ios buildfix
2020-10-04 12:37:19 +02:00
Henrik Rydgård
f01ba6dc84
Move NativeApp.h to Common/System, split into NativeApp.h and System.h
...
Buildfix
2020-10-04 11:42:16 +02:00
Henrik Rydgård
b7edf75437
Move Display.cpp/h to Common.
2020-10-04 11:42:16 +02:00
Henrik Rydgård
821817e6d4
Move the profiler to Common
2020-10-04 11:42:16 +02:00
Henrik Rydgård
989e353482
Common.h shouldn't include Log.h.
...
Buildfixes
More buildfixes. Move JSON code to common.
2020-10-04 11:42:14 +02:00
Henrik Rydgård
9e41fafd0d
Move math and some file and data conversion files out from native to Common.
...
Buildfixing
Move some file util files
Buildfix
Move KeyMap.cpp/h to Core where they belong better.
libretro buildfix attempt
Move ini_file
More buildfixes
2020-10-04 09:12:46 +02:00
Henrik Rydgård
ff8148dd92
Move native/util, native/data and native/i18 to Common/Data.
...
Also move colorutil.cpp/h
linking build fix experiment
Delete a bunch of unused CMakeLists.txt files
CMakeLists.txt linking fix
Don't include NativeApp.h from any headers.
Android.mk buildfix
Half of the UWP fix
Buildfix
Minor project file cleanup
Buildfixes
Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Bartłomiej Burdukiewicz
826656a840
Fixed missing cstring include.
...
Signed-off-by: Bartłomiej Burdukiewicz <bartlomiej.burdukiewicz@gmail.com>
2020-10-02 14:11:11 +02:00
Henrik Rydgård
342ed97291
Move input utilities from native to Common/Input.
2020-10-01 09:42:32 +02:00
Henrik Rydgård
15382d5f94
Move threading utils from native to Common
2020-10-01 09:27:25 +02:00
Henrik Rydgård
65617889dd
Merge ext/native/ext/... directly into ext.
2020-09-30 00:30:42 +02:00
Henrik Rydgård
4d3ec20082
ByteSwap.h results in a file name collision on some systems with byteswap.h. Fix this by merging it into BitSet.h.
2020-09-30 00:09:13 +02:00
Henrik Rydgård
e8ff546457
retro buildfix
2020-09-29 20:42:08 +02:00
Henrik Rydgård
5e976ff842
Buildfixes
2020-09-29 19:33:18 +02:00
Henrik Rydgård
11ab77b995
Remove some TLS.
2020-09-29 15:51:51 +02:00
Henrik Rydgård
d9edc68966
Remove unnecessary use of thread local storage
2020-09-29 15:51:51 +02:00
Henrik Rydgård
311fe431d0
Move buffer.cpp/h from base to Common
2020-09-29 15:51:51 +02:00
Henrik Rydgård
17a9767585
Buildfixes
2020-09-29 15:51:51 +02:00
Henrik Rydgård
40ec0d8358
Finish getting rid of basictypes.h
2020-09-29 15:51:51 +02:00
Henrik Rydgård
3162f30158
Merge base/basictypes.h into Common/Common.h (mostly).
2020-09-29 15:51:51 +02:00
Henrik Rydgård
ed88761ecc
Merge ext/native/stringutil.cpp/h into Common/StringUtils.cpp/h.
2020-09-29 15:51:51 +02:00
Henrik Rydgård
5411a40f2a
TimeUtil.cpp cleanup
2020-09-29 00:36:29 +02:00
Henrik Rydgård
054acf768c
Don't cache time in a variable.
...
A little weirdness in the code that has stuck around for a long, long
time. It's really not necessary and mostly just confusing.
2020-09-24 23:52:43 +02:00
Henrik Rydgård
a9fef066b5
Reduce string allocations in Vulkan memory allocator
2020-09-24 00:32:52 +02:00
Henrik Rydgård
28b58ca05d
More asserts
2020-09-17 20:52:32 +02:00
Henrik Rydgård
6bcff8cbda
Linux: Use MAP_NORESERVE when finding a memory base pointer. See #13187
2020-09-13 17:13:07 +02:00
Unknown W. Brackets
2b49c3e464
MemMap: Check for MAP_FAILED in mmap call.
2020-09-13 00:37:20 -07:00
Henrik Rydgård
f595f7368f
Optimize a couple more single color conversion functions
2020-09-12 16:10:17 +02:00