Commit Graph

2954 Commits

Author SHA1 Message Date
libretroadmin 6182e39938 Split libretro_d3d.h up into two separate files 2025-07-20 06:26:12 +02:00
libretroadmin d821ce1062 Some UCRT64 buildfixes 2025-07-20 06:19:58 +02:00
libretroadmin 4b5b214dea Move gdi_texture to gdi_gfx.c 2025-07-19 21:51:58 +02:00
libretroadmin 8ecb7eefd7 Merge rsx_defines.h into rsx_gfx.c 2025-07-19 21:47:56 +02:00
libretroadmin ae8dfc789d (CTR) Buildfix #2 2025-07-19 10:16:22 +02:00
libretroadmin d500a3ecc7 Remove some more gfx/common/ define files 2025-07-19 09:59:54 +02:00
libretroadmin 55a7e07959 Remove d3d8_defines.h 2025-07-19 07:03:59 +02:00
libretroadmin 9308f6650c (GX2) Header buildfixes 2025-07-19 07:00:21 +02:00
libretroadmin cb2f0ecbd2 Merge files 2025-07-19 06:58:33 +02:00
libretroadmin eff70a32e5 Merge D3D10 common files into D3D drivers 2025-07-19 05:07:42 +02:00
libretroadmin 59fd200b2c Merge files 2025-07-19 04:58:35 +02:00
libretroadmin d17f6eee1e Buildfixes 2025-07-19 04:53:32 +02:00
libretroadmin d86c1a89b8 Move structs to needed file 2025-07-19 04:42:10 +02:00
libretroadmin 9542a71c89 Move defines to source files 2025-07-19 03:41:09 +02:00
LibretroAdmin 25546f864a Revert "Move code around"
This reverts commit a018f935d0.
2025-07-18 18:16:27 +02:00
LibretroAdmin a018f935d0 Move code around 2025-07-18 17:24:46 +02:00
libretroadmin 80b3ccebba Silence some static code analysis warnings + code formatting/style nits 2025-07-18 08:11:25 +02:00
libretroadmin f45fd77d68 Fix errors and warnings pointed out by static code analysis (Clang) 2025-07-17 08:49:53 +02:00
libretroadmin c6d72062e2 remove dead code 2025-07-17 08:02:06 +02:00
sonninnos b2ca569521 Logging unification cleanups 2025-07-10 05:59:06 +03:00
sonninnos 0785dd7548 Unused variable cleanups 2025-06-15 05:08:24 +03:00
sonninnos 8fd0d552ca
D3D: Add alternative max frame latency hack mode (#18010) 2025-06-11 22:25:42 +03:00
Eric Warmenhoven 48f77a948f
vulkan: fix hdr (#17915)
fixes #17912
2025-05-18 06:09:06 +03:00
sonninnos c3cb4a8b5d D3D11+12: Minor cleanups 2025-05-08 22:11:53 +03:00
sonninnos 10738f532c
Add shader hold hotkey and improve toggling logic (#17840) 2025-05-08 00:56:59 +03:00
pstef 66aa1424f0 Define WIN32_LEAN_AND_MEAN to avoid collision with winsock2 2025-04-12 10:45:08 +00:00
pstef 187673fb2a Guard definition of an array just like its use is guarded 2025-04-10 21:10:45 +00:00
pstef e8d43b3d99 Add missing function declarations
They are absent even in upstream, so I decided against copying to the
local copy of libogc. And a couple of function prototypes doesn't seem
to warrant a new header file.
2025-04-09 20:43:09 +00:00
LibretroAdmin 634a0a9654
Merge pull request #17753 from pstef/ctr-nogriffin
Fix non-griffin build for 3DS and make it the default
2025-04-09 13:25:30 -07:00
pstef 3b3065f736 Fix variable name collision
const char *id overshadowed the function parameter int id.
2025-04-09 16:59:49 +00:00
pstef 70aaa0a55c Fix non-griffin build for 3DS and make it the default
While here:
* remove input_overlay and task_overlay from linking blacklist
* move -Werror to CC invocation since C++ refuses to use it
* copy the quiet build mode from the main Makefile and make it the
  default
* temporarily define DEPRECATED for gpu_old.h to allow succesful build
* replace the call to command_event() with one to retroarch_main_quit()
  in a failure case
* add missing uncompr.o in Makefile.common for HAVE_BUILTINZLIB
2025-04-06 18:35:41 +00:00
pstef af8765cb3b Fix DCFlushRange size calculation
by correcting the operator precedence
2025-04-06 01:04:06 +00:00
pstef 052acd4e38 Reorder arguments in calls to calloc
to silence calloc-tran sposed-args warnings.
2025-03-25 20:15:20 +00:00
pstef bad0e58372 CTR: more compiler warnings cleanup
* unsigned vs signed comparison
* copy DEBUG_VAR from wiiu - this one prints pointer values in a
  portable way
* prove GCC14 that a date formatted as "00/00/0000" can fit into 11
  bytes
* explicitly mention previously unhandled enum constants
* Adding GFX widgets in b9849f78f7 and 1235a7435e orphaned
  ctr_set_osd_msg(). Reinstate it instead of removing, since it's
  effectively the same as calling font_driver_render_msg, but with
  checks.
* remove sp from clobber list in inline assembly
2025-03-16 14:00:35 +00:00
pstef fc9f0b04be CTR: Silence a couple of GCC 14 warnings 2025-03-16 01:01:04 +00:00
LibretroAdmin f6006ae6ca Style nits 2025-02-12 10:17:35 +01:00
LibretroAdmin 72efcab3e7 Silence more warnings 2025-02-09 21:11:35 +01:00
LibretroAdmin f9fa557a95 Some refactors to make some video driver functions less dependent
on passing around the settings_t pointer
2025-02-09 18:23:42 +01:00
BinBashBanana ed1810de86
Emscripten improvements (#17422) 2025-01-29 05:29:16 +01:00
LibretroAdmin b211adaaca Function argument name standardization 2025-01-17 19:55:32 +01:00
zoltanvb 65b9b1cd25
Fix compile failure (#17366) 2025-01-07 17:42:25 +01:00
LibretroAdmin 6be18bfee9 Standardize naming of local len variables 2024-12-30 14:27:24 +01:00
LibretroAdmin 1e656261b0 Local len variables need to have '_' prefix 2024-12-30 14:03:58 +01:00
libretroadmin 44238e909f Consistent viewport naming conventions 2024-12-24 22:50:51 +01:00
libretroadmin 442b9bc3da Syntax style nits 2024-12-23 05:44:40 +01:00
libretroadmin b3e5c578b3 Faster shader capabilities queries 2024-12-22 21:58:51 +01:00
libretroadmin 2809421d4e Revert "static variables are initialized to '0' automatically as per C rules"
This reverts commit 2a0984b6e4.
2024-11-19 03:03:13 +01:00
libretroadmin 2a0984b6e4 static variables are initialized to '0' automatically as per C rules 2024-11-18 15:33:34 +01:00
sonninnos e09039c77f
Disabled menu buildfixes (#17184)
* Disabled menu buildfixes

* Skip thumbnail features with menu disabled
2024-11-14 13:44:50 -08:00
Antonio Orefice 2a56a827e8
Add Frametime Uniforms (#17155)
* Initial implementation of CoreAspect uniform

* float -> float_t

* Possibly fix wii_u building

* vulkan: use float instead of float_t;

* slangp: Advertise support of CoreAspect uniform
by defining _RARCH_HAS_COREASPECT_UNIFORM early in the shader source, just after "#extension GL_GOOGLE_cpp_style_line_directive : require"

* CoreAspect + glsl fix: use glUniform1f()

* Add CoreAspectRot uniform.
It reports CoreAspect value or 1/CoreAspect when the content is rotated by 90 or 270 deg.

* Fixed stupid typo

* Just use _HAS_COREASPECT_UNIFORMS to check for CoreAspect uniforms support (was _RARCH_HAS_COREASPECT_UNIFORMS)

* Rename CoreAspect, CoreAspectRot, _HAS_COREASPECT_UNIFORMS to OriginalAspect, OriginlAspectRot, _HAS_ORIGINALASPECT_UNIFORMS

* GLCore: void Pass::build_semantic_float needs glUniform1f.
...how on earth did it worked for UBO !?

* d3d10,11,12, wrong function called by overlook.

* Add test shader, will remove that before PR

* Fix metal rotated aspect reporting

* remove test shader

* Fix C89 Build

* Use OriginalAspectRotated instead of OriginalAspectRot

* Add CoreFPS and FrameTimeDelta Uniforms.
_HAS_ORIGINALASPECT_UNIFORMS is (#)defined and can be used to query for them.

* add test shader

* remote test shader

* Wrong paste.

* gx2: use float

* wrong indentation

* resolved merge conflict

* fix indentation

* Fix comment/Formatting

* Change uniform name from CoreFPS to OriginalFPS

* underliyng references: core_fps -> original_fps
2024-11-12 19:50:59 -08:00