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
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
twinaphex
ffc5ba0980
Make gfx_ctx_get_ptr static
2015-04-10 09:15:25 +02:00
Twinaphex
ced227c214
(gl.c) Cleanups
2015-04-10 09:12:32 +02:00
twinaphex
f65f56fdf4
Go through gfx_ctx_get_video_output wrapper functions
2015-04-10 09:11:17 +02:00
twinaphex
234baf09bd
Go through gfx_ctx_bind_hw_render
2015-04-10 09:07:53 +02:00
twinaphex
0ef148f460
Go through gfx_ctx_set_video_mode
2015-04-10 09:05:07 +02:00
twinaphex
8082f17e2e
Rename egl image buffer functions
2015-04-10 09:02:24 +02:00
twinaphex
0fc92790b3
Go through gfx_ctx_input_driver
2015-04-10 08:53:45 +02:00
twinaphex
fe69dc2768
Use gfx_ctx_show_mouse
2015-04-10 08:49:01 +02:00
twinaphex
4cb8074bf5
Create more gfx_ctx wrapper functions and use them
2015-04-10 08:33:07 +02:00
twinaphex
187ab80f71
Go through more gfx_ctx wrapper functions
2015-04-10 08:26:43 +02:00
twinaphex
93cbdebd37
Create gfx_ctx_get_video_size
2015-04-10 07:12:15 +02:00
twinaphex
901662caad
(vg.c) Use gfx_ctx_translate_aspect
2015-04-10 06:52:51 +02:00
twinaphex
d16b22fa80
(vg.c) Start going through gfx_ctx wrapper functions
2015-04-10 06:51:00 +02:00
twinaphex
6ff8d368e6
(gl.c) Cleanup
2015-04-10 06:29:27 +02:00
twinaphex
a4f234e26e
(GL) Cleanup gl_read_viewport
2015-04-10 06:25:25 +02:00
twinaphex
270f10ae04
(gl.c) Cleanup gl_init
2015-04-10 06:17:04 +02:00
twinaphex
37a5a7e653
Create gfx_ctx_suppress_screensaver
2015-04-10 06:13:20 +02:00
twinaphex
7671f3e035
Create gfx_ctx_check_window
2015-04-10 06:10:05 +02:00
twinaphex
133d7b7dd2
Wrap more gfx_ctx functions
2015-04-10 05:47:36 +02:00
twinaphex
c0d58ce467
Take out win32_dwm_common.h header includes
2015-04-09 23:00:08 +02:00
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
8616a9bf28
(VG) Go through gfx_ctx_get_ptr
2015-04-09 18:46:24 +02:00
twinaphex
5d60938560
(GL) Go through gfx_ctx_get_ptr
2015-04-09 18:30:30 +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
5e8a78bb25
Move x11_common.c to gfx/common
2015-04-09 05:02:57 +02:00
twinaphex
16b7b454a9
Move gl_common.c to gfx/drivers
2015-04-09 04:57:17 +02:00
twinaphex
8b2c8bae19
(Xvideo) Style nits
2015-04-09 04:15:37 +02:00
aliaspider
a7c63f973b
(3DS) update video driver:
...
use a gemotry shader to simulate sprite primitives.
move gpu state commands to the initial display list.
2015-04-08 18:59:41 +01:00
twinaphex
512f6aa1b8
(3DS) use retro_inline.h
2015-04-05 22:50:44 +02:00
aliaspider
e06a7d5f7e
(3DS) set the content frame to fullscreen for now, until aspect ratio
...
settings are implemented.
2015-04-05 21:06:24 +01:00
aliaspider
bac17ec84a
(3DS) add missing inline directive.
2015-04-05 20:48:23 +01:00
aliaspider
6e364e5e48
(3DS) update copyright.
2015-04-05 20:44:50 +01:00
aliaspider
81933fc96d
(3DS) ctr_gu.h was missing.
2015-04-05 20:43:15 +01:00
aliaspider
fe923dff98
(3DS) video driver rewrite.
2015-04-05 20:40:35 +01: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
36b054506d
Move window manager code to gfx/drivers_wm
2015-04-04 20:30:44 +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
b89f97065a
(sdl_gfx) Cleanups
2015-04-03 04:20:50 +02:00
twinaphex
6ce142305d
(sunxi_gfx.c) Cleanups
2015-04-03 04:17:44 +02:00
twinaphex
352bd086b0
(omap_gfx) Cleanups
2015-04-03 04:07:04 +02:00
twinaphex
a039a64314
(exynos/dispmanx) Namespace / style nits
2015-04-03 03:53:01 +02:00
Lioncash
5102339e84
ctr_gfx: Fix a missing printf formatting specifier
2015-04-02 12:41:07 -04:00
aliaspider
d842697863
(3DS) can display loaded content.
...
add an fps counter.
2015-04-02 04:00:26 +01:00
aliaspider
948e637e22
(3DS/CTR) shutdown hack not needed anymore.
2015-04-02 02:28:56 +01:00
aliaspider
27bd10b21d
implement a very basic input driver, will need to be implemented
...
correctly later.
2015-04-02 02:19:21 +01:00
twinaphex
5612545b25
(CTR/3DS) Update copyright headers
2015-04-02 01:43:28 +02:00
aliaspider
2045cee432
preliminary 3DS port.
2015-04-01 22:14:13 +01: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
vanfanel
b39867f5db
SUNXI driver: removed unused variables.
2015-03-25 15:30:29 +00:00
vanfanel
2eb3fdba44
Removed unneeded header includes in the Dispmanx driver.
2015-03-24 21:20:13 +01:00
vanfanel
f4dd04c828
More optimizations. RGUI Menu working.
2015-03-24 20:13:09 +00: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
6f0eef0c86
Cleanup video_driver_set_rotation
2015-03-24 08:48:03 +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
vanfanel
429948cae3
Sunxi driver simplifying, round 1: rewrote buffering code for stability and simplicity.
2015-03-22 23:44:25 +00:00
twinaphex
a760d25384
Create menu_driver_frame
2015-03-22 05:27:19 +01:00
twinaphex
508ade73f9
Rename menu_driver_resolve to menu_driver_get_ptr
2015-03-21 23:56:42 +01:00
twinaphex
d7d92cf83e
(PSP) Style nits
2015-03-21 23:27:18 +01:00
twinaphex
f517c41070
(PSP) Style nits
2015-03-21 23:25:46 +01:00
vanfanel
25d9fc301d
Free menu resources when exiting RA from menu. Changed console restore function name to a more appropiate one.
2015-03-21 11:53:44 +01:00
Twinaphex
fc09ad68be
(GL) Fix unused variable warning
2015-03-21 06:24:37 +01:00
twinaphex
5a443d229a
global_get_ptr update pt. 2
2015-03-21 05:42:49 +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
vanfanel
d7a2a7c4c1
Fixed lockup issue on the dispmanx driver. Rewrote some parts for simplicity.
2015-03-19 12:23:18 +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
Higor Eurípedes
b979e81b61
(sdl2_gfx.c) Fix CXX build
2015-03-16 14:01:23 -03:00
twinaphex
a0f242e1a2
Capitalize enum names
2015-03-16 16:33:23 +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
c410e24d58
(vg.c) Add runloop.h
2015-03-15 18:29:16 +01:00
vanfanel
9b6d336983
Fixed building with dispmanx only with no OpenGL/GLES. Corrected comment.
2015-03-15 16:20:03 +01:00
twinaphex
6c0f4eb5f0
(dispmanx_gfx.c) Cleanups
2015-03-15 05:41:29 +01:00
twinaphex
7a9d2c6358
(sunxi_gfx.c) Style nits
2015-03-15 05:38:31 +01:00
twinaphex
61d6f69aa8
Backport Vanfanel mutex fix
2015-03-15 05:35:46 +01:00
twinaphex
31c5e2fea5
(sunxi gfx) Change signature of thread callback function
2015-03-15 05:30:57 +01:00
twinaphex
af0aea78b4
(Dispmanx) Use rthreads
2015-03-15 05:23:13 +01:00
twinaphex
bbb61f0d3d
(SunXI gfx) Use rthreads
2015-03-15 05:19:04 +01:00
twinaphex
84e9f2fa7d
Use retro_inline throughout
2015-03-15 04:52:46 +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
75598e5e60
(dispmanx_gfx) Turn a bunch of functions static
2015-03-13 22:46:26 +01:00
twinaphex
299aa1d1f2
(Dispman Graphics driver) Cleanups
2015-03-13 22:39:18 +01:00
vanfanel
2f1e6600d9
Added native Raspebbry Pi Dispmanx API backend
2015-03-13 05:59:52 +01:00
aliaspider
af3461c256
(PSP) fix display bug with 32bpp cores.
2015-03-11 03:37:47 +01:00
twinaphex
9970768dd2
(XVideo) Implement mouse wheel up/down for Xvideo too
2015-03-09 17:48:24 +01:00
twinaphex
dd0d81eba8
(XEGL context/Xvideo) Add it to these video drivers/ context
...
drivers too
2015-03-09 16:55:27 +01:00
twinaphex
ee1654d695
(GX) Use g_settings.fps_show
2015-03-08 15:07:19 +01:00
Toad King
2a64450af2
[GX] fix build
2015-03-07 22:48:41 -06:00
twinaphex
9627117166
Take out fps_monitor_enable
2015-03-07 23:03:56 +01:00
aliaspider
7e2a1ed4ab
(PSP) disable hardcoded FPS display
2015-03-07 22:42:19 +01:00
Tobias Jakobi
3183149c8c
exynos_gfx: fix error handling of fd open
...
Opening an fd can fail for multiple reasons, we would
just error out on EPERM. Handle the other cases as well.
2015-03-07 14:58:30 +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
795ef467ac
Move msg_queue and nbio/http to runloop struct
2015-03-07 13:01:41 +01:00
twinaphex
a74cb0574b
Create g_runloop and start moving variables there
2015-03-07 12:36:50 +01:00
notaz
a63dba42ce
omap_gfx: implement _set_texture_frame
2015-03-07 02:43:08 +02:00
notaz
b33630b8dc
omap_gfx: don't allocate vram if enough is available
...
this allows to use the layer even if it's already in use by some display
2015-03-07 02:42:56 +02:00
notaz
8df0dd990e
omap_gfx: fix build
2015-03-07 02:42:43 +02:00
twinaphex
e1dca5de36
(sunxi_gfx.c) Style nits #2
2015-03-06 23:36:13 +01:00
twinaphex
4cb819543e
(sunxi_gfx.c) Style nits
2015-03-06 23:25:46 +01:00
twinaphex
f32abcf532
(sunxi_gfx.c) Turn a whole bunch of functions static
2015-03-06 23:10:47 +01:00
twinaphex
c06558972b
(sunxi_gfx.c) style nits
2015-03-06 22:59:10 +01:00
Twinaphex
5132b410a8
Merge pull request #1471 from aliaspider/master
...
(PSP) add missing screenshot function.
2015-03-06 22:41:11 +01:00
aliaspider
c708453f06
(PSP) add missing screenshot function.
2015-03-06 22:27:06 +01:00
vanfanel
9831f8f1d0
Added sunxi graphics backend. No additional libs or blobs required.
2016-01-10 11:04:32 +00:00
twinaphex
b9a17d0d05
(PS3) Take out hacky hack HAVE_GCMGL ifdefs
2015-03-05 14:26:34 +01:00
Toad King
23f2e3b0e1
[GX] reset menu pitch & custom viewport when changing resolution
2015-02-28 22:42:06 -06:00
Toad King
14fe8623bb
[GX] fix menu pitch
2015-02-28 22:18:23 -06:00
aliaspider
4317c4f1cb
(PSP) fix build.
...
add 7-zip support.
fix cores filenames detection in core_info_list_new.
use sceRtcGetCurrentTick instead of the less precise gettimeofday for
the performance counter.
2015-02-25 13:30:46 +01:00
twinaphex
f08160396b
Get rid of unneeded gfx_gfx.h header
2015-02-24 22:13:40 +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
7e9aeee05d
(GX) Implement get_video_output_size for Wii/Gamecube
2015-02-24 20:22:45 +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
Tobias Jakobi
dab91b0c73
exynos_gfx: actually turn off the crtc during cleanup
...
Disabling the crtc is completly independent of the used
connectors. Use the correct parameters so that the drm
core actually disables the crtc.
2015-02-24 16:53:54 +01:00
Toad King
509e7f8fc8
[GX] compile fix
2015-02-23 21:54:44 -06:00
twinaphex
d09574bb1f
Move files around
2015-02-22 04:56:18 +01:00
Higor Eurípedes
c281f0fc68
(griffin) Fix glx, xegl and xvideo build
2015-02-20 23:35:39 -03:00
Higor Eurípedes
cb7b6ef45c
(gl.c) Fix undefined gl_get_proc_address
2015-02-20 23:35:39 -03:00
Tobias Jakobi
cf3eea13df
exynos_gfx: handle drmModeSetCrtc failing
...
This shouldn't happen anymore after the connector ID fix, but
the checks don't hurt and protect us from future mishaps.
2015-02-20 10:54:23 +01:00
Tobias Jakobi
551123d4d6
exynos_gfx: set connector_id in exynos_init
...
The connector ID is only used for initial setup of the CRTC
and when deinitializing the backend, so this bug probably
wasn't noticed at all.
2015-02-20 10:44:54 +01:00
Tobias Jakobi
5574d95add
exynos_gfx: fix memory leak in exynos_free
...
The exynos_device object was never freed, so we had a tiny
memory leak when reinitializing the gfx backend.
2015-02-20 10:43:18 +01:00
Tobias Jakobi
6327f45d4f
exynos_gfx: update copyright
2015-02-20 10:39:27 +01:00
twinaphex
8f5809ee46
Take out make_current_context
2015-02-16 23:41:49 +01:00
sergiobenrocha2
ab3f821c64
Fix build with vg enabled.
2015-02-14 14:49:21 -02:00
twinaphex
64446ef497
Rename and move rarch_viewport
2015-02-14 05:52:05 +01:00
twinaphex
7df7201b31
Go through menu_driver_resolve
2015-02-13 23:41:34 +01:00
twinaphex
d1483d1530
(GX) Buildfix
2015-02-13 19:11:53 +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
SuperrSonic
2e61bafb1e
(GX) Use custom viewports in 240p
2015-02-05 16:19:00 -04:00
twinaphex
847cd0521a
(psp1_gfx.c) Style nits
2015-01-26 19:55:19 +01:00
twinaphex
44a609b0c2
(exynos_gfx.c) Style nits
2015-01-26 19:53:21 +01:00
twinaphex
91cba8094d
(omap_gfx.c) Style nits
2015-01-26 19:42:04 +01:00
twinaphex
1db3789090
(SDL2) Cleanup driver
2015-01-22 01:08:20 +01:00
twinaphex
9c7f3c30a0
(sdl_gfx.c) cleanups
2015-01-22 00:32:24 +01:00
twinaphex
f1eee5554f
Add performance.h header to sdl_gfx.c
2015-01-22 00:26:50 +01:00
twinaphex
a1f12dd570
(PSP) Buildfix
2015-01-21 06:33:31 +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
Alcaro
fcf7f4faa5
Fix build failure - pass in the new parameter
2015-01-19 17:38:53 +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
de76884bb8
Rename gfx_get_fps to video_monitor_get_fps
2015-01-18 20:03:33 +01:00
twinaphex
e3897c8641
Less dependencies on driver.h
2015-01-18 19:01:13 +01:00
twinaphex
5c32acf91f
Split up video_monitor code into separate file
2015-01-18 18:28:14 +01:00
twinaphex
0286078f8f
Start properly namespacing monitor_* functions
2015-01-18 18:17:59 +01:00
twinaphex
ba5a31e33b
Build fixes
2015-01-12 23:38:21 +01:00
twinaphex
7f6a9fe594
Build fixes
2015-01-12 23:35:40 +01:00
twinaphex
8111567d3e
Move some files around
2015-01-12 23:34:10 +01:00
twinaphex
64411558eb
Rename gfx/shader/ to gfx/drivers_shader
2015-01-12 22:23:48 +01:00
twinaphex
069fb556f0
Rename graphics context drivers
2015-01-12 22:19:31 +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
b9ab7a545d
Move psp and gx drivers to gfx/drivers
2015-01-12 06:55:31 +01:00
twinaphex
a002208f59
Start moving graphics driver to gfx/drivers
2015-01-12 06:45:12 +01:00