Commit Graph

5921 Commits

Author SHA1 Message Date
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