Commit Graph

5997 Commits

Author SHA1 Message Date
twinaphex 849cc591bc Revert "Use GL_STREAM_DRAW"
This reverts commit df4107b541.
2016-11-11 18:34:06 +01:00
neville df4107b541 Use GL_STREAM_DRAW 2016-11-11 00:52:43 +01:00
neville 12804431db (GLSL) Avoid memsets - good for about a +1fps speedup with simplified
ribbon on PowerPC Mac
2016-11-10 18:35:47 +01:00
aliaspider 9ecd8b18e0 (WiiU) set swap interval to 1 when vsync is active. 2016-11-10 15:11:33 +01:00
aliaspider 158fd3404e (WiiU) enable blending. 2016-11-10 14:24:44 +01:00
aliaspider 6f7f6a363b (WiiU) only wait for vsync when not missed. 2016-11-10 14:24:20 +01:00
twinaphex 3f29eed928 According to enygmata's findings we can comment this out 2016-11-10 02:09:25 +01:00
Jean-André Santoni 1fa5b66a23 New ribbon noise. Will have to be ported to GLSL modern, Vulkan and Cg 2016-11-09 11:59:43 +01:00
twinaphex a7585f9988 Move video_frame.h to libretro-common 2016-11-08 15:35:24 +01:00
twinaphex a0e1413ecc Remove video_frame.c 2016-11-08 15:30:28 +01:00
twinaphex 279a90a01b Remove dependencies from gfx/video_frame.c 2016-11-08 15:26:15 +01:00
aliaspider 79192c0ead (WiiU) video: set swap interval to 0 when nonblocking.
add an fps log.
2016-11-08 10:51:07 +01:00
FIX94 4a285fd4e1 (WiiU) fixed random pixels being displayed on game start/close and exit
(WiiU) fixed touchscreen sending invalid data which broke the menu toggle
2016-11-07 02:42:12 +01:00
FIX94 11db939b9b -(WiiU) added in option to disable vsync 2016-11-06 23:29:54 +01:00
aliaspider 0de5019fab (WiiU) clear textures on init. 2016-11-06 22:13:07 +01:00
Twinaphex 38b3e4042d Merge pull request #3953 from aliaspider/master
(WiiU) working sound.
2016-11-06 19:18:11 +01:00
aliaspider e5a07a406a (WIIU) cleanup debug code from the video driver. 2016-11-06 18:59:50 +01:00
twinaphex aaefa8d59e (wayland_ctx.c) Prevent implicit memsets 2016-11-06 18:47:50 +01:00
twinaphex 695ff2a299 (sdl_gl_ctx.c) Prevent some implicit memsets 2016-11-06 18:44:55 +01:00
twinaphex 027a194346 (xegl_ctx.c) Style nit 2016-11-06 18:41:59 +01:00
twinaphex 8e941ee77a (android_ctx.c) Prevent implicit memsets 2016-11-06 18:39:38 +01:00
twinaphex 219880a72b Prevent implicit memsets for WGL context update_window_title
function
2016-11-06 18:36:58 +01:00
twinaphex 64154f6060 win32_common.cpp - turn function static 2016-11-06 18:35:00 +01:00
Alcaro 85cbb53a44 Merge pull request #3952 from Themaister/master
Vulkan: Workaround warning from validation layers.
2016-11-06 16:55:44 +01:00
Hans-Kristian Arntzen 0d718a9365 Vulkan: Workaround warning from validation layers. 2016-11-06 16:07:44 +01:00
twinaphex 7e5d2321c5 Create video_driver_reinit 2016-11-06 14:18:29 +01:00
twinaphex feacc56fff Prevent crash by checking if msg is NULL before doing strlcpy call 2016-11-06 14:10:25 +01:00
twinaphex 9a87dabca1 One less leaf function inside video_driver_frame 2016-11-06 14:06:47 +01:00
twinaphex fbcefd02b9 (video_driver.c) Copy message if runloop_ctl returns true 2016-11-06 14:05:00 +01:00
twinaphex 49893c10f5 Prevent early returns for video_frame_pixel_scale 2016-11-06 13:57:27 +01:00
twinaphex 483cd0077c Move code 2016-11-06 13:42:34 +01:00
twinaphex 777f2df35c Remove video_driver_unset_active 2016-11-06 13:38:31 +01:00
twinaphex 8acb4cac78 video_driver_frame_filter - make early returns unnecessary 2016-11-06 13:34:48 +01:00
Alcaro 506c14dcc4 No need for inconsistency, let's just not have this at all. 2016-11-06 12:09:08 +01:00
twinaphex 05f1657048 (win32_common.cpp) Cleanup 2016-11-06 11:52:03 +01:00
twinaphex 89ed02cd01 (stb_unicode.c) Style nits 2016-11-06 11:44:21 +01:00
twinaphex f7378be00f Fix C89_BUILD warnings 2016-11-06 11:42:35 +01:00
twinaphex ad5d78b63e Define this too 2016-11-05 20:50:13 +01:00
twinaphex 37ff8cb66f Prevent stb_truetype from being included twice for Griffin 2016-11-05 20:45:23 +01:00
twinaphex 0dbf7b21b6 Enable STB unicode font for Android and Win32 too 2016-11-05 19:33:07 +01:00
Francisco José García García 14c9eb47c4 (VITA) Add uft8 support 2016-11-05 16:21:21 +01:00
Twinaphex 92b3a24943 Merge pull request #3940 from aliaspider/master
(WIIU) GX2
2016-11-05 15:07:31 +01:00
aliaspider d3b3c18a6f (WIIU) GX2 rendering. 2016-11-05 15:05:46 +01:00
Twinaphex 103a22b3db (CoreText) Preliminary font work/updating 2016-11-04 16:45:09 +01:00
twinaphex ea46c4a532 Turn video_driver_lock functions static 2016-11-04 14:16:55 +01:00
twinaphex 5214c29295 gfx/video_driver.c - get rid of struct 2016-11-03 23:03:50 +01:00
twinaphex d4809d310a Fix for previous bugged Xorg GL drivers 2016-11-03 13:25:44 +01:00
Logan McNaughton 06eca5d530 Define some EGL constants
Missing from the Android headers
2016-11-01 07:09:58 -06:00
Logan McNaughton 200cf15044 Add egl debug context option for Android
According to https://www.khronos.org/registry/egl/extensions/KHR/EGL_KHR_create_context.txt

