Commit Graph

2953 Commits

Author SHA1 Message Date
aliaspider
c708453f06 (PSP) add missing screenshot function. 2015-03-06 22:27:06 +01:00
vanfanel
9831f8f1d0 Added sunxi graphics backend. No additional libs or blobs required. 2016-01-10 11:04:32 +00:00
twinaphex
b9a17d0d05 (PS3) Take out hacky hack HAVE_GCMGL ifdefs 2015-03-05 14:26:34 +01:00
twinaphex
3aaf7b8368 (PS3) Bootup regressions fixed 2015-03-02 23:40:53 +01:00
Toad King
23f2e3b0e1 [GX] reset menu pitch & custom viewport when changing resolution 2015-02-28 22:42:06 -06:00
Toad King
14fe8623bb [GX] fix menu pitch 2015-02-28 22:18:23 -06:00
twinaphex
fdd7d8be88 (VC EGL) Fix driver 2015-02-28 02:54:07 +01:00
aliaspider
4317c4f1cb (PSP) fix build.
add 7-zip support.
fix cores filenames detection in core_info_list_new.
use sceRtcGetCurrentTick instead of the less precise gettimeofday for
the performance counter.
2015-02-25 13:30:46 +01:00
twinaphex
f08160396b Get rid of unneeded gfx_gfx.h header 2015-02-24 22:13:40 +01:00
twinaphex
01e2a6854a (PS3) Build fix 2015-02-24 22:03:49 +01:00
twinaphex
f80e3740aa Implement set_video_mode in video poke interface 2015-02-24 21:57:51 +01:00
twinaphex
13a391c165 Implement get_video_output_prev/get_video_output_next 2015-02-24 21:36:23 +01:00
twinaphex
7e9aeee05d (GX) Implement get_video_output_size for Wii/Gamecube 2015-02-24 20:22:45 +01:00
twinaphex
55a2209e8e (PS3) Go through get_video_output_size interface now - build fixes 2015-02-24 20:16:03 +01:00
twinaphex
523d9503da (GL) Implement get_video_output_size for GL driver 2015-02-24 20:09:10 +01:00
twinaphex
f9ede9d00a Add get_video_output_size to video driver's poke interface 2015-02-24 20:06:58 +01:00
twinaphex
aafc647724 Add get_video_output_size callback to video context driver 2015-02-24 19:58:14 +01:00
Googer
719ecf014b (Android) Fix compilation. 2015-02-24 12:17:06 -05:00
Tobias Jakobi
dab91b0c73 exynos_gfx: actually turn off the crtc during cleanup
Disabling the crtc is completly independent of the used
connectors. Use the correct parameters so that the drm
core actually disables the crtc.
2015-02-24 16:53:54 +01:00
Toad King
ebdf1ead54 Merge pull request from lakkatv/perf
(Menu) performance improvement
2015-02-23 22:16:32 -06:00
Toad King
509e7f8fc8 [GX] compile fix 2015-02-23 21:54:44 -06:00
twinaphex
635d75a5ea Improve image_nbio.c 2015-02-23 02:36:29 +01:00
twinaphex
98b0728604 Start setting up some code in preparation for non-blocking image
loading
2015-02-22 06:35:02 +01:00
twinaphex
fdfdb2defb Cleanup gfx/image/image.c 2015-02-22 06:28:32 +01:00
twinaphex
d09574bb1f Move files around 2015-02-22 04:56:18 +01:00
twinaphex
433233e530 Move formats/rpng.h header include into gfx/image/image.h 2015-02-22 01:38:36 +01:00
twinaphex
fddddc3965 Combine all image files into one 2015-02-22 01:28:54 +01:00
twinaphex
292298b367 (PS3) Only have png decode, do away with JPEG decoding (will make
it easier to make image loading uniform across all platforms)
2015-02-22 00:50:27 +01:00
gizmo98
6dbba1c956 vc_egl_ctx.c: Align render and screen aspect ratio if hardware upscaling is used.
Take care render and screen aspect ratios are equal if hardware upscaling is used. Recalculate and override fullscreen_x if aspect ratios do not match. There are other aspect ratio settings, which can be used to stretch video output.
2015-02-21 13:47:57 +01:00
twinaphex
75ba64f391 Add HAVE_NONBLOCKING_TEST to image_rpng.c 2015-02-21 04:10:33 +01:00
Higor Eurípedes
30b766bba3 (griffin) Fix font renderer builds 2015-02-20 23:35:39 -03:00
Higor Eurípedes
c281f0fc68 (griffin) Fix glx, xegl and xvideo build 2015-02-20 23:35:39 -03:00
Higor Eurípedes
cb7b6ef45c (gl.c) Fix undefined gl_get_proc_address 2015-02-20 23:35:39 -03:00
twinaphex
82432ca5d5 Remove mpng leftovers 2015-02-21 02:46:58 +01:00
Tobias Jakobi
cf3eea13df exynos_gfx: handle drmModeSetCrtc failing
This shouldn't happen anymore after the connector ID fix, but
the checks don't hurt and protect us from future mishaps.
2015-02-20 10:54:23 +01:00
Tobias Jakobi
551123d4d6 exynos_gfx: set connector_id in exynos_init
The connector ID is only used for initial setup of the CRTC
and when deinitializing the backend, so this bug probably
wasn't noticed at all.
2015-02-20 10:44:54 +01:00
Tobias Jakobi
5574d95add exynos_gfx: fix memory leak in exynos_free
The exynos_device object was never freed, so we had a tiny
memory leak when reinitializing the gfx backend.
2015-02-20 10:43:18 +01:00
Tobias Jakobi
6327f45d4f exynos_gfx: update copyright 2015-02-20 10:39:27 +01:00
Alcaro
810aa8a5ed Don't take the test code so literally. 2015-02-19 19:27:33 +01:00
twinaphex
0ea6dc0445 (MPNG) Updates 2015-02-19 04:13:58 +01:00
twinaphex
d94679e14b (MPNG) Add error goto label 2015-02-19 03:18:33 +01:00
twinaphex
6c98b8ab3a Add stub MPNG image driver 2015-02-19 03:16:47 +01:00
twinaphex
a33016d457 Renamed libretro-sdk to libretro-common 2015-02-19 00:04:03 +01:00
Jean-André Santoni
04140f7093 Use GL_LINEAR_MIPMAP_NEAREST instead of GL_LINEAR_MIPMAP_LINEAR for a 10fps gain on XMB on imx6 2015-02-17 23:13:27 +01:00
twinaphex
59c6bfc772 (D3D) Build fix 2015-02-17 00:38:50 +01:00
twinaphex
8f5809ee46 Take out make_current_context 2015-02-16 23:41:49 +01:00
twinaphex
2f63b75697 Move rewind state variables in struct 2015-02-16 18:09:00 +01:00
twinaphex
028b0592f5 (PS3) image_ps3.c - fix two potential memleaks 2015-02-16 04:04:43 +01:00
twinaphex
ceb09648eb Change to ssize_t 2015-02-16 03:46:27 +01:00
twinaphex
935b112a11 Refactor read_file 2015-02-16 03:31:37 +01:00
twinaphex
be5f3254ba Start implementing video softfilters - move it to Video Options 2015-02-15 18:26:59 +01:00
sergiobenrocha2
ab3f821c64 Fix build with vg enabled. 2015-02-14 14:49:21 -02:00
twinaphex
bab533e39e Refactor gfx/video_viewport.c 2015-02-14 06:16:24 +01:00
twinaphex
e5bc445252 Refactor video_viewport_get_scaled_integer 2015-02-14 06:12:53 +01:00
twinaphex
4b027ed975 (MSVC) Build fixes 2015-02-14 06:09:45 +01:00
twinaphex
64446ef497 Rename and move rarch_viewport 2015-02-14 05:52:05 +01:00
twinaphex
b777f019bf Create video_shader_driver_get_current_shader 2015-02-14 05:24:20 +01:00
twinaphex
7df7201b31 Go through menu_driver_resolve 2015-02-13 23:41:34 +01:00
twinaphex
d1483d1530 (GX) Buildfix 2015-02-13 19:11:53 +01:00
twinaphex
4d31687899 Create menu_driver_resolve to avoid having to pass state pointer
around between functions
2015-02-13 19:00:59 +01:00
twinaphex
948847edc1 (GL) Style nits 2015-02-13 02:21:54 +01:00
twinaphex
fafd472b2f (GL) Refactor gl_check_fbo_dimensions 2015-02-13 02:02:03 +01:00
twinaphex
748556dd57 (gl_common.c) Cleanups 2015-02-13 01:50:44 +01:00
twinaphex
8bac249bb8 gl_load_texture_data - take out early return 2015-02-12 23:43:34 +01:00
twinaphex
7daf9fae03 Fix crash on startup with threaded video 2015-02-12 21:58:35 +01:00
Jean-André Santoni
055b2bd667 (Menu) performance improvement 2015-02-12 18:59:29 +01:00
twinaphex
4d478434c7 (Menu) Start getting rid of void * pointer 2015-02-11 20:28:54 +01:00
twinaphex
d99a224688 gl_load_texture_data - add early return if driver.video is
NULL
2015-02-11 16:40:05 +01:00
twinaphex
539c26c611 Refactor gl_set_texture_fmts 2015-02-11 16:11:05 +01:00
twinaphex
821a3283dc Refactor gl_set_texture_frame 2015-02-11 16:05:11 +01:00
twinaphex
118ce66dec Refactor gl_load_texture_data 2015-02-11 15:53:37 +01:00
twinaphex
77f6b98aa9 Reuse gl_load_texture_data some more 2015-02-11 15:46:55 +01:00
twinaphex
f19339eb38 Have menu_texture.c reuse gl_common.c's gl_load_texture_data 2015-02-11 15:19:21 +01:00
twinaphex
18aefdd83b Rename rnpg_image_load_tga_shift 2015-02-11 07:12:21 +01:00
twinaphex
3a062538dd Move rpng to libretro SDK 2015-02-11 02:30:56 +01:00
twinaphex
639fc61f60 (gfx/rpng) Correct copy_line_bw 2015-02-11 02:03:44 +01:00
twinaphex
5eed4fd897 (CoreText) Fix Y coordinate draw offset 2015-02-10 17:48:51 +01:00
twinaphex
6f165b6801 Create video_driver_set_shader 2015-02-10 17:20:02 +01:00
twinaphex
820595379e Create video_driver_has_focus 2015-02-10 17:14:40 +01:00
twinaphex
81ca20c9b5 Create wrapper function for 'is video alive' 2015-02-10 16:54:08 +01:00
twinaphex
f3002c334f Move GLSL driver higher up the priority list 2015-02-09 21:49:29 +01:00
twinaphex
e0184f0877 We don't want to allow the user to disable fonts and lock himself
out of seeing a GUI - gets rid of hack in gl.c
2015-02-09 19:11:53 +01:00
twinaphex
0b926373ce (GLX) Buildfix 2015-02-09 02:03:41 +01:00
Toad King
7c3655ba5d fix 2015-02-08 14:51:07 -06:00
twinaphex
e5654ac385 (D3D) Buildfix 2015-02-08 18:46:03 +01:00
twinaphex
90e5cffab8 Add RETRO_ENVIRONMENT_MAKE_CURRENT_CONTEXT 2015-02-08 18:39:12 +01:00
twinaphex
95df3dc394 (WGL) Add fallback to GetProcAddress 2015-02-08 01:24:58 +01:00
SuperrSonic
2e61bafb1e (GX) Use custom viewports in 240p 2015-02-05 16:19:00 -04:00
twinaphex
3a5c2c9da5 (Win32) Hide this warning so that a terminal window doesn't stay open 2015-01-31 06:01:27 +01:00
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