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
natifion
efd3f7cc58
(Font) Added get_message_width to font_renderer_t
2015-05-16 16:32:16 +02:00
natinusala
d326fe87af
Fixed scale with text alignment
2015-05-14 18:16:34 +02:00
Higor Eurípedes
c5940b32b6
(gl) Remove context switch calls from set_osd_msg
...
It's not needed because this function is always called from the
frontend/menu context. The video driver handles SET_MESSAGE
environment call in the frame() function (msg argument).
2015-05-12 09:36:00 -03:00
twinaphex
7c84232b9f
(GL) Uncomment context_hw_bind_render calls around set_osd_msg again
2015-05-11 22:30:44 +02:00
twinaphex
4d7c2a642d
(GL) Cleanups
2015-05-11 00:20:06 +02:00
Higor Eurípedes
e0dccab5fc
(gl) Dont switch to another context in gl_set_osd_msg()
2015-05-10 16:18:09 -03:00
twinaphex
3c5b83cf08
(360) Build fixes
2015-05-09 18:12:15 +02:00
twinaphex
132bec0237
(D3D) Fix warning
2015-05-09 18:07:59 +02:00
twinaphex
73d5e8a41b
(PS3) Build fix and fix warnings
2015-05-09 17:53:03 +02:00
twinaphex
945d2851ba
Pass frame_count variable to gl_frame_fbo
2015-05-09 17:41:53 +02:00
Alcaro
3ea56e67a9
Fix some race conditions on that frame counter.
2015-05-09 16:30:02 +02:00
twinaphex
83e0164c93
Get rid of 64-bit formatting warnings
2015-05-09 16:21:35 +02:00
twinaphex
3d6b29e97b
thread_get_frame_count - return 0 instead of NULL
2015-05-09 16:07:05 +02:00
Twinaphex
f08db710ac
Kill unused variables
2015-05-09 16:06:05 +02:00
twinaphex
9b9e65abf3
Start using video_driver_get_frame_count
2015-05-09 16:04:12 +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
4ecfe639b3
Create local frame_count variables again in video_drivers
2015-05-09 15:41:10 +02:00
twinaphex
31498e825f
Crashed here in threaded video mode
2015-05-09 12:35:06 +02:00
twinaphex
bbd2f6054b
Don't compile in GLX if HAVE_OPENGLES is defined
2015-05-09 11:27:51 +02:00
twinaphex
6fbd9df9d9
Take out runloop-related code in gfx/video_driver.c's init_video
...
function
2015-05-09 10:41:36 +02:00
twinaphex
dcfa47c23b
Increment runloop->frames.video.count outside of video_driver_frame
2015-05-09 10:37:03 +02:00
twinaphex
87d9834d06
Move dylib.c to libretro-common
2015-05-08 09:49:49 +02:00
Twinaphex
56da783f11
Get rid of unused variable
2015-05-05 09:43:22 +02:00
twinaphex
0704c7f0c7
Create texture_image_color_convert
2015-05-04 10:16:47 +02:00
twinaphex
ef98d02185
Create texture_image_set_color_shifts
2015-05-04 10:13:53 +02:00