"The default value of EGL_CONTEXT_FLAGS_KHR is zero"

So this should keep it at 0 if debug=false, and set it to EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR is debug=true

Fixes https://github.com/libretro/RetroArch/issues/3910
2016-10-31 15:28:45 -06:00
twinaphex f707d39c54 Let's just get rid of this problematic check instead 2016-10-31 15:30:20 +01:00
twinaphex de3c1a04db Simplifications 2016-10-31 15:24:03 +01:00
twinaphex 4ff6d8c108 Add more logging 2016-10-31 15:12:34 +01:00
Twinaphex 92a9f8aec7 Merge pull request #3887 from aliaspider/master
(WIIU) cleanup. adapt dynamic symbol loading to be able to use headers
2016-10-29 04:02:54 +02:00
aliaspider e055b7cbc1 (WIIU) cleanup. adapt dynamic symbol loading to be able to use headers
from WUT.
2016-10-29 02:56:40 +01:00
twinaphex 01bbca9c95 Cleanup 2016-10-28 08:23:54 +02:00
Twinaphex 453155ade3 Merge pull request #3877 from aliaspider/master
(WIIU) update.
2016-10-28 01:53:43 +02:00
aliaspider afdaf9afbd (WIIU) display core frames. 2016-10-27 23:02:40 +01:00
Brad Parker d1d5584d18 update copyright 2016-10-27 11:47:10 -04:00
twinaphex 00e68ccd0e Reduce char variables size 2016-10-27 10:16:26 +02:00
aliaspider a4d745a471 preliminary port to the wiiu platform 2016-10-27 01:34:10 +01:00
twinaphex 2d2628dbbf Update ST_UINT settings too dynamically 2016-10-26 09:08:02 +02:00
twinaphex 7a09ffe6bc Values start changing now upon language switch 2016-10-26 09:03:56 +02:00
twinaphex 71a1e4eca7 Cleanups 2016-10-26 08:30:56 +02:00
twinaphex 170febb72c (NGC/Wii) Buildfix 2016-10-26 06:04:42 +02:00
twinaphex 24e9f8dc09 Simplify CONFIG_BOOL/menu_setting.c 2016-10-26 05:04:24 +02:00
twinaphex 9ddad48744 Create gfx/video_defines.h 2016-10-25 20:18:31 +02:00
Francisco José García García e685876f15 (VITA) Fix line height 2016-10-25 17:18:09 +02:00
twinaphex 456c4c4d58 Remove video_driver_cached_frame_render wrapper function 2016-10-25 00:42:26 +02:00
aliaspider ca2b9cb97c freetype: fix invalid write. 2016-10-24 20:25:21 +01:00
Twinaphex df646ae32d Implement get_line_height function for OSX/iOS font renderer 2016-10-24 08:26:55 +02:00
twinaphex 7a18b053c4 C89_BUILD fixes 2016-10-24 05:57:13 +02:00
twinaphex 12ab2d5e7d (Android) Buildfix 2016-10-24 05:53:16 +02:00
twinaphex 213e357918 Move gl_capabilities to libretro-common 2016-10-24 04:06:05 +02:00
twinaphex 09067e67c3 Create gl_symlinks.h 2016-10-24 04:02:03 +02:00
twinaphex e512065d7d Start making gl_capabilities.c more usable by libretro-common 2016-10-24 03:55:14 +02:00
twinaphex 3702fde113 Simplify some input/video functions 2016-10-24 03:05:55 +02:00
aliaspider c4d6a89067 freetype font renderer: less memory usage and full unicode support. 2016-10-23 18:14:07 +01:00
twinaphex 8cc5b09428 Get rid of slow wrapper function input_driver_state 2016-10-23 04:38:08 +02:00
aliaspider 5d36ccc60e gl_raster_font: fix line height when drawing multiple lines. 2016-10-22 11:42:36 +01:00
twinaphex ee8176772d Move state tracker nput code to input/input_driver.c 2016-10-21 22:19:35 +02:00
aliaspider 1a60b77749 remove unused variable. 2016-10-21 20:57:37 +01:00
aliaspider 150a0138d5 freetype.c: fix some memory corruption issues. 2016-10-21 20:55:36 +01:00
twinaphex b95ec0d28e Make sure this string is null-terminated 2016-10-21 20:14:51 +02:00
twinaphex 35ba7fb2c4 Prevent implicit and superfluous memset 2016-10-21 20:04:56 +02:00
twinaphex 0ef96ddbbc Try to avoid memset in font_renderer_update_atlas 2016-10-21 19:25:37 +02:00
Twinaphex 6a404b0c42 Prevent warning with CoreText font driver 2016-10-21 19:15:57 +02:00
twinaphex aca8970e79 CXX_BUILD fixes 2016-10-21 19:14:48 +02:00
twinaphex 56d427df65 C89_BUILD fixes 2016-10-21 19:12:06 +02:00
Twinaphex 7050ecf287 Remove unneeded variables 2016-10-21 19:07:28 +02:00
aliaspider 28c2dcf253 (font driver) update freetype with unicode support (up to U+FFFF) using
a dynamic atlas.
2016-10-21 17:31:53 +01:00
aliaspider 6f81a19f60 (GL) update font driver to support a dynamic atlas. 2016-10-21 17:28:44 +01:00
aliaspider e3bfb617e4 (font driver) add a .dirty flag to struct font_atlas. 2016-10-21 17:25:21 +01:00
twinaphex f3ad815dd9 Prevent implicit memsets 2016-10-21 06:15:20 +02:00
twinaphex 546845c577 Prevent implicit memsets 2016-10-21 06:10:58 +02:00
twinaphex c3ab8800f4 Prevent implicit memsets 2016-10-21 05:57:40 +02:00
Logan McNaughton 1717e8c938 Fix for zarch menu 2016-10-20 20:29:46 -06:00
twinaphex 7ebac14e47 (D3D) Cleanups 2016-10-20 05:36:02 +02:00
twinaphex 41212b40c5 Remove DONT_HAVE_STATE_TRACKER 2016-10-20 05:11:35 +02:00
twinaphex 648877757f Revert "(D3D) Cleanups"
This reverts commit e50f8b061d.
2016-10-20 05:07:03 +02:00
twinaphex e50f8b061d (D3D) Cleanups 2016-10-20 05:05:37 +02:00
twinaphex 2cb7cc01bf (D3D) Cleanups 2016-10-20 05:00:20 +02:00
twinaphex e71f8baa5f d3d_overlay_render - cleanup 2016-10-20 04:51:48 +02:00
twinaphex 2b576ebc1c Get rid of _XBOX defines 2016-10-20 04:37:13 +02:00
twinaphex 275814e291 Replace font_driver_free(NULL) calls with font_driver_free_osd()
inside video drivers
2016-10-20 00:39:33 +02:00
twinaphex 86eed6706e Prevent some null pointer dereferences 2016-10-20 00:30:34 +02:00
twinaphex 310de4698c Prevent some potential NULL pointer dereferences 2016-10-19 18:06:21 +02:00
Higor Eurípedes 46fe9fa29e Add multiple font support to material and xmb 2016-10-18 20:36:54 -03:00
Higor Eurípedes 6f2cb9742d (font) Create font_data_t and update font_driver_init_first() 2016-10-18 20:07:00 -03:00
twinaphex d1b90a8b6d Get rid of unused variable 2016-10-18 04:11:31 +02:00
twinaphex 778e742470 Make video_driver_is_threaded a public function 2016-10-18 04:05:51 +02:00
twinaphex 911acb8ead Create video_driver_is_threaded 2016-10-18 04:04:40 +02:00
Francisco José García García 81e7a60759 (VITA) Try to use NEON 2016-10-17 18:39:53 +02:00
Twinaphex dd2c3ab1ee Merge pull request #3815 from Brunnis/master
Implement support for video_max_swapchain_images setting
2016-10-17 16:21:53 +02:00
Mikael Brunnhede 2cb9c912f4 Implement support for video_max_swapchain_images setting. 2016-10-17 11:23:34 +02:00
Francisco José García García 8e631df6c4 (VITA) Temporal fix for clear screen 2016-10-16 17:45:06 +02:00
twinaphex f75a604ae8 Fix C89_BUILD 2016-10-16 01:51:07 +02:00
Mikael Brunnhede 80dc3bec09 if 0 missed Vblank log printout code, since it may cause performance degradation. 2016-10-14 12:45:00 +02:00
Mikael Brunnhede ca5e20bcaf Remove missed Vblank log printout, since it may cause performance degradation. 2016-10-14 08:59:07 +02:00
aliaspider f9e7d4dc3f (3DS) fix gfx corruption when closing content. 2016-10-13 12:16:07 +01:00
aliaspider d48445fc1e (3DS) video driver:
- texture handling improvement.
- flush pending tasks while waiting for vsync.
2016-10-10 22:25:25 +01:00
aliaspider c78f697c16 (3DS) wrap texture coordinate swizzeling in a function. 2016-10-10 22:22:08 +01:00
Twinaphex 6865689dad Merge pull request #3770 from t-paul/xdg-screensaver-fix
Fix handling of enable flag for xdg-screensaver.
2016-10-10 19:54:10 +02:00
Francisco José García García bcfa865569 (VITA) Wait for rendering before free overlays 2016-10-10 19:35:14 +02:00
Torsten Paul d4a90f267d Fix handling of enable flag for xdg-screensaver. 2016-10-10 19:01:41 +02:00
twinaphex 940fbcd4fa (D3D W32 fonts) Fix fonts 2016-10-09 16:58:51 +02:00
twinaphex 3b1cf79c63 (X contexts) Cleanups 2016-10-08 14:37:26 +02:00
twinaphex f698e0cfac Add GL_CAPS_GLES3_SUPPORTED 2016-10-08 14:11:12 +02:00
twinaphex 1f99df6740 (GLX) Start adding hooks for MSAA 2016-10-08 14:00:06 +02:00
twinaphex 601aba72ea Start adding GLX_SAMPLE_BUFFERS/GLX_SAMPLES to X context 2016-10-08 10:05:58 +02:00
twinaphex d71a688685 (D3D9/Cg) Cleanups 2016-10-08 08:39:44 +02:00
aliaspider 4729c2be76 (3DS) font renderer: prevent calling DrawArray() with count==0. 2016-10-08 04:24:32 +01:00
aliaspider 4edbb48f34 (3DS) missing return value. 2016-10-08 01:17:48 +01:00
Twinaphex 49d520c5d5 Merge pull request #3736 from aliaspider/master
(3DS) more fixes.
2016-10-04 21:50:15 +02:00
aliaspider d87adcd226 (3DS) fix texture combiner stages in 32bit mode. 2016-10-04 20:38:00 +01:00
Brad Parker 1f27773fe0 C89_BUILD fix 2016-10-04 12:15:46 -04:00
aliaspider 23eef2c6ee (3DS) video driver: (cont.) 2016-10-04 15:55:30 +01:00
aliaspider c4daa087d4 (3DS) video driver: add some checks for the validty of incoming data. 2016-10-04 15:49:55 +01:00
twinaphex f66e447139 Get rid of path_get_content 2016-10-03 15:43:03 +02:00
twinaphex 91b1889873 (X11) Mouse input is no longer registered when we are on the
titlebar of the window or we are no longer inside the window
2016-10-03 06:50:00 +02:00
twinaphex 5b6f1642f0 (D3D) Buildfix 2016-10-03 05:13:39 +02:00
twinaphex 5d77cd431c (d3d_common.cpp) Cleanups 2016-10-03 04:19:19 +02:00
twinaphex 23ed63f33a move device_aspect variable 2016-10-02 20:37:14 +02:00
twinaphex 7bd38d93f0 (X11) Cleanup x11_alive 2016-10-01 12:12:58 +02:00
twinaphex bf035b634b Updates 2016-10-01 09:49:15 +02:00
twinaphex 0f26cade79 Revert "Update GX/WIn32 builds"
This reverts commit 28a96fbb05.
2016-10-01 08:17:07 +02:00
twinaphex 4fe8cf3811 Revert "(Win32) Buildfix"
This reverts commit b73d183c44.
2016-10-01 08:13:41 +02:00
twinaphex a777f52423 (video_driver.c) Simplify 2016-10-01 04:28:18 +02:00
twinaphex 35c52b1602 Move frame_cache variables outside of video_driver_state struct 2016-10-01 04:24:57 +02:00
twinaphex ae607a29b7 Take variables out of video_state 2016-10-01 04:21:33 +02:00
aliaspider 056224bf50 (3DS) avoid using ctrGuCopyImage during font init for now. (fixes freeze
on cia builds)
2016-09-30 16:16:18 +01:00