Commit Graph

2953 Commits

Author SHA1 Message Date
aliaspider
a9f6a369bb (GL) add a test implementation for gl_read_frame_raw.
(inactive by default)
2015-03-16 13:39:25 +01:00
aliaspider
7a72d46f9a add a read_frame_raw callback to the video_driver_t structure. 2015-03-16 09:33:16 +01:00
twinaphex
c410e24d58 (vg.c) Add runloop.h 2015-03-15 18:29:16 +01:00
twinaphex
7eaf29a443 (D3D) Add runloop.h header include 2015-03-15 18:19:56 +01:00
twinaphex
6ee8da7bc5 (D3D) Buildfix 2015-03-15 17:54:53 +01:00
twinaphex
6fd50c1cdb (D3D) Cleanups 2015-03-15 17:51:27 +01:00
Higor Eurípedes
803e2b2d8e (video_driver) Use RGBA instead of ABGR in FONT_COLOR_* 2015-03-15 13:07:02 -03:00
vanfanel
9b6d336983 Fixed building with dispmanx only with no OpenGL/GLES. Corrected comment. 2015-03-15 16:20:03 +01:00
twinaphex
3929f66c83 Get rid of unused gfx/image/image_nbio.c 2015-03-15 07:08:42 +01:00
twinaphex
6c0f4eb5f0 (dispmanx_gfx.c) Cleanups 2015-03-15 05:41:29 +01:00
twinaphex
7a9d2c6358 (sunxi_gfx.c) Style nits 2015-03-15 05:38:31 +01:00
twinaphex
61d6f69aa8 Backport Vanfanel mutex fix 2015-03-15 05:35:46 +01:00
twinaphex
31c5e2fea5 (sunxi gfx) Change signature of thread callback function 2015-03-15 05:30:57 +01:00
twinaphex
af0aea78b4 (Dispmanx) Use rthreads 2015-03-15 05:23:13 +01:00
twinaphex
bbb61f0d3d (SunXI gfx) Use rthreads 2015-03-15 05:19:04 +01:00
twinaphex
84e9f2fa7d Use retro_inline throughout 2015-03-15 04:52:46 +01:00
twinaphex
26f2bd4cbf Start going through retro_inline INLINE 2015-03-15 04:37:54 +01:00
twinaphex
00239a30d6 Create wrapper functions for passing a message to the runloop's
message queue
2015-03-15 02:47:23 +01:00
twinaphex
9803f62f02 (GLX) Add 'glXSwapIntervalSGI' fallback 2015-03-14 02:30:05 +01:00
twinaphex
75598e5e60 (dispmanx_gfx) Turn a bunch of functions static 2015-03-13 22:46:26 +01:00
twinaphex
299aa1d1f2 (Dispman Graphics driver) Cleanups 2015-03-13 22:39:18 +01:00
vanfanel
2f1e6600d9 Added native Raspebbry Pi Dispmanx API backend 2015-03-13 05:59:52 +01:00
aliaspider
af3461c256 (PSP) fix display bug with 32bpp cores. 2015-03-11 03:37:47 +01:00
twinaphex
667a461c89 (Windows/Mouse) Wheel works now in normal mode - doesn't work in
grabbed mouse state (exclusive foreground mode)
2015-03-10 23:40:54 +01:00
twinaphex
0f867ce0dc (Cg) Add cgD3D9.h header 2015-03-10 15:53:08 +01:00
twinaphex
9970768dd2 (XVideo) Implement mouse wheel up/down for Xvideo too 2015-03-09 17:48:24 +01:00
twinaphex
e5de9494a5 (XEGL) Implement wheel up/down for XEGL too 2015-03-09 17:46:34 +01:00
twinaphex
74332fbd14 (GLX) Implement mouse wheel up/down for GLX context driver 2015-03-09 17:44:19 +01:00
twinaphex
dd0d81eba8 (XEGL context/Xvideo) Add it to these video drivers/ context
drivers too
2015-03-09 16:55:27 +01:00
twinaphex
179ad94c6f (GLX) Add ButtonReleaseMask | ButtonPressMask to event_masks now 2015-03-09 16:52:48 +01:00
twinaphex
ee1654d695 (GX) Use g_settings.fps_show 2015-03-08 15:07:19 +01:00
Toad King
2a64450af2 [GX] fix build 2015-03-07 22:48:41 -06:00
Andrés
c13308d162 fix android build 2015-03-07 21:51:07 -05:00
twinaphex
9627117166 Take out fps_monitor_enable 2015-03-07 23:03:56 +01:00
aliaspider
7e2a1ed4ab (PSP) disable hardcoded FPS display 2015-03-07 22:42:19 +01:00
Tobias Jakobi
3183149c8c exynos_gfx: fix error handling of fd open
Opening an fd can fail for multiple reasons, we would
just error out on EPERM. Handle the other cases as well.
2015-03-07 14:58:30 +01:00
twinaphex
f2d2e9a4f1 Reorganize recording variables in global struct 2015-03-07 14:02:50 +01:00
twinaphex
e39d5188a3 Move g_extern.measure_data to g_runloop.measure_data 2015-03-07 13:38:21 +01:00
twinaphex
3276781b4f Don't increment g_runloop.frames.video.count inside video driver
implementation's 'frame' function - do this outside
2015-03-07 13:28:45 +01:00
twinaphex
d11006e041 Move frame_count to g_runloop 2015-03-07 13:14:04 +01:00
twinaphex
795ef467ac Move msg_queue and nbio/http to runloop struct 2015-03-07 13:01:41 +01:00
twinaphex
a74cb0574b Create g_runloop and start moving variables there 2015-03-07 12:36:50 +01:00
notaz
a63dba42ce omap_gfx: implement _set_texture_frame 2015-03-07 02:43:08 +02:00
notaz
b33630b8dc omap_gfx: don't allocate vram if enough is available
this allows to use the layer even if it's already in use by some display
2015-03-07 02:42:56 +02:00
notaz
8df0dd990e omap_gfx: fix build 2015-03-07 02:42:43 +02:00
twinaphex
e1dca5de36 (sunxi_gfx.c) Style nits #2 2015-03-06 23:36:13 +01:00
twinaphex
4cb819543e (sunxi_gfx.c) Style nits 2015-03-06 23:25:46 +01:00
twinaphex
f32abcf532 (sunxi_gfx.c) Turn a whole bunch of functions static 2015-03-06 23:10:47 +01:00
twinaphex
c06558972b (sunxi_gfx.c) style nits 2015-03-06 22:59:10 +01:00
Twinaphex
5132b410a8 Merge pull request #1471 from aliaspider/master
(PSP) add missing screenshot function.
2015-03-06 22:41:11 +01:00
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 #1410 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