Commit Graph

7073 Commits

Author SHA1 Message Date
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
twinaphex d53d1faad5 Use string_is_empty 2016-09-30 09:00:04 +02:00
twinaphex 91170722e6 Try to silence Coverity warning 2016-09-30 08:58:57 +02:00
twinaphex b73d183c44 (Win32) Buildfix 2016-09-30 08:19:36 +02:00
twinaphex 28a96fbb05 Update GX/WIn32 builds 2016-09-30 06:39:47 +02:00
Twinaphex 03215a831f Merge pull request #3690 from aliaspider/master
(3DS) add experimental font and menu_display drivers.
2016-09-29 21:33:08 +02:00
aliaspider afd5e85a31 (3DS) add experimental font and menu_display drivers. 2016-09-29 20:14:12 +01:00
Brad Parker b83d2529e2 break early if we run past the message length 2016-09-29 12:25:20 -04:00
twinaphex 32220c042b (video_driver.c) Style nit 2016-09-29 10:27:49 +02:00
twinaphex be81edad84 Create path_get 2016-09-29 08:23:41 +02:00
Francisco José García García f6a7aa95e7 (VITA) Fix crash in gambatte 2016-09-29 00:20:14 +02:00
aliaspider 5db13323f6 (3DS) create gfx/common/ctr_common.h.
remove depthbuffer.
use vramalloc.
2016-09-28 20:59:54 +01:00
Twinaphex bcc864d48f Merge pull request #3681 from loganmc10/patch-3
Yet another fix for glUniformMatrix4fv
2016-09-28 19:56:02 +02:00
aliaspider dc16477c46 (3DS) fix tearing, the displayed framebuffer was being set to the
currently selected drawbuffer.
2016-09-28 18:34:38 +01:00
aliaspider 8266a423cd (3DS) update for latest ctrulib. 2016-09-28 18:09:17 +01:00
Logan McNaughton d360bf17d5 Yet another fix for glUniformMatrix4fv
This should fix fullscreen toggling/context resets.
2016-09-28 08:18:32 -06:00
aliaspider 4ebe84d89c (3DS) use Makefile.commmon for non griffin builds 2016-09-28 15:01:46 +01:00
Twinaphex b7ab9a1581 Merge pull request #3675 from frangarcj/master
(Vita) Add get framebuffer
2016-09-28 00:53:40 +02:00
Logan McNaughton 01a03abdc5 Fix glUniformMatrix4fv call 2016-09-27 16:03:54 -06:00
Francisco José García García 8a6625753d (Vita) Add get framebuffer 2016-09-27 23:39:24 +02:00
Logan McNaughton 0d3e9875b1 Only call glUniformMatrix4fv if needed 2016-09-27 08:56:36 -06:00
Twinaphex 7672288fcd Revert "Only call glUniformMatrix4fv if needed" 2016-09-27 02:59:58 +02:00
Logan McNaughton fa48e95946 Only call glUniformMatrix4fv if needed 2016-09-26 14:24:27 -06:00
twinaphex b3ec735e75 Silence some more scan-build warnings 2016-09-25 15:25:20 +02:00
Logan McNaughton 4f002f2316 Specify EGL_DEPTH_SIZE for emscripten
Some drivers require it to provide a depth buffer.
2016-09-24 19:53:45 -06:00
twinaphex 764a4319a0 (shader_glsl.c) Continue with iteration if pass is NULL 2016-09-24 17:04:49 +02:00
twinaphex b5416e4041 Change false to 0 2016-09-24 17:04:21 +02:00
twinaphex 5b5ad03ec3 Attempt to fix Coverity warnings 2016-09-24 17:04:01 +02:00
twinaphex 83be6daa93 Try to prevent input driver from being set with Emscripten EGL context driver if HAVE_SDL2 is defined 2016-09-24 05:57:02 +02:00
radius f58f7a5923 Revert "Make emscripten_egl default context for emscripten"
fixes gamepad support. It seems it only works when we use the SDL2 video context

This reverts commit 1177edf825.
2016-09-23 22:38:37 -05:00
Francisco José García García e654c39944 (VITA) Fix utf8 2016-09-23 21:27:06 +02:00
twinaphex 2d11ea71cc Move runloop_fullpath to paths.c 2016-09-23 03:39:44 +02:00
Logan McNaughton 1177edf825 Make emscripten_egl default context for emscripten 2016-09-22 15:22:08 -06:00
twinaphex 6d702f3538 Remove unused buf_fps variable 2016-09-22 21:51:22 +02:00
twinaphex 0d49ed5877 drm_ctx.c - remove dead assignment 2016-09-22 20:56:42 +02:00
twinaphex 8d9eccfd65 (xvideo.c) Prevent null pointer dereferences for geom variable 2016-09-22 20:54:06 +02:00
Twinaphex a69b958a1f Merge pull request #3623 from frangarcj/master
(VITA) New font renderer with stb by default
2016-09-20 13:22:59 +02:00
frangarcj 608d13c321 (VITA) Add some default fonts 2016-09-20 10:58:14 +02:00
hizzlekizzle 9fe3bd9b62 add 9:16 AR and fix typo
9:16 is useful for people with widescreen monitors running in portrait mode. I replaced 4:4 with it because 4:4 was redundant with 1:1 anyway, and I fixed the double-close-parentheses typo in the 1:1 PAR's DAR string.
2016-09-19 08:31:08 -05:00
frangarcj bc90dd2927 (VITA) Another UTF8 Fix 2016-09-19 14:17:19 +02:00
frangarcj ab0dad99fc (VITA) Remove old font driver 2016-09-19 14:15:13 +02:00
frangarcj d46a40e3c4 (VITA) USE STB FONT 2016-09-19 14:14:11 +02:00
twinaphex 88c2ec5819 Prevent this error (caught with SANITIZER=undefined) 2016-09-18 22:39:18 +02:00
Higor Eurípedes c08650f1f9 Remove trailing whitespace 2016-09-17 21:20:27 -03:00
Higor Eurípedes d4305d65d9 (gl) Fix gl_check_error()
gl_check_error() was leaking memory and the error message was never
returned to the calling context.
2016-09-17 21:19:57 -03:00
twinaphex 12949420b6 (Windows) Buildfix 2016-09-17 15:07:45 +02:00
twinaphex 6002fd9f2a (shader_vulkan.cpp) Nits 2016-09-16 17:50:57 +02:00
twinaphex 99aae8537b Use string_is_equal/stdstring.h 2016-09-16 17:33:18 +02:00
twinaphex cb17c0f493 Style nits 2016-09-16 13:31:18 +02:00
Bastien Nocera 5afdd35e54 x11: Only call out to xdg-screensaver when D-Bus failed 2016-09-16 13:03:48 +02:00
Bastien Nocera a061b4a801 x11: Implement xdg-screensaver uninhibition 2016-09-16 13:03:37 +02:00
Bastien Nocera e563bd5512 x11: Flatten D-Bus (un)inhibit functions
Instead of nesting, try to exit as soon as possible in case of errors.
Also make sure to tell the caller whether the call succeeded and a
fallback should be attempted.
2016-09-16 12:59:16 +02:00
Bastien Nocera 297c9a8613 x11: Reset dbus_connection global variable on exit
To ensure that the state of the variable is correct. This won't be
needed if X11 is never reinitialised.
2016-09-16 12:34:15 +02:00
Bastien Nocera 6ab7fab326 x11: Lower the severity of D-Bus not being accessible
As there is a fallback through xdg-screensaver, no need to make this any
more important than a log message.
2016-09-16 12:32:22 +02:00
Bastien Nocera 65fa874c3a x11: Rename function fetching the D-Bus connection
You'd expect a "get" function to return the variable in question. This
doesn't, and simply sets a global variable.
2016-09-16 12:32:15 +02:00
Alcaro f6b7fc17f6 Those checks aren't needed. 2016-09-16 00:45:00 +02:00
Alcaro 9485263555 Fix implicit strstr 2016-09-15 21:16:25 +02:00
Alcaro 1964491e5f Fix Linux-MinGW build 2016-09-15 20:54:14 +02:00
twinaphex 7d5b9f172a Cleanups 2016-09-14 22:46:29 +02:00
twinaphex 1b46f3c344 Nits 2016-09-14 15:58:53 +02:00
twinaphex f87dbe7946 Style nits/cleanups 2016-09-14 15:58:03 +02:00
twinaphex ca673b4fc8 C89_BUILD fixes etc. 2016-09-14 15:56:14 +02:00
Twinaphex 09ccef1684 Merge pull request #3547 from nguillaumin/wip-screensaver-dbus
WIP: Fixes #2026 Screensaver suspend on Linux via Dbus
2016-09-14 15:48:43 +02:00
twinaphex 1b9a067bcc Move code to apple_compat.h 2016-09-14 14:10:39 +02:00
twinaphex d2dbe63b2b Cleanup 2016-09-12 18:37:32 +02:00
twinaphex d4be224ea6 Header include cleanups 2016-09-12 18:34:57 +02:00
twinaphex b4d75fbafd Cleanups 2016-09-12 17:29:01 +02:00
twinaphex 93d98069b2 Cleanups 2016-09-12 16:45:26 +02:00
twinaphex 1fea80c630 Another header cleanup 2016-09-11 18:49:38 +02:00
twinaphex d3f7bf8527 Move video_state_python to gfx/drivers_tracker 2016-09-11 17:59:10 +02:00
twinaphex 22022f8133 Cleanup 2016-09-11 17:55:46 +02:00
twinaphex e427a2d2fa Move enums to gfx/video_thread_wrapper.c 2016-09-11 17:42:53 +02:00
twinaphex 88c7976104 Rename CMD_NONE to CMD_VIDEO_NONE 2016-09-11 17:40:26 +02:00
twinaphex 4b63af59a2 video_thread_wrapper.h - get rid of some ifdefs 2016-09-11 17:24:22 +02:00
twinaphex d4797781ea (GX) Buildfix 2016-09-11 16:44:29 +02:00
twinaphex 3cf24afc44 (CTR) Buildfix 2016-09-11 16:43:56 +02:00
twinaphex 6d7602d47f Fix C89_BUILD 2016-09-11 16:43:28 +02:00
twinaphex 7290c7e3c2 (Emscripten) Buildfix 2016-09-11 16:39:13 +02:00
Alcaro 0720d5ad77 Kill warning 2016-09-11 16:38:36 +02:00
twinaphex 51b0e61712 Cleanups 2016-09-11 16:24:02 +02:00
twinaphex 7e83162c60 Remove general.h 2016-09-11 15:10:58 +02:00
twinaphex 606e37fcbd Cleanups 2016-09-11 15:07:07 +02:00
twinaphex 7ac1ed7e10 Cleanups 2016-09-11 14:54:34 +02:00
twinaphex 202e3e796e Get rid of more general.h includes 2016-09-11 14:46:53 +02:00
nguillaumin c69c488fdf Address code review comments 2016-09-09 18:08:54 -07:00
twinaphex 164d3b034c Get rid of OSX_PPC 2016-09-09 15:56:56 +02:00
Nicolas Guillaumin 05df632bd8 WIP: Fixes #2026 Screensaver suspend on Linux via Dbus
One some systems (tested with Gnome 3 on Arch Linux) the current method
of using `xdg-screensaver` to suspend the screensaver does not work.
Instead, using DBus to issue an `Inhibit` request is recommended.

The request returns a cookie that needs to be re-used to un-inhibit the
screensaver later. Additionally if the DBus connection is closed the
current inhibition is discarded. Thus, the DBus connection needs to stay
connected for the duration of the screenshot inhibition.

