twinaphex
2660182d52
Get rid of gfx_widgets_ready call inside
...
gfx_widgets_frame
2020-06-08 05:45:15 +02:00
twinaphex
9ace693ec0
Refactor menu_driver_frame
2020-05-19 16:20:43 +02:00
twinaphex
9b8c596057
(GL Core) Buildfix for video context drivers that dont
...
implement this callback
2020-04-29 13:50:21 +02:00
twinaphex
19c68fad43
Take out cb_update_window_title and cb_get_metrics
2020-03-28 05:36:31 +01:00
jdgleaver
086c68bca7
Enable widget persistence across drivers_init()/driver_uninit() events
2020-03-11 11:47:13 +00:00
twinaphex
ae18fc808d
Cleanups
2020-03-10 19:32:21 +01:00
twinaphex
f4c5036c3c
Get rid of video_frame_info dep for fonts
2020-03-10 03:24:59 +01:00
twinaphex
e20151a048
Get rid of video_info struct for swap_buffers too
2020-03-06 22:29:51 +01:00
twinaphex
68664fdf1d
update_title - we don't need video_info
2020-03-06 22:11:44 +01:00
twinaphex
4aae293e3d
Remove is_shutdown from check_window
2020-03-06 20:29:31 +01:00
twinaphex
bd5f151077
Settings cleanups
2020-03-06 02:52:21 +01:00
twinaphex
534f09373e
Get rid of video_driver_height dependency
2020-03-05 22:03:58 +01:00
twinaphex
52fae101e8
(GL) Get rid of video_driver_build_info dependency
2020-03-05 21:45:02 +01:00
twinaphex
8d5d91a5a4
(GL1/GLCore) Only video_info dependency now is 'height'
2020-03-05 20:32:58 +01:00
twinaphex
3a94c52426
(gfx drivers) Start reducing settings pointer usage
2020-02-18 14:51:40 +01:00
twinaphex
6d09d29093
Be more safe with these functions - this was causing crashes on
...
MSVC 2005
2020-02-18 04:18:31 +01:00
twinaphex
7c7d0f596a
HAVE_MENU_WIDGETS now decoupled from HAVE_MENU
2020-02-17 21:28:42 +01:00
twinaphex
b00bf17153
Move menu_widgets to gfx/ and call it gfx_widgets
2020-02-17 01:54:07 +01:00
twinaphex
b229f267e4
Rename menu_widgets to gfx_widgets
2020-02-17 01:43:40 +01:00
twinaphex
ec302bc4fc
video_set_nonblock_state - remove settings dependency
2020-02-16 22:26:07 +01:00
twinaphex
47af95469a
(font_driver.c) Remove configuration.h dependency
2020-02-16 21:59:03 +01:00
twinaphex
f0e889b552
Change prototype of video_driver_set_size
2020-01-31 15:06:50 +01:00
twinaphex
376ad6d61d
move more C functions over to gl_core.c
2020-01-22 13:12:00 +01:00
twinaphex
bcf8ff3d0a
(shader_gl_core) Get rid of ConfigDeleter - move C code to gl_core.c
2020-01-22 11:57:06 +01:00
twinaphex
f92a507a9b
Change function signature of font_driver_render_msg
2020-01-04 16:24:14 +01:00
twinaphex
ed8e440b0d
Revert "Move update_window_title to main thread - this should resolve some"
...
This reverts commit 442608981d2ca529ce89a6df921520e9e9d534c8.
2019-11-19 22:48:35 +01:00
twinaphex
442608981d
Move update_window_title to main thread - this should resolve some
...
concurrency issues on OSX as well
2019-11-19 22:13:51 +01:00
jdgleaver
3a680df733
(glcore) Ensure correct scaling of menu texture (RGUI)
2019-09-03 12:52:26 +01:00
twinaphex
d406fee72e
Remove video_context_driver_suppress_screensaver
2019-08-28 22:52:41 +02:00
twinaphex
c50cc7b010
Remove video_context_driver_show_mouse
2019-08-28 21:36:58 +02:00
twinaphex
fa3b927ece
Get rid of video_context_driver_get_proc_address
2019-08-28 21:26:43 +02:00
twinaphex
88720b540e
Get rid of video_context_driver_swap_interval
2019-08-28 21:12:51 +02:00
twinaphex
6c671faed6
Start preparing for menu_widgets_ready to be moved to retroarch.c
2019-08-15 14:20:51 +02:00
twinaphex
e43c55bef3
(GLCore) Don't use video_driver_get_size
2019-08-13 12:23:02 +02:00
twinaphex
4a09f66c7b
(GL drivers) Cleanups
2019-08-12 22:04:27 +02:00
twinaphex
ed6f682754
Make code more similar to gl2 video driver
2019-08-12 21:07:12 +02:00
twinaphex
fdd45f1f6b
(glcore) memset is unnecessary
2019-08-12 20:55:46 +02:00
twinaphex
2a631bd031
(glcore) Turn this into macro
2019-08-12 20:52:33 +02:00
twinaphex
a45c9b6eb4
Duplicate aspect ratio code that was being ran twice
2019-08-12 12:52:40 +02:00
twinaphex
65b4c2595e
Update set keyboard mapping code for input driver
2019-07-27 02:21:24 +02:00
twinaphex
d905986a52
Rename functions - change rarch_ prefix to retroarch_
2019-07-20 12:43:43 +02:00
twinaphex
09f5d2c95d
Fix compilation when configuring with --disable-overlay
2019-07-10 05:39:50 +02:00
Twinaphex
a9a1ff0047
Merge pull request #8979 from LazyBumHorse/fix_dolphin_crash
...
workaround for crash due to glcore not always using at least OpenGL 3.2
2019-06-18 20:18:14 +02:00
LazyBumHorse
c20c67bd3a
proper shader compatibility checks
...
- move shader flags from the video drivers to the context drivers
- rework config_load_shader_preset() from configuration.c into retroarch_load_shader_preset() in retroarch.c with proper compatibility check
- implicitly call retroarch_load_shader_preset() in retroarch_get_shader_preset() once per core/content life cycle
- use video_shader_is_supported() instead of video_driver_test_all_flags() where appropriate
- remove GFX_CTX_FLAGS_NONE because it is meaningless
2019-06-18 13:46:41 +02:00
LazyBumHorse
692dc9f6a9
refactor shader checks affected by last commit and more:
...
- gl.c: refactor backend fallback into more general gl2_get_fallback_shader_type
- d3d9-12, gl_core, gx2_gfx, gl, vulkan: more consistent shader init and `set_shader` behavior
- configuration.c: remove check_shader_compatibility
- shader_glsl.c, shader_gl_cg.c: use `video_shader_get_type_from_ext`
- shader_gl_cg.c: add shader type check with fallback to stock like in shader_glsl.c
- menu_shader.c: use `enum rarch_shader_type` instead of `unsigned`
- video_shader_parse.c: add `video_shader_to_str` for easier logging
- remove `type` from `struct video_shader`, which was always set to CG and wrongly used in lang_process.cpp's `slang_process()` (has no further consequences because the code is unused)
2019-06-18 13:44:19 +02:00
LazyBumHorse
42e35c825f
refactor some video_shader_parse functions
...
- video_shader_parse_type()'s fallback only worked for NULL paths and was wrongly used, now returns RARCH_SHADER_NONE like video_shader_get_type_from_ext().
- video_shader_get_type_from_ext() should not be checking video driver flags, this is instead done by video_shader_is_supported()
- video_driver_get_all_flags() did not actually 'get' flags, changed to video_driver_test_all_flags()
workaround for crash due to glcore not always using at least OpenGL 3.2
2019-06-18 13:12:56 +02:00
LazyBumHorse
76438fa098
workaround for crash due to glcore not always using at least OpenGL 3.2
2019-06-17 18:28:04 +02:00
twinaphex
f061941456
Integrate record_driver.c into retroarch.c
2019-06-17 16:23:46 +02:00
Tatsuya79
3b31dafa7e
glcore rotation fix for desmume
2019-06-06 20:11:08 +02:00
Tatsuya79
1cc307a879
glcore fix wrong rotation with HW cores
2019-06-06 17:05:07 +02:00