Commit Graph

2914 Commits

Author SHA1 Message Date
twinaphex
062e1e7eab Warn about Failed to bind context driver instead of doing a
RARCH_ERR
2015-01-31 06:00:31 +01:00
twinaphex
f45ec7f911 Cleanups in config_get_video_driver_options 2015-01-30 07:46:33 +01:00
twinaphex
0ea6a28b6b Due to limitations in how the input overlay driver talks
back to the video driver, we can only have one active overlay
state running at a time. So build around this
2015-01-29 20:57:44 +01:00
twinaphex
28f6922520 Cleanups 2015-01-29 20:51:07 +01:00
twinaphex
fc373630ce Start to approach OSK driver in a different way 2015-01-29 20:33:27 +01:00
twinaphex
ae573dcdb8 Backport Lioncash' memory leak fixes 2015-01-27 15:35:31 +01:00
twinaphex
3fb52bbd4c (gfx/video_thread_wrapper.c) Cleanups 2015-01-26 20:37:09 +01:00
twinaphex
6e21d03ce7 Move code to gfx/video_driver.c 2015-01-26 20:30:48 +01:00
twinaphex
847cd0521a (psp1_gfx.c) Style nits 2015-01-26 19:55:19 +01:00
twinaphex
44a609b0c2 (exynos_gfx.c) Style nits 2015-01-26 19:53:21 +01:00
twinaphex
91cba8094d (omap_gfx.c) Style nits 2015-01-26 19:42:04 +01:00
twinaphex
a1959a83c8 (gfx/image) Cleanups 2015-01-26 19:26:06 +01:00
twinaphex
f861a10c44 Fix RPNG Makefile 2015-01-26 19:06:31 +01:00
twinaphex
0818c15b1b (rpng_test.c) Style nits 2015-01-26 19:05:45 +01:00
twinaphex
541c5ee153 (rpng.c) Indenting nits 2015-01-26 19:02:01 +01:00
twinaphex
a9e4f17b07 rpng.c - some cleanups 2015-01-26 18:58:12 +01:00
twinaphex
8adb16bf0a (image_rpng.c) Minor cleanups 2015-01-26 18:46:39 +01:00
twinaphex
b04b1d2506 Refactor rpng_image_load_tga_shift 2015-01-26 18:41:33 +01:00
twinaphex
fbdd027c59 (gfx/video_filter.c) Add more logging 2015-01-24 20:18:44 +01:00
twinaphex
66641d7828 (image_rpng.c) Declare variables at top of function 2015-01-24 03:37:15 +01:00
twinaphex
a2d56885f8 Cleanups 2015-01-24 03:07:13 +01:00
Jean-André Santoni
f130a59ab2 (XMB) Align datetime to the right 2015-01-23 01:54:31 +01:00
twinaphex
1db3789090 (SDL2) Cleanup driver 2015-01-22 01:08:20 +01:00
twinaphex
9c7f3c30a0 (sdl_gfx.c) cleanups 2015-01-22 00:32:24 +01:00
twinaphex
f1eee5554f Add performance.h header to sdl_gfx.c 2015-01-22 00:26:50 +01:00
twinaphex
a1f12dd570 (PSP) Buildfix 2015-01-21 06:33:31 +01:00
Jean-André Santoni
ee533909dc Fix FPS drop due to suppress_screensaver being called on each frame 2015-01-20 22:31:59 +01:00
twinaphex
9fee2dd9ad (Win32) Header include 2015-01-20 03:44:02 +01:00
twinaphex
da88bcdd91 Rename gfx_shader* to video_shader* 2015-01-19 21:24:08 +01:00
Twinaphex
77a7b39e88 (OSX) Cleanups 2015-01-19 21:11:08 +01:00
twinaphex
b0548e1329 Properly namespace video_shader_parse.c functions 2015-01-19 21:09:39 +01:00
twinaphex
0d89ef49d6 Add video_monitor.h header include to gfx/d3d/d3d.cpp 2015-01-19 19:11:46 +01:00
Alcaro
fcf7f4faa5 Fix build failure - pass in the new parameter 2015-01-19 17:38:53 +01:00
twinaphex
2dfc1883f0 Rename driver_video_resolve 2015-01-19 04:22:49 +01:00
twinaphex
bb481a158c Move get_proc_address/get_current_framebuffer to gfx/video_driver.c 2015-01-19 04:19:30 +01:00
twinaphex
51d97c3fbb Rename gfx_common.c to win32_dwm_common.c 2015-01-19 01:49:08 +01:00
twinaphex
59dc90dd0c Rewrite video_viewport_get_scaled_integer 2015-01-19 00:46:02 +01:00
Twinaphex
1c58b1bf9c (Apple) Build fix 2015-01-19 00:01:03 +01:00
twinaphex
80d4de7c3f Add gfx/video_viewport.c/viewport.h 2015-01-18 23:59:57 +01:00
twinaphex
7a0c7bd712 Split up pixconv code to gfx/video_pixel_converter.c 2015-01-18 23:17:16 +01:00
twinaphex
8cabbcaf66 (MSVC) Build fixes 2015-01-18 22:43:07 +01:00
twinaphex
e48fd77bec (android context) Cleanup 2015-01-18 22:39:23 +01:00
twinaphex
c4310ec813 Implement suspend_screensaver callback 2015-01-18 22:32:14 +01:00
twinaphex
c95668f2d5 (x11_common.c) cleanups 2015-01-18 21:49:00 +01:00
twinaphex
de76884bb8 Rename gfx_get_fps to video_monitor_get_fps 2015-01-18 20:03:33 +01:00
twinaphex
e9d2d966cd Reimplement driver_adjust_rates 2015-01-18 19:08:07 +01:00
twinaphex
e3897c8641 Less dependencies on driver.h 2015-01-18 19:01:13 +01:00
twinaphex
0703b3c867 Add audio_monitor.c files 2015-01-18 18:47:53 +01:00
twinaphex
5c32acf91f Split up video_monitor code into separate file 2015-01-18 18:28:14 +01:00
twinaphex
0286078f8f Start properly namespacing monitor_* functions 2015-01-18 18:17:59 +01:00
twinaphex
0cedae2b15 (360) Cleanups 2015-01-17 06:48:06 +01:00
twinaphex
18ee6912a5 (D3D) Build fix 2015-01-17 06:33:56 +01:00
twinaphex
9490c72876 (D3D) Cleanups 2015-01-17 06:30:39 +01:00
twinaphex
45d691c28e Make win32_menu_loop extern "C" 2015-01-17 06:08:22 +01:00
twinaphex
3208b77b01 Only make keyboard_event function extern "C" 2015-01-17 05:53:35 +01:00
twinaphex
46402deb04 Use PATH_MAX_LENGTH instead of PATH_MAX.
Refactor OSX settings menu code somewhat
2015-01-17 05:47:52 +01:00
twinaphex
4428fe21cd Add UI Menubar Enable setting 2015-01-17 01:29:15 +01:00
twinaphex
0e0b10e28c Indent win32_menu_loop 2015-01-16 17:55:22 +01:00
twinaphex
094207921f (Win32 UI) Add fallback cases to default: 2015-01-16 17:53:51 +01:00
twinaphex
f7b5ca6862 (Win32 UI) Fix State Index options 2015-01-16 17:40:36 +01:00
twinaphex
bb7d33ebde (WGL) Declare variables at top 2015-01-16 16:22:19 +01:00
twinaphex
cdd94de71d Add math.h header include in 2xbr.c 2015-01-16 06:34:45 +01:00
twinaphex
1413470313 (2xBR Filter) Fix warnings with Theos iOS on Linux 2015-01-16 03:33:10 +01:00
twinaphex
376ee9e4ba (Win32 UI) Add Audio Mute Toggle 2015-01-15 23:55:49 +01:00
twinaphex
6484c4882a (Win32 menubar) Add 'Take Screenshot' to Commands 2015-01-15 23:30:41 +01:00
twinaphex
26ab324727 (OSX 10.6) Fix declaration shadows global variable warnings 2015-01-15 21:10:36 +01:00
twinaphex
d830ad38af Change win32_browser function 2015-01-15 20:56:12 +01:00
twinaphex
a41f33fb63 (D3D) Menubar works now 2015-01-15 19:10:41 +01:00
twinaphex
eda9b5b7b5 (D3D) Start showing menubar - doesn't interact yet 2015-01-15 19:05:11 +01:00
twinaphex
ffccae79c9 (D3D) Implement WM_COMMAND in WindowProc 2015-01-15 18:53:39 +01:00
twinaphex
8d610f9143 (WGL) Buildfix 2015-01-15 18:42:50 +01:00
twinaphex
4179b05d16 Split up win32_common code to separate file 2015-01-15 18:37:43 +01:00
twinaphex
834f7f119e (Win32) Add State Index menubar options 2015-01-15 07:58:31 +01:00
twinaphex
0959fd2243 (Win32) Add Mouse Grab to menubar 2015-01-15 07:44:01 +01:00
twinaphex
6f5ee8be51 (Win32) Pass initial dir to win32_browser_dir 2015-01-15 06:51:30 +01:00
Toad King
fe5b4e90fb fix resizing on windows, should account for menu size correctly now 2015-01-14 23:15:19 -06:00
twinaphex
aeed28eccc (Win32) Pass title to win32_browser 2015-01-15 05:22:17 +01:00
twinaphex
02a882784f (Win32) Initial menubar - will become optional 2015-01-15 05:17:22 +01:00
twinaphex
e2b5681652 Some header include changes 2015-01-13 22:11:26 +01:00
Swizzy
122888fa80 Merge branch 'master' of https://github.com/libretro/RetroArch 2015-01-13 01:01:10 +01:00
Swizzy
049a63b9d4 (D3D) Revert a Debug fix which causes reinit to fail 2015-01-13 00:56:50 +01:00
twinaphex
058900ac9f Rename shader_parse.c to video_shader_parse.c 2015-01-12 23:42:50 +01:00
twinaphex
dbeb06aec6 Reupload font drivers at new location gfx/drivers_font 2015-01-12 23:38:39 +01:00
twinaphex
ba5a31e33b Build fixes 2015-01-12 23:38:21 +01:00
twinaphex
7f6a9fe594 Build fixes 2015-01-12 23:35:40 +01:00
twinaphex
8111567d3e Move some files around 2015-01-12 23:34:10 +01:00
twinaphex
09b25e54c5 Rename gl_font.c and d3d_font.c 2015-01-12 23:19:21 +01:00
twinaphex
6cdaa4e282 (MSVC) Build fixes 2015-01-12 22:47:12 +01:00
twinaphex
327d15b7f2 (PS3) Build fix 2015-01-12 22:37:53 +01:00
twinaphex
64411558eb Rename gfx/shader/ to gfx/drivers_shader 2015-01-12 22:23:48 +01:00
twinaphex
069fb556f0 Rename graphics context drivers 2015-01-12 22:19:31 +01:00
twinaphex
0b2d518531 Rename video_context.c to video_context_driver.c 2015-01-12 21:53:04 +01:00
twinaphex
ca67f9c317 Rename frontend/platform/ to frontend/drivers/ 2015-01-12 21:47:01 +01:00
twinaphex
cec3af8e4a Rename shader_context.c to video_shader_driver.c 2015-01-12 21:41:27 +01:00
twinaphex
1b28a4a498 Cleanups 2015-01-12 21:16:17 +01:00
twinaphex
6b3a67d5ea Move driver_video_resolve to gfx/video_driver.c 2015-01-12 20:20:58 +01:00
twinaphex
d2449f07f7 Move header include to gfx/video_driver.h 2015-01-12 18:57:37 +01:00
twinaphex
71cc6515d2 Remove more header includes 2015-01-12 18:53:47 +01:00
twinaphex
32eb748057 Remove some header includes 2015-01-12 18:50:25 +01:00
twinaphex
bd0f0c3f63 Rename gfx_context.c to video_context.c 2015-01-12 18:47:39 +01:00
twinaphex
487c5f58de Move input_driver.c to input/ 2015-01-12 18:39:27 +01:00
twinaphex
07a7386c9d Split up input_driver code to separate file - input_driver.c 2015-01-12 18:37:50 +01:00
twinaphex
7f484edc98 Move video_driver.c to gfx/ 2015-01-12 18:28:32 +01:00
twinaphex
fc806d2914 Rename state tracker files 2015-01-12 16:00:13 +01:00
twinaphex
d905d77ef7 Cleanups in gl_common.h 2015-01-12 07:02:55 +01:00
twinaphex
f4284ced57 Remove unused gfx/context/null_ctx.c 2015-01-12 06:57:53 +01:00
twinaphex
b9ab7a545d Move psp and gx drivers to gfx/drivers 2015-01-12 06:55:31 +01:00
twinaphex
98f35db95c (PSP) Build fixes and rename sdk_defines.h 2015-01-12 06:51:57 +01:00
twinaphex
a002208f59 Start moving graphics driver to gfx/drivers 2015-01-12 06:45:12 +01:00
twinaphex
badb29942b Add monitor FPS enable option 2015-01-12 05:59:11 +01:00
twinaphex
1753430d68 MOve audio drivers to audio/drivers 2015-01-12 05:05:56 +01:00
twinaphex
5f611f7270 More documentation for input_common.c 2015-01-12 04:19:57 +01:00
twinaphex
41fbfe3e55 (state_tracker.c) Namespace changes 2015-01-12 02:15:35 +01:00
twinaphex
e5e80ba8a4 Start documenting state_tracker.c 2015-01-11 22:39:50 +01:00
twinaphex
9215ef7067 (gfx/video_thread_wrapper.c) Minor cleanup 2015-01-11 21:57:30 +01:00
twinaphex
9ddf9b01cb (video_thread_wrapper.c) Document video_thread_wrapper.c 2015-01-11 21:51:18 +01:00
twinaphex
f259b56d5f Document shader_context.c 2015-01-11 20:20:34 +01:00
twinaphex
b243f64554 (shader_parse.c) More documentation 2015-01-11 20:17:45 +01:00
twinaphex
7899290156 (shader_parse.c) Some more documentation 2015-01-11 20:10:01 +01:00
twinaphex
33291c3486 Start documenting shader_parse.c 2015-01-11 19:59:59 +01:00
twinaphex
72f5e9a716 Small cleanups 2015-01-11 19:52:02 +01:00
twinaphex
fa4a0de222 Cleanups in gfx_get_fps 2015-01-11 19:31:34 +01:00
twinaphex
878d1f0647 Some cleanups in video_thread_wrapper.c 2015-01-10 18:55:37 +01:00
twinaphex
7f30aee093 Start documenting gfx_common.c 2015-01-10 18:23:07 +01:00
twinaphex
2f195b96cd (Gfx context) Cleanups in gfx context drivers 2015-01-10 17:51:00 +01:00
twinaphex
4bdb26e2a1 (MSVC) Buildfix 2015-01-10 16:52:06 +01:00
Twinaphex
5f5000a1bd (CoreText) remove unused variable 2015-01-10 16:47:38 +01:00
twinaphex
0ac6fee02a (Fonts) Cleanups; declare variables at top of functions 2015-01-10 16:46:58 +01:00
twinaphex
b95cdd2215 Rename menu_common.c to menu.c 2015-01-10 04:53:37 +01:00
twinaphex
3a884262cb (GL) Move declaration of variables to top of functions 2015-01-10 03:48:03 +01:00
twinaphex
88f1dd0443 (GLX/X11) Some simplifications 2015-01-10 03:30:23 +01:00
twinaphex
999e5082f7 (drm_egl_ctx.c) Some simplifications 2015-01-10 03:25:44 +01:00
twinaphex
ffb87e5ab4 (gfx/shader) Declare variables at top of functions 2015-01-10 03:04:10 +01:00
twinaphex
94f6889d2d (shader_parse.c) declare variables at top of function 2015-01-10 02:44:04 +01:00
twinaphex
74b220b711 gfx/video_thread_wrapper.c - Declare variables at top of functions 2015-01-09 23:44:53 +01:00
twinaphex
4d7d58930c Document gfx_context.c 2015-01-09 23:32:32 +01:00
twinaphex
99c9afa5cd Update PATH_MAX to PATH_MAX_LENGTH 2015-01-09 18:04:29 +01:00
Twinaphex
9274a6a1ae Merge pull request #1331 from Swizzy/master
Some XDK360 fixes
2015-01-09 17:41:11 +01:00
twinaphex
ec22bada36 Add retroarch.h header 2015-01-09 17:40:47 +01:00
Swizzy
78db1209f4 (D3D) Fix yet another debug exception 2015-01-09 01:27:49 +01:00
twinaphex
1d45517d48 Declare variables at top 2015-01-09 01:23:58 +01:00
Twinaphex
9895835f04 Merge pull request #1325 from Swizzy/master
Some XDK360 fixes
2015-01-08 14:12:04 +01:00
Swizzy
f7117e9fd5 (XDK360) Fixed some D3D Debug exceptions 2015-01-08 01:09:00 +01:00
twinaphex
f9cd1ba788 Rename .hpp files 2015-01-07 22:23:45 +01:00
twinaphex
4d222a1e0f (py_state.c) Cleanups 2015-01-07 22:18:14 +01:00
twinaphex
872a2d306e Change some SNES references 2015-01-07 21:52:10 +01:00
twinaphex
c720a9d711 (gfx/video_filter.c) Build fix 2015-01-07 21:49:40 +01:00
twinaphex
72c502fd78 Cleanups to gfx/video_filter.c 2015-01-07 21:48:42 +01:00
twinaphex
90076c5fad Start using MAX_PATH_LENGTH - relying on MAX_PATH for 360 can cause
problems because it's defined at '260' and thus too small for some
strings
2015-01-07 20:42:36 +01:00
twinaphex
ecf499c588 Update headers 2015-01-07 18:24:13 +01:00
twinaphex
bcfc9d9077 Update headers 2015-01-07 18:06:50 +01:00
sergiobenrocha2
7539a5f2dc Added current dejavu font path for debian based distros. 2015-01-05 22:32:19 -02:00
twinaphex
7a456c6c3a Rename MAX_PLAYERS to MAX_USERS 2015-01-05 01:58:00 +01:00
vanfanel
e02c35b891 Deleted unneeded header include 2016-01-04 19:41:34 +00:00
Twinaphex
510f88b343 Merge pull request #1264 from vanfanel/master
Added fbdev res detection and term cursor blinking disabling to mali ctx
2015-01-03 21:00:38 +01:00
Twinaphex
b244b25082 Merge pull request #1308 from gizmo98/patch-2
RPI/VIDEOCORE: enable hardware upscaling...
2015-01-03 20:56:34 +01:00
twinaphex
e44092e589 (XDK) Fix d3d_get_video_size 2015-01-03 20:54:49 +01:00
gizmo98
e699f7e46e videocore: enable upscaling...
...if retroarch.cfg contains custom resolution.
2015-01-03 09:54:56 +01:00
Toad King
3830dbebaf fix emscripten build 2014-12-31 20:26:49 -06:00
twinaphex
d39a6ef45f shader_parse.h - fix C++ comments to C 2014-12-21 20:41:26 +01:00
twinaphex
3cdf90deeb Move gl_wrap_type_to_enum outside of HAVE_FBO ifdef 2014-12-20 00:44:14 +01:00
twinaphex
ed2c4ec04f Add HAVE_FBO ifdef 2014-12-20 00:41:03 +01:00
CautiousAlbino
b1c6a2bfd8 Log when context driver fails to bind API.
Some generic cleanups to context init as well.
2014-12-14 14:37:25 +01:00
Alcaro
8137c4c9f2 (Cg) Clean this up a little. 2014-12-08 17:05:21 +01:00
Alcaro
e19078e2b5 Don't rely on implicit nulling of this stack array. 2014-12-08 17:02:45 +01:00
twinaphex
181d163b36 Rename 'player' to 'user' 2014-12-05 13:48:54 +01:00
twinaphex
d3977690f2 (gl.c) Cleanup 2014-12-03 21:21:55 +01:00
twinaphex
7c33b76818 Improve some log messages 2014-12-03 18:36:25 +01:00
twinaphex
c5cb86a47e Get rid of unneeded HAVE_OPENGLES3 ifdef 2014-12-03 18:31:43 +01:00
twinaphex
9ed2ba8412 [PATCH] Fix some C++ build issues. 2014-11-29 21:07:12 +01:00
vanfanel
4bedc9f0a9 Changed native window declaration to fix vsync 2014-11-22 08:20:33 +00:00
vanfanel
ac0cfc8b0f Added fbdev resolution detection and term cursor blinking disabling to mali_fbdev driver 2014-11-21 12:51:26 +00:00
twinaphex
a099e75825 Rename gfx/filter.c to gfx/video_filter.c 2014-11-20 06:45:57 +01:00
twinaphex
7acaaa9cb3 (2xBR) Build fix 2014-11-19 03:00:00 +01:00
Twinaphex
ec93f315e0 Merge pull request #1251 from lioncash/cond
Remove redundant conditions
2014-11-15 12:37:15 +01:00
Lioncash
ee80a34974 Add/fix some trivial null checks 2014-11-14 23:06:34 -05:00
Lioncash
5d65c73be3 Remove redundant conditions 2014-11-14 22:50:33 -05:00
twinaphex
bb327684aa Update d3d_set_osd_msg 2014-11-09 20:27:51 +01:00
twinaphex
0a3be12302 (PSP) psp1_gfx.c - robustness checks 2014-11-08 16:35:59 +01:00
Jean-André Santoni
26f35861d0 (Menu) Fix two warnings 2014-11-07 22:51:42 +01:00
Jean-André Santoni
82e67e7605 (Lakka) Use theme font + responsive font size 2014-11-07 15:05:59 +01:00
Alcaro
2710be9b1c Fix typoed typedef name. 2014-11-06 01:47:11 +01:00
Alcaro
cb1b7695cb (GLX) Remove a global and a reinvented typedef. 2014-11-05 22:46:47 +01:00
twinaphex
cf7d975b19 Fix GL_DEBUG compilation 2014-11-04 18:59:25 +01:00
Andrés Suárez
4f46f8bed0 Fix shader parameter issues 2014-10-29 23:15:25 -05:00
twinaphex
595a2e80b9 (Shader) Parameter pointer variable should be a local scoped variable 2014-10-30 05:00:13 +01:00
twinaphex
811280f048 (Filters) Hardcode amount of threads for blargg_ntsc_snes to 1 for stability
reasons
2014-10-29 08:16:45 +01:00
twinaphex
4a45308016 Rename gfx/filters and audio/filters to gfx/video_filters and audio/audio_filters
respectively
2014-10-29 07:51:23 +01:00
twinaphex
4f40c14d69 Move menu code up one root dir 2014-10-28 19:54:23 +01:00
twinaphex
30ca42cb9d Cleanups 2014-10-27 14:35:23 +01:00
twinaphex
9214469470 Rename to gfx/context/win32_common.c to input/keyboard_event_win32.c 2014-10-27 06:17:07 +01:00
twinaphex
e3d3316502 Move keyboard event X11 code to separate file 2014-10-27 06:05:52 +01:00
twinaphex
75fe0b5648 (Win32) Fixups 2014-10-27 04:36:25 +01:00
twinaphex
c6ac686e51 Split up input_common.c into input_common.c and input_keymaps.c 2014-10-27 04:27:48 +01:00
twinaphex
9bbccc31ef Remove unused variable 2014-10-26 22:27:49 +01:00
Lioncash
4f7b762ece shader_glsl: Fix potential memory leaks 2014-10-26 12:48:45 -04:00
twinaphex
8e12c7811c Don't spam gfx_ctx_find_driver logs at startup 2014-10-26 08:29:42 +01:00
twinaphex
5d99285c08 glsl_core/glsl_major/glsl_minor - have to take this out of the
struct and put it in as a static variable
2014-10-26 07:15:59 +01:00
twinaphex
b81481e31d (360) HLSL - Allocate struct dynamically 2014-10-26 07:12:09 +01:00
twinaphex
a5a9d914b1 (GLSL) Allocate struct dynamically for shader glsl backend 2014-10-26 06:16:30 +01:00