e064196f25
rectangle: Correct assignment of right within SetExtents
...
Previously left was being assigned twice in a row.
2020-06-23 05:50:43 -04:00
0abe4c60b4
cd_image: Make use of std::array where applicable
...
Simplifies array copies.
2020-06-23 05:35:26 -04:00
a27aa45e6a
bitfield: Make interface fully constexpr
...
Given C++17 is being used, the entire interface is capable of being
constexpr.
2020-06-23 05:27:40 -04:00
9265dd72ba
Vulkan/ShaderCache: Skip writing pipeline cache when size matches
...
Comparing all the data wasn't working, at least for Intel. I'm guessing
there's some modification time field in there which keeps changing.
2020-06-22 15:58:10 +10:00
eaca5eca07
GPU/Vulkan: Use Metal layer instead NSView on macOS.
2020-06-22 15:58:07 +10:00
1455e793d5
Vulkan: Fix crash when drag-resizing window
2020-06-22 15:57:54 +10:00
bf60f9dd61
GPU/Vulkan: Use geometry shader for line rendering at >1xIR
2020-06-21 01:33:08 +10:00
f54876deb0
Vulkan/Context: Use VK_MVK_macos_surface not VK_EXT_metal_surface
...
Will change this over some time in the future when I can work on a Mac
again and set up the layer.
2020-06-20 20:37:38 +10:00
7192b8d83a
Vulkan/ShaderCache: Hopefully fix macOS build
2020-06-20 03:39:46 +10:00
1b5f8db2fc
Vulkan/Context: Support specifying GPU to use
2020-06-20 03:34:19 +10:00
4a04800132
Vulkan: Handle potential duplicate GPU/adapter names
2020-06-20 03:34:19 +10:00
c023bcd234
Linux build fix
2020-06-19 01:36:46 +10:00
3cd5b7ae74
Core: Add Vulkan renderer types
2020-06-19 00:18:14 +10:00
1399e95b77
Common: Add a range of Vulkan helper/wrapper classes
2020-06-19 00:18:07 +10:00
bd164d2735
Common/FileSystem: Add {Read,Write}BinaryFile helpers
2020-06-19 00:16:59 +10:00
0890164987
Common: Add scope_guard.h from Dolphin
2020-06-19 00:16:59 +10:00
8daff5e677
Common: Add dimensional_array.h
2020-06-18 03:10:33 +10:00
86f0d32e70
CubebAudioStream: Fix crash in PulseAudio on Linux
2020-06-09 03:03:53 +10:00
444a09efd4
AudioStream: Don't call FramesAvailable() while locked
2020-06-09 02:05:49 +10:00
8b04b74f27
Common: Add a CD image hasher class
2020-06-08 01:19:35 +10:00
531c3ad5fa
AudioStream: Replace buffer queue with ring buffer
...
Should achieve a decent overall minimum latency reduction.
2020-06-07 01:22:03 +10:00
0571b75fa5
GL/Context: Print GL_SHADING_LANGUAGE_VERSION on creation
2020-05-25 18:36:52 +10:00
4f4c4f4146
Common: Add GL context wrapper implementation
2020-05-25 15:02:44 +10:00
6ebd9236c5
CDImage: Add track info accessors
2020-05-16 20:32:36 +10:00
b6fbdf9aeb
AudioStream: Support changing output volume
2020-05-10 00:44:23 +10:00
712168cf45
CDImage: Better handle sequential reading into lead-out area
2020-05-08 17:35:55 +10:00
c3c8df14ea
CDImage: Set SubQ control for lead-out to last index SubQ
2020-05-08 15:41:16 +10:00
5b389ae13d
CDROM: Synthesize lead-out area and stop reading when reached
2020-05-08 10:51:49 +10:00
df66d86b27
CDImage: Log errno when fopen() fails
2020-05-06 23:42:08 +10:00
9446587e8f
GPU/HW: Mask bit handling in hardware renderers
...
Fixes:
- Menu effect in Ghost in the Shell
- Incorrect text colours in menu of Dragon Quest VII
- Fade effect in TwinBee RPG
- Fog in Silent Hill
- Water in Duke Nukem - Land of the Babes
- Shadows in Ultraman - Fighting Evolution
and probably others.
2020-05-03 17:11:31 +10:00
edb12234d9
Common/GL/Texture: Fix potential crash on older drivers
2020-05-02 16:52:04 +10:00
c2ab611097
Common/Log: Properly release console when disabling
2020-05-01 00:58:24 +10:00
4702110474
Common/Log: Add file output
2020-05-01 00:58:02 +10:00
39498849bd
Common/String: Support casting to std::string_View
2020-04-27 16:14:38 +10:00
341b163ca1
Common/BitField: Fix off-by-one error for signed types
...
Fixes Darkstalkers 3 character select screen.
2020-04-27 00:13:24 +10:00
5671fde1ae
BitUtils: Make Count{Leading,Trailing}Zeros UB for value==0
2020-04-26 18:32:26 +10:00
02db665d4a
Common: Add bitutils.h
2020-04-26 17:21:33 +10:00
4a4c3d5e3b
GL/Texture: Add internal format as parameter
2020-04-24 03:21:44 +10:00
5923129eca
Common/FIFOQueue: Make bounds checks debug only
2020-04-18 15:30:32 +10:00
b45b70970b
GL/ShaderCache: Support geometry shaders
2020-04-16 21:25:56 +10:00
86df077ffe
GPU/HW: Slight refactor to vertex culling
2020-04-16 00:22:19 +10:00
6a03bb2d15
HostInterface: Drop std::filesystem requirement
2020-04-12 21:06:33 +10:00
64a96ad718
Common/WAVWriter: Add accessors
2020-04-11 00:24:30 +10:00
bc66b2691d
CDImage: Linux build fix
2020-04-08 21:26:51 +10:00
9851b75368
CDImage: Fix crash on invalid cuesheet
2020-04-08 11:58:05 +10:00
411fbe8416
Common/Event: Add unit tests
2020-04-05 23:25:45 +10:00
abb87f497f
Common: Port Event class from YBaseLib over
2020-04-05 22:57:35 +10:00
4ea3c994f6
GL/ShaderCache: Linux build fix
2020-04-04 00:52:04 +10:00
f566ca7a50
GL/ShaderCache: Recreate cache when creating program from binary fails
...
This is probably due to a driver or GPU change, so all programs will be
"bad" and if we don't start from scratch, we'll never cache any new
program versions.
2020-04-04 00:24:34 +10:00
ca2f691dbe
Common: Add GL Shader Cache class
2020-04-04 00:11:09 +10:00