twinaphex
40f8fabda6
Consistency in how we treat positive strcmp matches
2015-06-14 19:56:01 +02:00
twinaphex
3943f4633f
(GX/Wii) Cleanups - grab pointer to menu_framebuf_t
2015-06-13 17:01:38 +02:00
twinaphex
7197b58ed6
(gfx/drivers) Cleanups
2015-06-13 02:49:29 +02:00
twinaphex
5068e2ddbf
(xvideo.c) Style nits
2015-06-03 21:37:08 +02:00
twinaphex
0cbd1f0882
Don't define HAVE_GL_ASYNC_READBACK if GL_PIXEL_PACK_BUFFER is not
...
defined
2015-06-02 18:51:42 +02:00
twinaphex
70fc26677d
Define GL_SYNC_ defines if not available
2015-06-02 17:31:43 +02:00
amigagamer
55934b4770
fix dispmanx compile (dispmanx_gfx_get_frame_count)
...
line 601 looking for dispmanx_get_frame_count
the correct name is dispmanx_gfx_get_frame_count (from line 592)
2015-05-30 17:00:06 +01: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
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
d8622e0a92
(GL) Prevent unused variable warning
2015-05-20 20:01:29 +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
969bbdd85d
Get rid of some unused runloop variables
2015-05-20 03:13:42 +02:00
twinaphex
4352cca599
Cleanup last remaining references
2015-05-20 02:40:44 +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
79db0c2ab5
Start using video_driver_get_size in video drivers
2015-05-20 00:45:42 +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
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
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
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
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
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
498caabfc7
(GL) Buildfix
2015-05-04 10:03:33 +02:00
twinaphex
5d58d290af
(GL) Improve VideoCore/Raspberry Pi hack
2015-05-04 10:00:32 +02:00
twinaphex
e4cb891ae7
(GL) Pass context identifier to resolve_extensions
2015-05-04 09:37:26 +02:00
Higor Eurípedes
5bfd910cd1
(gl) Fix font rendering when video_font_enable=false
2015-05-02 22:41:59 -03:00
twinaphex
80c5059d43
Revert "(Video) Call gfx_ctx_free from common function - uninit_video_input"
...
This reverts commit aac304410b
.
2015-05-02 22:53:27 +02:00
twinaphex
aac304410b
(Video) Call gfx_ctx_free from common function - uninit_video_input
2015-05-02 05:52:34 +02:00
twinaphex
0ba4e81e63
(VG) Build fixes
2015-04-26 23:19:19 +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
1860f06926
(VG) Cleanups
2015-04-26 06:04:16 +02:00
twinaphex
3f3df59758
(GX) Buildfix
2015-04-26 05:48:45 +02:00
twinaphex
b6fbf5a335
(Menu) Start getting rid of gl->win_width/gl->win_height and start
...
creating global->video_data.width and global->video_data.height
which should be used instead in menu drivers
2015-04-26 05:21:43 +02:00
twinaphex
c22535b7e1
Reduce HAVE_FBO ifdefs
2015-04-25 02:35:06 +02:00
twinaphex
44a8b8bcd3
Move font_handle and font_driver ot the driver struct
2015-04-25 00:32:01 +02:00