Commit Graph

3485 Commits

Author SHA1 Message Date
twinaphex
9326d9c27c (DRM EGL) Don't do useless cast 2015-05-24 05:07:01 +02:00
twinaphex
75004e7ece (PS3) Build fixes 2015-05-21 04:43:50 +02:00
Higor Eurípedes
376228fac3 Clear thr->cmd_data after blocking for a reply. 2015-05-20 21:43:43 -03:00
Toad King
e97ecc17cc fix d3d build 2015-05-20 17:28:12 -05:00
twinaphex
5558fdd085 Get rid of global dependency for video_viewport_get_custom 2015-05-20 23:13:39 +02:00
twinaphex
e04dff82b5 Add some notes 2015-05-20 23:04:15 +02:00
twinaphex
6e327a3b8d Get rid of more unused global local pointers 2015-05-20 22:48:33 +02:00
twinaphex
95821959a7 Remove local variable 2015-05-20 22:22:47 +02:00
Higor Eurípedes
09c9904ab0 Cleanup thread_loop a bit 2015-05-20 17:06:57 -03:00
Higor Eurípedes
bb2f181386 Remove unprotected access to cmd_data and rewrite message passing mechanism 2015-05-20 17:06:57 -03:00
twinaphex
b363060262 Move frame_cache from global state to video driver state 2015-05-20 21:36:08 +02: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
d8622e0a92 (GL) Prevent unused variable warning 2015-05-20 20:01:29 +02:00
twinaphex
afa82d19ab find_video_driver - take out global variable 2015-05-20 19:59:08 +02:00
Twinaphex
eed8e5c135 Remove unused global variable 2015-05-20 19:56:43 +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
9f7c6fcb97 Cleanups 2015-05-20 19:30:15 +02:00
twinaphex
679feefae3 Start using const for non-mutating variables 2015-05-20 19:28:05 +02:00
twinaphex
2f62cd65e2 Start using video_viewport_get_custom everywhere 2015-05-20 19:12:39 +02:00
Twinaphex
d33cad3381 (GL) Take out unused global variable 2015-05-20 18:57:57 +02:00
twinaphex
a053b41223 Create video_viewport_get_system_av_info and video_viewport_get_custom -
move custom viewport and system av info outside of global state
2015-05-20 18:57:17 +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
533a0b7f7f Move frame_time_samples to video_driver.c 2015-05-20 05:35:41 +02:00
twinaphex
969bbdd85d Get rid of some unused runloop variables 2015-05-20 03:13:42 +02:00
twinaphex
a0ba714239 Create video_monitor_reset 2015-05-20 03:02:00 +02:00
twinaphex
684b9decb0 (Video driver) Cleanups - no longer depend on global pointer for
video width/height
2015-05-20 02:55:04 +02:00
twinaphex
066617ee62 (MSVC) Buildfixes 2015-05-20 02:45:32 +02:00
Twinaphex
33fc77f221 remove unused variables 2015-05-20 02:41:33 +02:00
twinaphex
4352cca599 Cleanup last remaining references 2015-05-20 02:40:44 +02:00
twinaphex
b2d57fd07d (D3D) Remove dependencies on video_data 2015-05-20 02:30:31 +02:00
twinaphex
23fe7886d2 (GL) GL driver should be free now from global->video_data.width/
global->video_data.height dependencies
2015-05-20 02:22:03 +02:00
twinaphex
b573e5f4dc (GL) Refactor code to no longer use global->video_data.width/global->video_data.height 2015-05-20 02:18:05 +02:00
twinaphex
9ce32fd7af (D3D) Refactor more global->video_data.* {width/height} references 2015-05-20 01:54:57 +02:00
twinaphex
629ff05499 (XDK) More refactors 2015-05-20 01:51:14 +02:00
twinaphex
0bf3cf97e7 (Font) Refactor font code to no longer use global 2015-05-20 01:48:51 +02:00
twinaphex
3d5abae2b9 Refactor more usage of global->video_data.width/global->video_data.height 2015-05-20 01:44:17 +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
79db0c2ab5 Start using video_driver_get_size in video drivers 2015-05-20 00:45:42 +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
337b37fc49 Merge pull request #1709 from heuripedes/master
stuff
2015-05-19 20:16:20 +02:00
twinaphex
375c49b6c8 Move is_menu out of runloop struct and create get/set functions in menu_driver.c
and make the underlying variable static to make it thread-safe
2015-05-19 20:11:57 +02:00
Higor Eurípedes
59e0f7221d (gl_raster_font) Fix typo 2015-05-19 15:11:05 -03:00
Higor Eurípedes
dfd6d464a8 (gl) Add check in gl_overlay_vertex_geom() 2015-05-19 13:51:59 -03:00
Higor Eurípedes
dc5460effd (gl_raster_font) Fix invalid read when pushing vertices
Calling both glsl shader->set_coords() or gl_coord_array_add() resulted
in an invalid read when memcpy()ing coords->lut_tex_coord.
2015-05-19 13:45:22 -03:00
natinusala
35ca261e4d Added font_renderer_get_message_width in font_renderer_driver.h
This function can be used to get any message width, using the current
font renderer driver.
2015-05-16 16:58:35 +02:00
natinusala
197a505e4c Adding gl_get_message_width to gl_raster_font 2015-05-16 16:38:13 +02:00