Twinaphex
71b443f8c0
Merge pull request #1529 from vanfanel/master
...
Sunxi driver simplifying, round 1: rewrote buffering code for stability ...
2015-03-22 23:53:38 +01:00
vanfanel
429948cae3
Sunxi driver simplifying, round 1: rewrote buffering code for stability and simplicity.
2015-03-22 23:44:25 +00:00
twinaphex
aff28c9d93
Create video_driver_read_frame_raw
2015-03-22 23:52:01 +01:00
twinaphex
da53a4c683
Create video_driver_overlay_interface
2015-03-22 23:44:58 +01:00
twinaphex
7243c43cda
Create video_driver_focus
2015-03-22 23:40:22 +01:00
twinaphex
4c9ac9d6e4
Use video_driver_set_shader
2015-03-22 22:17:52 +01:00
twinaphex
5538e2db1d
Use video_driver_read_viewport
2015-03-22 21:57:17 +01:00
twinaphex
e3eb9fe9f0
Create video_driver_viewport_info
2015-03-22 21:28:50 +01:00
twinaphex
ecf6b2c702
Go through video_driver_set_texture_frame for PSP
2015-03-22 19:42:22 +01:00
twinaphex
56943ccb40
Create video_driver_set_texture_frame
2015-03-22 19:15:34 +01:00
twinaphex
636fd426f6
Create set_texture_enable wrapper function
2015-03-22 18:59:16 +01:00
twinaphex
6e91eed664
Create more wrapper functions
2015-03-22 18:48:24 +01:00
twinaphex
71dcc021a7
Create wrapper functions for video driver functions
2015-03-22 18:38:11 +01:00
twinaphex
de8d41a0f8
Use video_driver_set_rotation
2015-03-22 10:38:26 +01:00
twinaphex
4a46a8c5d7
Create video_driver_set_nonblock_state
2015-03-22 10:25:51 +01:00
twinaphex
9128319182
Style nits
2015-03-22 07:32:06 +01:00
twinaphex
c4afb2a154
Create video_driver_has_windowed
2015-03-22 07:20:55 +01:00
twinaphex
a760d25384
Create menu_driver_frame
2015-03-22 05:27:19 +01:00
twinaphex
326e7907ae
(image.c) Cleanups
2015-03-22 04:15:30 +01:00
twinaphex
16cce08fa7
Rename threaded_video_resolve to threaded_video_get_ptr
2015-03-22 00:24:47 +01:00
twinaphex
508ade73f9
Rename menu_driver_resolve to menu_driver_get_ptr
2015-03-21 23:56:42 +01:00
twinaphex
5d0815a7b7
Rename video_driver_resolve to video_driver_get_ptr
2015-03-21 23:46:49 +01:00
twinaphex
d7d92cf83e
(PSP) Style nits
2015-03-21 23:27:18 +01:00
twinaphex
f517c41070
(PSP) Style nits
2015-03-21 23:25:46 +01:00
twinaphex
2ec7fdde51
(GLX) Add GLES2 support
2015-03-21 23:10:06 +01:00
twinaphex
84f9f64f47
(360 MSVC) Fixes
2015-03-21 22:48:27 +01:00
vanfanel
25d9fc301d
Free menu resources when exiting RA from menu. Changed console restore function name to a more appropiate one.
2015-03-21 11:53:44 +01:00
twinaphex
3676917265
Silence unused variable warnings
2015-03-21 06:55:34 +01:00
Twinaphex
fc09ad68be
(GL) Fix unused variable warning
2015-03-21 06:24:37 +01:00
twinaphex
2409da4afe
global_get_ptr update pt. 3
2015-03-21 05:55:31 +01:00
twinaphex
5a443d229a
global_get_ptr update pt. 2
2015-03-21 05:42:49 +01:00
twinaphex
e6f0d366cb
Go through global_get_ptr
2015-03-21 04:43:18 +01:00
twinaphex
45cf71770e
Rename g_settings to g_config - to prevent conflicts, had to rename
...
some static variables in some of the gfx context driver files
2015-03-21 01:15:03 +01:00
twinaphex
c0d5a6c401
Updates pt. 7
2015-03-20 23:22:41 +01:00
twinaphex
f130b00596
Updates pt. 3
2015-03-20 22:08:36 +01:00
twinaphex
e996d5d51f
Updates
2015-03-20 21:22:38 +01:00
twinaphex
7bc845006b
Start replacing more g_settings usages
2015-03-20 20:43:22 +01:00
twinaphex
86644aee3c
(gl_common.c) Cleanup
2015-03-20 02:51:16 +01:00
twinaphex
a086e8f60b
Rename/move menu_texture to gfx/video_texture
2015-03-20 02:19:19 +01:00
vanfanel
d7a2a7c4c1
Fixed lockup issue on the dispmanx driver. Rewrote some parts for simplicity.
2015-03-19 12:23:18 +01:00
twinaphex
1e9725a302
(Android) Buildfix
2015-03-18 20:26:55 +01:00
twinaphex
3670ef2ac5
Go through driver_get_ptr to grab pointer to driver struct
2015-03-18 19:40:00 +01:00
twinaphex
7378299282
Create rarch_main_get_ptr
2015-03-18 06:47:22 +01:00
Higor Eurípedes
d2fb9a5991
(drm_egl_ctx.c) Return false instead of NULL
2015-03-16 14:43:56 -03:00
twinaphex
0788eab2bf
(D3D) render_chain.cpp - cleanups
2015-03-16 18:40:07 +01:00
twinaphex
15bb15b22c
(D3D) Cleanups
2015-03-16 18:33:47 +01:00
twinaphex
02d41ad651
(D3D) Move variables to top
2015-03-16 18:18:37 +01:00
Higor Eurípedes
b979e81b61
(sdl2_gfx.c) Fix CXX build
2015-03-16 14:01:23 -03:00
twinaphex
b4e564ad60
(D3D) Get rid of monitor namespace
2015-03-16 17:58:04 +01:00
twinaphex
a0f242e1a2
Capitalize enum names
2015-03-16 16:33:23 +01:00
twinaphex
02913851da
(GL) Rearrange some variables
2015-03-16 16:28:30 +01:00
twinaphex
1edddcbd98
(GL) Initialize buffer and buffer_texture to NULL
2015-03-16 16:27:40 +01:00
twinaphex
29e3c79e8b
(GL) Deal with some potential memory leaks
2015-03-16 16:22:48 +01:00
aliaspider
83df686965
gl_read_frame_raw: flip frame only when using hardware render.
2015-03-16 15:29:52 +01:00
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