The code is heavily inspired from the [SDL 2.x
code](http://hg.libsdl.org/SDL/file/default/src/core/linux/SDL_dbus.c#l172).
I didn't call the SDL 2 code though since this it to fix the issue with
the GL driver, and I assume one would want to have screensaver inhibited
even when SDL 2 is not available (but GL is).

I've set "WIP" because:
* I haven't done C in a long time so my code is probably not great
* There's a dependency on DBus which I don't know is acceptable or
not
* I've put my code where I could to check it works, but `x11_common` may
not be the best place
* The code need and "init" and "deinit" kind of method as it needs to
initialise the DBus connection, and on deinit close it properly. I've
used `x11_connect` and `x11_window_destroy` but they don't sound like
the best choices.
* I'm a bit unclear as to what happens when "suspend screensaver" is
ticked on/off in the menu. This doesn't seem to call
`x11_suspend_screensaver` everytime, so I'm not sure if there's a hook
somewhere (as disabling screensaver suspend in the menu should cause a
DBus unhinibit request to be sent).
* Should I just call the SDL 2.x code (meaning that the GL driver would
depend on SDL 2.x at runtime)?

So, first of all are you ok with the approach, and if yes I'd gladly get
feedback about the code, how to architecture it and the best place to
put it.

Thanks!
2016-09-08 15:23:41 -07:00
twinaphex db6171676a Use retro_assert everywhere 2016-09-08 11:59:44 +02:00
twinaphex b43f786f89 Cleanups 2016-09-08 08:15:40 +02:00
twinaphex 8a9ae155a2 Cleanups 2016-09-08 08:10:31 +02:00
twinaphex 7a36ea7d1c Silence warnings 2016-09-08 06:11:02 +02:00
Twinaphex ac2676b25f (glcapabilies.h) Add HAVE_CONFIG_H ifdef 2016-09-08 05:51:20 +02:00
Francisco José García García 04b5dbdb5c (VITA) Silence texture load 2016-09-07 23:53:20 +02:00
Alcaro 37a907eb51 These aren't needed. 2016-09-07 14:40:10 +02:00
Alcaro 3f105fe71f Perform evil experiments (run this driver in a completely different program) 2016-09-07 14:30:27 +02:00
twinaphex cc6fe3159f Some comments 2016-09-07 14:12:40 +02:00
twinaphex ab325e54a1 gfx/video_driver.h - add comments 2016-09-07 13:55:46 +02:00
twinaphex e880a3b248 vfilter is for Wii/Gekko only 2016-09-07 13:54:01 +02:00
Alcaro e243614db8 Create half-broken XShm driver, to perform evil experiments on 2016-09-07 13:39:00 +02:00
Brad Parker 81090720c8 context must be current, not released, to use GL 2016-09-06 21:47:08 -04:00
mudlord b1833c2d52 account for if people have core id files but not the actual cores. 2016-09-07 09:44:07 +10:00
twinaphex 245a65a0d7 Change this 2016-09-07 01:12:35 +02:00
twinaphex 642e46779b Cleanups 2016-09-06 23:59:43 +02:00
twinaphex ffcf96dd24 Add config.h includes 2016-09-06 23:47:05 +02:00
twinaphex e6a114a95a Create gfx/video_frame.c 2016-09-06 23:41:09 +02:00
twinaphex 50bd1c38be Header cleanup 2016-09-06 23:34:55 +02:00
twinaphex 226460530c Header include cleanup 2016-09-06 23:34:27 +02:00
twinaphex 671063aec2 Silence warnings 2016-09-06 23:17:16 +02:00
dankcushions cdc4bff3fb Fix build on Raspberry Pi (3) 2016-09-06 21:54:53 +01:00
mudlord f3a0d8518e mudlord is a fucking clot/hack and needs to be shot.
Should have tested on other drivers than Nvidia Windows.
2016-09-07 05:56:07 +10:00
twinaphex 6f47289ba6 Start adding HAVE_CONFIG_H to gfx/drivers_context 2016-09-06 19:39:02 +02:00
Alcaro 23dc89168a are those HAVE flags not set up there or something? 2016-09-06 19:21:33 +02:00
twinaphex c3ba0ba4e9 Revert "Refactor core_system_info_* functions"
This reverts commit f637805c9e.
2016-09-06 08:38:26 +02:00
Brad Miller 94be5a8651 Update modern_pipeline_xmb_ribbon.glsl.vert.h
nit
2016-09-06 15:58:37 +10:00
mudlord d77759cc1b change 2016-09-06 15:45:57 +10:00
mudlord 73a1cd4631 greatly optimized modern vertex shader for ribbon. 2016-09-06 15:42:16 +10:00
twinaphex f637805c9e Refactor core_system_info_* functions 2016-09-06 07:08:38 +02:00
twinaphex 82d82110ae Merge system.h with core.h 2016-09-06 06:11:54 +02:00
twinaphex 3e9df72123 Try to fix ARM build 2016-09-06 03:14:20 +02:00
twinaphex 075aea2289 Header include cleanups 2016-09-06 00:56:00 +02:00
twinaphex 266a06ffb1 Revert "Expose GPU Hard Sync for GLES 3 too"
This reverts commit a74813c9ea.
2016-09-05 21:43:02 +02:00
twinaphex bd45d7a707 gl_capabilities.c - cleanups 2016-09-05 21:25:38 +02:00
twinaphex 67c2965612 OpenGL ES should not reach this code 2016-09-05 21:22:38 +02:00
twinaphex a74813c9ea Expose GPU Hard Sync for GLES 3 too 2016-09-05 21:16:30 +02:00
twinaphex 280aa831b5 Remove verbosity.h header dependency on gl_capabilities.c 2016-09-05 21:12:44 +02:00
twinaphex 43edd76736 Add headers 2016-09-05 21:09:21 +02:00
twinaphex 86d2a36407 (Win32) Buildfixes 2016-09-05 18:43:32 +02:00
twinaphex acd4dd527b Header include cleanups 2016-09-05 18:31:32 +02:00
twinaphex f0702ac72c (PS3) Buildfix 2016-09-05 07:59:26 +02:00
twinaphex f30deb9cd0 Header cleanup 2016-09-05 07:47:11 +02:00
twinaphex e6ef3662ac Header include changes 2016-09-05 07:44:17 +02:00
twinaphex 76732249b6 Cleanups 2016-09-05 07:30:44 +02:00
Twinaphex ef43a573a3 Silence warnings 2016-09-05 07:28:55 +02:00
twinaphex 1edaa20029 header cleanups for gl_capabilities.c 2016-09-05 07:26:32 +02:00
twinaphex 1bed2dc3c4 Buildfix 2016-09-05 07:22:44 +02:00
twinaphex 1a241fa9ce Rewrite this 2016-09-05 07:22:44 +02:00
twinaphex 7af3b79416 Create gl_capabilities.c/gl_capabilities.h 2016-09-05 07:04:56 +02:00
Brad Parker 0eb1777a1f remove extra semicolons 2016-09-03 10:30:21 -04:00
twinaphex 064f74825a CXX_BUILD buildfix 2016-09-01 18:26:01 +02:00
twinaphex 467451fccc Cleanup more header includes 2016-09-01 18:18:55 +02:00
twinaphex ddb9cff2af More header include cleanups 2016-09-01 18:10:59 +02:00
twinaphex e106fd4374 Get rid of more general.h includes 2016-09-01 18:01:41 +02:00
twinaphex b7fd9bef60 Add configuration.h 2016-09-01 17:34:24 +02:00
twinaphex 3a72479699 Add retro_miscellaneous.h to gfx/video_filter.c 2016-09-01 17:08:13 +02:00
twinaphex aff2812fde Try to get rid of double definition of type 2016-09-01 06:08:06 +02:00
twinaphex 815c0eb3ee Remove header includes 2016-09-01 05:46:10 +02:00
twinaphex 562c1e996c Get rid of more header includes 2016-09-01 05:38:26 +02:00
twinaphex a608f2350a (Freetype) Add another fallback font 2016-09-01 02:09:15 +02:00
twinaphex 47eef317bb (video filters) Update exp_generic_rgb565 2016-09-01 02:03:43 +02:00
Alcaro d1b7cdef57 Kill some signed integer overflow warnings 2016-08-31 23:57:06 +02:00
twinaphex 12cfb3bfce Rewrite gfx_ctx_x_make_current a bit and turn it into a
static function
2016-08-31 15:24:56 +02:00
twinaphex aa15fb3f91 Update remaining video context drivers 2016-08-31 15:02:07 +02:00
Brad Parker 2afd72252c make GLX context current when creating font textures with threaded video 2016-08-31 01:33:35 -04:00
Logan McNaughton 78337bae4b EGL_DEPTH_SIZE should be set
Same reasoning as Android.
2016-08-30 15:32:25 -06:00
Logan McNaughton 1beb9e9ffd EGL_DEPTH_SIZE should be set
EGL_DEPTH_SIZE needs to be set in order to have an FBO with a depth buffer. Some drivers aren't as strict about this but many are.
2016-08-30 15:29:17 -06:00
twinaphex d5f14a6caa Fix C89_BUILD warnings 2016-08-30 05:03:46 +02:00
twinaphex ba7d638b99 Use string_is_equal 2016-08-29 18:46:41 +02:00
Brad Parker c3b164de88 fix utf8 strings being cut off in xmb/glui when multibyte chars are present, rgui not affected 2016-08-29 12:33:28 -04:00
Brad Parker 96c96dca3b fix rendering of utf8 glyphs 2016-08-29 11:02:28 -04:00
Brad Parker 13ad3a4fce fix glyph rendering of long messagebox strings 2016-08-29 02:25:42 -04:00
twinaphex 24075fd52f (osmesa_ctx.c) Cleanups 2016-08-28 18:26:53 +02:00
twinaphex 5f4ee2567c (sdl_gl_ctx.c) Cleanup 2016-08-28 18:20:31 +02:00
Alcaro 6cb656bcc9 Doublekill warning 2016-08-28 18:06:57 +02:00
Alcaro c4d4c51a5f Kill warning 2016-08-28 17:59:43 +02:00
Twinaphex 754cc1feed Merge pull request #3448 from bparker06/hidden_files
add configuration option to toggle showing hidden files (default on)
2016-08-28 04:05:28 +02:00
Brad Parker cf4bf344a9 add configuration option to toggle showing hidden files (default on), fixes issue #2769 2016-08-27 21:48:55 -04:00
Twinaphex b3dc1afcbe Merge pull request #3445 from orbea/configure
Align ./configure --help options.
2016-08-28 02:59:59 +02:00
hizzlekizzle 20a27822f3 make 1:1 PAR option more descriptive
should help avoid confusion about what it actually does.
2016-08-27 19:25:36 -05:00
orbea 698579c2b5 Shorten HAVE_VULKAN_KHR_DISPLAY 2016-08-27 16:48:13 -07:00
twinaphex 0f5118d895 feedback_pass - change to 0 2016-08-27 16:02:21 +02:00
Alcaro cad2eee9e0 Fix some PS3 derps 2016-08-27 13:54:02 +02:00
Twinaphex 89d0798e68 Merge pull request #3423 from bparker06/utf8
Initial UTF-8 support for rgui/xmb/glui. Enables first 256 codepoints.
2016-08-26 17:27:20 +02:00
twinaphex 82fecdbc70 (Vita) silence some warnings 2016-08-24 14:04:22 +02:00
Brad Parker 30e99927d2 undo previous new files and use existing encoding_utf header 2016-08-23 19:16:18 -04:00
Brad Parker d063cb9283 do not make UTF-8 the default, simplify/centralize the common string functions, make sure rgui/materialui use utf8 strlen when available 2016-08-23 19:00:53 -04:00
Brad Parker 35e67e69e5 Initial utf8 support for rgui/xmb. Only supports first 256 codepoints due to current freetype atlas limitation 2016-08-23 14:49:44 -04:00
Francisco José García García 4221374072 (VITA) Add XMB support 2016-08-23 02:49:53 +02:00
twinaphex 035d006d62 Set attrib to EGL_OPENGL_ES3_BIT_KRH if g_es3 is true 2016-08-23 00:09:33 +02:00
Brad Parker cc582db6fb recursively scan directories for database content, fixes issue #3139 2016-08-21 00:59:41 -04:00
Francisco José García García 70f16cddda (VITA) Fix setting aspect ratio 2016-08-15 02:39:34 +02:00
twinaphex b622e60e45 Add D3D9 headers 2016-08-12 01:17:54 +02:00
twinaphex 4791174ea3 (MSVC 2003) Fixes 2006-01-17 06:11:55 +01:00
twinaphex d4eca3aeb7 Move glext.h header to gfx/include/GL/glext.h 2016-08-11 23:34:05 +02:00
twinaphex 9777e9d9ef (MSVC 2003) Add MSVC 2003 compatibility 2006-01-17 04:36:32 +01:00
Twinaphex 50afc567b3 Prevent unused variable 2016-08-10 07:20:49 +02:00
twinaphex 04e7e51845 Move log message 2016-08-08 18:44:12 +02:00
twinaphex 8da3054968 Change this to HAVE_OPENGLES instead of HAVE_OPENGLES2 2016-08-08 18:40:58 +02:00
twinaphex becf96837e Allow for GL_DEBUG on GLES3/GLES 3.1/GLES 3.2 2016-08-08 18:37:46 +02:00
Logan McNaughton 2daf102111 Fix GLES3 compling 2016-08-07 22:33:07 -06:00
Francisco José García García cddef9827d (VITA) Fix rgb32 2016-08-08 01:51:23 +02:00
Logan McNaughton 47227c829b GLES3 fixes 2016-08-06 21:45:35 -06:00
twinaphex fb9a2eea95 Remove one useless HAVE_OPENGLES2 ifdef, and remove some wrong
defines
2016-08-07 04:35:38 +02:00
Hans-Kristian Arntzen 96818a297c Vulkan: Fix validation errors with OriginalHistory.
For some reason, OriginalHistory blit happened inside a render pass.
Also add more TRANSFER_SRC_BIT caps to images as they might have to be
copied to history.
2016-08-07 01:09:15 +02:00
twinaphex 0164ce3725 Move comments 2016-08-06 17:31:01 +02:00
twinaphex ef74742078 Change GL_CAPS_FBO 2016-08-06 17:28:15 +02:00
twinaphex 083bc4eed3 Cut down on some HAVE_FBO ifdefs 2016-08-06 03:18:19 +02:00
Higor Eurípedes 529031270b (osmesa) Cleanup and minor fixes 2016-08-05 20:54:35 -03:00
twinaphex 444d957978 (PSGL) Fix 32bit color 2016-08-03 17:07:38 +02:00
twinaphex b8de32587b (GL) Fix PSGL build 2016-08-03 16:47:01 +02:00
twinaphex afce6fccc5 (GL) Fix statement is unreachable warnign 2016-08-03 16:28:52 +02:00
Francisco José García García d514963a95 (VITA) Show fps 2016-08-03 02:02:44 +02:00
twinaphex b7b5ffe28c Above case should handle this already 2016-08-03 00:24:03 +02:00
twinaphex 02f0b4a428 GL_CAPS_BGRA8888 - Query for Apple extension GL_APPLE_texture_format_BGRA8888 too 2016-08-03 00:21:48 +02:00
twinaphex a517b39cfb Implement CAPS_PACKED_DEPTH_STENCIL for non-GLES too 2016-08-03 00:19:44 +02:00
twinaphex 36963b91c7 (GL capabilities) Packed depth stencil - if GLES is 3 or higher,
assume yes, also query EXT_packed_depth_stencil
2016-08-03 00:15:47 +02:00
twinaphex 23f4e8bdfa (Android/GLES) Should work with HW render context again 2016-08-03 00:08:50 +02:00
twinaphex 871b1740a8 Rename render_chain_driver.h to render_chain_gl.h 2016-08-02 16:22:57 +02:00
twinaphex fb641dabd1 (Griffin ) Buildfix 2016-08-02 15:01:34 +02:00
Hans-Kristian Arntzen fb407796e9 Vulkan: Add push constant support to slang.
Usually, the UBO is very small, so we can fit everything in fast-access
uniforms.
2016-08-02 12:51:30 +02:00
twinaphex 84588a1527 (GL) Move more code 2016-08-02 03:12:48 +02:00
twinaphex 9b06ec6c4e (GL) Move more FBO functions to render_chain_gl_legacy 2016-08-02 03:10:55 +02:00
twinaphex bd3cd08be8 (GL/FB) Still compiles and links with --disable-fbo 2016-08-02 03:04:27 +02:00
twinaphex d391159f39 Move more HAVE_FBO code to render_chain_gl_legacy 2016-08-02 02:56:44 +02:00
twinaphex 85ec02ba6b (GL) Move more renderchain code over to render_chain_gl_legacy 2016-08-02 02:54:38 +02:00
twinaphex 78806bf33c Move more renderchain code over to render_chain_gl_legacy.c 2016-08-02 02:38:46 +02:00
twinaphex a8e74f0aa2 (GL) Start moving renderchain code over to separate files 2016-08-02 02:27:23 +02:00
twinaphex a07ce85086 (OSMesa) No C++ comments 2016-08-02 02:19:06 +02:00
Higor Eurípedes 8752313961 (gfx) Add OSMesa context 2016-08-02 02:16:02 +02:00
twinaphex ab8471959e (D3D) 80-char style nits 2016-08-02 01:47:11 +02:00
twinaphex a0d3a148e7 Move force SRGB disable check at beginning of capability check 2016-08-02 00:56:21 +02:00
twinaphex 31ca6ca5ea (GL) Rename another function 2016-08-02 00:42:03 +02:00
twinaphex 188dd9bd69 Create gl_renderchain_add_lut 2016-08-02 00:31:04 +02:00
twinaphex ec91878187 (GL) rename to gl_recompute_pass_sizes 2016-08-02 00:25:28 +02:00
twinaphex 9c1155283b (GL) Create gl_renderchain_convert_geometry 2016-08-02 00:23:38 +02:00
twinaphex e8480a72a6 (D3D) Correct one shader 2016-08-01 22:45:07 +02:00
twinaphex c314077f1d (D3D) Cleanups of shaders 2016-08-01 22:43:51 +02:00
twinaphex 51eba5a3e7 (D3D) Header fix pt. 4 2016-08-01 22:22:23 +02:00
twinaphex 6e644223a8 (D3D) Header fix pt. 3 2016-08-01 22:21:50 +02:00
twinaphex a2bbbee713 (D3D) Header fix pt. 2 2016-08-01 22:21:11 +02:00
twinaphex fd6a9fd3bd (D3D) Fix include 2016-08-01 22:18:42 +02:00
Hans-Kristian Arntzen 00de5aa2f0 Vulkan: Filter out duplicated parameters. 2016-08-01 22:10:14 +02:00
Hans-Kristian Arntzen efd3067903 Vulkan: Hook up shader parameters. 2016-08-01 22:10:14 +02:00
Hans-Kristian Arntzen 8b14941a94 Refactor out resolve_current_parameters. 2016-08-01 22:10:14 +02:00
Hans-Kristian Arntzen a50c204d5e Vulkan: Begin parsing parameters. 2016-08-01 22:10:14 +02:00
twinaphex 8d186dab88 Relocate D3D drivers 2016-08-01 22:05:57 +02:00
twinaphex 124454430b (GL) Go through gl_query_core_context_in_use 2016-08-01 21:58:18 +02:00
Twinaphex becef95dc2 (GL) Silence unused variable 2016-08-01 21:55:02 +02:00
Francisco José García García 95b630636d (VITA) Rotation workaround 2016-08-01 20:26:29 +02:00
twinaphex 563842945c (gl_common.h) Start catering towards GLES3/GLES3.1/GLES3.2 too 2016-08-01 18:15:14 +02:00
twinaphex e3dc0261c0 (GL) Cleanups 2016-08-01 18:10:34 +02:00
twinaphex 46c8bba59e (GL) Cut down on ifdefs 2016-08-01 18:08:18 +02:00
twinaphex 10ceec4c99 (GL) Cleanups 2016-08-01 17:46:02 +02:00
twinaphex b7458f5523 (GL) Cleanups 2016-08-01 17:40:53 +02:00
twinaphex 34488802d9 Create GL_CAPS_SRGB_FBO_ES3 2016-08-01 17:36:07 +02:00
twinaphex 09ea570dcb Create GL_CAPS_FP_FBO 2016-08-01 17:33:50 +02:00
twinaphex 3d76f6e79f gl_check_capability - cleanups 2016-08-01 17:30:58 +02:00
twinaphex 76c021df09 Create GL_CAPS_SRGB_FBO 2016-08-01 17:28:43 +02:00
twinaphex 9b5703c9f3 Create GL_CAPS_FULL_NPOT_SUPPORT 2016-08-01 17:23:01 +02:00
twinaphex 91bef22613 EGL images should be usable with GLES3 and later too 2016-08-01 16:47:24 +02:00
twinaphex a45239359c (GL) Create GL_CAPS_UNPACK_ROW_LENGTH
(GL) Cut down on HAVE_OPENGLES2 ifdefs and try to use
HAVE_OPENGLES instead
2016-08-01 16:36:57 +02:00
twinaphex 6d76a04b0f (GL) Cleanups
(Emscripten) Add HAVE_RPNG/HAVE_RJPEG
2016-08-01 16:25:02 +02:00
twinaphex 78217ca32b (GL) Create GL_CAPS_ES2_COMPAT 2016-08-01 16:19:41 +02:00
twinaphex bbc303c7f2 (GL) Create GL_CAPS_PACKED_DEPTH_STENCIL 2016-08-01 16:11:35 +02:00
twinaphex 375a2f2480 Create GL_CAPS_DEBUG 2016-08-01 16:06:19 +02:00
twinaphex 4b1ab53361 Create gl_check_capability 2016-08-01 16:01:21 +02:00
twinaphex 087e378bf7 Use 0 parameter index 2016-08-01 15:43:34 +02:00
twinaphex 1aac393f73 (GL) Cut down on some forward declarations 2016-08-01 15:40:02 +02:00
twinaphex 94763e1db4 (GL) Remove one unnecessary HAVE_MENU ifdef 2016-08-01 15:31:29 +02:00
Hans-Kristian Arntzen efee5d131a Vulkan: Make glslang shaders debuggable.
Properly handle file names, includes, etc to make
error reports somewhat more sane.
2016-08-01 14:27:23 +02:00
Twinaphex ec82db21d2 Merge pull request #3301 from frangarcj/master
(VITA) Fix rotation
2016-07-31 20:31:08 +02:00
Hans-Kristian Arntzen bdcbc56507 Vulkan: Fix validation errors. 2016-07-31 19:59:36 +02:00
Hans-Kristian Arntzen e61ec38543 Vulkan: Mipmapped FBOs work. 2016-07-31 19:52:15 +02:00
Francisco José García García b4bd9cf830 (VITA) Fix rotation 2016-07-31 19:48:55 +02:00
Hans-Kristian Arntzen a48ba6c68b Vulkan: Add mipmapping support to Framebuffer class. 2016-07-31 19:23:42 +02:00
Hans-Kristian Arntzen 9a613ef8bf Vulkan: Actually bind correct part of the UBO. 2016-07-31 18:25:42 +02:00
Hans-Kristian Arntzen c0e752c53c Persistently map filter chain UBO. 2016-07-31 18:19:35 +02:00
Hans-Kristian Arntzen 10e864b26b Hook up wrapping modes. 2016-07-31 16:32:55 +02:00
Hans-Kristian Arntzen 4ac9ebd579 Vulkan: Allow configuring mip/wrap/filter for LUTs.
LUTs are feature complete with CGP now.
2016-07-31 16:16:47 +02:00
Hans-Kristian Arntzen e846bd4955 Vulkan: Hook up preliminary support for mip/wrapping modes. 2016-07-31 15:42:57 +02:00
Hans-Kristian Arntzen 0eca956789 Vulkan: Create image views with right amount of mip levels. 2016-07-31 14:01:39 +02:00
Hans-Kristian Arntzen 4e8e79eabd Vulkan: Add mipmapping support. 2016-07-31 13:47:10 +02:00
Hans-Kristian Arntzen e57997bb82 Make image barriers hit the entire mipchain. 2016-07-31 13:05:07 +02:00
Hans-Kristian Arntzen cbca9513ab Basic LUT work. 2016-07-31 13:01:31 +02:00
Hans-Kristian Arntzen 7813d40c9e Log if Vulkan debug layers are enabled. 2016-07-31 12:54:10 +02:00
Hans-Kristian Arntzen f208bba41e Add USER semantic to match user textures. 2016-07-31 12:39:07 +02:00
Hans-Kristian Arntzen d39a3619d6 Begin implementation of LUTs in Vulkan. 2016-07-31 12:26:14 +02:00
twinaphex 2be127c04a Start wrapping settings->path.libretro 2016-07-24 11:12:26 +02:00
Hans-Kristian Arntzen f54b0c0ff0 Vulkan: Implement swap_interval > 1.
We have to fake it by duping since Vulkan has no native support for
this.
2016-07-24 00:34:48 +02:00
Hans-Kristian Arntzen 8c1b935969 Vulkan: Implement BFI. 2016-07-24 00:07:32 +02:00
Hans-Kristian Arntzen e35191765c Vulkan: Fix PassOutput.
Oddly enough it worked during testing, but turns out it was never set
:')
2016-07-23 23:39:57 +02:00
Hans-Kristian Arntzen 4b7cadbae7 Vulkan: Fix silly bug with alias handling. 2016-07-23 23:23:22 +02:00
Hans-Kristian Arntzen 2174f7d99b Vulkan: Fix wrong error handling for missing file.
Apparently 0/1 is returned instead of 0/-1.
2016-07-23 21:59:17 +02:00
twinaphex d98fad0d98 Simplify free_drm_resources 2016-07-23 06:05:21 +02:00
twinaphex 22e35c553b (PS3) Fixes issues where content would sometimes not be able to
be loaded for some sporadic reason
2016-07-22 10:41:56 +02:00
twinaphex 4e68bc0b53 CXX_BUILD fix 2016-07-21 21:54:43 +02:00
sergiobenrocha2 69738f2b84 Add CPPFLAGS to Makefiles, fix hardening-no-fortify-functions. 2016-07-20 23:27:26 -03:00
twinaphex a8de87576e (windows) Fixes drag and drop - we have to call this
function directly since the UI companion driver interface at
this point has not yet been initialized
2016-07-16 23:49:44 +02:00
twinaphex c6e6e300b9 CLeanup 2016-07-16 23:16:30 +02:00
twinaphex 8b4dd98d4b (drag and drop) Try to make some code more understandable 2016-07-16 23:13:24 +02:00
twinaphex 8b29ad1fee Add early return in case this is NULL 2016-07-16 23:00:35 +02:00
twinaphex f308997465 DragFinish releases memory allocations - so always call it at the end 2016-07-16 22:39:21 +02:00
twinaphex 6ac8b64e3d Put this around a HAVE_CG ifdef 2016-07-16 22:32:33 +02:00
twinaphex ce6f3f955c Doubleclick on titlebar should no longer trigger button press
in RA window
2016-07-16 17:56:07 +02:00
twinaphex 616b9f7471 (Win32) Test 2016-07-16 17:44:21 +02:00
Alcaro d7dbc45c6b That's a weird way to check versions. Won't even work for 7.0. 2016-07-16 16:51:28 +02:00
Twinaphex 1586214876 (OSX) Fix text title inside window 2016-07-16 15:01:06 +02:00
Hans-Kristian Arntzen 1e9e1fc885 Vulkan: Update SPIRV-Cross.
Fixes reflection issues which have been fixed in recent spirv-cross.
2016-07-15 22:12:57 +02:00
Hans-Kristian Arntzen 8569028189 Vulkan: Use manual memory management for cached/incoherent devices. 2016-07-15 16:12:30 +00:00
Hans-Kristian Arntzen f5bddd45e8 Vulkan: Don't query layout if we have optimal tiling. 2016-07-14 23:15:39 +02:00
twinaphex d0818e6e62 Not sure if/when we will be needing this 'ancient' codepath 2016-07-12 21:10:49 +02:00
twinaphex b580599710 (X11) Fix 'quit' button not working 2016-07-09 12:09:39 +02:00
amspady20 9adc8e34c0 Update xegl_ctx.c
Fixed include statment for frontend_driver.h
2016-07-08 12:30:53 -04:00
twinaphex c66ada4e90 (FBDev) Cleanups 2016-07-08 14:43:13 +02:00
twinaphex e1a5379886 (FBDev) Cleanups/unifications 2016-07-08 14:29:16 +02:00
twinaphex bddd93bcaa (EGL) Don't use g_egl_quit and egl_install_sighandler 2016-07-08 12:58:06 +02:00
twinaphex d953be6397 (Wayland) Use signal handler code from frontend driver 2016-07-08 12:52:46 +02:00
twinaphex 8d5f34eeb9 Move signal handler code to frontend driver interface 2016-07-08 02:43:55 +02:00
twinaphex 76cc6fd8ec Start implementing signal handler code once in frontend driver code 2016-07-08 02:38:33 +02:00
Hans-Kristian Arntzen cd4ff2eac8 Move KHR_display backend behind configure flag.
Enabled by default since it is technically not platform specific.
2016-07-07 22:05:57 +02:00
Alcaro 4b75304d15 You missed a spot, maister 2016-07-07 21:03:30 +02:00
Hans-Kristian Arntzen df7870c2ea Vulkan: Don't use sighandling on Win32 in khr_display.
Lots of the embedded backends do signal-handling like this
which is kinda awkward. This should be moved to frontend runloop or
something similar.
2016-07-07 20:34:42 +02:00
Hans-Kristian Arntzen c561d8c4e6 Install sighandler for khr_display backend. 2016-07-07 19:32:09 +02:00
Hans-Kristian Arntzen d382e1069e Basic VK_KHR_display integration works! :) 2016-07-07 19:28:27 +02:00
Hans-Kristian Arntzen 471d06d133 Fix Wayland refresh rate logging. 2016-07-06 23:22:13 +02:00
Hans-Kristian Arntzen d2fafc5451 Sketch out vulkan_create_display_surface. 2016-07-06 20:27:39 +02:00
Hans-Kristian Arntzen e9046dd06f Begin implementing VK_KHR_display. 2016-07-06 19:37:47 +02:00
twinaphex 0346cf70d5 Seems to come from here - add license text to it -
1ec3c44bdd/tree/tests/util/format.c
2016-07-04 15:05:50 +02:00
twinaphex 5d70242dee Check against libdrm version 2.4.68 in order to enable/disable
plain DRM video driver
2016-07-03 22:08:56 +02:00
twinaphex 54e137d9f7 Cleanups 2016-07-03 10:47:09 +02:00
twinaphex fe1dc51889 Add missing file 2016-07-03 10:44:53 +02:00
twinaphex a8bba31429 Cleanups 2016-07-03 10:44:34 +02:00
twinaphex d53cbfbdfb Backport DRM video driver 2016-07-03 10:37:07 +02:00
twinaphex 9fab75c4b5 Cleanups; 80-char width limit 2016-06-30 07:40:25 +02:00
twinaphex acd68519de Create MSG_FRAMES 2016-06-30 05:41:53 +02:00
twinaphex 668b4b5d26 Remove duplicate fill_string_concat 2016-06-29 18:14:42 +02:00
twinaphex 1226c71b98 Use fill_string_concat 2016-06-29 18:14:42 +02:00
twinaphex f4ef5e82c2 Create and use fill_string_concat 2016-06-29 17:41:32 +02:00
Nathan S d79da7fc1f (gl_raster_font) Fixed the viewport issue 2016-06-29 14:22:30 +02:00
twinaphex 3c7dc0a62e Try to silence more Coverity warnings 2016-06-29 12:13:40 +02:00
twinaphex 2a9bf91e0d Use MENU_ENUM_LABEL_VALUE_NOT_AVAILABLE 2016-06-29 02:40:05 +02:00
Twinaphex 08dbbe1a55 Revert "(gl_raster) Added fullscreen to restore_viewport" 2016-06-29 02:30:05 +02:00
Nathan S b0584a950d (gl_raster) Added fullscreen to restore_viewport 2016-06-28 11:56:19 +02:00
twinaphex 481e7d2f34 (libretro-common) Move STRING_REP_UINT64 to retro_common_api.h 2016-06-28 08:50:22 +02:00
twinaphex a24d43c8fd Add GFX_CTX_FLAGS_CUSTOMIZABLE_SWAPCHAIN_IMAGES display flag 2016-06-27 23:43:57 +02:00
Hans-Kristian Arntzen c80127d29d Vulkan: Hook up async compute test more properly.
Supports multiple queues and queues from different families.
2016-06-27 20:54:53 +02:00
Hans-Kristian Arntzen 4abb0ef331 Vulkan: Cache destroy device callback. 2016-06-27 20:54:53 +02:00
Hans-Kristian Arntzen 6841b5ad00 Vulkan: Keep dylib around if caching instance. 2016-06-27 20:54:53 +02:00
Hans-Kristian Arntzen 4729ec9e1b Add support for signalling semaphores from frontend.
Useful for conserving framebuffer memory.
2016-06-27 20:54:53 +02:00
twinaphex f5bfbdeebe Rewrite strcpy usage 2016-06-27 08:09:34 +02:00
Hans-Kristian Arntzen 54c1759f45 Vulkan: Make a more general purpose symbol loader.
Avoids painful manual loading and wrapping function pointers everywhere
...

