RetroArch/gfx
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
..
common Add Frametime Uniforms (#17155) 2024-11-12 19:50:59 -08:00
display_servers ios9: buildfix (#17131) 2024-10-28 16:38:19 -07:00
drivers Add Frametime Uniforms (#17155) 2024-11-12 19:50:59 -08:00
drivers_context apple: switch from MTKView to CAMetalLayer for vulkan (again) (#17045) 2024-09-27 14:36:45 -07:00
drivers_font CXX_BUILDFIX buildfixes 2024-07-20 19:42:45 +02:00
drivers_font_renderer Fix typos (#17068) 2024-10-01 17:36:33 -07:00
drivers_shader Add Frametime Uniforms (#17155) 2024-11-12 19:50:59 -08:00
include Update Vulkan headers to v1.1.130 (#16952) 2024-09-02 08:39:44 -07:00
video_filters Fix typos (#17068) 2024-10-01 17:36:33 -07:00
widgets More downsizing of variables 2024-09-09 16:18:32 +02:00
font_driver.c CXX_BUILDFIX buildfixes 2024-07-20 19:42:45 +02:00
font_driver.h Get rid of some code duplication in MaterialUI/Ozone 2023-06-16 00:48:16 +02:00
gfx_animation.c Fix typos (#17068) 2024-10-01 17:36:33 -07:00
gfx_animation.h Move XMB-specific line ticker code to xmb.c 2024-07-23 21:02:20 +02:00
gfx_display.c Fix typos (#17068) 2024-10-01 17:36:33 -07:00
gfx_display.h This change allows playlist icons to be replaced with Logos. (#16758) 2024-08-07 08:39:57 -07:00
gfx_thumbnail.c Variable cleanups - add TODO/FIXME notes for spurious variable sizes 2024-09-09 15:22:08 +02:00
gfx_thumbnail.h (menu_driver.c) Use flags instead of bools (#14500) 2022-10-08 22:52:18 +02:00
gfx_thumbnail_path.c Remove unused referenced variables 2024-09-10 23:39:14 +02:00
gfx_thumbnail_path.h Dehardcode some more variable sizes 2024-09-09 16:42:02 +02:00
gfx_widgets.c fix to avoid reacquiring a mutex reentrantly (#16985) 2024-09-10 12:03:04 -07:00
gfx_widgets.h Dehardcode some more variable sizes 2024-09-09 16:42:02 +02:00
video_crt_switch.c * PATH_MAX_LENGTH redefined from 4096 to 2048 2024-09-09 05:47:32 +02:00
video_crt_switch.h CRT: fix aspect ratio for tate games on a horizontal screen (#15378) 2023-06-14 04:42:43 +02:00
video_defines.h Pixel perfect integer scaling improvements (#17098) 2024-10-14 14:44:10 -07:00
video_display_server.h apple: display server, including ProMotion support (#16963) 2024-09-04 22:52:59 -07:00
video_driver.c Add Frametime Uniforms (#17155) 2024-11-12 19:50:59 -08:00
video_driver.h Add Frametime Uniforms (#17155) 2024-11-12 19:50:59 -08:00
video_filter.c Fix typos (#17068) 2024-10-01 17:36:33 -07:00
video_filter.h Fix some linkage errors with RA MSVC 2010 2017-12-30 13:00:08 +01:00
video_shader_parse.c Avoid calling strlcpy when copying string onto itself (#17031) 2024-09-24 19:24:46 -05:00
video_shader_parse.h Revert "Start reducing size of video_shader_pass struct to reduce" 2024-09-11 19:17:20 +02:00
video_thread_wrapper.c Fix reinitialization of the threaded gl drivers 2024-05-26 21:32:29 +02:00
video_thread_wrapper.h Fix crash when using threaded video (#16518) 2024-05-13 07:24:51 -07:00