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
twinaphex
bd63de9b3a
Replace gl_font_init_first and d3d_font_init_first with common function
2015-04-21 17:33:00 +02:00
twinaphex
8c528bb79a
Rename apple_bind_game_view_fbo to cocoagl_bind_game_view_fbo
2015-04-19 17:42:04 +02:00
aliaspider
2076846a5c
(CTR/3DS) disable v-sync blocking after a missed vblank-start event.
...
will prevent cores running under 60fps from slowing down even more.
2015-04-17 19:45:07 +01:00
twinaphex
27661c8087
Refactor some HAVE_X11/HAVE_EGL code
2015-04-16 22:39:28 +02:00
twinaphex
6bf30bb714
(PS3) Buildfixes
2015-04-14 21:58:39 +02:00
twinaphex
0818b178f9
Rename rarch_main_command to event_command
2015-04-13 11:26:02 +02:00
Twinaphex
de2eb5f972
Rename RARCH_CMD_* to EVENT_CMD_*
2015-04-13 10:29:15 +02:00
Twinaphex
56a348e9bd
Merge pull request #1624 from aliaspider/master
...
(3DS) video driver: performance improvements.
2015-04-13 02:52:32 +02:00
aliaspider
e754c328b0
(3DS) video driver: performance improvements.
2015-04-13 01:50:00 +01:00
twinaphex
9a3ba16a36
(GL) Cleanup
2015-04-12 22:01:48 +02:00
twinaphex
7fbbac544e
Some C89 build fixes
2015-04-12 19:29:38 +02:00
twinaphex
be96b95dda
Style nits
2015-04-11 08:45:55 +02:00
twinaphex
54b10d8eca
(gfx/drivers) Style nits
2015-04-11 08:39:37 +02:00
twinaphex
4f43e4b363
Go through gfx_ctx_get_proc_address
2015-04-10 09:24:10 +02:00