Commit Graph

3101 Commits

Author SHA1 Message Date
twinaphex
65e812da4c Change signatures of gl font driver callback functions 2015-03-29 21:59:01 +02:00
twinaphex
bbfedcedae Move struct to gl_common.h 2015-03-29 21:44:37 +02:00
twinaphex
ed5891b8e8 Rename gl_coord_array_release to gl_coord_array_free 2015-03-29 19:25:48 +02:00
twinaphex
d374fb863c Use retro_inline.h for remaining 'inline' instances 2015-03-29 16:43:02 +02:00
twinaphex
03c6265846 Take out rpng.h header include in formats/image.h 2015-03-28 21:44:17 +01:00
twinaphex
2f545f410d (video_state_python.c) Cleanup 2015-03-28 21:18:46 +01:00
twinaphex
3da7197538 (font_driver) Get rid of warnings 2015-03-28 20:51:03 +01:00
twinaphex
66d2172004 Make video_thread_wrapper.h not dependent on GL video font driver 2015-03-28 19:44:03 +01:00
Alcaro
fbeec2f00e (WGL) Apparently HAVE_EGL can be defined on this platform... 2015-03-27 23:07:57 +01:00
Higor Eurípedes
b9f40fc1c9 (XMB) Fix raster block usage 2015-03-27 16:15:54 -03:00
Higor Eurípedes
2115e806a7 (GLUI) Fix fullscreen rendering 2015-03-26 14:07:39 -03:00
Twinaphex
b671d96e20 Remove some unused variables 2015-03-25 18:26:11 +01:00
Higor Eurípedes
8fc5818130 (GLUI,XMB) Fix OSD 2015-03-25 13:42:34 -03:00
Higor Eurípedes
d3d976c92b (GLUI) Only update text vertices when needed 2015-03-25 13:04:54 -03:00
Higor Eurípedes
8b7bbc7975 (gl_font_renderer_t) Implement swappable blocks and remove end_block pointer 2015-03-25 13:04:53 -03:00
Higor Eurípedes
ed6f1cfdd3 (gl_raster_font) Make use of gl_coord_array_t 2015-03-25 13:04:53 -03:00
Higor Eurípedes
539e77b122 (gl) Add gl_coord_array_t 2015-03-25 13:04:53 -03:00
Higor Eurípedes
7d1bffc350 (gl_font_renderer_t) Implement block flushing 2015-03-25 13:04:53 -03:00
Higor Eurípedes
8f0302c519 (gl_font_renderer_t) Implement basic text block rendering 2015-03-25 13:04:53 -03:00
Higor Eurípedes
7dc3b7a9be (gl_raster) Extract some functions to improve clarity 2015-03-25 13:04:53 -03:00
vanfanel
b39867f5db SUNXI driver: removed unused variables. 2015-03-25 15:30:29 +00:00
Twinaphex
72dd646d65 Remove unused variable 2015-03-25 09:23:10 +01:00
vanfanel
2eb3fdba44 Removed unneeded header includes in the Dispmanx driver. 2015-03-24 21:20:13 +01:00
vanfanel
f4dd04c828 More optimizations. RGUI Menu working. 2015-03-24 20:13:09 +00:00
twinaphex
436536398a (GL) Conditional no longer needed - check is done outside in
video_driver_frame
2015-03-24 13:37:58 +01:00
twinaphex
4f6a3532f6 Create video_driver_frame wrapper function 2015-03-24 13:27:38 +01:00
twinaphex
6f0eef0c86 Cleanup video_driver_set_rotation 2015-03-24 08:48:03 +01:00
twinaphex
adf076cc3d Cleanups 2015-03-24 08:31:35 +01:00
twinaphex
8e3bb9fc28 (video_driver) Cleanups 2015-03-24 08:24:33 +01:00
twinaphex
13789a7233 (MSVC) Fix redefinition warning 2015-03-23 23:58:23 +01:00
aliaspider
4494146179 (windows) build fix: change video_driver_resolve to video_driver_get_ptr 2015-03-23 21:36:27 +01:00
Twinaphex
93ad945e15 Merge pull request #1530 from aliaspider/master
(windows) add a shader parameters popup window.
2015-03-23 21:23:29 +01:00
aliaspider
d8fc17307d (windows) shader parameters dialog: silence a warning. 2015-03-23 18:13:52 +01:00
aliaspider
a43af8622d (windows) add a shader parameters popup windows. 2015-03-23 17:36:37 +01:00
twinaphex
7f6c71dabc gfx/video_driver.c - cleanups 2015-03-23 07:31:01 +01:00
twinaphex
2611466a57 gfx/video_driver.c - cleanups 2015-03-23 07:25:18 +01:00
twinaphex
f5b2b8fdf7 Create input_driver_free 2015-03-23 07:15:41 +01:00
twinaphex
95664b038e Create input_driver_init 2015-03-23 07:07:28 +01:00
twinaphex
42b054771a (Wii) Buildfix 2015-03-23 04:32:12 +01:00
twinaphex
db1087ad33 Create input_driver_state 2015-03-23 03:04:05 +01:00
twinaphex
b98d8a47cf (audio/video_thread_wrapper) Style nits 2015-03-23 01:44:36 +01:00
twinaphex
2392a433d8 Create video_driver_get_video_output_next/video_driver_get_video_output_prev 2015-03-23 00:50:33 +01:00
twinaphex
724c809ca5 Create video_driver_apply_state_changes 2015-03-23 00:42:55 +01:00
twinaphex
d71de75c56 Create video_driver_set_filtering 2015-03-23 00:39:42 +01:00
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