Flyinghead
e2e9a54e0e
std::swap is undefined for vector<bool>
2024-05-15 14:20:13 +02:00
Flyinghead
cc56b0fbae
vk: multi render support
...
Fixes Quake III split screen vs. and MSR rear view mirror.
Issue #1511
2024-05-15 14:01:58 +02:00
Flyinghead
35acb7e62c
ui: load savestate thumbnails asynchronously. limit thumbnail size
...
GetLastFrame can take max width or height.
Limit width of savestate screenshot to 640.
Load savestate thumbnail in async task.
2024-05-14 14:23:40 +02:00
Flyinghead
6f0581032b
save screenshot. add screenshot to savestates
...
Retrieve last frame rgb data (gl, vk, dx9, dx11).
Specific save screenshot code for android, iOS and UWP.
Add Save Screenshot emu key (F12 by default)
vk: defer deletion of in-flight textures when texture cache is cleared.
vk: fix issue when updating imgui textures after a render pass has begun
(achievements)
vk: palette texture not updated after a state has been loaded.
gl: Move opengl-specific stuff into opengl imgui driver.
savestate: Add non compressed header, following by screenshot png data,
before actual savestate.
Issue #842
2024-05-13 15:47:34 +02:00
Flyinghead
13302b87c8
move ui to its own folder
2024-05-07 22:23:51 +02:00
Flyinghead
ceec01ac2e
ui: use imgui for vmu on pause menu. toast notifications
...
Allow nearest sampling with imgui textures (vmu, crosshair)
Use raii for styles and colors
2024-05-06 21:31:04 +02:00
Flyinghead
43ba8953a2
vk: don't delete the ImGui driver when recreating the swap chain
...
It might be drawing at this point so just reset it.
2024-05-04 19:24:02 +02:00
Flyinghead
8f5f2caae6
Merge remote-tracking branch 'origin/master' into dev
2024-04-29 15:27:23 +02:00
Flyinghead
108c8a4b5d
vk: move macOS video routing code from context to renderer
2024-04-10 17:31:23 +02:00
Flyinghead
a6c4530e22
vulkan: allow custom GPU driver loading with libadrenotools
...
Issue #1471
2024-04-07 12:27:54 +02:00
Alexandre Bouvier
40cdef6c1c
cmake: allow system glslang library
2024-03-19 14:16:10 +01:00
Bobby Smith
8252a28e48
[Libretro] Check for per-pixel compatibility and hide the option if not supported
2024-03-17 17:55:23 +01:00
scribam
c8462e1f78
deps: update imgui to version 1.90.3
2024-02-27 17:39:51 +01:00
scribam
0c5e79d618
deps: update imgui to version 1.90.3
2024-02-17 17:40:22 +01:00
Flyinghead
36684bf82c
vk: share shader code between regular and oit renderers
2024-02-01 18:19:03 +01:00
Flyinghead
e714e94510
rend: do bilinear filtering of palette textures on the GPU
...
All renderers updated.
2024-01-31 16:46:25 +01:00
Flyinghead
88fd2641d9
pvr: allow blending for opaque polys of list continuations
...
Fixes Crackin'DJ invisible background animation and Monkey Ball grey map
background.
2024-01-23 19:20:40 +01:00
scribam
6aa59c54a5
Minor misc changes ( #1360 )
...
* core: cleanup include headers
* dx11: remove unimplemented function
* core: annotate destructors with override
* aica: use range-based for loop
* bm: use const reference/structured bindings with blkmap
2024-01-02 14:38:16 +01:00
Flyinghead
e76b76dcc4
vk: allow any size for buttons.png on android
2024-01-01 16:07:59 +01:00
Flyinghead
cab19ad54b
libretro: crash at boot when checking for GPU vendor
2024-01-01 16:06:25 +01:00
Flyinghead
9f9b29b833
rend: force Native Depth Interpolation for AMD gpus
2023-12-28 17:48:33 +01:00
Bobby Smith
57c2dcd961
[Libretro] Fix VMU scaling for dynamic res games
2023-12-21 14:20:34 +01:00
vkedwardli
790f5b1ad2
Video Routing Revamp ( #1323 )
...
* Update Spout2 dep
* Remove all `initVideoRouting` call from `GraphicContext`
* Fix MinGW build error
2023-12-21 14:19:57 +01:00
Flyinghead
449b871e0c
vk: crash when loading custom texture
...
Regression due to 939e2bc68f
Issue #1351
2023-12-21 10:04:35 +01:00
scribam
e057370e97
core: add missing pragma once to header files
2023-12-17 11:12:20 +01:00
Flyinghead
ba1a68a69f
vk: fix setObjectName on 32-bit platforms
2023-12-17 11:10:19 +01:00
Flyinghead
939e2bc68f
vk: better deferred deletion. fix validation layer issues
...
Use raii-like mechanism to delete resources when not in use.
Fix several issues reported by validation layers (vtennis rtt, main
buffer size resizing, ...)
2023-12-03 19:18:16 +01:00
scribam
f3a774ab4e
imgui: use fonts upload code from v1.90
2023-12-01 15:02:43 +01:00
scribam
105ab95efa
deps: update imgui and implot
2023-11-25 17:08:01 +01:00
Bobby Smith
78a874d20e
Add slider to change crosshair size and a core option for the Libretro core ( #1304 )
2023-11-18 13:44:57 +01:00
Flyinghead
e96b38ff5c
rend: support vscalefactor > 1 for RTT
...
SCALER_CTL.vscalefactor also applies to RTT and values > 1 will increase
the texture height.
dx11: initialize abufferPointers to avoid issues with first frame
rendered.
Fixes pause menu/battle animation with Skies of Arcadia (PAL)
Issue #1127
2023-10-16 14:51:27 +02:00
Flyinghead
c58ae4daac
vulkan: terminate context if init fails
...
Avoids crash on exit
2023-10-16 14:19:47 +02:00
Flyinghead
2cd3ffb33f
Revert "vk oit: add sync event between renderer and vk context on Mali
...
gpu"
This reverts commit abd9219347
.
Issue #1234
2023-10-11 14:13:34 +02:00
Flyinghead
abd9219347
vk oit: add sync event between renderer and vk context on Mali gpu
...
Use vk event to wait for renderer pipeline to finish before rendering
the final frame in vk context. This seems to help Mali gpus.
Issue #1234
2023-10-11 09:35:18 +02:00
Flyinghead
38d4689b63
gl,vk,dx: use nearest filtering for mipmap with PT polys
...
Interpolating between LoDs produces unexpected alpha values.
dx,vk: add negative LoD bias
Fixes "Press Start" text in Trizeal title screen
dx11: get rid of bogus nearest wrap hack
Can't reproduce original issue with daytona
Fixes Virtua Tennis title screen
Issue #1230
2023-10-09 21:09:03 +02:00
Flyinghead
78b44919c5
vk, gl: ignore fb_enable and blank_video during normal render
...
Fixes some screen missing. Already handled in renderFB. Should be
handled at Present time.
gl4: first frame after renderFB was missing
Issue #1217
2023-10-07 15:46:28 +02:00
Flyinghead
09857008bd
rend: guard against NaN depth if z is negative
...
Fixes prison white background effect in RayMan 2
Issue #1209
2023-09-27 14:55:31 +02:00
Flyinghead
a915f185f8
Merge remote-tracking branch 'origin/master' into dev
2023-09-25 22:17:29 +02:00
Flyinghead
0f6e1752e3
rend: clear framebuffer when vram address changes
...
Fixes top and bottom leftovers from BIOS boot in San Francisco Rush
2049.
Issue #1197
2023-09-25 18:23:26 +02:00
Flyinghead
79bbd86c2f
rend: Fix PT polygons alpha test
...
Alpha test for PT polys is done after mixing texture and vertex colors
and clamping. Revert db0534d5dd
. See
86235bb4a3
.
Fixes visible triangle arrows after selecting a character in Langrisser
Millenium.
Issue #1201
vk oit: OP polygons don't support blending
2023-09-23 14:01:26 +02:00
Flyinghead
39a212140a
vk: add bumpmap flag to pipeline hash
...
Fixes disappearing pause menu text and green wooden boxes in Mat
Hoffmann's Pro BMX
Issue #878
2023-09-23 11:13:14 +02:00
Flyinghead
f4835a89d3
implement dithering in full FB mode
...
gl, vk, dx11, dx9: implement ordered dithering in GLSL/HLSL
refactor framebuffer and texture writes to vram
don't expand color data when reading planar textures
2023-09-10 16:25:19 +02:00
scribam
10b13dfe9c
deps: update to match Vulkan SDK 1.3.261.0
2023-08-24 17:33:47 +02:00
Flyinghead
c637ae8281
Merge remote-tracking branch 'origin/master' into dev
2023-07-30 18:05:38 +02:00
Flyinghead
3bf817aea1
vk: reset semaphore index to 0 when recreating the swap chain
...
When frame dupe is enabled and switching to fast forward, the current
semaphore index might end up pointing past the end of the semaphore
array, causing a crash.
Issue #1138
2023-07-10 12:41:13 +02:00
scribam
a3ebe02f85
vk: modernize device properties retrieval
2023-07-09 18:51:44 +02:00
vkedwardli
7cd308fcae
Realtime Video Routing ( #1126 )
...
* Syphon video routing with OpenGL and Vulkan (MacOS)
* Spout video routing with DX11 and OpenGL (Windows)
* Fix Xcode detection
2023-06-26 11:56:56 +02:00
scribam
f590766421
deps: update nowide
2023-06-04 12:49:55 +02:00
Flyinghead
ffc0a42c18
std::vector::operator[index] with index >= size is UB
2023-06-04 12:48:50 +02:00
Flyinghead
ac2637286b
Merge remote-tracking branch 'origin/master' into dev
2023-05-13 15:55:47 +02:00