Commit Graph

367 Commits

Author SHA1 Message Date
twinaphex
1f62479068 move video_frame to gfx/video_driver.c 2015-11-24 01:26:59 +01:00
twinaphex
deae90e0bb Move use_rgba to gfx/video_driver.c - get rid of driver_t dependencies 2015-11-23 23:58:40 +01:00
twinaphex
06035875f2 Divorce video poke interface from driver_t struct 2015-11-23 22:14:39 +01:00
twinaphex
672a3814d6 Create more VIDEO_DRIVER_CTL_ commands 2015-11-23 18:01:46 +01:00
twinaphex
c7dc83533a Add param to video_driver_get_ptr for grabbing the nonthreaded
data state
2015-11-23 16:06:09 +01:00
twinaphex
76d6378228 Go through video_driver_ctl 2015-11-23 15:01:49 +01:00
twinaphex
2e3c3d25b5 Create video_driver_frame 2015-11-23 14:53:56 +01:00
twinaphex
1bd2f2eb8a Make some pixel converter functions static 2015-11-23 13:05:50 +01:00
twinaphex
beceaf4a8c Merge video_pixel_converter.c with video_driver.c 2015-11-23 13:02:24 +01:00
twinaphex
86504392b9 Create video_driver_set_size 2015-11-23 12:54:15 +01:00
twinaphex
85dbeeb8f9 No more video_monitor.h 2015-11-22 13:32:46 +01:00
twinaphex
aa1e8dc543 (menu_setting) Refactor this macro mess 2015-11-21 16:32:22 +01:00
twinaphex
892d99b3a6 Add SET_VIEWPORT_CONFIG 2015-11-21 13:13:55 +01:00
twinaphex
806c124eae Merge video_viewport.c and video_driver.c 2015-11-21 13:01:23 +01:00
twinaphex
5b44bd0e6b Create RARCH_DISPLAY_CTL_SET_VIEWPORT_SQUARE_PIXEL 2015-11-21 12:54:38 +01:00
twinaphex
4db97a5300 Refactor away video_viewport_set_core 2015-11-21 12:45:36 +01:00
twinaphex
cf5533ccaa Refactor away video_viewport_reset_custom 2015-11-21 12:36:14 +01:00
twinaphex
e3c09e00b9 Move setting to function 2015-11-21 11:22:34 +01:00
twinaphex
35aef696ea Add RARCH_DISPLAY_CTL_DEFAULT_SETTINGS 2015-11-21 09:55:08 +01:00
twinaphex
30272dd413 Create 'loading and saving' of configuration settings for video_driver_ctl 2015-11-21 09:32:51 +01:00
twinaphex
de44911092 (PS3/Wii) Reimplement video resolution code 2015-11-21 08:39:46 +01:00
twinaphex
e09e65e348 Add RARCH_DISPLAY_CTL_GET_NEXT_VIDEO_OUT 2015-11-20 21:20:12 +01:00
twinaphex
a7cb5b8491 Add RARCH_DISPLAY_CTL_MONITOR_ADJUST_SYSTEM_RATES 2015-11-20 20:47:47 +01:00
twinaphex
e1ac9aed6b Add RARCH_DISPLAY_CTL_MONITOR_RESET 2015-11-20 19:04:00 +01:00
twinaphex
21cabec759 Add RARCH_DISPLAY_CTL_{DEINIT/INIT} 2015-11-20 19:01:13 +01:00
twinaphex
c1fa9dc637 Make video_driver_unset_callback a static function 2015-11-20 18:57:04 +01:00
twinaphex
0184a73de8 init_video - cleanups 2015-11-20 18:55:01 +01:00
twinaphex
ddde58caf4 Simplify video_driver_get_ptr 2015-11-20 18:50:21 +01:00
twinaphex
9ea40f5e32 Add RARCH_DISPLAY_CTL_SET_ASPECT_RATIO 2015-11-20 18:45:00 +01:00
twinaphex
5069d71295 Cleanups 2015-11-20 18:41:25 +01:00
twinaphex
d68401aa4d Add RARCH_DISPLAY_CTL_SHOW_MOUSE 2015-11-20 17:26:39 +01:00
twinaphex
3e986f9562 Add RARCH_DISPLAY_CTL_SET_NONBLOCK_STATE 2015-11-20 17:22:19 +01:00
twinaphex
a59ca22457 Add RARCH_DISPLAY_CTL_FIND_DRIVER 2015-11-20 15:59:01 +01:00
twinaphex
704ff87b12 Add RARCH_DISPLAY_CTL_APPLY_STATE_CHANGES 2015-11-20 15:55:09 +01:00
twinaphex
09dda14549 Add RARCH_DISPLAY_CTL_READ_VIEWPORT 2015-11-20 15:41:20 +01:00
twinaphex
d8eeed0a9e Add RARCH_DISPLAY_CTL_CACHED_FRAME_HAS_VALID_FB 2015-11-20 15:38:10 +01:00
twinaphex
6286e4b74c Add RARCH_DISPLAY_CTL_CACHED_FRAME_RENDER 2015-11-20 15:34:10 +01:00
twinaphex
5cea9e5400 Add RARCH_DISPLAY_CTL_IS_FOCUSED 2015-11-20 15:24:24 +01:00
twinaphex
7141210d15 Remove video_driver_has_windowed 2015-11-20 15:20:54 +01:00
twinaphex
ba4643a7c1 Add RARCH_DISPLAY_CTL_FRAME_FILTER_IS_32BIT 2015-11-20 15:16:58 +01:00
twinaphex
7b1f57b1cd Add RARCH_DISPLAY_CTL_FRAME_FILTER_ALIVE 2015-11-20 15:14:12 +01:00
twinaphex
533b799692 Create video_driver_ctl and get rid of video_driver_get_frame_count 2015-11-20 15:08:27 +01:00
twinaphex
3d6f6869f0 Create win32_has_focus 2015-11-17 08:58:49 +01:00
Alcaro
f4a5cbbe5b Add this half-finished (okay, 5%-finished) driver. 2015-10-11 09:50:49 +02:00
Sergi Granell
3b54e81d00 (Vita) Start vita2d_gfx video driver 2015-08-30 20:12:16 +02:00
twinaphex
0c023dcb68 Reimplement frame count 2015-08-03 23:01:07 +02:00
twinaphex
4787c463b6 Backport this - 58748da89d 2015-07-27 00:08:25 +02:00
twinaphex
2aac64552d Cut down on some more superfluous wrapper functions 2015-07-12 11:28:19 +02:00
twinaphex
117fd48f15 Get rid of some superfluous wrapper functions 2015-07-12 11:14:41 +02:00
twinaphex
a132fa0fba Some C89 build fixes 2015-06-26 15:53:18 +02:00
Higor Eurípedes
96742263d1 Fix raw screenshots 2015-06-17 09:29:09 -03:00
twinaphex
63aa834414 Create video_driver_cached_frame_has_valid_fb 2015-05-20 21:29:23 +02:00
twinaphex
ac8d58b7bb Create video_driver_cached_frame_set 2015-05-20 21:13:25 +02:00
twinaphex
cf2c0f6930 Rename rarch_render_cached_frame to video_driver_cached_frame 2015-05-20 21:06:44 +02:00
twinaphex
d2b76a7d13 Move pix_fmt to video_state 2015-05-20 20:59:12 +02:00
twinaphex
197820c797 Move filter state code to video_state and out of global 2015-05-20 20:49:52 +02:00
twinaphex
a81baed9e2 Move hw_render_callbakc to video driver state and take it out
of global state
2015-05-20 19:56:12 +02:00
twinaphex
b255b5a325 Create video_driver_set_aspect_ratio_value and video_driver_get_aspect_ratio 2015-05-20 18:24:45 +02:00
twinaphex
b99ae6f4e4 Refactor some more code to no longer use global->video_data.width/
global->video_data.height directly
2015-05-20 01:39:35 +02:00
twinaphex
d64655c11b move menu_display_get_size to gfx/video_driver.c and rename
it video_driver_get_size
2015-05-20 00:29:46 +02:00
twinaphex
5aeb906065 Create video_driver_get_frame_count 2015-05-09 15:54:51 +02:00
twinaphex
ae408a1d41 Create video_poke get_frame_count function 2015-05-09 15:52:06 +02:00
twinaphex
a9dee4877e Create set_viewport wrapper function - threaded video mode's
set_viewport function does not work yet
2015-04-26 19:46:59 +02:00
twinaphex
d3dba0edc2 Create menu_display_set_viewport 2015-04-26 16:46:56 +02:00
twinaphex
c22535b7e1 Reduce HAVE_FBO ifdefs 2015-04-25 02:35:06 +02:00
twinaphex
c5cdd729db Create video_driver_suppress_screensaver 2015-04-11 06:12:27 +02:00
Twinaphex
db2dd5010b Merge pull request #1559 from aliaspider/master
preliminary 3DS port.
2015-04-01 23:18:12 +02:00
aliaspider
2045cee432 preliminary 3DS port. 2015-04-01 22:14:13 +01:00
Jean-André Santoni
158c79ed9e (Menu) Improved text alignment for gl menu drivers 2015-03-31 14:00:30 +02:00
twinaphex
4f6a3532f6 Create video_driver_frame wrapper function 2015-03-24 13:27:38 +01:00
twinaphex
42b054771a (Wii) Buildfix 2015-03-23 04:32:12 +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
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
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
c4afb2a154 Create video_driver_has_windowed 2015-03-22 07:20:55 +01:00
twinaphex
5d0815a7b7 Rename video_driver_resolve to video_driver_get_ptr 2015-03-21 23:46:49 +01:00
aliaspider
7a72d46f9a add a read_frame_raw callback to the video_driver_t structure. 2015-03-16 09:33:16 +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
2f1e6600d9 Added native Raspebbry Pi Dispmanx API backend 2015-03-13 05:59:52 +01:00
vanfanel
9831f8f1d0 Added sunxi graphics backend. No additional libs or blobs required. 2016-01-10 11:04:32 +00: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
f9ede9d00a Add get_video_output_size to video driver's poke interface 2015-02-24 20:06:58 +01:00
twinaphex
8f5809ee46 Take out make_current_context 2015-02-16 23:41:49 +01:00
twinaphex
64446ef497 Rename and move rarch_viewport 2015-02-14 05:52:05 +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
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
90e5cffab8 Add RETRO_ENVIRONMENT_MAKE_CURRENT_CONTEXT 2015-02-08 18:39:12 +01:00
twinaphex
6e21d03ce7 Move code to gfx/video_driver.c 2015-01-26 20:30:48 +01:00
Jean-André Santoni
f130a59ab2 (XMB) Align datetime to the right 2015-01-23 01:54:31 +01:00
twinaphex
da88bcdd91 Rename gfx_shader* to video_shader* 2015-01-19 21:24:08 +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
c4310ec813 Implement suspend_screensaver callback 2015-01-18 22:32:14 +01:00
twinaphex
e2b5681652 Some header include changes 2015-01-13 22:11:26 +01:00
twinaphex
058900ac9f Rename shader_parse.c to video_shader_parse.c 2015-01-12 23:42:50 +01:00
twinaphex
64411558eb Rename gfx/shader/ to gfx/drivers_shader 2015-01-12 22:23:48 +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
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