Commit Graph

1556 Commits

Author SHA1 Message Date
twinaphex
d861d2b0ae Updates 2017-11-13 09:02:22 +01:00
twinaphex
67fea30406 Remove remaining references to HAVE_FBO 2017-11-13 08:55:41 +01:00
twinaphex
ec123ef6ca Get rid of most of the HAVE_FBO usage 2017-11-13 06:20:30 +01:00
twinaphex
6fa5fcfa1f Add has_fbo member variable - fixes GL issues 2017-11-13 05:23:44 +01:00
twinaphex
60d96b60b5 Start adding gl1_renderchain.c 2017-11-12 17:32:18 +01:00
twinaphex
3ab26b6738 Prevent warning 2017-11-12 17:17:40 +01:00
twinaphex
5eadf021cf early return 2017-11-12 17:16:14 +01:00
twinaphex
c5292025c3 Cut down on HAVE_FBO usage and make sure gl->fbo_inited is set to
false if HAVE_FBO is not defined
2017-11-12 17:15:29 +01:00
Brad Parker
23527a82ca free VAO before the renderchain is destroyed 2017-11-11 13:55:05 -05:00
Brad Parker
69f69849be fix circular dependency of renderchain and core context init 2017-11-11 13:51:33 -05:00
twinaphex
40cfde0eba (MSVC 2010) Buildfix 2017-11-10 04:53:08 +01:00
twinaphex
faab2526c8 Create gl_bind_texture 2017-11-10 03:55:10 +01:00
twinaphex
77ac13b2e9 Buildfix 2017-11-09 01:16:35 +01:00
twinaphex
a4c9c738b8 Add init_textures_reference 2017-11-08 22:06:10 +01:00
twinaphex
4f016b2c2c Update 2017-11-08 19:31:00 +01:00
twinaphex
3e1f4defb8 Buildfix 2017-11-08 18:54:15 +01:00
twinaphex
3e0b4552d6 Cleanups 2017-11-08 18:49:45 +01:00
twinaphex
9ab13b719b Get rid of another ifdef 2017-11-08 18:48:01 +01:00
twinaphex
5f7527df08 Move readback function to renderchain 2017-11-08 18:45:28 +01:00
twinaphex
c825f849f5 CLeanups 2017-11-08 18:31:17 +01:00
twinaphex
d6cc447aa0 Add PBO callback functions 2017-11-08 18:22:05 +01:00
twinaphex
7c6377a7fa Cleanups 2017-11-08 17:45:39 +01:00
twinaphex
9f987dd97b Get rid of NO_GL_READ_PIXELS 2017-11-08 17:42:02 +01:00
twinaphex
3428e3d80a Cleanup 2017-11-08 17:10:41 +01:00
twinaphex
e91cc7aced Get rid of one extraneous HAVE_GLSL ifdef 2017-11-08 17:08:03 +01:00
twinaphex
9f79b99c94 Init renderchain prior to calling renderchain_driver 2017-11-08 16:58:23 +01:00
twinaphex
f28d6009ec Update 2017-11-08 16:53:43 +01:00
twinaphex
6fefc71aa2 Cleanups 2017-11-08 16:49:42 +01:00
twinaphex
c1d5622255 Get rid of another ifdef 2017-11-08 16:41:37 +01:00
twinaphex
4b0932ffb3 Move copy_frame to renderchain 2017-11-08 16:38:56 +01:00
twinaphex
bc45ba38bf Cleanups 2017-11-08 16:25:57 +01:00
twinaphex
a295169a3b Add restore_default_state callback - remove more ifdefs 2017-11-08 16:20:55 +01:00
twinaphex
308818afd1 Add VAO callback functions 2017-11-08 16:16:17 +01:00
twinaphex
5b268b79d2 Cleanups 2017-11-08 16:00:37 +01:00
twinaphex
9dd253adea Cleanup 2017-11-08 15:52:23 +01:00
twinaphex
5252d3216a Fix heap use after free error 2017-11-08 15:49:02 +01:00
twinaphex
4a7e8b03b2 Cache core context setting 2017-11-08 05:59:08 +01:00
twinaphex
24434db9d9 (GL) Cleanups 2017-11-08 05:47:37 +01:00
twinaphex
a72461c16b Create disable_client_arrays function pointer 2017-11-08 05:44:12 +01:00
twinaphex
dc664ff4f2 Cleanups 2017-11-08 01:53:24 +01:00
twinaphex
c1f0fceb4f More buildfixes 2017-11-08 00:59:16 +01:00
twinaphex
97e0ffde9f Buildfix for iOS 2017-11-08 00:53:57 +01:00
twinaphex
0085b24fd5 Cut down on gl_check_capability calls 2017-11-08 00:49:01 +01:00
twinaphex
4cae577ade Cleanups 2017-11-08 00:07:04 +01:00
twinaphex
dc700c5d8b Get rid of more ifdefs 2017-11-08 00:05:12 +01:00
twinaphex
0f6a3c8f9d Start cutting down on HAVE_GL_ASYNC_READBACK ifdef 2017-11-07 23:19:54 +01:00
twinaphex
5ea63f3b08 Get rid of HAVE_GL_SYNC ifdef 2017-11-07 23:13:26 +01:00
twinaphex
7a33bfe924 Get rid of more HAVE_FBO ifdefs 2017-11-07 22:54:38 +01:00
twinaphex
3ccf8c19f1 Start getting rid of HAVE_FBO ifdefs 2017-11-07 21:34:25 +01:00
twinaphex
0100e7b673 Update 2017-11-07 21:08:54 +01:00
twinaphex
fc43a14637 Updates 2017-11-07 21:03:29 +01:00
twinaphex
fe2bf47b98 Add more to renderchain driver 2017-11-07 20:56:08 +01:00
twinaphex
00d52a4783 Cleanups 2017-11-07 11:06:18 +01:00
twinaphex
a7cd8d94b0 Start going through renderchain driver interface for GL 2017-11-07 11:01:30 +01:00
twinaphex
40a7755fe2 Cleanups 2017-11-06 19:39:21 +01:00
Ash
0d38612f4a
[WiiU] Various warning/format string fixes
All things from unsigned comparisons to missing initializers; we got it
here.
2017-11-04 20:37:30 +11:00
twinaphex
bb051f185b MSVC/C89 buildfixes 2017-10-22 05:13:22 +02:00
orbea
5ec052b675 Fix compilation with --enable-xshm.
Fixes https://github.com/libretro/RetroArch/issues/5551.
2017-10-18 09:33:09 -07:00
rz5
0a0c538e2b (gl driver) Set flags after detecting GL core context 2017-10-13 22:48:17 +01:00
Brad Parker
fff3e225d2 comments 2017-10-10 15:28:29 -04:00
Brad Parker
072b347c0f fix OSD background alignment with non-default X/Y positions 2017-10-10 15:16:58 -04:00
Brad Parker
a4bc1c9768 add menu options for OSD background color 2017-10-10 14:53:32 -04:00
Brad Parker
7aadb0ee13 allow transparency for OSD background 2017-10-10 14:00:49 -04:00
Brad Parker
f156f7cd94 initial working OSD background color (only when content not loaded) 2017-10-09 23:30:11 -04:00
Brad Parker
a153ed0b42 testing 2017-10-09 21:19:32 -04:00
twinaphex
d10de20bff Start compiling Griffin as C for 360 - C89 fixes 2017-10-03 04:11:41 +02:00
twinaphex
721afe22d8 (MSVC 2010) Compile griffin.c as C 2017-10-02 22:06:32 +02:00
twinaphex
fa0728d6b7 (NGC/Wii) BUildfix 2017-10-02 20:31:38 +02:00
twinaphex
c3bcbaea14 Convert d3d.cpp to C 2017-10-02 07:48:57 +02:00
twinaphex
9c639ec529 Don't use std::vector 2017-10-02 06:12:33 +02:00
twinaphex
f6fb1fd953 Create d3d_create_device 2017-10-02 03:15:49 +02:00
twinaphex
6b1a1272a7 Remove d3d->d3d_err 2017-10-02 01:41:23 +02:00
twinaphex
ace611798e No longer include <string> for d3d.h 2017-10-02 01:38:48 +02:00
twinaphex
52b479fb22 Turn std::string shader_path into char * 2017-10-02 01:38:06 +02:00
twinaphex
ff40cba3de Create d3d_vertex_declaration_free - wrap more D3D functions 2017-10-01 22:23:28 +02:00
twinaphex
9eba2c8e39 Fix CXX_BUILD on Windows 2017-09-28 18:53:09 +02:00
twinaphex
a3ded01b64 Cleanups 2017-09-27 23:16:37 +02:00
twinaphex
e9a072c1ce uniquely name D3D function for initing renderchain 2017-09-20 14:53:40 +02:00
twinaphex
105b98b837 Rename gl_legacy_renderchain to gl2_renderchain 2017-09-19 15:06:49 +02:00
twinaphex
d149d590cf Fix some Xbox unresolved symbols 2017-09-14 22:24:04 +02:00
twinaphex
557c6c1d19 (D3D) Try to treat HLSL shaders same as Cg shaders for now 2017-09-13 04:37:29 +02:00
twinaphex
170b368044 (360) Some buildfixes 2017-09-13 04:21:00 +02:00
twinaphex
dbb6adb453 C89_BUILD fixes 2017-09-11 04:17:28 +02:00
twinaphex
0a6c8122d0 Cleanups 2017-09-09 02:36:08 +02:00
twinaphex
2dee343ec7 Rearrange variables 2017-09-09 01:35:15 +02:00
twinaphex
c0207e9b56 Revert "Reduce size of variables"
This reverts commit 79f1166c6e.
2017-09-09 00:20:39 +02:00
twinaphex
79f1166c6e Reduce size of variables 2017-09-08 23:44:10 +02:00
Charlton Head
d29e8c18fa Better error handling in *xv_init() 2017-09-07 12:28:16 -05:00
Brad Parker
0a1b3fedc0 VC6 support (targets NT 3.51) 2017-09-06 23:03:02 -04:00
twinaphex
674dbfed19 Cleanups 2017-09-05 04:57:34 +02:00
twinaphex
bde5a6dc19 Rename renderchain_driver_t to d3d_renderchain_driver_t 2017-09-05 04:21:40 +02:00
twinaphex
3eecbd7135 Fix d3d9_cg_renderchain.cpp 2017-09-05 03:27:00 +02:00
twinaphex
374b6115e1 Update HLSL backend 2017-09-05 03:21:58 +02:00
twinaphex
c691bbaedc Start going through compilation errors 2017-09-05 00:57:58 +02:00
Brad Parker
35c4770c9b gdi: manually convert RGB444 to RGB555 to get around BI_BITFIELDS limitation on non-NT platforms 2017-09-01 20:52:58 -04:00
Brad Parker
c7d7c5c909 gl: don't try to render a blank OSD message on every frame 2017-08-31 11:59:23 -04:00
Brad Parker
5e3531a5f2 win98: fix core video graphics corruption\nbitmapinfoheader size should never include masks, but this is undocumented 2017-08-30 00:48:02 -04:00
Brad Parker
e3d68cd131 GDI: fix flickering of text 2017-08-22 23:39:42 -04:00
twinaphex
9c32d03c1e (Vulkan/Win32) C89_BUILD fixes 2017-08-12 17:56:30 +02:00
twinaphex
c7615fdf00 Add RETRO_ENVIRONMENT_SET_HW_SHARED_CONTEXT 2017-08-07 18:06:03 +02:00
twinaphex
ba36055632 (GX) Buildfix 2017-08-06 13:43:01 +02:00
twinaphex
169aea5ae1 (GX) Another buildfix 2017-08-06 05:54:46 +02:00
twinaphex
740ad823ab (GX) Buildfix 2017-08-06 05:52:40 +02:00
twinaphex
86f7972aa8 (Wii) Backport
0574b91595
- untested
2017-08-06 04:40:55 +02:00
Brad Parker
b1904bcfa6 caca: enable OSD text drawing 2017-08-04 21:51:14 -04:00
Brad Parker
c8e6a98651 gdi: enable OSD text drawing 2017-08-04 21:47:46 -04:00
twinaphex
9fe27117f2 Revert "(iOS) Take this out - see if it solves our issues"
This reverts commit 1cf6f2f20f.
2017-07-21 05:24:41 +01:00
twinaphex
1cf6f2f20f (iOS) Take this out - see if it solves our issues 2017-07-19 18:42:59 +01:00
twinaphex
b11620e1eb Add retro_timers.h/retro_math.h 2017-06-28 04:41:38 +02:00
twinaphex
03ee897ae2 Try implementing core context version of XMB ribbon 2017-06-27 06:31:18 +02:00
ensrha
93ea78772d Add missing verbosity include 2017-06-19 14:38:26 +01:00
twinaphex
c7ac70a923 Combine video_renderchain_driver.c and video_driver.c 2017-06-12 15:45:58 +02:00
Zoran Vuckovic
08b6fdb697 Add missing include directive 2017-06-12 14:13:08 +02:00
Daniel Jimenez
22fc07a839 Fix mirrored images in vertical games on 3DS (bug #4817)
On branch master
 Your branch is up-to-date with 'origin/master'.
 Changes to be committed:
	modified:   ctr_gfx.c
2017-06-11 18:12:37 -07:00
hizzlekizzle
ba2cf008c6 update Cg menu ribbon for additive blending
Fixes solid white ribbon.
2017-05-30 20:13:58 -05:00
aliaspider
934f7c58ba (WiiU) enable networking. 2017-05-23 10:24:23 +01:00
aliaspider
801cc57e82 (WiiU) improve task scheduling. 2017-05-22 11:19:26 +01:00
aliaspider
634de19dc9 (WiiU) enable libretrodb. 2017-05-22 06:07:27 +01:00
aliaspider
db490a69a3 (WiiU) add a menu display driver. enable MATERIALUI and XMB. 2017-05-22 01:45:40 +01:00
Jean-André Santoni
0b1716650b Use additive blending for the ribbon in GL and Vulkan 2017-05-22 01:29:56 +02:00
Jean-André Santoni
1bd07c34c7 Make the Vulkan ribbon consistant with the GL ribbon 2017-05-22 00:39:09 +02:00
aliaspider
8dee95651f (WiiU) add a font driver. 2017-05-21 03:05:41 +01:00
twinaphex
b7b7c67ca3 Windows buildfix 2017-05-20 17:47:56 +02:00
twinaphex
efce4d0abf Revert "Add cb_set_shader_coords"
This reverts commit 06df028722.
2017-05-19 21:21:40 +02:00
twinaphex
06df028722 Add cb_set_shader_coords 2017-05-19 21:13:44 +02:00
twinaphex
d8f5065d64 Add cb_set_shader_mvp 2017-05-19 19:52:33 +02:00
twinaphex
64fdadf60f Use cb_shader_use 2017-05-19 19:42:34 +02:00
twinaphex
452c02653e Turn gl_set_shader_viewport into gl_set_shader_viewports 2017-05-19 19:39:46 +02:00
twinaphex
a830051076 Update gx_gfx.c 2017-05-19 16:33:59 +02:00
twinaphex
2a54544eb3 Add cb_shader_use to video_frame_info 2017-05-19 14:24:19 +02:00
twinaphex
59b3344e72 Combine video_driver.c and video_shader_driver.c 2017-05-18 14:47:24 +02:00
twinaphex
4e04e95713 Buildfix 2017-05-18 04:03:49 +02:00
twinaphex
3f7a30a4b3 Start hooking up dummy callback functions to video_context_data
so that conditionals aren't necessary
2017-05-18 03:37:02 +02:00
twinaphex
941a5d4f94 Go through function callback for swap_buffers as well 2017-05-18 03:05:07 +02:00
twinaphex
86ee08b7a7 Add video context driver update window title callback
to video_frame_info_t
2017-05-18 02:53:12 +02:00
twinaphex
126a5bf121 Use string_is_equal_fast/string_is_not_equal_fast 2017-05-16 04:00:37 +02:00
aliaspider
36137d22e5 Vulkan: use the command buffer provided as parameter in
vulkan_copy_staging_to_dynamic.
2017-05-15 05:35:17 +01:00
twinaphex
80d9d1f143 Rewrite task_queue 2017-05-14 20:43:48 +02:00
twinaphex
17a15273ba Create function out of video_driver_is_focused - no longer
call video_driver_context_focus from video driver
2017-05-13 19:19:49 +02:00
twinaphex
d4756f83e5 Stop calling video_driver_context_has_windowed from within video
drivers
2017-05-13 19:11:32 +02:00
twinaphex
f6c8aba119 Move video_context_driver_update_window_title to video_driver_frame 2017-05-13 18:58:13 +02:00
twinaphex
f928e57064 Combine video_context_driver.c and video_driver.c 2017-05-09 01:25:59 +02:00
twinaphex
bac9973354 Cleanups 2017-05-09 00:58:01 +02:00
Andrew
858e15b837 Fix performance issue with max_swapchain_images
This fixes a performance problem introduced in my last commit when
max_swapchain_images == 3.

In my last commit I incorrectly stated the 3rd buffer was not being
used, after doing some additional testing I realized I was mistaken,
it can indeed be used due to the used page tracking.

Reverting that portion of my previous commit.
2017-05-05 16:58:17 -07:00
Andrew
01e25bd5c7 Fix max_swapchain_images and do some additional cleanup
When max_swapchain_images was originally added it worked properly,
but was subsequently broken by using the value to specify the number
of buffers allocated.

Due to how the dispmanx driver works, only 2 buffers are ever actually
used, so the 3rd buffer in the "swapchain" ended up doing nothing.

Fix this by restoring it to the original intent, that is, if
max_swapchain_images <= 2 wait for vsync after the flip (reducing
lag), otherwise wait at the last possible moment (increasing lag).

Additionally, fix up some unnecessary void* usage where type safety
could be maintained.
2017-05-04 18:45:59 -07:00
Andrew
a1d094e64e Minor race fix and small cleanup to dispmanx_gfx
It's unlikely it was causing issues, but another race existed in the
dispmanx driver, it incremented the pending page count after sending the
update request.

If a context switch happened between sending the update and incrementing
the page count, the vsync callback would decrement it from 0 and cause
the uint to overflow.

Throw in a minor C89 fix and some whitespace fixups too.
2017-04-29 17:09:07 -07:00
twinaphex
4d419b2b56 (sdl_gfx.c) Update 2017-04-29 18:47:29 +02:00
twinaphex
60242e161a Buildfix 2017-04-29 18:45:58 +02:00
twinaphex
dd83b4a043 (Vita) Buildfix 2017-04-29 17:52:16 +02:00
twinaphex
e84adb504f Don't try to call video_driver_is_threaded from outside
gfx/video_driver.c - only exception right now - menu_display.c
2017-04-29 16:52:52 +02:00
twinaphex
91abbdd4f1 video_viewport_get_custom will never be NULL 2017-04-29 16:22:07 +02:00
twinaphex
c8bf28842f Get rid of some calls to video_driver_viewport_get_custom 2017-04-29 16:11:31 +02:00
twinaphex
2322e77795 Add to video_frame_info 2017-04-29 16:07:02 +02:00
twinaphex
6930262ec2 Update/buildfixes 2017-04-29 12:44:45 +02:00
Francisco José García García
afe173c883 [VITA] Really fix build 2017-04-29 12:02:26 +02:00
Twinaphex
ccd4bdbd60 Merge pull request #4862 from andrewlxer/master
Fix dispmanx triple buffering race and re-enable triple buffering
2017-04-29 11:16:51 +02:00
Francisco José García García
f7c56ddda3 [VITA] Fix build 2017-04-29 09:06:49 +02:00
Andrew
301a094ef9 Avoid potential dispmanx_gfx driver lockup
The dispmanx driver had a small race wherein if the vsync completed
between checking for a free page and waiting on the condvar, it would
hang forever waiting for a condition that would never fire.

I'm hoping this is what was causing the triple buffering lockups. In
my testing with it re-enabled and this fix, things are stable (and
much more performant than with triple buffering disabled).
2017-04-28 20:24:36 -07:00
Andrew
253c8cd997 Revert "DISPMANX: Disable triple buffering for now, for stability reasons."
This reverts commit 0b75671c21.
2017-04-28 20:20:43 -07:00
twinaphex
552845a94d Buildfixes 2017-04-29 02:39:32 +02:00
twinaphex
6d8789f4c1 (GX) Buildfix 2017-04-29 02:03:17 +02:00
twinaphex
e6ab06a701 Move path variables 2017-04-29 00:39:29 +02:00
twinaphex
f0c2d786ae Update arrays struct 2017-04-28 22:59:13 +02:00
twinaphex
87106b03c1 (3DS) Buildfix 2017-04-28 22:14:34 +02:00
twinaphex
05e4ec733e Move uint variables 2017-04-28 21:03:04 +02:00
twinaphex
4ef0809931 (GX) Another buildfix 2017-04-28 15:29:54 +02:00
twinaphex
684e83ef30 Updates 2017-04-28 15:19:39 +02:00
twinaphex
0da40fb3aa Move all float settings 2017-04-28 14:57:55 +02:00
twinaphex
ed53be7c81 Move all bool settings 2017-04-28 14:11:34 +02:00
twinaphex
cc095e56fc Start refactoring bool variables 2017-04-28 00:53:20 +02:00
twinaphex
2a13af52fc Revert "video_init function - video_info_t should not be const -"
This reverts commit c8bcbad4a7.
2017-04-24 12:25:14 +02:00
twinaphex
e5b38315fe Revert "Add real_width and real_height to video_info struct - let"
This reverts commit 831ea1a507.
2017-04-24 12:25:07 +02:00
twinaphex
8a215ce30e Revert "Cut down on another video_driver_set_size call"
This reverts commit b951c84e01.
2017-04-24 12:24:55 +02:00
twinaphex
b951c84e01 Cut down on another video_driver_set_size call 2017-04-24 12:23:09 +02:00
twinaphex
831ea1a507 Add real_width and real_height to video_info struct - let
the drivers set this depending on the video width/height they
get back from the video context driver
2017-04-24 12:18:28 +02:00
twinaphex
c8bcbad4a7 video_init function - video_info_t should not be const -
try to set video_driver_width/video_driver_height outside
of video driver init function
2017-04-24 12:03:21 +02:00
twinaphex
5a3b78bad3 Get rid of more performance counters 2017-04-24 11:24:16 +02:00
twinaphex
d06c963a19 Get rid of PERF_ENABLE blocks 2017-04-24 11:20:30 +02:00
twinaphex
365c7f9c8b (Video drivers) Cleanups 2017-04-24 10:08:32 +02:00
twinaphex
8efa2b146e Add this to d3d_alive 2017-04-24 09:44:15 +02:00
twinaphex
34852e159a Cut down on amount of times video_driver_build_info is called 2017-04-23 22:20:11 +02:00
twinaphex
aea00f1e00 Use memcmp instead of string_is_equal for more instances 2017-04-23 12:17:51 +02:00
twinaphex
0f2a6f3dd2 Don't use performance counters in GL/Vulkan/video thread wrapper
unless PERF_ENABLE is defined
2017-04-23 11:31:11 +02:00
twinaphex
a88284897b (D3D) Use C-style allocation for d3d->menu 2017-04-23 09:38:44 +02:00
twinaphex
aa2c29ac8b (exynos_gfx.c) Use memcmp 2017-04-22 09:34:30 +02:00
twinaphex
6ebd4e139e Rewrite more string_is_equal call invocations as memcmp 2017-04-22 08:51:16 +02:00
twinaphex
5bfc513af4 Buildfixes 2017-04-19 02:03:01 +02:00
twinaphex
7790fc3647 MOve renderchain files to dir 2017-04-19 01:51:05 +02:00
twinaphex
32c91baca6 Move read_viewport and viewport_info to render_chain_gl_legacy.c 2017-04-19 01:25:34 +02:00
twinaphex
0c5a87b1d7 Create scaler_ctx_scale_direct 2017-04-16 11:03:29 +02:00
twinaphex
257410d058 Turn matrix_4x4_multiply into macro 2017-04-16 07:55:02 +02:00
twinaphex
32cebbbcba Turn more matrix_4x4 functions into macros 2017-04-16 04:00:20 +02:00
twinaphex
fbd6d0ebc6 Turn more matrix 4x4 functions into macros 2017-04-16 03:53:07 +02:00
twinaphex
7f4b490fdb Prevent implicit memsets with struct video_viewport 2017-04-15 19:43:52 +02:00
twinaphex
55a0b7d1a9 Create default_ortho static variable 2017-03-25 10:22:57 +01:00
twinaphex
7d79e367f9 (GL) Prevent implicit memset; some other general cleanups 2017-03-25 10:18:24 +01:00
twinaphex
d77c209c85 Cleanups 2017-03-25 10:13:18 +01:00
twinaphex
a72cdb77ad Update logs 2017-03-24 01:33:22 +01:00
twinaphex
396857db9a Update logs 2017-03-24 01:28:58 +01:00
twinaphex
1b27c3dec1 Make some log messages more consistent 2017-03-24 00:28:21 +01:00
Twinaphex
b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01:00
hunterk
a1124b8ded (Vulkan) add bokeh menu shader for vulkan 2017-02-20 22:59:05 -06:00
twinaphex
0d873b6da1 (Vulkan) Add fancy snow for Vulkan 2017-02-20 21:51:58 +01:00
twinaphex
962149ef63 (Vulkan) Add pipeline_snow 2017-02-20 21:25:40 +01:00
Hans-Kristian Arntzen
2d88530c98 Vulkan: Simple snow pipeline works.
Some other fixes too.
2017-02-20 20:53:59 +01:00
aliaspider
461d6ed3e0 (WiiU) use the TV resolution instead of the gamepad resolution for
viewport settings. fixes #4655
2017-02-17 15:06:48 +01:00
vanfanel
0b75671c21 DISPMANX: Disable triple buffering for now, for stability reasons. 2017-02-12 19:27:59 +01:00
Nicolas Adenis-Lamarre
9993435cf9 sdl2 renderer: remove the random flashing black borders
on the batocera linux distribution (https://github.com/nadenislamarre/batocera.linux),
retroarch gives some flashing black borders sometimes when running a game.
It looks like sometimes the rendering is done without clearing the screen causing
this flashing effect.

Signed-off-by: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>
2017-02-08 22:31:26 +01:00
Brad Parker
373535f329 DOS: improve color accuracy and scaling, thanks to aliaspider 2017-02-08 00:17:12 -05:00
Brad Parker
0bdcdac2da DOS: scale menu frame to fit screen 2017-02-05 15:23:38 -05:00
Brad Parker
3dfe93b13f DOS: swap red/blue in rgui menu frame 2017-01-31 18:10:27 -05:00
Brad Parker
2661d5556b DOS: fix image scaling and colors for 16-bit core video 2017-01-30 13:51:41 -05:00
Brad Parker
343ac9fea7 DOS: scale 16-bit core video to fit screen 2017-01-29 00:48:22 -05:00
twinaphex
0d3703bc13 (Vita) Buildfix 2017-01-25 18:39:55 +01:00
twinaphex
0a7538f1b8 Create menu_display_get_fb_size 2017-01-25 18:32:16 +01:00
twinaphex
374fd57270 Remove the few performance counters that depend on runloop_ctl 2017-01-25 18:15:58 +01:00
twinaphex
a9164b7124 Try to use performance counter plus functions in most cases 2017-01-25 17:12:43 +01:00
twinaphex
6661c0fb94 Rewrite performance counter stop/start/init into macros 2017-01-25 16:53:06 +01:00
twinaphex
3a4963b474 (vita2d_gfx.c) Cleanups 2017-01-24 14:08:28 +01:00
twinaphex
19d2649c61 Update psp1_gfx.c 2017-01-24 14:04:12 +01:00
twinaphex
93812f58ba We don't need the settings variable here 2017-01-24 14:02:09 +01:00
vanfanel
ae3cdaccb9 DISPMANX: Add missing include and remove redundant one. 2017-01-24 13:58:55 +01:00
Twinaphex
7aaf193810 Merge pull request #4492 from aliaspider/master
(Wii) another fix devkitpro r29.
2017-01-24 01:26:06 +01:00
aliaspider
3a6e49311f (Wii) use C version of guMtxConcat (ps_guMtxConcat broken in devkitpro
r29).
2017-01-24 01:23:18 +01:00
Brad Parker
7c41903ecb GDI: fix color rendering of RGUI menu 2017-01-23 14:50:31 -05:00
aliaspider
021b510452 (WiiU) refactors/cleanups. 2017-01-23 16:14:05 +01:00
The Last Cabra
0e542037d8 Merge branch 'master' into master 2017-01-23 15:16:19 +01:00
twinaphex
e0a560f60a Turn C++ comments into C comments 2017-01-23 01:37:19 +01:00
twinaphex
a104c73738 Go back to this 2017-01-22 23:19:35 +01:00
twinaphex
8698525f86 Only show the frame when libretro_running is true 2017-01-22 21:42:42 +01:00
twinaphex
2f504b4057 (gfx/drivers) Get rid of remaining runloop.h / runloop_ctl
references inside gfx/drivers
2017-01-22 18:17:48 +01:00
twinaphex
d4b7edff4a Cut down on menu_driver_ctl usage from within video drivers 2017-01-22 17:30:32 +01:00
Brad Parker
9d3c20929a DOS: vga palette looks ok now 2017-01-22 10:47:11 -05:00
Brad Parker
5c83e993ba DOS: use custom VGA color palette, rgui looks nice but still is not green 2017-01-22 10:47:11 -05:00
Brad Parker
89fc14d165 DOS: horizontal scale test 2017-01-22 10:47:11 -05:00
Brad Parker
c4bfa6b0d2 DOS: initial VGA int13 graphics driver 2017-01-22 10:47:11 -05:00
twinaphex
96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex
57f8c637bf Cut down on runloop_ctl calls inside gfx/drivers 2017-01-22 12:38:20 +01:00
Brad Parker
0290f4713c caca: fix font alignment 2017-01-21 15:39:35 -05:00
twinaphex
b97b40af75 (vg.c) Buildfix 2017-01-21 18:54:13 +01:00
twinaphex
c8141123d6 (GX) Cleanup warnings 2017-01-21 00:55:21 +01:00
xhp-creations
577ee09727 (WIIU) fix rotation of menu
(WIIU) fix rotation of menu
2017-01-20 11:22:30 -05:00
xhp-creations
a8232f1b46 (WIIU) add rotation support
(WIIU) add rotation support
2017-01-20 10:29:53 -05:00
vanfanel
7ae7e2eaee DISPMANX: now waiting for free pages after issuing flip, instead of before, to avoid input lag. 2017-01-20 14:59:14 +01:00
twinaphex
30c7754029 Buildfix 2017-01-20 14:37:02 +01:00
twinaphex
58a47e860a Add use_rgba member to video_frame_info_t 2017-01-20 14:04:50 +01:00
twinaphex
0b8037d893 (360) Fix typo 2017-01-19 20:35:23 +01:00
Brad Parker
a54ea9ad88 show titlebar again for remaining drivers 2017-01-19 18:08:39 +00:00
Brad Parker
c0e55cba37 window title fix for SDL 2017-01-19 17:51:22 +00:00
twinaphex
7cce305c06 Add header for sdl_gfx.c 2017-01-19 17:48:03 +01:00