Commit Graph

170 Commits

Author SHA1 Message Date
twinaphex
18801c8449 Move gfx_set_dwm call to platform_win32.c 2015-04-09 22:58:57 +02:00
twinaphex
0df3f13fc9 Revert "Create wrapper gfx_ctx_check_window"
This reverts commit 4d3b187231.
2015-04-09 22:38:11 +02:00
twinaphex
4d3b187231 Create wrapper gfx_ctx_check_window 2015-04-09 22:37:14 +02:00
twinaphex
82124d6181 Create some more gfx_ctx wrapper functions 2015-04-09 21:58:58 +02:00
twinaphex
4e24111f42 (Graphics context) Create gfx_ctx_translate_aspect 2015-04-09 21:48:20 +02:00
Twinaphex
73bfdfccdb (GL) remove unused variables 2015-04-09 18:20:56 +02:00
twinaphex
849d86db0f (GL) Start going through gfx_ctx_get_ptr 2015-04-09 18:17:52 +02:00
twinaphex
45e87c06e2 (Driver) Create video_context 2015-04-09 18:07:58 +02:00
twinaphex
16b7b454a9 Move gl_common.c to gfx/drivers 2015-04-09 04:57:17 +02:00
radius
5e6cf7d74d windows build fixes 2015-04-04 13:56:26 -05:00
twinaphex
a8f9d73a97 (Win32) Replace wgl_shader_dlg.h header includes 2015-04-04 20:45:15 +02:00
Twinaphex
632dfe3a82 Merge pull request #1578 from lioncash/printf
Fix some printf format specifiers
2015-04-03 22:30:04 +02:00
Lioncash
b68048e6db Fix some printf format specifiers
Gets rid of warnings on higher warning levels
2015-04-03 15:09:17 -04:00
twinaphex
532d112ff8 (Font) Combine font_d3d_driver and font_gl_driver 2015-04-03 20:36:19 +02:00
twinaphex
951547eb70 (GL) Namespace cleanups 2015-04-03 04:25:46 +02:00
twinaphex
2c555082ee D3D and GL now use the same font driver interface 2015-03-30 00:55:39 +02:00
twinaphex
3da7197538 (font_driver) Get rid of warnings 2015-03-28 20:51:03 +01: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
twinaphex
436536398a (GL) Conditional no longer needed - check is done outside in
video_driver_frame
2015-03-24 13:37:58 +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
a43af8622d (windows) add a shader parameters popup windows. 2015-03-23 17:36:37 +01:00
twinaphex
a760d25384 Create menu_driver_frame 2015-03-22 05:27:19 +01:00
Twinaphex
fc09ad68be (GL) Fix unused variable warning 2015-03-21 06:24:37 +01:00
twinaphex
e6f0d366cb Go through global_get_ptr 2015-03-21 04:43:18 +01:00
twinaphex
f130b00596 Updates pt. 3 2015-03-20 22:08:36 +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
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
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
f2d2e9a4f1 Reorganize recording variables in global struct 2015-03-07 14:02:50 +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
a74cb0574b Create g_runloop and start moving variables there 2015-03-07 12:36:50 +01:00
twinaphex
b9a17d0d05 (PS3) Take out hacky hack HAVE_GCMGL ifdefs 2015-03-05 14:26:34 +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
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
d09574bb1f Move files around 2015-02-22 04:56:18 +01:00
Higor Eurípedes
cb7b6ef45c (gl.c) Fix undefined gl_get_proc_address 2015-02-20 23:35:39 -03: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
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
7daf9fae03 Fix crash on startup with threaded video 2015-02-12 21:58:35 +01:00
twinaphex
4d478434c7 (Menu) Start getting rid of void * pointer 2015-02-11 20:28:54 +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
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
90e5cffab8 Add RETRO_ENVIRONMENT_MAKE_CURRENT_CONTEXT 2015-02-08 18:39:12 +01:00
twinaphex
da88bcdd91 Rename gfx_shader* to video_shader* 2015-01-19 21:24:08 +01:00
twinaphex
b0548e1329 Properly namespace video_shader_parse.c functions 2015-01-19 21:09:39 +01:00
twinaphex
51d97c3fbb Rename gfx_common.c to win32_dwm_common.c 2015-01-19 01:49:08 +01:00
twinaphex
80d4de7c3f Add gfx/video_viewport.c/viewport.h 2015-01-18 23:59:57 +01:00
twinaphex
c4310ec813 Implement suspend_screensaver callback 2015-01-18 22:32:14 +01:00
twinaphex
64411558eb Rename gfx/shader/ to gfx/drivers_shader 2015-01-12 22:23:48 +01:00
twinaphex
0b2d518531 Rename video_context.c to video_context_driver.c 2015-01-12 21:53:04 +01:00
twinaphex
cec3af8e4a Rename shader_context.c to video_shader_driver.c 2015-01-12 21:41:27 +01:00
twinaphex
bd0f0c3f63 Rename gfx_context.c to video_context.c 2015-01-12 18:47:39 +01:00
twinaphex
a002208f59 Start moving graphics driver to gfx/drivers 2015-01-12 06:45:12 +01:00