Eidolon
bd8ebabfee
Enforce C++17 standard compliance
2023-12-14 21:00:42 -06:00
James R.
a7382ca9d0
UpscaleBackbuffer::begin_pass: use separate renderpass to clear framebuffer if texture was recreated
...
Fixes wipes potentially reading invalid data from the
framebuffer if the texture was recreated but not yet
rendered to.
2023-09-30 19:23:14 -07:00
James R.
37dc1189bb
srb2::hwr2::BlitRectPass::set_output: set x/y as well
2023-09-30 16:38:56 -07:00
Eidolon
1e9d0edca2
Add missing include in HWR2 header
...
Fixes macOS compilation
2023-09-16 11:30:53 -05:00
Eidolon
6b0c2c6fd8
hwr2: fix unaligned software copies
2023-09-01 15:30:04 -05:00
Eidolon
78ccaf361b
hwr2: upscale chosen resolution to desktop res
2023-09-01 15:30:04 -05:00
Eidolon
6f580606cd
hwr2: Remove pass infrastructure
...
It's not worth trying to force the engine to conform to deferred
drawing.
2023-09-01 15:30:04 -05:00
Eidolon
3ec7163a34
rhi: remove TransferContexts
2023-07-09 13:54:07 -05:00
Eidolon
6d94de494e
hwr2: Only upload lighttable if currently valid
2023-06-01 05:12:04 -05:00
Eidolon
99bc417978
hwr2: Upload encore lighttable to correct texture
2023-06-01 05:12:04 -05:00
Eidolon
79a01789b8
hwr2: Reset extra lighttable textures
2023-06-01 05:12:04 -05:00
Eidolon
e40b3ac1e3
hwr2: Track colormaps and lighttables tex globally
2023-06-01 05:11:48 -05:00
Eidolon
b8dabe82cf
Revert "hwr2: Track colormaps and lighttables tex globally"
...
This reverts commit aa48237928 .
2023-05-23 09:05:23 -05:00
Eidolon
aa48237928
hwr2: Track colormaps and lighttables tex globally
...
This will allow hardware to reuse the same colormap textures objects as
twodee.
2023-05-19 18:54:19 -05:00
Eidolon
8d390c58d4
hwr2: Extract BlendMode enum from twodee
...
This enum is usable across multiple parts of hwr2 so it would be easier
to just keep it separate.
2023-05-19 18:54:19 -05:00
Sal
563e2f2ffd
Merge branch 'fix-2p-splitscreen-viewports' into 'master'
...
Fix 2P splitscreen viewports being out of order
See merge request KartKrew/Kart!1180
2023-04-18 08:49:04 +00:00
James R
d78b17170c
get_screen_viewport: fix 2P splitscreen viewport order
2023-04-18 01:46:00 -07:00
Eidolon
2b01d8a589
rhi: Reset patch atlas if patch is freed
2023-04-15 22:19:01 -05:00
Eidolon
3ad3dd5cd9
rhi: Extract patch atlas cache to own class
2023-04-15 21:04:07 -05:00
Eidolon
356e3317df
hwr2: Do postimg in hardware
...
Depends on updated shaders
2023-04-02 19:46:21 -05:00
Eidolon
8cc6e9a4f0
rhi: Add texture wrap modes
...
They cannot be changed after creation, for simplicity.
2023-03-24 16:43:41 -05:00
Eidolon
70c375f9db
rhi: Remove color attachment pixel formats
...
Color attachment must always be an RGBA texture
2023-03-24 16:11:11 -05:00
Eidolon
c31df8a0bb
rhi: Repurpose Renderbuffer for depth-stencil
2023-03-24 16:06:30 -05:00
Eidolon
ba5ee56b8e
Rename RHI update_buffer_contents to update_buffer
...
Consistency with update_texture
2023-03-23 13:30:17 -05:00
Eidolon
e088577924
Use GLM in RHI for uniforms and color parameters
2023-03-23 13:19:48 -05:00
Eidolon
88e888ae8d
Move legacy FinishUpdate draws to i_video_common
2023-03-23 11:26:25 -05:00
James R
ad5b70439c
Twodee: flip trimmed offsets too
...
Fixes flipped patches being offset by the empty space on
the left side. Now it uses the empty space on the right,
when flipped.
2023-03-15 00:31:29 -07:00
Eidolon
df5f24e5c7
hwr2: separate Modulate and Alpha blending in 2d
2023-03-01 18:54:31 -06:00
Eidolon
83b6c30952
hwr2: add wipe mode to F_RunWipe, fix all wipes
2023-02-27 21:45:59 -06:00
Eidolon
98ce714614
hwr2: integrate avrecorder with RHI and legacy GL
2023-02-27 19:49:45 -06:00
James R
a19b476d3d
hwr2: do GIF recording in screenshot pass
2023-02-26 20:28:05 -06:00
Eidolon
11fecebc47
Make AVRecorder WebM an optional part of the build
2023-02-26 20:18:05 -06:00
Eidolon
1958394635
hwr2: add g_wipeskiprender 1-frame workaround
2023-02-26 18:47:42 -06:00
Eidolon
31ce947659
hwr2: overhaul wipe rendering
2023-02-26 18:47:42 -06:00
Eidolon
0a9e9bbbae
hwr2: use palette manager in twodee
2023-02-26 18:47:42 -06:00
Eidolon
e875c8e20d
hw2: add screenshot pass
2023-02-26 18:47:42 -06:00
Eidolon
d855d96a10
hwr2: Add hardware 2D rendering
2023-02-26 18:47:42 -06:00
toaster
e0ac6b6044
Music credits show up in more contexts
...
- Drawn over the top of basically everything when enabled.
- Update song credit on
- Menu music update (can sometimes clear it)
- Intermission begin
- Vote begin
- Return to title (by clearing it)
2023-02-25 22:54:36 +00:00
James R
304e57cbf0
Add user feedback for AVRecorder
...
- real time monitoring of duration and esimated file size
- estimated frame rate of final video (encoder speed)
- print brief details of audio and video tracks upon
starting recording
- print exact file size and duration once recording is
finished
2023-02-24 19:21:01 -08:00
Eidolon
01ddbf6dcf
(WIP) hardware: add render hardware interface
2023-01-14 18:40:26 -06:00