Reusable for cores, so move to libretro-common.
Also update built-in Vulkan headers.
2016-06-26 13:10:58 +02:00
Hans-Kristian Arntzen 1da2e2dbab Vulkan: Hook up negotiation interface device creation. 2016-06-26 10:40:07 +02:00
Hans-Kristian Arntzen 10a6d7a458 Vulkan: Begin hooking up negotiation interface. 2016-06-25 21:01:36 +02:00
Hans-Kristian Arntzen b013a9c863 Vulkan: Replace prebaked shaders with glslc -mfmt=c.
Far more clean and avoids illegal punning.
2016-06-25 14:55:03 +02:00
Hans-Kristian Arntzen 972a5db7ae Vulkan: Fix shader module leak. 2016-06-25 14:06:14 +02:00
Hans-Kristian Arntzen de36f572d1 Vulkan: Fix more validation issues. 2016-06-25 14:01:10 +02:00
Hans-Kristian Arntzen 07880e3f45 Vulkan: Begin hooking up validation layers.
Found lots of regressions due to bad reformatting.
2016-06-25 13:52:33 +02:00
Hans-Kristian Arntzen d043123f71 Vulkan: Add support for queue transfers in HW rendering. 2016-06-25 11:39:52 +02:00
Hans-Kristian Arntzen 82c7aa0e6f Use max swapchain image setting when creating swapchain. 2016-06-25 09:52:46 +02:00
twinaphex 49e8baa61d Use tmp_str variable for config_get_path usage 2016-06-25 07:17:48 +02:00
twinaphex b434f0863a CXX_BUILD buildfix 2016-06-23 07:44:56 +02:00
Twinaphex 1e91689919 (iOS) Fix FPS reporting 2016-06-22 17:42:32 +02:00
twinaphex 8a8fadc5b2 Implement max swapchain images setting, implement it first for DRM/KMS context 2016-06-21 21:36:58 +02:00
twinaphex 1fb2144a48 Refactor video_shader_parse_type 2016-06-20 22:17:03 +02:00
twinaphex 284f8cfd23 Remove menu_hash_ files 2016-06-20 03:35:09 +02:00
twinaphex 65dff0a03a menu_hash_to_str_enum has now become msg_hash_to_str 2016-06-20 00:31:13 +02:00
Alcaro 90dd86a66a Fix #3129 again 2016-06-19 22:09:52 +02:00
vanfanel c097eed755 VIDEO/DISPMANX: Make the HW Bilinear Filtering setting work. 2016-06-16 11:37:02 +02:00
twinaphex e1316cb7ba Use menu_hash_to_str_enum 2016-06-15 23:43:24 +02:00
twinaphex d3d5d80e62 (video_driver.c) Buildfix 2016-06-15 17:40:09 +02:00
twinaphex dd04705d25 Turn menu_settings_list_current_add_enum_idx into public scope
function so we can use it in gfx/video_driver.c
2016-06-15 17:13:28 +02:00
vanfanel 03dd7d4b51 VIDEO/DISPMANX: Fixed segfault when loading new core and content from RGUI 2016-06-15 14:28:13 +02:00
Hans-Kristian Arntzen 21be54501b Log which present modes are supported. 2016-06-13 22:00:32 +02:00
Hans-Kristian Arntzen e7b4f4fd4d Fix various Android Vulkan issues.
Was getting bogus swapchain width/height causing weird issues.
Also, create swapchain after swap interval is correctly set.
2016-06-13 19:51:44 +02:00
Twinaphex d178f90cc1 Remove this header 2016-06-08 08:19:06 +02:00
neville f170856374 (OSX) Fixes 2016-06-08 07:41:59 +02:00
twinaphex 4e91f6fcd0 Use CG macro instead 2016-06-08 05:26:33 +02:00
Twinaphex 710a3fe249 Merge pull request #3090 from fr500/nuklear
[nk] fix nuklear / linux
2016-06-08 02:46:02 +02:00
radius 991ea3c008 [nk] fix nuklear in linux and don't request a core context on windows 2016-06-07 19:40:11 -05:00
twinaphex f4c3a41f84 (Win32) Implement application process events 2016-06-07 17:28:51 +02:00
Twinaphex f17b4fba05 Rename ui_cocoa_window.h 2016-06-07 16:47:48 +02:00
twinaphex ee8277b31c Rename ui_win32_window.h to ui_win32.h 2016-06-07 16:33:55 +02:00
Hans-Kristian Arntzen c374c9853d Some potential fixes for Android Vulkan. 2016-06-07 01:43:14 +02:00
twinaphex 883d9ff6b5 Add HAVE_SHADERPIPELINE define 2016-06-07 00:00:28 +02:00
twinaphex ea5f458fbd Go through function pointer 2016-06-06 08:01:26 +02:00
Twinaphex c4cea05399 Go through ui_window_t function pointer 2016-06-06 07:39:31 +02:00
Twinaphex 22358d4a92 Merge pull request #3078 from fr500/master
fix windows debug builds
2016-06-06 05:12:46 +02:00
radius ed2177d524 fix windows debug builds 2016-06-05 21:54:37 -05:00
Twinaphex f77f743403 Merge pull request #3076 from FIX94/master
More GX gamma changes
2016-06-05 19:05:32 +02:00
twinaphex c1f9d7b498 (shader_glsl.c) Fix dereference after null check warnings 2016-06-05 19:02:13 +02:00
FIX94 b80bba2061 (GX) only apply better gamma setting to wii and use old setting on ngc
(GX) show gamma setting in the video options on ngc, was hidden before
2016-06-05 18:57:29 +02:00
FIX94 f3d0860483 (GX) improved video gamma setting by allowing a wider spectrum (0.1 to 3.0) 2016-06-05 18:03:39 +02:00
Nathan S 6889b58270 (gl_raster_font) Fixed scaling for newlines 2016-06-05 14:56:23 +02:00
twinaphex ca6f539ff5 (iOS) Prevent unused variable 'buf' warning 2016-06-05 07:02:44 +02:00
twinaphex 2f7bc8760c Turn win32_browser into static function 2016-06-04 18:43:03 +02:00
twinaphex cfc3b97808 Use ui_window_win32_focused 2016-06-04 17:30:06 +02:00
twinaphex b5830de236 Create stub GetForegroundWindow function for Xbox 2016-06-04 17:18:20 +02:00
twinaphex abbd39fc6e Might want to use GetForegroundWindow instead for window focus 2016-06-04 17:17:10 +02:00
twinaphex c63f11f6fd Use ui_window_win32_set_droppable 2016-06-04 08:50:43 +02:00
twinaphex 80b194f491 (Cocoa) Cleanups 2016-06-04 08:20:39 +02:00
Twinaphex 860fb1d525 (Cocoa) Implement ui_window_cocoa_set_title 2016-06-04 08:09:55 +02:00
twinaphex b4c340ca88 (win32_common.cpp) Cleanup 2016-06-04 06:21:58 +02:00
twinaphex 492818deed (d3d_ctx.cpp) Use set_title function 2016-06-04 06:07:11 +02:00
twinaphex d739e4771e Use set_title function from wgl_ctx.cpp 2016-06-04 06:02:15 +02:00
twinaphex 24688469b0 Buildfix 2016-06-04 05:58:03 +02:00
twinaphex 2d649f5147 Reimplement win32_monitor_from_window 2016-06-04 05:56:46 +02:00
twinaphex f490b2b58a Simplify win32_monitor_from_window 2016-06-04 05:54:33 +02:00
twinaphex 0c3bc35be1 (Win32) Buildfix 2016-06-04 05:45:39 +02:00
twinaphex 745b204a8f Start using ui_window_win32_t 2016-06-04 05:44:06 +02:00
twinaphex 94e16e638d Cleanup WndProcCommon 2016-06-04 05:09:58 +02:00
mudlord d75fc24ad7 update 2016-06-04 12:36:05 +10:00
twinaphex b88db89b89 (Win32) Buildfix 2016-06-04 03:22:31 +02:00
twinaphex 45d6b4a228 Create win32_drag_query_file 2016-06-04 03:20:55 +02:00
twinaphex d7d5f29c90 (win32_common.cpp) Buildfix 2016-06-03 19:46:09 +02:00
twinaphex 6628da2646 Create CONTENT_MODE_LOAD_CONTENT_WITH_NEW_CORE_FROM_COMPANION_UI 2016-06-03 18:43:05 +02:00
mudlord 1ab94a2c9a updates to dragndrop 2016-06-03 18:25:45 +10:00
twinaphex 30d3cf8a4e Indenting nits 2016-06-03 08:23:43 +02:00
twinaphex 4cfe09faed Nits 2016-06-03 08:21:56 +02:00
twinaphex 59413e0289 (win32_common.cpp) Cleanups/get rid of warning 2016-06-03 08:20:36 +02:00
twinaphex 01390f8ceb Use retro_common_api.h 2016-06-03 08:06:49 +02:00
Twinaphex 1aef6ddbc8 Merge pull request #3058 from mudlord/master
Updates to drag and drop:
2016-06-03 08:04:10 +02:00
mudlord bcf636283b Updates to drag and drop:
* Now recognises old core used, if compatible.
* If not compatible, compatibile cores are scanned and used.
* Different compatible cores are now enumerated to be selected at will.
2016-06-03 16:00:08 +10:00
twinaphex 5230aeb9d0 Use retro_common_api.h 2016-06-03 06:02:49 +02:00
twinaphex 8fc8ff4ed9 Use retro_common_api.h 2016-06-03 05:43:49 +02:00
twinaphex 2b33c731d0 Create RFILE_MODE_READ_TEXT 2016-06-03 03:14:42 +02:00
mudlord 4c53bdf4f9 add drag and drop 2016-06-03 09:14:53 +10:00
twinaphex 294777166f video_shader_parse.c - use filestream 2016-06-03 00:11:41 +02:00
twinaphex 65d5ebc2bb Fix some dereference after null check warnings 2016-06-02 20:40:51 +02:00
twinaphex 5eb43846da Prevent explicit NULL dereferenced warnings 2016-06-01 04:14:48 +02:00
twinaphex cf91d006b3 BB10 starts again 2016-05-31 05:16:35 +02:00
twinaphex b23784ddc5 Update modern_alpha_blend.gls.vert.h 2016-05-30 08:55:31 +02:00
twinaphex 632cc599d6 Change modern_alpha_blend.glsl.frag.h 2016-05-30 08:53:49 +02:00
twinaphex 0f12336737 Take this out too 2016-05-30 08:51:41 +02:00
twinaphex d93d8e7a8f Update stock_fragment_modern 2016-05-30 08:44:13 +02:00
twinaphex d39d925c1d Fix opsque Cg shader 2016-05-29 03:48:08 +02:00
twinaphex da6a74b2dc Leave only GLSL_330 macro 2016-05-28 20:58:49 +02:00
Twinaphex 2056d25e3e Update GLSL_330_ES/GLSL_330_CORE 2016-05-28 20:56:37 +02:00
Twinaphex e331281d6a (shaders_common.h) Fix GLES 2016-05-28 20:56:02 +02:00
twinaphex 3d5cc14030 Convert other shaders 2016-05-28 18:43:00 +02:00
twinaphex 653359911a Cleanup shaders 2016-05-28 18:18:23 +02:00
twinaphex a98616b45b Fix explicit NULL dereferenced/dereference before null check warnings 2016-05-26 17:47:21 +02:00
twinaphex 7d12408f24 x11_create_input_context - prevent memleak 2016-05-26 07:34:25 +02:00
radius 38305f8fb7 Update the menu driver to work with the latest version 2016-05-24 21:41:51 -05:00
twinaphex 5a4ada4311 Avoid some warnings by using return value for config_get_int 2016-05-24 23:53:35 +02:00
twinaphex a82a8cad51 Be more careful with config_get_bool 2016-05-24 22:48:15 +02:00
twinaphex 42971febba Fix resource leaks (pointed out by Coverity) 2016-05-24 22:01:43 +02:00
twinaphex 72d37e3917 Fix unreachable code 2016-05-24 21:48:32 +02:00
twinaphex 46872f8fcb (gfx/font_driver.c) Cleanups 2016-05-24 21:07:02 +02:00
twinaphex 80abd06bd8 Not sure where this came from 2016-05-23 22:39:02 +02:00
twinaphex c17315cd27 (DRM) Prevent double free and prevent dereference before NULL check 2016-05-23 22:30:01 +02:00
twinaphex 91220c3448 Remove logically dead code 2016-05-23 21:49:40 +02:00
twinaphex 7c0532c3e7 Remove logically dead code 2016-05-23 21:47:41 +02:00
twinaphex 6bd7fd482c Performance counters got function name changes 2016-05-21 13:14:25 +02:00
Twinaphex 72e1a33715 Merge pull request #3016 from Themaister/master
Add perf counter to fence waits.
2016-05-21 12:36:25 +02:00
Hans-Kristian Arntzen 218ecc07c1 Add perf counter to fence waits.
Makes it easy to check if we're GPU bound or not.
2016-05-21 12:13:46 +02:00
Lionel Flandrin b7d5c1d3e8 potential fix for AMD and GL core contexts 2016-05-20 20:12:41 +02:00
Twinaphex e133ce31e8 (QNX) Buildfixes 2016-05-19 20:10:10 +02:00
twinaphex c104bc094b (QNX) Fix egl_create_surface call 2016-05-19 20:07:03 +02:00
Twinaphex 85331042be (QNX) Build fixes 2016-05-19 20:02:39 +02:00
twinaphex 7e36dcb27f move video_texture_image to libretro-common and rename it to image_texture.c 2016-05-18 12:58:00 +02:00
twinaphex 265c931c46 (gfx/video_texture_image.c) remove dependencies 2016-05-18 12:49:52 +02:00
twinaphex e2b5c69af9 (gfx/video_texture_image.c) Cleanups 2016-05-18 12:17:51 +02:00
twinaphex 9bc11731fb Start reimplementing TGA image load support 2016-05-18 10:52:23 +02:00
twinaphex 492dd59164 Hook up BMP image loading - color channels swapped - RGBA to ARGB
conversion won't work here
2016-05-17 21:38:51 +02:00
twinaphex 558dfd64f2 Exit video_texture_image_load_internal if we build
without HAVE_RJPEG/HAVE_RPNG depending on content type
2016-05-17 16:34:23 +02:00
twinaphex 1166be62ae (gfx/video_texture_image.c) Drop more implementation details 2016-05-17 16:32:53 +02:00
twinaphex 52948b436e We can take out RPNG implementation details out of video_texture_image.c
now
2016-05-17 16:23:22 +02:00
twinaphex e7e9e90b0d (gfx/video_texture_image.c) Cleanup 2016-05-17 16:15:37 +02:00
twinaphex b268869669 (gfx/video_texture_image.c) Refactor - go through image_transfer
interface
2016-05-17 16:11:37 +02:00
twinaphex 80ce237878 (HAVE_MENU not defined) Buildfixes 2016-05-17 08:02:13 +02:00
twinaphex 281a33d61f Rename function to performance_counter_init 2016-05-16 09:58:45 +02:00
twinaphex f5bc75c640 Rename retro_perf_start/retro_perf_stop 2016-05-16 09:53:54 +02:00
twinaphex 18355d4748 Rename retro_perf_stop 2016-05-16 09:48:14 +02:00
twinaphex b9ce94b360 (WGL) Change ifdef 2016-05-16 08:36:22 +02:00
twinaphex 0433d3ca6e (WGL) Make context driver more modular 2016-05-16 08:34:56 +02:00
twinaphex 822d66f401 (WGL) Avoid some warnings 2016-05-16 08:25:14 +02:00
twinaphex 01e3362f21 Remove unused variable 2016-05-16 07:52:26 +02:00
twinaphex 0d833c903a Merge remote-tracking branch 'origin/vulkan-windows' 2016-05-16 07:51:01 +02:00
twinaphex cda8e7b560 Rename gl_init_vao to gl_check_vao 2016-05-16 06:14:32 +02:00
twinaphex 8de39f261c (GLSL) Remove unused variables 2016-05-16 05:58:00 +02:00
twinaphex e2cc3bc08d Create gl_query_core_context_in_use 2016-05-16 05:55:42 +02:00
twinaphex c28b4da58c Remove more dependencies on gl pointer 2016-05-16 05:50:39 +02:00
twinaphex 8f2c665dc7 Remove dependence on gl pointer for querying extensions 2016-05-16 05:47:34 +02:00
twinaphex b4abec5181 Cleanups 2016-05-15 19:59:03 +02:00
twinaphex d63e7defb5 (GLSL) Remove more code 2016-05-15 19:58:02 +02:00
twinaphex 67d08f6790 Restore glsl_set_params 2016-05-15 19:56:53 +02:00
twinaphex c15ec92c83 (Cg) set_params - don't use set_uniform_parameter function - fixes PS3 port 2016-05-15 19:03:39 +02:00
twinaphex 2f69c20e39 Revert "(Shaders) Get rid of third parameter"
This reverts commit 52d6a21e55.
2016-05-15 17:26:23 +02:00
twinaphex 52d6a21e55 (Shaders) Get rid of third parameter 2016-05-15 17:22:55 +02:00
twinaphex fa27a8447e Rename RPNG functions 2016-05-13 09:49:38 +02:00
twinaphex 8efe2de0ec (RJPEG/RPNG) Add debug logs and change function signatures 2016-05-13 09:08:32 +02:00
twinaphex df3b090d7a Revert "Create runloop_get_system_info/runloop_free_system_info/runloop_init_system_info"
This reverts commit 35bf38e05c.
2016-05-12 09:37:21 +02:00
twinaphex 35bf38e05c Create runloop_get_system_info/runloop_free_system_info/runloop_init_system_info 2016-05-12 09:25:52 +02:00
twinaphex f0b99edafc Prevent some warnings/errors from occurring with MESA_DEBUG 2016-05-12 04:29:36 +02:00
twinaphex 21438fc0af Some buildfixes for GL_DEBUG 2016-05-12 02:58:09 +02:00
neville 67e64f4ca6 gl_check_mipmap - don't look for GL_EXT_framebuffer_object here
- breaks OSX PPC
2016-05-11 23:04:48 +02:00
twinaphex c9d3936ee5 Check for GL_EXT_framebuffer_object too 2016-05-11 22:49:41 +02:00
twinaphex 670b564f13 Add HAVE_RTGA switch 2016-05-11 21:57:41 +02:00
twinaphex 367150b487 Cleanups 2016-05-11 21:48:30 +02:00
twinaphex 5845a9944d Add more HAVE_THREADS ifdefs 2016-05-11 19:02:43 +02:00
twinaphex fc56f6ebdb Add some HAVE_THREADS ifdefs 2016-05-11 10:10:30 +02:00
twinaphex 78783cc2aa Buildfixes for compiling without HAVE_MENU 2016-05-11 10:06:15 +02:00
twinaphex 9aed52ac65 Move performance.c to libretro-common/features/features_cpu.c 2016-05-10 20:31:27 +02:00
twinaphex 4a7ab8366b Move libretro.h headers to libretro-common/include 2016-05-10 19:03:53 +02:00
twinaphex 35ea37b37f Revert "Move cpu_features to libretro-common"
This reverts commit 2b8ff3bf38.
2016-05-10 09:32:24 +02:00
twinaphex 2b8ff3bf38 Move cpu_features to libretro-common 2016-05-10 09:27:29 +02:00
twinaphex 0d371def5c Refactor performance.c code 2016-05-10 09:17:04 +02:00
twinaphex b79b2dca13 Create performance_counters 2016-05-10 08:53:14 +02:00
twinaphex 7c20f2b868 Change namespace of thread functions 2016-05-10 03:14:23 +02:00
twinaphex 88ae5c0875 Rename gfx_mut_coords 2016-05-10 02:42:52 +02:00
twinaphex b2f5e2ac08 Rename gfx_font_raster_block 2016-05-10 02:42:02 +02:00
twinaphex dde471e001 Rename gfx_ structs 2016-05-10 02:39:09 +02:00
twinaphex 2ebb92834c Rename gfx_fbo_rect to video_fbo_rect 2016-05-10 02:34:36 +02:00
twinaphex 0e08dbe931 Rename gfx_coord to video_coord 2016-05-10 02:32:59 +02:00
twinaphex 2691ab0c7d Rename command_event enums 2016-05-09 20:51:53 +02:00
twinaphex 523ebed112 Combine command_event.c and command.c 2016-05-09 20:30:47 +02:00
twinaphex a98ef36d36 Rename event_cmd_ctl to command_event 2016-05-09 20:20:50 +02:00
twinaphex 6bbe5fb83a Avoid warning 2016-05-09 19:24:10 +02:00
twinaphex 6ae20f2016 Create managers/ dir - move cheats.c and state_manager.c to it 2016-05-09 18:20:52 +02:00
twinaphex 5f3f578311 Further otpimization 2016-05-09 08:03:36 +02:00
twinaphex c82505ed9e Show FPS in title bar only when 'Display Framerate' is enabled 2016-05-09 07:44:13 +02:00
twinaphex 372e7d94cd Rename rewind.c to state_manager 2016-05-09 07:14:10 +02:00
twinaphex f8a7154557 Rename rarch_ functions 2016-05-09 07:09:26 +02:00
twinaphex e87f030246 C89_BUILD fixes 2016-05-09 05:50:08 +02:00
twinaphex 44ed8d1116 CXX_BUILD fixes 2016-05-09 05:48:47 +02:00
twinaphex d50109f60a video_texture_image.c - prevent warning 2016-05-09 04:56:41 +02:00
twinaphex 7272a3fdaf Prevent some warnings 2016-05-09 04:54:25 +02:00
twinaphex 9c1d1f3af8 (GL) Remove these conditionals - mipmap support should be
detected at runtime
2016-05-09 04:38:20 +02:00
twinaphex 3dfd8a0584 Split up vertex/fragment shader conditionals for XMB ribbon 2016-05-09 04:31:21 +02:00
twinaphex 3e40b77108 Improve check for gl_check_mipmap 2016-05-09 03:49:57 +02:00
twinaphex ca976aeda9 Make gl_load_texture_data a static function 2016-05-09 03:44:46 +02:00
twinaphex 4e535f77c6 Add gl_check_mipmap 2016-05-09 03:40:59 +02:00
twinaphex 725c202498 Remove input_driver_ctl 2016-05-08 23:12:04 +02:00
Twinaphex 6ca2223671 Merge pull request #2975 from t-paul/vg-compile-fix
Fix typos in VideoCore driver causing compile error on Raspberry Pi.
2016-05-08 22:02:27 +02:00
twinaphex 9c1885a46e Fix Display FPS 2016-05-08 22:00:30 +02:00
Torsten Paul 737e2832f2 Fix typos in VideoCore driver causing compile error on Raspberry Pi. 2016-05-08 21:55:46 +02:00
twinaphex 1b8e8ac22a Remove video_shader_driver_ctl 2016-05-08 21:11:27 +02:00
twinaphex ed5954420b (MSVC) Buildfixes 2016-05-08 20:40:42 +02:00
twinaphex b20d550cc4 Rename video context driver functions 2016-05-08 20:32:56 +02:00
Twinaphex be1daeebd7 Merge pull request #2971 from t-paul/screensaver-fix
Suppress screensaver only if requested by user settings.
2016-05-08 20:26:39 +02:00
twinaphex 7399ba386a Rename gfx_ctx_ prefix 2016-05-08 19:24:23 +02:00
Torsten Paul 1979ea52d2 Suppress screensaver only if requested by user settings. 2016-05-08 19:22:45 +02:00
twinaphex bc74e7199b Move variables outside of gfx_ctx_ctl 2016-05-08 19:18:17 +02:00
Torsten Paul 50a3cc3cf7 Ensure video_driver_frame_count is reset when the driver is (re-)initialized. 2016-05-08 18:48:38 +02:00
twinaphex 7e1a06d8dd Remove some warnings 2016-05-08 17:54:30 +02:00
Hans-Kristian Arntzen f91b36eec8 Fix inconsistencies between Vulkan and GL in ribbon.
Also fixes a shitty bug in menu_driver_draw_bg with pointer to stack.
2016-05-08 15:21:53 +02:00
Hans-Kristian Arntzen 8870e85395 More fixes for menu_display_ctl.
Grep shows nothing now.
2016-05-08 14:18:12 +02:00
Hans-Kristian Arntzen 66c4f608e6 Clear out rest of video_driver_ctl use. 2016-05-08 14:10:28 +02:00
Hans-Kristian Arntzen d723411436 De ioctl video_driver. 2016-05-08 14:00:51 +02:00
Hans-Kristian Arntzen ade5131833 Vulkan: Move to SPIRV-Cross. 2016-05-08 12:43:58 +02:00
Hans-Kristian Arntzen 464a4add66 XMB ribbon works in Vulkan. 2016-05-08 11:11:28 +02:00
Hans-Kristian Arntzen 26cfedc546 Add XMB ribbon shaders to Vulkan. 2016-05-08 09:54:36 +02:00
twinaphex 889306f8ad Remove unused variable 2016-05-08 07:10:51 +02:00
twinaphex e165954395 Rename libretro_version_1 to core_impl 2016-05-08 05:29:10 +02:00
twinaphex ae9ea8f2db (MSVC) Buildfixes 2016-05-08 04:04:50 +02:00
twinaphex 6544772fb8 De-ioctl ify core_ctl 2016-05-08 01:33:57 +02:00
twinaphex 7f272a4bd0 Add missing parameters 2016-05-07 16:24:26 +02:00
twinaphex f86d4d400d Start adding jpeg hooks 2016-05-07 06:20:17 +02:00
twinaphex 857a6ac479 Remove streams/file_stream.h 2016-05-07 04:17:33 +02:00
twinaphex c192b8d61f (video_texture_image.c) Cleanup 2016-05-07 04:07:27 +02:00
twinaphex b8644536d2 (video_texture_image.c) Cleanups - we use nbio now in video_texture_image_load
for both TGA and PNG, and we remove the file I/O based RPNG function
2016-05-07 04:04:09 +02:00
twinaphex 9ac9ed4b36 Cleanups 2016-05-07 03:35:31 +02:00
twinaphex afd56893f5 video_texture_image - cleanups 2016-05-07 03:31:24 +02:00
Twinaphex a85bc7bab6 RARCH_DISPLAY_CT_LOCK_NEW - make sure lock is freed beforehand 2016-05-06 18:55:42 +02:00
Torsten Paul ccb224043b Initialize window name at window creation time (fixes #1521).
The protocol error reported in #1521 is caused by two different issues.
First xdg-screensaver fails to parse decimal values for the window id
(https://bugzilla.redhat.com/show_bug.cgi?id=1274931). Using the hex
notation fixes this part.

Second, the script reads the WM_NAME property from the window which is
not yet available at this time. Calling x11_update_window_title() early
ensures the property is set when xdg-screensaver is run.
2016-05-06 00:17:47 +02:00
twinaphex 78cbf97e70 Another fix 2016-05-05 17:58:58 +02:00
twinaphex 2314733af7 Cleanup 2016-05-05 17:52:30 +02:00
twinaphex 493ad4dfb8 (WGL) Typo buildfix 2016-05-05 17:50:26 +02:00
twinaphex a7588292bf Another cleanup 2016-05-05 17:44:43 +02:00
twinaphex 8966f46d36 video_shader_set_backend - cleanup 2016-05-05 17:44:10 +02:00
twinaphex c04122d385 Set context driver's set_flags function when core GL context
is requested, and query the core GL context set bit when
loading a Cg shader
2016-05-05 17:40:38 +02:00
twinaphex 10b0fca258 Add GFX_CTL_SET_FLAGS 2016-05-05 17:37:24 +02:00
twinaphex 60233d1abb Add set_flags to context driver 2016-05-05 17:35:28 +02:00
twinaphex 400f50ddac Comment this out for now until we fundamentally fix it 2016-05-05 05:58:40 +02:00
twinaphex a22b99838d Get rid of variable core_context_inited 2016-05-05 05:53:50 +02:00
twinaphex d176f2d48f Try to query context driver about core GL context ability 2016-05-05 05:52:38 +02:00
twinaphex 9d225e388f Add GFX_CTL_GET_FLAGS 2016-05-05 05:49:48 +02:00
twinaphex 8136683ffc (context drivers) Start exposing core GL flag 2016-05-05 05:46:00 +02:00
twinaphex a0425dfb14 (Context drivers) Add get_flags function 2016-05-05 05:35:35 +02:00
twinaphex e482bc7556 (GL) Avoid warning 2016-05-05 02:08:07 +02:00
twinaphex eb2a4f5c56 (GL) Nits 2016-05-05 02:07:33 +02:00
twinaphex 2c77616ec3 (gfx/drivers) Cleanups 2016-05-05 01:59:05 +02:00
twinaphex 1b84895ba0 (GL) Cleanup gl_check_fbo_dimensions 2016-05-05 01:42:08 +02:00
twinaphex d4a322add3 Cleanups 2016-05-05 01:33:54 +02:00
twinaphex 0ad0763413 gl_read_viewport - cleanup 2016-05-05 01:32:35 +02:00
twinaphex 7feac862db (GL) Cleanups 2016-05-05 01:29:52 +02:00
twinaphex 9465a00d4b Create video_frame_convert_rgba_to_bgr 2016-05-04 18:44:39 +02:00
twinaphex 2e20e4bbdb Add header 2016-05-04 17:13:25 +02:00
twinaphex b8e140d6c4 (record_ffmpeg.c) Move scaler code to gfx/video_frame.h 2016-05-04 17:11:22 +02:00
twinaphex bfcc89f580 (SDL) Use video_frame_scale 2016-05-04 16:56:16 +02:00
twinaphex 7b2a2f2336 Create video_frame_scale 2016-05-04 16:44:38 +02:00
twinaphex 2c3ca6efed Move convert frame function to gfx/video_frame.h 2016-05-04 16:34:13 +02:00
twinaphex bf53a939da Create gfx/video_frame.h 2016-05-04 16:32:24 +02:00
twinaphex 83584c84f8 (sdl_gfx.c) Style nit 2016-05-04 04:45:46 +02:00
twinaphex 66b6129e98 Cleanups 2016-05-04 04:43:24 +02:00
twinaphex 3ba02a3786 Cleanups 2016-05-04 04:34:05 +02:00
twinaphex a393d9a75b Cleanups 2016-05-04 04:22:41 +02:00
Twinaphex 51565e6336 (iOS) Avoid some analyze warnings 2016-05-04 04:10:33 +02:00
Twinaphex 54427bd377 (gl_raster_font.c) Avoid another static code analysis warning 2016-05-02 17:10:21 +02:00
Twinaphex 4039bc89d6 (gl_raster_font.c) Cleanups 2016-05-02 17:08:40 +02:00
twinaphex 53fc458795 (Cocoa) Store idiom type inside unsigned variable 2016-05-02 14:53:23 +02:00
Twinaphex fab90f4b96 (iOS) Avoid warning for unhandled CarPlay enum value 2016-05-02 01:55:02 +02:00
twinaphex 61d6fb57e6 Buildfixes 2016-04-28 20:55:26 +02:00
twinaphex 895783d854 Move some variables 2016-04-28 20:49:13 +02:00
twinaphex 65dec874a8 Move some path settings 2016-04-28 19:52:25 +02:00
twinaphex ba415b6d3a Silence warnings 2016-04-27 23:07:36 +02:00
Twinaphex e69c43f2a8 C89_BUILD fixes 2016-04-27 23:03:49 +02:00
twinaphex 15a30dae70 CLeanups 2016-04-27 14:29:28 +02:00
twinaphex b4f4720f51 (Cg) Update Cg simple ribbon courtesy of teepee 2016-04-26 22:11:58 +02:00
twinaphex 7c4df601f8 (Cg) Call gl_cg_set_program_base_attrib for XMB pipeline shaders 2016-04-26 09:16:25 +02:00
Torsten Paul fdd6d26d85 Add uniform lookup for menu shaders.
This fixes the mix-up of parameter assignments for the XMB ribbon shader
which was caused by all 4 uniform locations set to 0.
2016-04-26 00:08:24 +02:00
twinaphex 54c0ca4bf5 C89_BUILD fixes 2016-04-25 13:45:53 +02:00
twinaphex a83e6b3405 (Cg) Cleanups 2016-04-25 13:02:05 +02:00
twinaphex 0a3ca14fde (Cg) Rename cg_data to cg 2016-04-25 12:51:01 +02:00
twinaphex 43943fe794 (Cg) Cleanups 2016-04-25 12:33:38 +02:00
twinaphex d4184df592 (Cg) Call gl_cg_reset_attribs before initializing Cg shader backend 2016-04-25 12:22:55 +02:00
twinaphex 01a9185a2d (Cg) Cleanups 2016-04-25 12:07:23 +02:00
twinaphex 9ff8a3c8e2 (Cg) Cleanups 2016-04-25 11:59:46 +02:00
twinaphex 242e579b89 (Cg/GLSL) Name some variables the same 2016-04-25 10:15:57 +02:00
twinaphex 8cb66dd021 Add way to switch back and forth between shader pipeline 2016-04-24 22:03:39 +02:00
twinaphex b00202a83d (GLES2) Use XMB ribbon simple shader for GLES2 2016-04-24 20:29:42 +02:00
twinaphex d7b3e9cc8f Add old shader versions of XMB ribbon 2016-04-24 20:25:56 +02:00
twinaphex a34ce90940 (d3d_common.cpp) Include d3dx9tex.h instead 2016-04-23 19:09:15 +02:00
twinaphex 6083f850aa (D3D) Buildfix 2016-04-23 19:04:19 +02:00
twinaphex cc7f661f9c (D3D) Buildfixes 2016-04-23 19:02:40 +02:00
Twinaphex 493b6850a5 Use include dir d3d/cg files 2016-04-23 18:19:35 +02:00
twinaphex 33cf9ce023 Add more d3dx9 header files 2016-04-23 18:17:28 +02:00
twinaphex 161b19cb73 Add gfx/include/d3d9 2016-04-23 18:11:22 +02:00
twinaphex d94a0a912c (D3D) Cleanups 2016-04-23 14:17:55 +02:00
twinaphex 7242d8dcf7 Revert "(D3D) Cleanups"
This reverts commit 64559154cf.
2016-04-23 11:34:30 +02:00
twinaphex 64559154cf (D3D) Cleanups 2016-04-23 11:21:38 +02:00
twinaphex 3902a6715a (D3D) Buildfix 2016-04-23 10:22:23 +02:00
twinaphex 38bc378c4d (D3D) Some buildfixes 2016-04-23 10:18:46 +02:00
twinaphex 61a71e91e0 (D3D common) Add C versions of functions 2016-04-23 09:26:38 +02:00
Twinaphex 5a0d656a47 (XMB) Rename noise2 to xmb_noise2 - fixes shader compilation
on OSX
2016-04-23 05:21:40 +02:00
Jean-André Santoni 422c6d8984 (XMB) Ribbon lighting + readability tweaks 2016-04-23 05:24:44 +07:00
twinaphex ce077533c2 (GLSL) Increase attrib array size 2016-04-22 15:22:27 +02:00
twinaphex 99246ae3e8 (Cg) Cleanup 2016-04-22 14:37:11 +02:00
twinaphex 63f0e998db (Cg) Code deduplication cleanups 2016-04-22 14:05:45 +02:00
twinaphex 4250161327 (GLSL/Cg) Simplify some variables 2016-04-22 14:00:30 +02:00
twinaphex f3f6e6ff70 (Cg) Make cg_attribs bigger - would lead to overflows when sending
XMB ribbon to it
2016-04-22 13:27:50 +02:00
twinaphex d9ddb92a90 (egl_common.c) Silence warning 2016-04-22 07:56:32 +02:00
twinaphex 1bbc2f09b5 (courtesy of teepee) Rewrite the ribbon code to use the coordinate
array
2016-04-19 23:00:55 +02:00
Twinaphex 9d0047798d Merge pull request #2874 from aliaspider/master
(3DS) gfx driver: improvements / fixes.
2016-04-18 18:10:40 +02:00
aliaspider 0ffba39280 (3DS) restore state correctly when suspending/exiting app. (fixes #2207) 2016-04-18 16:38:32 +01:00
aliaspider 4f54025a50 (3DS) 3D slider display mode selection tweaks. 2016-04-18 15:55:34 +01:00
aliaspider 0f8895bcc3 (3DS) the parallax layer register can be written to from userland with
GSPGPU_WriteHWRegs.
2016-04-18 15:22:41 +01:00
twinaphex 2d69615f1d Add some compatibility defines for XMB ribbon pipeline shader 2016-04-18 03:56:08 +02:00
twinaphex faa3e3557c Exclude SDL for C89_BUILD 2016-04-18 03:23:47 +02:00
twinaphex 38cc90d0e0 (XMB) Refactor ribbon 2016-04-18 01:52:16 +02:00
Twinaphex 25c2acb98d Merge pull request #2873 from lakkatv/master
(XMB) Fix the ribbon with GLES
2016-04-17 21:58:57 +02:00
Jean-André Santoni 8e4934edae (XMB) Fix the ribbon with GLES 2016-04-18 02:50:48 +07:00
Twinaphex 1b111feb9e Merge pull request #2872 from aliaspider/master
(3DS) add more display modes for the top screen that can be controlled by the 3D slider.
2016-04-17 21:16:07 +02:00
aliaspider 4994de806a (3DS) add more display modes for the top screen that can be controlled
by the 3D slider.
2016-04-17 20:10:21 +01:00
Twinaphex 287fa45e73 Merge pull request #2871 from lakkatv/master
(XMB) Ribbon: use gfx_coords_t, and unhardcode some numbers
2016-04-17 20:11:29 +02:00
Jean-André Santoni 0410d7a59e (XMB) Ribbon: use gfx_coords_t, and unhardcode some numbers 2016-04-18 01:05:27 +07:00
twinaphex 7b3b4de3b9 Ribbon GLSL fragment shader - remove this unused line 2016-04-17 18:25:25 +02:00
twinaphex ec4f961348 (XMB Cg) Ribbon works with Cg now too 2016-04-17 17:59:40 +02:00
aliaspider 1465cf1ffc (3DS) allow setting a start offset in the texture 2016-04-17 15:30:44 +01:00
twinaphex 05f2153549 Change uniform_info's uniform type to unsigned 2016-04-17 16:07:32 +02:00
aliaspider a609a748db (3DS) move shaders to a subdirectory. 2016-04-17 13:27:55 +01:00
aliaspider 27fc306b19 (3DS) refactor shaders. 2016-04-17 13:23:56 +01:00
Twinaphex 66ba52eab0 CXX_BUILD fixes 2016-04-17 07:49:54 +02:00
Twinaphex c8d97d05e7 (shader_glsl.c) Fix warnings 2016-04-17 07:45:37 +02:00
twinaphex ef835f93d5 Change function signature for set_coords 2016-04-17 07:12:48 +02:00
twinaphex 71df73e640 (video_shader_driver.h) Cleanup 2016-04-17 06:17:23 +02:00
twinaphex 58f145282e (XMB) Set uniform to vertex program and add 'add_prefix' to uniform_info struct 2016-04-17 06:11:48 +02:00
twinaphex 6579b5f3c8 Add XMB shader compilation to shader_gl_cg.c 2016-04-17 05:52:26 +02:00
twinaphex 30ade96fc0 Add Cg conversions of XMB ribbon/Zahnrad 2016-04-17 05:48:06 +02:00
twinaphex 641a37ce06 Change some function parameters for gl_ff_matrix/gl_ff_vertex 2016-04-17 05:00:42 +02:00
twinaphex 46b2100132 gl_cg_set_mvp - cleanup 2016-04-17 04:55:58 +02:00
twinaphex 07d28091a2 (GLSL) CLeanups 2016-04-17 04:52:13 +02:00
twinaphex 19367da0ae (GLSL) Cleanups 2016-04-17 04:37:38 +02:00
twinaphex 9386fb2fa0 Move D3D9 HLSL font shader to file 2016-04-17 04:13:23 +02:00
twinaphex e7ab158a3b (Cg) Refactor/cleanups 2016-04-17 03:56:20 +02:00
twinaphex ade309d1f1 (D3D Cg) Cleanups 2016-04-17 03:51:24 +02:00
twinaphex b3220cf53e Move zahnrad shaders to separate files 2016-04-17 02:36:07 +02:00
Twinaphex 8616b21e1f Merge pull request #2869 from aliaspider/master
(3DS) change shader format/assembler
2016-04-17 00:18:00 +02:00
twinaphex e9d16655f0 Create d3d_shaders 2016-04-17 00:16:32 +02:00
twinaphex 02e0be55a8 Move GL stock shader to gfx/drivers/gl_shaders 2016-04-17 00:11:52 +02:00
twinaphex f0f60901ff Move all shader files to header files (gfx/drivers/gl_shaders) 2016-04-17 00:08:45 +02:00
twinaphex 8b6abde2f9 Start moving GL shaders to gfx/drivers/gl_shaders 2016-04-16 23:57:37 +02:00
aliaspider ad0d73d8f0 (3DS) refactor shaders. simplify texture combiner usage. 2016-04-16 22:38:13 +01:00
aliaspider c370afd861 (3DS) start porting shaders to the picasso format. 2016-04-16 20:26:05 +01:00
twinaphex d8de78231b Add SHADER_CTL_SET_PARAMETER 2016-04-16 21:04:13 +02:00
twinaphex 5d6b4d0a56 (GLSL) Refactor more code 2016-04-16 20:41:52 +02:00
twinaphex 3b5c4d963a (shader_glsl.c) Lessen calls to glGetUniformLocation 2016-04-16 20:39:57 +02:00
twinaphex a99dcaa929 (Cg) Get rid of pragma_cg_params 2016-04-16 20:35:08 +02:00
twinaphex 6d7dab2e66 (Cg) Fix Cg named parameter lookup 2016-04-16 20:32:45 +02:00
twinaphex 0b4ae30f6b Fix erroneous loop variable passing 2016-04-16 20:23:55 +02:00
twinaphex 7f9249830a set_uniform_parameter - implement parameter lookup properly 2016-04-16 20:06:18 +02:00
twinaphex 4e63113f72 Cleanups 2016-04-16 19:50:23 +02:00
twinaphex d562bf38cb Cleanups 2016-04-16 19:44:44 +02:00
twinaphex 0b7ee2fcf7 Change callback prototype 2016-04-16 19:41:48 +02:00
twinaphex 1230edf1ee Add callback for setting single uniform parameter 2016-04-16 19:38:35 +02:00
twinaphex ae218cf1a5 Expand uniform_set_parameter functions 2016-04-16 19:29:45 +02:00
twinaphex ad627701da (XMB) Cleanups 2016-04-16 17:57:51 +02:00
twinaphex f45d2db0b1 Change function signature of uniform_set_parameter 2016-04-16 07:39:41 +02:00
Twinaphex ae561de0c8 (Griffin) Buildfixes 2016-04-16 07:32:39 +02:00
Twinaphex 5bba5813cf Cleanups - remove unused variables 2016-04-16 07:27:47 +02:00
twinaphex 87e8c28749 Favoritize GLSL as default shader type when available 2016-04-16 07:24:22 +02:00
twinaphex 92faefbccc (GL) Cleanups - gl_set_shader 2016-04-16 07:19:21 +02:00
twinaphex dfe723c727 gl_shader_init - cleanup 2016-04-16 07:16:32 +02:00
twinaphex 4e041ff3d0 (GL) gl_shader_init - Cleanups 2016-04-16 05:36:09 +02:00
twinaphex 1dfb29ddaf Add video_shader_set_backend 2016-04-16 05:20:41 +02:00
twinaphex 7b88378952 Add params to video_shader_ctx_init 2016-04-16 05:14:39 +02:00
twinaphex 1f7e6690e3 compile_program - if 'program' is NULL, then try to set program
to built-in shader program slot
2016-04-16 04:58:03 +02:00
twinaphex 86cb092b02 Add SHADER_CTL_COMPILE_PROGRAM 2016-04-16 04:56:15 +02:00
twinaphex 79ef0268e5 (Cg) Cleanups 2016-04-16 04:34:32 +02:00
twinaphex 1439b38b20 (Cg shader) Cleanups 2016-04-16 04:31:24 +02:00
twinaphex 2479699131 Cleanups 2016-04-16 01:51:46 +02:00
twinaphex 8a90e2777c Rename GL_SHADER_STOCK_BLEND to VIDEO_SHADER_STOCK_BLEND 2016-04-16 01:50:20 +02:00
twinaphex 9d85afd358 Refactor SHADER_CTL_USE 2016-04-15 07:37:06 +02:00
twinaphex 0f65518118 Add set_active to 'use' function callback for shader driver 2016-04-15 05:08:03 +02:00
twinaphex 934681614f Cleanup 2016-04-15 05:01:32 +02:00
twinaphex 6a39d504e0 Change signature of uniform_set_parameters 2016-04-14 06:24:36 +02:00
twinaphex 7cd10fd707 Start creating stub hlsl_uniform_set_parameter 2016-04-14 03:52:29 +02:00
twinaphex f418c7fde1 Cleanups 2016-04-14 03:41:53 +02:00
twinaphex b9bb75c193 (HLSL) Refactor hlsl_compile_program 2016-04-14 03:38:45 +02:00
twinaphex e61e617e80 (HLSL) Cleanups 2016-04-14 03:20:19 +02:00
twinaphex a2acb0e6f0 Cleanups 2016-04-14 03:16:24 +02:00
twinaphex c6292a38f5 Cleanups 2016-04-14 03:11:13 +02:00
twinaphex 8701af084a (HLSL) Cleanups 2016-04-14 03:09:15 +02:00
twinaphex 5cc1b85f70 (HLSL) Cleanups 2016-04-14 03:06:59 +02:00
twinaphex 930b854272 Refactor compile_programs functions 2016-04-14 01:53:23 +02:00
twinaphex 5f98068e7d Add shader_program_data 2016-04-14 01:33:43 +02:00
twinaphex 90018dbbe0 (Cg) Cleanups 2016-04-14 01:18:27 +02:00
twinaphex 0093e0cbf9 (Cg) Fix state tracker params too 2016-04-14 01:15:16 +02:00
twinaphex 74be1f5906 (Cg) Should fix pragma parameters 2016-04-14 01:12:14 +02:00
twinaphex 511fbcda93 (Shaders) Refactor shader program compiling code 2016-04-13 20:14:25 +02:00
twinaphex 1e9aed1683 Create struct shader_program_info 2016-04-13 20:06:43 +02:00
twinaphex f28c0475b5 (Shaders) Refactors 2016-04-13 19:58:40 +02:00
twinaphex 29495d4973 (Shaders) Cleanups 2016-04-13 19:27:04 +02:00
twinaphex 7321a9431b Cleanup 2016-04-13 18:24:31 +02:00
twinaphex b63a3f8fcc (GLSL) CLeanups 2016-04-13 06:52:36 +02:00
twinaphex f2e3789c8e (GLSL) Update 2016-04-13 06:40:59 +02:00
twinaphex 45d4718406 (GLSL) Refactor/cleanup 2016-04-13 06:40:40 +02:00
twinaphex f7c0225e1a (GLSL) More cleanups 2016-04-13 06:30:00 +02:00
twinaphex 015c166b1d (GLSL) Cleanups 2016-04-13 06:25:49 +02:00
twinaphex 9218d57b9d (GLSL) Cleanups 2016-04-13 06:18:53 +02:00
twinaphex 53dad5bc73 (GLSL) Cleanups 2016-04-13 06:04:29 +02:00
twinaphex edcf3fd1ee Cleanups 2016-04-13 05:11:22 +02:00
twinaphex 49e43dd085 (GLSL) Cleanup 2016-04-13 05:06:24 +02:00
twinaphex ea824bdee1 Start implementing glsl_uniform_set_parameter 2016-04-13 04:44:08 +02:00
twinaphex bf39033bc3 Add 'enabled' attribute to uniform_params 2016-04-13 04:21:17 +02:00
twinaphex c3f77efb2c Prepare new GLSL uniform code 2016-04-13 04:16:49 +02:00
twinaphex c5e4c90e88 (Cg) Flesh out uniform switch 2016-04-13 02:54:01 +02:00
twinaphex 960783987d (GLSL) Rename gl_uniforms and glsl_vbo 2016-04-13 02:36:00 +02:00
twinaphex f68d98a6a4 Move uniform info structs to video_shader_driver.h 2016-04-13 02:31:49 +02:00
twinaphex 928f4e9e65 (Cg) Cleanup 2016-04-13 01:46:29 +02:00
twinaphex df90f233a4 (GL Cg) Refactor uniform param code 2016-04-13 01:42:40 +02:00
twinaphex 5f0aa1852e This needs to be properly refactored later 2016-04-12 17:56:34 +02:00
Jean-André Santoni 64e2f9e2f0 (XMB) Subtler drop shadows 2016-04-09 13:23:59 +07:00
twinaphex 15fa7f9cd1 GFX_CTL_CHECK_WINDOW - prevent null pointer dereferences 2016-04-02 20:53:13 +02:00
Hans-Kristian Arntzen 406f084c4b Vulkan: Set g_inited in Windows. 2016-03-29 18:02:32 +02:00
Hans-Kristian Arntzen e04bbfbae2 Vulkan: Add more logging ... 2016-03-29 17:57:13 +02:00
Hans-Kristian Arntzen c7b96b75b8 Vulkan: Add more error logging. 2016-03-29 17:36:13 +02:00
Hans-Kristian Arntzen 38a305bb6e Vulkan: Add proc address query functions to HW interface.
Allows cores to avoid linking directly against any extra library.
Update HW interface version to 2 to signal ABI change.

Note that the interface is still experimental and can change at any time.
2016-03-29 16:35:31 +02:00
Hans-Kristian Arntzen 02736963bc Vulkan: Implement get_context_data callback in Win32.
Also fix some potential crashes with dinput handling.
2016-03-29 15:50:12 +02:00
Hans-Kristian Arntzen 8ade7fb274 Vulkan: Attempt Windows backend support.
Completely bind since I cannot test myself, but compiles.
2016-03-29 15:50:12 +02:00
Hans-Kristian Arntzen 87a5fd2e44 win32_set_style: Fix broken pointer-to-pointer.
This can't possibly have worked in any sensible way before ...
2016-03-29 15:36:08 +02:00
Hans-Kristian Arntzen 1ff4445ba0 Remove dead code with full_x/full_y.
Very confusing and no longer serves any purpose anyways.
2016-03-29 15:28:13 +02:00
Hans-Kristian Arntzen 8c2664e5fb Vulkan: Add explicit render target format support.
Supports all required formats in Vulkan 1.0 as well as GLES 3.x/GL 3.x
(for future).
2016-03-26 23:49:57 +01:00
Hans-Kristian Arntzen 236200ef63 Vulkan: Add format enum for various possible RT formats.
Include all formats which are required to be supported in Vulkan 1.0 and
GLES 3.x. Not all these formats are supported in GLES2, but that's up to
shaders to decide whether they want to support GLES2 or not.
2016-03-26 22:52:32 +01:00
Hans-Kristian Arntzen 82db5a4950 Vulkan: Use single UBO for all passes and sync indices.
Significantly reduces number of allocations.
2016-03-26 19:39:51 +01:00
Hans-Kristian Arntzen 200b88c3ca Vulkan: Add detection for non-causal filter chains. 2016-03-26 18:27:17 +01:00
Hans-Kristian Arntzen b1bd0f7b7f Ignore known pragmas. 2016-03-26 18:07:59 +01:00
Hans-Kristian Arntzen 7d5eb2bc27 Vulkan: Add pass name handling.
Add #pragma name.
2016-03-26 18:00:09 +01:00
Hans-Kristian Arntzen 21c7ff99d1 Vulkan: Add semantic name remapping.
Will be useful for custom named passes.
2016-03-25 23:15:23 +01:00
Hans-Kristian Arntzen 3838b3c045 Vulkan: Add frame count suport. 2016-03-25 22:06:31 +01:00
Hans-Kristian Arntzen b7b03c531a Vulkan: Use single VBO in filter chain.
No need to have two separate buffers here.
2016-03-25 19:23:58 +01:00
Hans-Kristian Arntzen 939bc70ac6 Vulkan: Properly resize and clear feedback textures. 2016-03-25 19:16:39 +01:00
Hans-Kristian Arntzen ca62f342b0 Vulkan: Fix original history.
Verified to work now.
2016-03-25 18:50:49 +01:00
Hans-Kristian Arntzen 79f5e9ca98 Vulkan: Add logging about feedback/history. 2016-03-25 17:45:30 +01:00
Hans-Kristian Arntzen 92601a0fb8 Vulkan: Set arrayed semantic textures. 2016-03-25 17:39:24 +01:00
Hans-Kristian Arntzen 80df588cf0 Vulkan: Implement feedback/history. 2016-03-25 15:32:04 +01:00
Hans-Kristian Arntzen e35e0e0f23 Vulkan: Nits. 2016-03-25 14:53:47 +01:00
Hans-Kristian Arntzen 83ab0d799f Vulkan: Begin implementing history and feedback. 2016-03-25 14:51:37 +01:00
Hans-Kristian Arntzen 4f3ade1b95 Vulkan: Begin sketching out support for complete filter chain. 2016-03-25 13:26:36 +01:00
twinaphex 1b289c0f05 (libretro-common) Update 2016-03-24 04:23:17 +01:00
twinaphex e41127459e Rename 'filestream' functions 2016-03-24 04:09:25 +01:00
twinaphex 870bce981d (gl.c) Indenting nits 2016-03-24 03:32:00 +01:00
twinaphex 60681195f8 Fix some concurrency bugs 2016-03-24 03:06:03 +01:00
twinaphex 072d6ff125 Rename gfx_coord_array_add to gfx_coord_array_append 2016-03-23 07:01:54 +01:00
twinaphex e1c47a68fe Take prototype declaration out of video_driver.h 2016-03-23 06:57:29 +01:00
Hans-Kristian Arntzen ce34c4bba8 Vulkan: Expose number of components for semantics. 2016-03-23 00:19:24 +01:00
Hans-Kristian Arntzen d5dc50c436 Vulkan: Allow no UBO even if it makes little sense. 2016-03-23 00:19:24 +01:00
Hans-Kristian Arntzen c17755ab1a Vulkan: Default construct slang_reflection instead.
We will use non-POD when dealing with user-defined inputs.
2016-03-23 00:19:24 +01:00
Hans-Kristian Arntzen 2427351afb Vulkan: Log semantic use for debugging. 2016-03-23 00:19:24 +01:00
Hans-Kristian Arntzen 39149b36b2 Vulkan: Clean up semantic parsing a lot.
Split up into two kinds of semantics, textured and not.
2016-03-23 00:19:24 +01:00
twinaphex 61bae588fb Header include changes 2016-03-22 02:45:25 +01:00
twinaphex ca63357b54 (X11) Do not keep appending to suspend screensaver if not available 2016-03-21 19:12:16 +01:00
twinaphex c8f4d97839 Move config_file_userdata outside libretro-common 2016-03-21 18:49:50 +01:00
Hans-Kristian Arntzen f1a5725f66 Vulkan: Host writes are implicitly flushed on submit.
Use TOP_OF_PIPE/0 access instead to work
around spammy asserts on Anvil.

We still have to invalidate the caches however.
2016-03-21 16:57:04 +01:00
Hans-Kristian Arntzen 6add83e3ec Vulkan: Use reflection output for source/original.
Fix some logging messages in reflection.
2016-03-21 16:18:43 +01:00
Hans-Kristian Arntzen dce96d0869 Vulkan: Find OutputSize semantic uniform as well. 2016-03-21 15:31:01 +01:00
Hans-Kristian Arntzen 1822f3bf90 Vulkan: Begin hooking up SPIR-V reflection. 2016-03-21 15:12:12 +01:00
Hans-Kristian Arntzen 72cdd37ad2 Vulkan: Add #include support to slang shaders. 2016-03-21 12:14:11 +01:00
Hans-Kristian Arntzen 5dcb78ea21 Vulkan: Include spir2cross in shader_vulkan.cpp. 2016-03-21 11:56:09 +01:00
Hans-Kristian Arntzen 7899d449e6 Vulkan: Also invalidate fragment uniform buffer 2016-03-21 11:49:27 +01:00
Hans-Kristian Arntzen 840278796e Vulkan: Refactor out common resources in filter chain. 2016-03-21 11:45:59 +01:00
Hans-Kristian Arntzen a21687b5d7 Vulkan: Ensure vertex caches are invalidated. 2016-03-21 10:10:29 +01:00
Hans-Kristian Arntzen fa7eeb57b8 Vulkan: Use 1.0.6.
1.0.2 is pre public release version I think ...
2016-03-21 10:03:15 +01:00
Hans-Kristian Arntzen 84923a0465 Vulkan: Tighten up pipeline barrier usage.
Lots of memory barriers used with TOP_OF_PIPE which is not valid.
2016-03-21 10:02:00 +01:00
Hans-Kristian Arntzen 07524fe433 Vulkan: Log about format use. 2016-03-21 09:29:41 +01:00
twinaphex 1164adb902 (gfx/video_coord_array.c) Cleanups 2016-03-20 17:46:53 +01:00
twinaphex f59e334ceb Cleanups 2016-03-20 17:44:13 +01:00
twinaphex 5c0f4f4ac8 Cleanups 2016-03-20 17:41:28 +01:00
twinaphex ac6362cae4 Combine list_special files 2016-03-20 17:28:24 +01:00
twinaphex 3720cf87e7 Rename retro_file to file_stream 2016-03-20 16:29:14 +01:00
twinaphex 93b7dc1bdd (libretro-common) move 'lists' files to lists/ 2016-03-20 14:53:54 +01:00
twinaphex 70bb4c69f3 CXX_BUILD - silence some warnings 2016-03-20 05:26:16 +01:00
twinaphex 8b4a41155d C89_BUILD buildfixes 2016-03-20 05:24:05 +01:00
twinaphex 34958ec39a (Vulkan) Don't use VK_API_VERSION any more 2016-03-20 03:04:52 +01:00
Alcaro f8c31dd56a No point checking this twice. 2016-03-18 17:19:30 +01:00
Alcaro ba90c4afaf Fix some use-after-free holes. 2016-03-18 17:18:45 +01:00
twinaphex d8ebcde5ec Implement GFX_CTL_SHOW_MOUSE 2016-03-14 14:39:58 +01:00
twinaphex 2e080967b0 Reimplement grab mouse code a bit - we really need to drastically
rewrite this
2016-03-14 14:37:18 +01:00
Alwin Garside 36117750af Merge branch 'master' of https://github.com/libretro/RetroArch 2016-03-13 15:30:41 +01:00
Alwin Garside 97b60b1e20 Fixed emscripten build 2016-03-13 15:30:30 +01:00
twinaphex 8467ce114c (Android) Followup to earlier commit 2016-03-12 08:53:27 +01:00
twinaphex 432d7a358a (Android) Move Android-specific Moto G2 DPI workaround to android graphics context
driver
2016-03-12 08:52:29 +01:00
Jean-André Santoni 0863a8eb84 Reorder static functions in vivante context 2016-03-12 04:29:26 +07:00
Jean-André Santoni a16ce4a146 Fix a typo in mali_fbdev_ctx 2016-03-10 01:50:30 +07:00
twinaphex f79418459f Ability to compile now with --enable-wayland and --disable-x11
defined
2016-03-09 09:21:07 +01:00
Hans-Kristian Arntzen f02faeea27 Vulkan: Fix segfault on nVidia. 2016-03-06 12:33:46 +01:00
Hans-Kristian Arntzen c00d32f30f Vulkan: Get correct window mode size. 2016-03-06 12:18:11 +01:00
Hans-Kristian Arntzen 6cde59a8ad Vulkan: Add more detailed counters. 2016-03-06 12:11:44 +01:00
Hans-Kristian Arntzen e6fb3c3a1c Update Vulkan headers. 2016-03-06 11:31:30 +01:00
Hans-Kristian Arntzen ebdb7168ed Vulkan: Clean up symbol loading.
Should use GetDeviceProcAddr when appropriate.
2016-03-06 11:27:36 +01:00
Twinaphex e0d7c25ea0 Add gfx_coord_array_resize 2016-03-05 09:43:15 +01:00
twinaphex eebcde721b Rename video_coord_array 2016-03-05 07:28:02 +01:00
twinaphex 64a77af881 Use RARCH_DISPLAY_CTL_HW_CONTEXT_GET directly instead of
going through video_driver_callback
2016-03-04 20:49:55 +01:00
twinaphex a9d29041a3 (gfx/video_driver.c) Cleanup 2016-03-04 20:14:53 +01:00
twinaphex e9a0aba85b Silence bunch of warnings and fix an error 2016-03-04 19:42:30 +01:00
twinaphex 90fbc6330c Create RARCH_DISPLAY_CTL_SET_TITLE_BUF 2016-03-04 19:38:15 +01:00
twinaphex 05ce32efe4 Add RUNLOOP_CTL_FORCED_NONBLOCK_{} actions 2016-03-04 19:20:00 +01:00
twinaphex fe9ad4825d (gfx/video_driver.c) Cleanups 2016-03-04 19:12:54 +01:00
twinaphex 418c5cbb76 (Win32) Buildfix 2016-03-04 05:01:49 +01:00
twinaphex 6d4212ca06 Check OS version before going down screensaver path 2016-03-04 04:51:57 +01:00
twinaphex 414c63b59a (VG) Silence some warnings
(Libretro-common) Add some headers
2016-03-02 23:09:31 +01:00
Christopher Bransden 2d0c02d21e Fix compilation error:
gfx/drivers_context/vc_egl_ctx.c:591:13: error: static declaration of ‘gfx_ctx_vc_set_swap_interval’ follows non-static declaration
gfx/drivers_context/vc_egl_ctx.c:312:4
2016-03-02 21:31:56 +00:00
twinaphex 0f8e31cad3 (iOS) Use -1 instead of UIUserInterfaceIdiomUnspecified for backwards
compatibility
2016-03-02 17:25:13 +01:00
twinaphex 7d0205deac (vulkan_common.c) Add log error when vkCreateInstance fails 2016-03-02 03:13:31 +01:00
twinaphex 6f80e09ce1 Change MIN/MAX to upper-case 2016-03-02 00:07:31 +01:00
twinaphex 702d4f9e3a (Android) Buildfix 2016-03-01 22:26:57 +01:00
twinaphex efb1c88215 (opendingux_fbdev_ctx.c) Another ifdef 2016-03-01 22:23:40 +01:00
twinaphex f3cc1a9b59 (opendingux_fbdev_ctx.c) More HAVE_EGL ifdefs 2016-03-01 22:23:17 +01:00
twinaphex ac584330bb (Android) Bugfix 2016-03-01 21:58:35 +01:00
twinaphex 1b0a9d0b1d Backport Opendingux/GCW Zero patches courtesy of gama.coder 2016-03-01 21:50:23 +01:00
twinaphex d2645e9087 Add more glslang include dirs 2016-03-01 19:19:39 +01:00
twinaphex 77001a5577 (Android) More preparation for Vulkan 2016-03-01 18:59:12 +01:00
twinaphex 86a8899b0f (Android) Start preparing Android JNI Makefiles for Android 2016-03-01 18:46:40 +01:00
twinaphex c44107949d (Vulkan) Pass width and height to vulkan_surface_create 2016-03-01 18:35:41 +01:00
twinaphex 5f125bc1f6 (Android) Only need to pass window for Android 2016-03-01 18:22:17 +01:00
twinaphex eaa0b08bc2 (Android) Hook up Vulkan for gfx_ctx_bind_api 2016-03-01 18:21:09 +01:00
twinaphex b8c1e31c13 (Android/Vulkan) Start hooking up Vulkan for Android context driver 2016-03-01 18:16:22 +01:00
twinaphex 81690601c0 (gl_raster_font.c) Fix some race issues 2016-03-01 17:24:33 +01:00
Themaister bce0d55a43 Vulkan: Allocate correct number of descriptors.
Have to allocate for entire pool, not per set.
2016-03-01 09:44:18 +01:00
twinaphex dc12f07a55 (mali_fbdev) Add some ifdefs 2016-03-01 07:17:57 +01:00
twinaphex 59ed4b939f Cleanups 2016-03-01 07:09:55 +01:00
twinaphex 47fddf28e5 (Emscripten context) Cleanups 2016-03-01 07:07:56 +01:00
twinaphex 32c4f13761 (XEGL) Add HAVE_VG ifdefs 2016-03-01 06:56:41 +01:00
twinaphex e938be3747 Have to rewrite EGL context code 2016-03-01 06:49:05 +01:00
twinaphex ae6302ede2 (Android EGL context) Add missing break 2016-03-01 05:09:07 +01:00
twinaphex 00741d06fb Add android_gfx_ctx_bind_hw_render 2016-03-01 05:08:18 +01:00
twinaphex c5667d8253 (Android EGL context) Refactor more code 2016-03-01 05:07:11 +01:00
twinaphex 2480181469 (Android) Add android_api variable 2016-03-01 04:53:48 +01:00
twinaphex 481196c55c Add some more ifdefs 2016-03-01 04:19:33 +01:00
twinaphex f8f2f7d03c Rename androidegl_ctx.c to android_ctx.c 2016-03-01 04:18:43 +01:00
twinaphex 0ec1c5ade5 Start adding HAVE_OPENGLES ifdefs to androidegl_ctx.c 2016-03-01 04:17:02 +01:00
twinaphex de27720044 We don't need to link against libvulkan.so implicitly anymore 2016-03-01 02:47:16 +01:00
twinaphex b0834a0f17 Remove this 2016-03-01 02:22:25 +01:00
twinaphex b79edb6095 Reimplement function pointers 2016-03-01 02:21:53 +01:00
twinaphex 937230564d move more code to vksym.h 2016-03-01 01:53:48 +01:00
twinaphex a6048b4218 Add vksym.h 2016-02-29 23:38:49 +01:00
twinaphex 7a907a97a7 Start preparing to split this code up 2016-02-29 23:31:51 +01:00
twinaphex 9a10ef5591 (Vulkan) Add more Vulkan function pointers 2016-02-29 23:28:12 +01:00
twinaphex 860b7fde62 (Vulkan) Add DeviceWaitIdle function pointer 2016-02-29 23:25:25 +01:00
twinaphex 1d9220d9d1 (Vulkan) Add vkCmdBindVertexBuffers function pointer 2016-02-29 23:22:56 +01:00
twinaphex c8b9bb609f (Vulkan) More image function pointers 2016-02-29 23:19:23 +01:00
twinaphex 30eac5b778 (Vulkan) Add vkDestroyDescriptorPool fp 2016-02-29 23:13:13 +01:00
twinaphex 6023a5f06e Add vkAllocateDescriptorSets fp 2016-02-29 23:11:00 +01:00
twinaphex 4a1a623099 (Vulkan) Add more funcptrs 2016-02-29 23:09:05 +01:00
twinaphex 0e60d20705 Add Command Function pointers 2016-02-29 23:04:17 +01:00
twinaphex 67ea4e1d6b (Vulkan) Pipeline function pointers 2016-02-29 22:55:31 +01:00
twinaphex 1fbac78e35 (Vulkan) Go through function pointer for vkDestroyPipelineCache 2016-02-29 22:38:58 +01:00
twinaphex a7df7be64b Add vkAllocateMemory/vkFreeMemory 2016-02-29 22:36:53 +01:00
twinaphex a53e7a5437 (Vulkan) Add pipeline barrier function pointer 2016-02-29 22:30:23 +01:00
twinaphex bd96ab3585 (vulkan_common.c) Cleanups 2016-02-29 22:26:20 +01:00
twinaphex 1b85ee442f Go through funcptr for vkAllocateCommandBuffers 2016-02-29 22:23:35 +01:00
twinaphex 83dc7db6c7 (Vulkan) Add descriptor set layout function callbacks 2016-02-29 22:04:23 +01:00
twinaphex caed6c61cb (Vulkan) Function pointer for vkFreeCommandBuffers 2016-02-29 21:58:10 +01:00
twinaphex 1e407079e4 Add function pointers for image view functions 2016-02-29 21:55:54 +01:00
twinaphex a6eb40b3d2 Add funcptr for vkAllocateCommandBuffers 2016-02-29 21:51:42 +01:00
twinaphex 4771c45ed3 Add render pass command function pointers 2016-02-29 21:43:04 +01:00
twinaphex 7f5d0f2763 (Vulkan) More function pointers for command buffer functions 2016-02-29 21:37:35 +01:00
twinaphex 860ffff3c9 (Vulkan) Go through funcptr for vkEndCommandBuffer 2016-02-29 21:31:51 +01:00
twinaphex a1c8a47665 (Vulkan) Go through funcptr for vkDestroyInstance 2016-02-29 21:27:18 +01:00
twinaphex c62971042d (Vulkan) Cleanups 2016-02-29 21:20:36 +01:00
twinaphex eae652d6a5 Go through funcptr for vkDestroyCommandPool 2016-02-29 21:17:21 +01:00
twinaphex 8232135922 Cleanups 2016-02-29 20:08:56 +01:00
twinaphex e669f92399 (Vulkan) Cleanups 2016-02-29 20:07:11 +01:00
twinaphex 3b9552bd36 (vulkan_raster_font.c) Style nits 2016-02-29 20:02:44 +01:00
twinaphex 8a06e27c22 (Vulkan) Cleanups 2016-02-29 19:44:46 +01:00
twinaphex 59ad8fcfde (Vulkan) Cleanups 2016-02-29 19:43:54 +01:00
twinaphex f0458495f4 Go through funcptr for vkDestroyPipeline 2016-02-29 19:41:25 +01:00
twinaphex d45f0e0946 Some cleanups 2016-02-29 19:39:49 +01:00
twinaphex 670eede306 Go through function pointer for vkCmdClearAttachments 2016-02-29 19:34:40 +01:00
twinaphex ae5d7849af (shader_vulkan.cpp) Don't have to include general.h for this 2016-02-29 19:23:51 +01:00
twinaphex fc7a972466 Go through function pointers for vkMapMemory/vkUnmapMemory 2016-02-29 19:20:42 +01:00
twinaphex 28d5ca6a86 (Vulkan) Style nits 2016-02-29 19:16:21 +01:00
twinaphex b660fb8878 Create sampler function pointers 2016-02-29 19:11:09 +01:00
twinaphex 0e91bb6852 Go through more function pointers 2016-02-29 19:03:18 +01:00
twinaphex dfde6f833a (Vulkan) Nits 2016-02-29 18:46:17 +01:00
twinaphex 1d96e80b05 (Vulkan) More funcptrs 2016-02-29 18:40:30 +01:00
twinaphex fbf527eac2 (vulkan_common.c) Style nits 2016-02-29 18:24:12 +01:00
twinaphex ef93f92ea2 Cleanups 2016-02-29 17:22:57 +01:00
twinaphex a8ccf2531d Cleanups 2016-02-29 17:21:40 +01:00
twinaphex e6da374bb5 Cleanups 2016-02-29 17:18:28 +01:00
twinaphex a4c9d02953 Add DestroyImage funcptr 2016-02-29 17:16:01 +01:00
twinaphex 874b5b7e17 Go through more funcptrs 2016-02-29 17:13:13 +01:00
twinaphex 8fd280967b Go through funcptr 2016-02-29 17:08:25 +01:00
twinaphex 5863996d83 Go through VKFUNC 2016-02-29 17:06:41 +01:00
twinaphex 8f69470c25 Go through VKFUNC macro 2016-02-29 17:00:08 +01:00
twinaphex d6005c224c Go through VKFUNC 2016-02-29 16:55:50 +01:00
twinaphex 6836b5f868 vkCreateImage - go through funcptr 2016-02-29 16:48:55 +01:00
twinaphex 3677144d18 Start going through VKFUNC 2016-02-29 16:47:21 +01:00
twinaphex 6c9e8041c6 Add function pointer for vkCreateCommandPool 2016-02-29 16:41:49 +01:00
twinaphex 6dce80ea07 Add function pointers for vkCreatePipelineCache and vkCreatePipelineLayout 2016-02-29 16:37:15 +01:00
twinaphex 778b50fc28 Add funcptr for vkCreateFramebuffer 2016-02-29 16:32:34 +01:00
twinaphex 361cce328d vkCreateRenderPass - add funcptr 2016-02-29 16:30:45 +01:00
twinaphex 277e2977ff (Vulkan) Add function pointer to vkDestroyDevice 2016-02-29 16:28:12 +01:00
twinaphex 4248e244a8 Go through funcptr for vkCmdCopyImage 2016-02-29 06:52:08 +01:00
twinaphex 01f5a7ad84 Go through vkQueueWaitIdle function pointer 2016-02-29 06:31:55 +01:00
twinaphex 89ee08214d We need to grab a function pointer to vkCmdDraw later after
vkCreateDevice
2016-02-29 06:21:42 +01:00
twinaphex be5333371b (Vulkan) More funcptrs 2016-02-29 06:16:31 +01:00
twinaphex bfd38e171b (Vulkan) More Vulkan funcptrs 2016-02-29 05:57:38 +01:00
twinaphex 3abea50cbf Move function pointers to vulkan_context 2016-02-29 05:49:05 +01:00
twinaphex 2a621a8424 Go through vkEnumeratePhysicalDevices funcptr 2016-02-29 05:37:37 +01:00
twinaphex cf03851cc8 Add vkGetDeviceQueue funcptr 2016-02-29 05:37:37 +01:00
twinaphex 5e970637d4 (Vulkan) Add more function pointers 2016-02-29 05:32:10 +01:00
twinaphex 25d741e26a Start setting up more function pointers 2016-02-29 04:21:08 +01:00
twinaphex 82f5d917f0 Start trying to roll our own Vulkan loader based on PPSSPP
approacha
2016-02-29 03:14:17 +01:00
twinaphex a8185f0b81 Cleanups 2016-02-29 02:54:46 +01:00
twinaphex b4e872476b Prevent some more crashes 2016-02-29 02:09:10 +01:00
twinaphex 4f1ab1f9c3 (gl_raster_font.c) Add early return in case gl pointer is NULL 2016-02-29 01:54:54 +01:00
twinaphex 65b628cf20 Cover more edge cases for crashes initiated by Zarch 2016-02-29 01:49:58 +01:00
twinaphex 09f2b64c1f gl_render_overlay -add early return 2016-02-29 01:43:40 +01:00
twinaphex 34f3963e4e Simplify RUNLOOP_CTL_IS_SLOWMOTION 2016-02-29 01:33:14 +01:00
twinaphex 6fbad68561 (gl.c) Cleanup 2016-02-29 01:29:49 +01:00
twinaphex 7d346d627f Robustness fixes 2016-02-29 01:22:39 +01:00
twinaphex ca497533db Fix C89_BUILD warning 2016-02-28 22:47:46 +01:00
Monroe88 a669039523 Add option for menu linear filter 2016-02-27 17:30:12 -06:00
twinaphex ac3cb48302 (VG) Style nits 2016-02-26 17:36:39 +01:00
twinaphex d9b86c4f6b Remove stub xshm video driver for now 2016-02-26 17:29:35 +01:00
twinaphex 2746bf0cb1 (xvideo.c) Cleanups 2016-02-26 17:26:26 +01:00
twinaphex 94b8e8820e (xvideo.c) Style nits 2016-02-26 17:24:36 +01:00
Twinaphex ea2094126b (iOS) Buildfix(iOS) Buildfix(iOS) Buildfix(iOS) Buildfix(iOS) Buildfix(iOS) Buildfix(iOS) Buildfix(iOS) Buildfix(iOS) Buildfix 2016-02-26 14:25:57 +01:00
Twinaphex 7e641b7274 (OSX) Silence deprecation warnings 2016-02-26 13:44:45 +01:00
twinaphex 4dfed7e930 Cast to NSOpenGLContext * 2016-02-26 13:39:01 +01:00
twinaphex dcefb740f2 Create glcontext_get_ptr 2016-02-26 13:36:12 +01:00
twinaphex c4b80e0e44 Fix CXX_BUILD - doesn't like a variable being named 'template' 2016-02-23 17:11:30 +01:00
Alcaro 7a6463a300 Add escape hatch if rarch (or the core) is in an infinite loop. 2016-02-23 16:11:39 +01:00
Alcaro 04ac09f579 One thing less to worry about when copypasting this, less risk of repeating 2d5e10e840. 2016-02-23 16:08:57 +01:00
Alcaro f8452e23c8 Don't use uninitialized variables. 2016-02-23 16:06:37 +01:00
FIX94 1ed54b8683 Merge branch 'master' of https://github.com/FIX94/RetroArch 2016-02-23 03:40:40 +01:00
FIX94 4f48e61b98 (GX) allow all resolutions to use aspect ratio settings and allow custom viewport x and y to use as much of the screen as possible while making sure to keep the system screen position in mind 2016-02-23 03:40:14 +01:00
twinaphex 6f6ba98576 (DRM) Add more HAVE_EGL ifdefs 2016-02-23 01:34:28 +01:00
twinaphex ffd94d3ac0 We cannot rely on vulkan_intel.h being available, so just
include its contents inside vulkan_common.h
2016-02-23 01:24:15 +01:00
twinaphex 6429bb6a40 (X context) rename g_api to x_api 2016-02-22 13:29:32 +01:00
twinaphex e688770e64 (SDL GL Ctx) Rename g_api to sdl_api 2016-02-22 13:26:26 +01:00
twinaphex f8a2014b7e (DRM) Rename g_drm to drm 2016-02-22 13:25:48 +01:00
twinaphex aa4015837f (DRM) DRM context driver should compile now without OpenGL 2016-02-22 13:04:34 +01:00
twinaphex d537b6ee9f Rename some files 2016-02-22 13:01:16 +01:00
twinaphex 1a5d2ce85c Start divorcing DRM context from EGL 2016-02-22 12:59:13 +01:00
twinaphex 85804838ad (DRM) More refactors 2016-02-22 12:56:16 +01:00
twinaphex 09fba6016b (DRM) Cleanups 2016-02-22 12:50:45 +01:00
twinaphex 034f1769c9 (DRM) Cleanups 2016-02-22 12:43:18 +01:00
twinaphex cc622b6905 Start getting rid of 'egl' namespace conventions in drm_egl context
driver
2016-02-22 12:37:38 +01:00
twinaphex ef1feca097 Some C89_BUILD fixes 2016-02-22 12:25:41 +01:00
twinaphex 47b34b38d2 (DRM) More HAVE_EGL ifdefs 2016-02-22 12:10:23 +01:00
twinaphex 7da0739b61 Get rid of global g_egl_api now too 2016-02-22 11:54:55 +01:00
twinaphex 22a677b3a8 Don't use egl_common's 'api' variable anymore 2016-02-22 11:54:19 +01:00
twinaphex fd7a62f5ca (Wayland) Context driver doesn't use egl api anymore 2016-02-22 11:48:17 +01:00
twinaphex a8a871bd4e (DRM) Create drm_api 2016-02-22 11:47:18 +01:00
twinaphex e4935d490c (DRM) Uses its own sighandler and atomic quit variable 2016-02-22 11:46:08 +01:00
twinaphex 3bebc2284f DRM gets its own interval variable inside data struct 2016-02-22 11:42:36 +01:00
twinaphex b421bdf687 (drm_egl_ctx.c) More ifdefs 2016-02-22 11:37:37 +01:00
twinaphex eceadcde2b (drm_egl_ctx.c) Add HAVE_EGL/HAVE_OPENGL ifdefs 2016-02-21 23:49:50 +01:00
Hans-Kristian Arntzen c4104ae37c Wayland: Add metrics support. 2016-02-21 22:04:56 +01:00
Hans-Kristian Arntzen 52a515f0d3 Wayland: Add HiDPI awareness. 2016-02-21 21:35:06 +01:00
Hans-Kristian Arntzen cece4e5ae2 Vulkan: Add workaround for broken VkImageView swizzling.
Certain early drivers fail to apply swizzle mask.
2016-02-21 13:52:30 +01:00
Hans-Kristian Arntzen f09338b1b8 Set alphaBlendOp correctly. 2016-02-21 13:40:19 +01:00
Hans-Kristian Arntzen 6e7f1371dd Vulkan: Fix scenario where we limit the number of frames too much. 2016-02-21 13:03:26 +01:00
Hans-Kristian Arntzen 9e060bf088 Fix STATIC texture upload. 2016-02-21 13:01:53 +01:00
Hans-Kristian Arntzen 0dddd671f8 Vulkan: Use more approriate barrier 2016-02-21 12:59:11 +01:00
Hans-Kristian Arntzen 4259ea3d06 Merge branch 'master' of git://github.com/libretro/RetroArch 2016-02-21 12:45:26 +01:00
Hans-Kristian Arntzen 36eb07e067 Vulkan: Use copy paths if needed. 2016-02-21 12:33:16 +01:00
twinaphex 254e0bbd90 vulkan_common.h - style nits 2016-02-21 10:11:35 +01:00
twinaphex f462954609 Style nits pt. 2 2016-02-21 10:09:41 +01:00
twinaphex 8ce2665383 Style nits 2016-02-21 10:08:36 +01:00
twinaphex 5f50034514 Refactor gfx_ctx_x_bind_api 2016-02-20 20:47:06 +01:00
twinaphex fbc7eaf287 (vulkan.c) Style nits 2016-02-20 20:29:52 +01:00
twinaphex 1426cf7fb2 (vulkan.c) Style nits 2016-02-20 20:15:46 +01:00
twinaphex 25c1c6202f Silence warning 2016-02-20 19:46:35 +01:00
twinaphex 9aeceadee6 Style nits for header 2016-02-20 16:37:59 +01:00
twinaphex 4bb3f35a02 80-char width limit style nits 2016-02-20 16:36:54 +01:00
Hans-Kristian Arntzen 8550c16f86 Always try to use cached memory if we can for linear textures.
Should improve cores which use SOFTWARE_FRAMEBUFFER.
2016-02-20 15:17:25 +01:00
Hans-Kristian Arntzen b61c05e10f Log the number of swapchain images we get. 2016-02-20 14:24:36 +01:00
Hans-Kristian Arntzen 111c37832a Make sure we get a queue which also supports compute.
Graphics + Compute queue must be supported.
2016-02-20 14:20:17 +01:00
Hans-Kristian Arntzen fa449646e9 Bug fixes for Vulkan readback.
We were getting weird and inconsistent viewport sizes back.
2016-02-20 14:04:33 +01:00
Hans-Kristian Arntzen bcac4a204f Vulkan: Set initial viewport after keep_aspect is correct.
Fixes fullscreen recording.
2016-02-20 13:46:20 +01:00
Hans-Kristian Arntzen 5542427246 Try to use cached memory for readbacks.
Speeds up nVidia readbacks by order of magnitude.
2016-02-20 12:04:53 +01:00
Hans-Kristian Arntzen 459c55989a Use vkCmdCopyImage for readbacks.
Blits often imply render targets.
2016-02-20 11:21:39 +01:00
twinaphex dbe6bc5cfb Move wayland context driver up the context driver foodchain,
should hopefully have Gnome Wayland default to it instead of the
slower X11/XCB context
2016-02-20 09:23:17 +01:00
twinaphex 481fa56f2c Move some code 2016-02-20 06:36:32 +01:00
twinaphex fde9f1ce2c Start making GL optional (previously we assumed pretty much - hardware
context = GL) Still have the issue where the menu driver auto-switches
back to rgui instead of glui/xmb
2016-02-20 06:16:34 +01:00
twinaphex 9bc889b908 Add improved preprocessor conditionals for x context 2016-02-20 05:50:37 +01:00
twinaphex 11c1535fe3 Rename glx context driver to x 2016-02-20 05:48:45 +01:00
Hans-Kristian Arntzen 4540369fcb Use correct cast for WSI_XLIB. 2016-02-19 22:25:51 +01:00
Hans-Kristian Arntzen 0bcdf6ebe0 More properly enumerate GPUs.
Just pick the first one for now.
2016-02-19 21:55:11 +01:00
Hans-Kristian Arntzen 88ec0f522b Vulkan: Add Vulkan backend to GLX context.
Also fixes some snags with libretro-test-vulkan.
2016-02-19 21:37:24 +01:00
Hans-Kristian Arntzen 1b5cc1ca9c Fix some types for WSI. 2016-02-19 19:50:04 +01:00
twinaphex d6906ee7df (xcb) Buildfix 2016-02-19 15:43:12 +01:00
twinaphex 11831a8b47 move shareable vulkan initialization code to vulkan_common.c 2016-02-19 14:38:15 +01:00
twinaphex 5cb0aa51c0 Add includes to vulkan_common.h 2016-02-19 14:26:45 +01:00
twinaphex e1a1843edc Start moving code to vulkan_common.h 2016-02-19 14:23:51 +01:00
twinaphex 2d5e10e840 Fix this 2016-02-19 13:17:03 +01:00
twinaphex 140d65b994 Setup specific WSI extensions 2016-02-19 13:11:30 +01:00
twinaphex 7ec1a6836c (Vulkan WSI) Add Mir bits (we don't have Mir context driver yet
but whatever, add them all)
2016-02-19 13:06:38 +01:00
twinaphex 50efe142b9 Go through function pointers 2016-02-19 13:03:35 +01:00
twinaphex eb1fe0476d Start implementing xlib/xcb bits (for when these context drivers
get added)
2016-02-19 12:46:42 +01:00
twinaphex 14d39be698 Move code around 2016-02-19 12:30:18 +01:00
twinaphex 72fed0d871 Add VULKAN_WSI_MIR (for when we ever get around to adding Mir support) 2016-02-19 12:24:20 +01:00
twinaphex cebefa6ae1 Refactor vulkan_surface_create 2016-02-19 12:23:16 +01:00
twinaphex db074e1c1a Start implementing more WSI variants 2016-02-19 12:15:16 +01:00
twinaphex 353c421a5c Add function pointer for vkCreateAndroidSurfaceKHR 2016-02-19 12:08:34 +01:00
twinaphex 6fcd097e4c Start setting up vulkan_init_context for multiple WSI types 2016-02-19 12:04:56 +01:00
twinaphex 1c412eea5a Start adding preliminary implementation for vulkan_surface_create 2016-02-19 12:00:52 +01:00
twinaphex 96c9687a8a Create vulkan_surface_create 2016-02-19 11:55:57 +01:00
twinaphex 98990d6afc Add more WSI enum types 2016-02-19 11:50:25 +01:00
twinaphex 7205d76ab0 Cleanups 2016-02-19 11:36:46 +01:00
twinaphex c105fb22f3 Style nits 2016-02-19 11:29:15 +01:00
twinaphex a61536ffdc More refactors - create vulkan_destroy_context 2016-02-19 11:12:43 +01:00
twinaphex 6be1453d9c Create vulkan_init_context 2016-02-19 11:04:51 +01:00
twinaphex 50a605e9db Cleanups 2016-02-19 10:54:00 +01:00
twinaphex 1165d1c0b7 Create gfx_ctx_vulkan_data_t 2016-02-19 10:35:59 +01:00
twinaphex 02e3d6eba7 Only one Wayland context driver now 2016-02-19 07:58:14 +01:00
Hans-Kristian Arntzen c74c7ae053 Vulkan: Work around broken push constants on Ivy Bridge.
Use UBOs instead, should be more compatible with early drivers.
2016-02-18 18:36:49 +01:00
Hans-Kristian Arntzen a1ae86a808 Remove obsolete shaders. 2016-02-18 18:36:49 +01:00
twinaphex 0b85951abe (Wayland context) Cleanup some defines 2016-02-18 07:40:13 +01:00
twinaphex a21444fc9a (Wayland ctx) More improvements to Vulkan support 2016-02-18 07:29:20 +01:00
twinaphex f5c5c82729 Add extra conditionals for all possible usecases (HAVE_EGL/HAVE_OPENGL/HAVE_OPENGLES/etc) 2016-02-18 07:18:58 +01:00
twinaphex bd672b8b72 Add vulkan path in registry_handle_global 2016-02-18 05:31:24 +01:00
twinaphex 620fbe8976 Forgot to set this 2016-02-18 00:20:23 +01:00
twinaphex eeada0c458 Start making general-purpose Wayland context driver that could work
for both Vulkan and EGL/GL
2016-02-17 23:22:54 +01:00
twinaphex 56a14ffc3c Start adding HAVE_OPENGL/HAVE_VG ifdefs 2016-02-17 22:20:43 +01:00
twinaphex 51a94d6ac7 Remove unix_common 2016-02-17 22:09:37 +01:00
twinaphex 17e5e57bed Add unix_common 2016-02-17 08:01:30 +01:00
twinaphex a539a6512b (D3D) Buildfix 2016-02-17 02:25:24 +01:00
twinaphex 2e853b3f04 Another ifdef 2016-02-17 01:24:38 +01:00
twinaphex 22452f6cb2 Ifdef hw_render_context_is_vulkan 2016-02-17 01:23:55 +01:00
Hans-Kristian Arntzen adbf9fed16 Vulkan implementation. 2016-02-16 20:42:02 +01:00
twinaphex f8b866c8c1 Combine file_ops.c and content.c 2016-02-15 21:49:29 +01:00
twinaphex 0784608604 Buildfix 2016-02-14 22:23:30 +01:00
twinaphex 954ac39b91 Create SHADER_CTL_GET_PREV_TEXTURES 2016-02-14 22:22:40 +01:00
twinaphex 5a2816c6da Remove unused functions
t# Please enter the commit message for your changes. Lines starting
2016-02-14 22:18:46 +01:00
twinaphex e790b503d9 Add SHADER_CTL_GET_IDENT 2016-02-14 22:17:00 +01:00
twinaphex debb5dd0ce Add SHADER_CTL_GET_CURRENT_SHADER 2016-02-14 22:13:21 +01:00
twinaphex 38034abce6 Add SHADER_CTL_DIRECT_GET_CURRENT_SHADER 2016-02-14 21:55:19 +01:00
twinaphex 46b963619a Create SHADER_CTL_WRAP_TYPE 2016-02-14 21:41:16 +01:00
twinaphex bd74390cde Add SHADER_CTL_USE 2016-02-14 20:01:39 +01:00
twinaphex b4dcbb235f Add SHADER_CTL_FILTER_TYPE 2016-02-14 19:51:32 +01:00
twinaphex 37c2b47915 Add SHADER_CTL_SET_MVP 2016-02-14 19:43:47 +01:00
twinaphex 02ec7830d9 Create SHADER_CTL_INFO 2016-02-14 19:30:48 +01:00
twinaphex cdd6684bb9 Create SHADER_CTL_SCALE 2016-02-14 19:21:54 +01:00
twinaphex 47cf62cdbd Header cleanups 2016-02-14 19:01:37 +01:00
twinaphex 6c1b96f50d Add SHADER_CTL_SET_COORDS 2016-02-14 18:59:42 +01:00
twinaphex 20441299e1 Add SHADER_CTL_MIPMAP_INPUT 2016-02-14 18:48:17 +01:00
twinaphex fab6903522 Create SHADER_CTL_INIT 2016-02-14 18:41:45 +01:00
twinaphex 8c867394a0 Cleanups 2016-02-14 18:23:47 +01:00
twinaphex 678cabc48c Add SHADER_CTL_DEINIT 2016-02-14 18:22:38 +01:00
twinaphex 7c4b372208 Add SHADER_CTL_GET_FEEDBACK_PASS 2016-02-14 18:19:48 +01:00
twinaphex fe3c3f5203 Create SHADER_CTL_INIT_FIRST 2016-02-14 18:17:43 +01:00
twinaphex f906e828ba Add SHADER_CTL_SET_PARAMS 2016-02-14 18:14:51 +01:00
twinaphex 8b714895a8 Create video_shader_driver_ctl 2016-02-14 18:12:42 +01:00
twinaphex f9824dd53e Simplify video_shader_driver_set_params 2016-02-14 18:09:12 +01:00
twinaphex 3f265360db Style nits 2016-02-14 17:40:20 +01:00
twinaphex 5e1f289cd4 80-char width limit, style nits 2016-02-14 17:02:55 +01:00
twinaphex 57c4db4338 Style nits 2016-02-14 16:59:21 +01:00
twinaphex cbf84b8d6e Style nits 2016-02-14 16:39:27 +01:00
twinaphex 64e891124c (ps3_ctx.c) Cleanups 2016-02-14 16:36:06 +01:00
twinaphex b0995e6eee (GLX) 80-char width limit style nits 2016-02-14 16:34:31 +01:00
twinaphex e842ebbfc4 80-char width limit style nits 2016-02-14 16:31:39 +01:00
twinaphex 602c40c228 (bbqnx) Style nits 2016-02-14 16:29:58 +01:00
twinaphex 5b581e70ba 80-char width limit style nits 2016-02-14 16:27:29 +01:00
twinaphex c2d7b330aa vg.c - buildfix 2016-02-14 16:15:01 +01:00
twinaphex 76f7114b47 Remove duplicate prototype 2016-02-14 05:44:10 +01:00
twinaphex f1a572822b Create RARCH_DISPLAY_CTL_VIEWPORT_INFO 2016-02-14 05:42:27 +01:00
twinaphex d078682a3c Add RARCH_DISPLAY_CTL_GET_CURRENT_SOFTWARE_FRAMEBUFFER 2016-02-14 05:31:33 +01:00
twinaphex 4fcb1469cc Cleanups 2016-02-14 05:26:17 +01:00
twinaphex 4941cd7dbd gl_ff_vertex - avoid glLoadIdentity 2016-02-14 03:47:33 +01:00
twinaphex 9f26e3bc69 Move static local variables to gfx_ctx_ctl - and other cleanups 2016-02-14 02:30:24 +01:00
twinaphex 68969d1363 Add GFX_CTL_GET_VIDEO_SIZE 2016-02-14 02:26:20 +01:00
twinaphex bcaf08ad2d Add GFX_CTL_SET_RESIZE 2016-02-14 02:15:43 +01:00
twinaphex 5516ff05b5 Create GFX_CTL_SET_VIDEO_MODE 2016-02-14 02:12:18 +01:00
twinaphex 637ee33ab6 Add GFX_CTL_IDENT_GET 2016-02-14 02:05:20 +01:00
twinaphex 6413449944 (Android/EGL Images) Buildfixes 2016-02-14 02:00:14 +01:00
twinaphex 1d7fdc64ba (D3D) Buildfix 2016-02-13 23:59:45 +01:00
twinaphex 154f85c6fa Add GFX_CTL_SUPPRESS_SCREENSAVER 2016-02-13 23:39:12 +01:00
twinaphex f6afe72a1e Add GFX_CTL_IMAGE_BUFFER_WRITE 2016-02-13 23:35:47 +01:00
twinaphex 0a9787ec49 Create GFX_CTL_INPUT_DRIVER 2016-02-13 23:26:33 +01:00
twinaphex 098fc0a860 Cleanups 2016-02-13 23:20:04 +01:00
twinaphex 82dcd2cd94 Cleanups 2016-02-13 23:17:09 +01:00
twinaphex 75d73ab658 (D3D) Buildfix 2016-02-13 23:12:49 +01:00
twinaphex 3140e5f980 Implement GFX_CTL_GET_METRICS 2016-02-13 22:14:33 +01:00
twinaphex ce41c5bbca Create GFX_CTL_TRANSLATE_ASPECT 2016-02-13 22:07:56 +01:00
twinaphex f94e9c532e Create GFX_CTL_PROC_ADDRESS_GET 2016-02-13 22:02:49 +01:00
twinaphex 39bc6c1e9e Add structs 2016-02-13 21:58:35 +01:00
twinaphex 254d2d1fff Avoid crash in gl_frame 2016-02-13 21:15:18 +01:00
twinaphex 9e186b4587 Create GFX_CTL_SWAP_INTERVAL 2016-02-13 20:45:45 +01:00
twinaphex 46c9ff36ef Create GFX_CTL_CHECK_WINDOW 2016-02-13 19:53:14 +01:00
twinaphex b9a5c326cd Create GFX_CTX_GET_VIDEO_OUTPUT_SIZE 2016-02-13 19:36:02 +01:00
twinaphex 46d210e977 Create GFX_CTL_FIND_NEXT_DRIVER/GFX_CTL_FIND_PREV_DRIVER 2016-02-13 19:12:08 +01:00
twinaphex 7c28ddbfc5 Add GFX_CTL_IMAGE_BUFFER_INIT 2016-02-13 18:51:16 +01:00
twinaphex ef6ef13143 Add GFX_CTL_GET_VIDEO_OUTPUT_PREV/GFX_CTL_GET_VIDEO_OUTPUT_NEXT 2016-02-13 18:47:38 +01:00
twinaphex 00e4793bed Add GFX_CTL_BIND_HW_RENDER 2016-02-13 18:36:23 +01:00
twinaphex b7c41c9fcd Remove gfx_ctx_show_mouse 2016-02-13 18:29:07 +01:00
twinaphex 8721c857e9 Add GFX_CTL_SET 2016-02-13 18:27:05 +01:00
twinaphex 6a697ef2e1 GFX_CTL_SHOW_MOUSE added 2016-02-13 17:48:25 +01:00
twinaphex 425a290ced Remove gfx_ctx_destroy 2016-02-13 16:33:38 +01:00
twinaphex ef1b0b0965 Add GFX_CTL_UPDATE_WINDOW_TITLE 2016-02-13 08:50:22 +01:00
twinaphex f079ca29e4 Add GFX_CTL_HAS_WINDOWED 2016-02-13 08:37:10 +01:00
twinaphex 752e9abd4e Add GFX_CTL_SWAP_BUFFERS 2016-02-13 08:33:33 +01:00
twinaphex 0a7c481ff0 Create GFX_CTL_FOCUS 2016-02-13 08:29:58 +01:00