Commit Graph

6460 Commits

Author SHA1 Message Date
twinaphex
62aa0c4415 Split up dbus functions into separate file 2017-03-24 00:12:21 +01:00
twinaphex
22672af217 Update logs 2017-03-23 23:59:08 +01:00
twinaphex
17235d70e2 Create set_coords_fallback for shader driver 2017-03-23 21:49:29 +01:00
twinaphex
571f899c3d Don't include these headers 2017-03-23 20:09:24 +01:00
twinaphex
805470072b Make desktop_mode a static variable inside x11_common.c 2017-03-23 20:07:56 +01:00
twinaphex
1ce3b12335 Split up xinerama functions into separate files 2017-03-23 19:59:11 +01:00
twinaphex
09e7186a4e Start splitting up xinerama functions 2017-03-23 19:46:06 +01:00
twinaphex
4c0ce28e6e (x11_common.c) Cleanups 2017-03-23 19:36:39 +01:00
Brad Parker
151feee826 add null pointer check, fixes startup crash with null video driver 2017-03-19 19:25:19 -04:00
twinaphex
17739435de Cleanups 2017-03-07 12:59:58 +01:00
twinaphex
4118d0bbd2 Cleanups 2017-03-07 12:49:52 +01:00
twinaphex
f4ac760178 Cleanups 2017-03-07 12:37:11 +01:00
twinaphex
cb1c8df547 Simplify gl_glsl_set_coords 2017-03-07 12:35:29 +01:00
twinaphex
2be88a44ed (XMB) Fix 2017-02-28 04:50:07 +01:00
Twinaphex
43c32aad3d Silence more warnings 2017-02-26 22:16:03 +01:00
Twinaphex
216e7bcdaf Silence more warnings on iOS 2017-02-26 21:46:19 +01:00
Twinaphex
b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01:00
twinaphex
c215fef8dd Updates 2017-02-21 18:58:03 +01:00
twinaphex
873a07030f (Win32) Buildfix 2017-02-21 17:33:51 +01:00
twinaphex
d3e8e66b9f Create task_push_load_content_with_current_core_from_companion_ui 2017-02-21 17:29:30 +01:00
twinaphex
d74f1a56f3 Create load_content_with_new_core_from_companion_ui 2017-02-21 16:30:47 +01:00
hunterk
a1124b8ded (Vulkan) add bokeh menu shader for vulkan 2017-02-20 22:59:05 -06:00
Jean-André Santoni
b700a4e77b (CoreText) Fix loading fonts from a path 2017-02-20 23:11:40 +01:00
twinaphex
4fb3315091 Change to 6 * 2 2017-02-20 21:52:49 +01: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
twinaphex
3cfaf47637 Avoid 'variable may be used uninitialized in this function' warnings 2017-02-19 18:59:02 +01:00
aliaspider
0d945a81d7 stb_unicode: use the same unicode handling code as the freetype
renderer, which supports codepoints > 0xFFFF.
2017-02-19 14:40:05 +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
twinaphex
5d8c191df7 Cleanup 2017-02-16 01:30:50 +01:00
Hans-Kristian Arntzen
6395907887 Vulkan: Find supported composite alpha in swapchain. 2017-02-13 16:30:02 +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
twinaphex
0383d20465 Revert "Revert "Merge lakka patch for DRM""
This reverts commit 4e0ed3d3d6.
2017-02-05 11:06:51 +01:00
twinaphex
4e0ed3d3d6 Revert "Merge lakka patch for DRM"
This reverts commit 207ebe5e59.
2017-02-05 11:05:55 +01:00
twinaphex
a06380e9ca Fix ./configure --enable-python 2017-02-04 09:01:02 +01:00
Brad Parker
118308fbff fix threaded menu parameters 2017-02-01 01:08:06 -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
207ebe5e59 Merge lakka patch for DRM 2017-01-29 03:55:32 +01:00
twinaphex
bdaf00032e Add comments 2017-01-26 02:49:42 +01: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
cdfc89b975 use perfcounter plus functions for video_thread_wrapper too 2017-01-25 17:13:29 +01:00
twinaphex
a9164b7124 Try to use performance counter plus functions in most cases 2017-01-25 17:12:43 +01:00
twinaphex
41349621cf Add extra param to runloop_get_status 2017-01-25 16:57:22 +01:00
twinaphex
6661c0fb94 Rewrite performance counter stop/start/init into macros 2017-01-25 16:53:06 +01:00
twinaphex
5ddcadcb2f video_monitor_get_fps only used from frame function, so get rid
of separate function
2017-01-25 16:33:44 +01:00
twinaphex
c21fd538a9 Minor cleanups 2017-01-25 16:08:50 +01:00
twinaphex
41a647945b Create video_driver_get_record_status 2017-01-25 15:30:51 +01:00
twinaphex
4b01726f48 (video driver) Minor cleanups 2017-01-25 15:22:12 +01:00
twinaphex
affb259409 Pass video_driver_is_threaded return value to font driver init/free
functions
2017-01-25 14:47:24 +01:00
twinaphex
631ee03df4 Expand video_driver_get_status 2017-01-25 04:42:19 +01:00
twinaphex
a151c24117 Create video_driver_get_status 2017-01-25 04:39:21 +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
twinaphex
fb84259742 Refactor some functions 2017-01-23 15:24:33 +01:00
The Last Cabra
0e542037d8 Merge branch 'master' into master 2017-01-23 15:16:19 +01:00
twinaphex
68dc34d5a4 Move comment 2017-01-23 14:40:48 +01:00
twinaphex
34d3b88759 Cleanups 2017-01-23 14:19:32 +01:00
twinaphex
b7ebcd6948 Simplify video_monitor_get_fps 2017-01-23 14:04:00 +01:00
twinaphex
9b1c0abf5e Create runloop_msg_queue_pull 2017-01-23 13:56:05 +01:00
twinaphex
81b529696f Cleanups 2017-01-23 02:33:46 +01:00
twinaphex
f9239cc9c8 Update C++ comments to C comments 2017-01-23 01:38:35 +01:00
twinaphex
e0a560f60a Turn C++ comments into C comments 2017-01-23 01:37:19 +01:00
twinaphex
6247d6ea1d Update check_window - we no longer need runloop.h inside context driver 2017-01-23 01:02:33 +01:00
twinaphex
4ea31e99aa Remove some header includes 2017-01-23 00:39:20 +01:00
twinaphex
0d5b3b9273 Create menu_driver_is_alive 2017-01-23 00:37:52 +01:00
twinaphex
a104c73738 Go back to this 2017-01-22 23:19:35 +01:00
twinaphex
d3707fe3b0 See if this works 2017-01-22 22:28:24 +01:00
twinaphex
7d624fdedb Push some build fixes when compiling with --disable-opengl --disable-shaderpipeline 2017-01-22 22:18:00 +01:00
twinaphex
8698525f86 Only show the frame when libretro_running is true 2017-01-22 21:42:42 +01:00
Brad Parker
5c77937dad caca: don't leave X coord uninitialized with unknown font alignment 2017-01-22 13:51:10 -05:00
twinaphex
1ea3bea0ee Don't pass video_info by value to context_driver init function 2017-01-22 18:29:22 +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
47ffe94479 DOS: add vga_common header 2017-01-22 10:47:11 -05: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
a1594615f0 Create runloop_get_status 2017-01-22 16:22:20 +01: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
twinaphex
23c35c39b5 Add more video_frame_info_t members 2017-01-22 02:04:58 +01:00
Brad Parker
bc8b3ebad5 gdi: fix font alignment 2017-01-21 15:46:46 -05: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
twinaphex
e6c4327a1c (GL) Fix lockup at startup 2017-01-20 21:05:55 +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
twinaphex
927e4b6be0 Less settings pointer grabbing 2017-01-20 15:38:20 +01:00
twinaphex
0be6264796 Get rid of more settings pointer grabbing 2017-01-20 15:33:47 +01: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
526072ccdf Cut down on menu_display_libretro_running usage 2017-01-20 14:25:00 +01:00
twinaphex
58a47e860a Add use_rgba member to video_frame_info_t 2017-01-20 14:04:50 +01:00
twinaphex
5b89c85237 Fix performance inefficiency (Coverity) 2017-01-19 23:12:18 +01:00
twinaphex
bc5c2c13f8 Remove unused member 2017-01-19 23:09:50 +01:00
twinaphex
2f175f1a15 Remove video_driver_get_size call in gfx/drivers_font 2017-01-19 22:03:59 +01:00
twinaphex
219a07f709 (hlsl) Fix 2017-01-19 21:21:53 +01:00
twinaphex
28195ee517 (HLSL) Buildfixes 2017-01-19 21:20:05 +01:00
twinaphex
861ad8b3ab (XDK360) Another buildfix 2017-01-19 21:05:04 +01:00
twinaphex
0edbf8d5c9 (shader_hlslc.) Another buildfix 2017-01-19 20:56:07 +01:00
twinaphex
98f0422b20 (HLSL) Fix typo 2017-01-19 20:50:00 +01:00
twinaphex
0b8037d893 (360) Fix typo 2017-01-19 20:35:23 +01:00
twinaphex
23afaa8799 (Xbox 360) Buildfixes 2017-01-19 20:34:07 +01:00
twinaphex
fd8cdc389f (Xbox 360) More buildfixes 2017-01-19 20:31:33 +01:00
Brad Parker
8a65650298 Windows buildfix 2017-01-19 13:46:04 -05: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
849315e844 Prevent some minor computations in video_monitor_get_fps 2017-01-19 18:07:01 +01:00
twinaphex
6c108a8d27 Shows titlebar text again with X11 2017-01-19 17:58:00 +01:00
twinaphex
7cce305c06 Add header for sdl_gfx.c 2017-01-19 17:48:03 +01:00
twinaphex
fe84312340 Add some header includes 2017-01-19 17:20:42 +01:00
twinaphex
27ae782a8e (CTR) Add this header 2017-01-19 17:17:20 +01:00
twinaphex
0d33888a24 (dispmanx_gfx.c) Cleanups 2017-01-19 16:50:09 +01:00
twinaphex
a42748f90f Get rid of more function invocations of video_driver_get_size 2017-01-19 16:40:20 +01:00
twinaphex
586654846a Buildfix 2017-01-19 16:33:02 +01:00
twinaphex
e0ff0541a2 Pass video_info pointer to font drivers 2017-01-19 16:30:40 +01:00
twinaphex
eea139ca30 Remove frame_count variable 2017-01-19 16:03:59 +01:00
twinaphex
028d50ca50 C89_BUILD fixes 2017-01-19 16:01:35 +01:00
Twinaphex
7961bf6d23 Merge pull request #4455 from libretro/refactor
Video driver changes
2017-01-19 15:59:23 +01:00
twinaphex
4a8cb5687a (ctr_font.c) use #if 0 blocks 2017-01-19 15:55:42 +01:00
twinaphex
9d1de5c974 Rewrite video_context_driver_set_resize 2017-01-19 14:31:57 +01:00
Brad Parker
009c1a45b7 forgot check for SDL1 2017-01-19 00:36:29 -05:00
Brad Parker
b44c8c9995 store buffer for window title, only update actual title when it changes 2017-01-19 00:33:52 -05:00
twinaphex
7fbd3fcfb6 Simplify has_windowed 2017-01-19 02:50:56 +01:00
twinaphex
3761b5bdf6 Unroll video_driver_cached_frame_set 2017-01-19 02:34:35 +01:00
twinaphex
19cc817613 This needs to be set this way 2017-01-19 02:25:45 +01:00
twinaphex
b96e0bb820 Remove stub update_title functions 2017-01-19 01:58:44 +01:00
twinaphex
b6c0e57946 Silence some warnings 2017-01-19 01:39:11 +01:00
twinaphex
57f1c0c3b6 FIx threaded video 2017-01-19 01:24:21 +01:00
Twinaphex
78e06ca07f Cleanup variables 2017-01-19 00:11:29 +01:00
Twinaphex
99622cee14 (Cocoa ) Update 2017-01-19 00:10:42 +01:00
James Le Cuirot
7f77f0cef1
Fix osmesa_ctx missing includes 2017-01-18 22:50:52 +00:00
twinaphex
1a30cfea09 Remove more video_driver_get_size calls 2017-01-18 23:13:19 +01:00
twinaphex
55b8b8c244 Reduce amount of calls to video_driver_get_size 2017-01-18 23:07:05 +01:00