9114 Commits

Author SHA1 Message Date
Tor Arne Vestbø
b5cf9b639e metal: Improve shader debugging
Having the path to each shader is helpful when debugging the
rendering pipeline. The render command encoder label is limited
to just the filename of the shader, as the graphics debugging
UI in Xcode doesn't handle long names very well.

We don't encode the pass number into the string as the shaders
can be organized in a graph, not just a linked list, so an
indexed order can be misrepresenting the flow.
2019-09-25 22:36:40 +02:00
Tor Arne Vestbø
91caf28bfc metal: Add some missing debug labels and groups 2019-09-25 22:36:40 +02:00
twinaphex
b94b9e2adb Go back to plain strlcpy/strlcat - probably best to look at
opportunities to reduce these calls vs. replacing them with
unsafe macros
2019-09-23 00:19:01 +02:00
twinaphex
f33264f7a6 (X11) XStoreName is a useless wrapper function around XChangeProperty 2019-09-22 13:00:44 +02:00
twinaphex
c5b3428408 Add sdl2_common.c/.h 2019-09-22 12:40:40 +02:00
twinaphex
efdc07ab10 (Wayland) update_title function - simplify this function a bit 2019-09-22 12:14:49 +02:00
Twinaphex
2414224df8 (Cocoa) It's only necessary to set the display server userdata for
set_video_mode
2019-09-22 11:29:58 +02:00
Twinaphex
511f43d5cf Move it to cocoa_gl_ctx.m 2019-09-22 11:26:06 +02:00
Twinaphex
83f1b28f98 Revert "(Cocoa) Move nsview_get_ptr and nsview_set_ptr to cocoa_gl_ctx.m"
This reverts commit 4f564360e7ba3df82e496d8dec8ca1a0dc3d4261.
2019-09-22 10:54:01 +02:00
twinaphex
4f564360e7 (Cocoa) Move nsview_get_ptr and nsview_set_ptr to cocoa_gl_ctx.m 2019-09-22 10:48:23 +02:00
Twinaphex
23bb1414ff (Metal) Buildfix 2019-09-22 10:30:59 +02:00
twinaphex
ad1fb29092 (Metal) Refactor 2019-09-22 10:28:51 +02:00
Twinaphex
6a9feb7978 (OSX) Refactor this so that we always set the userdata
pointer so we can use the new set_title codepaths - will
have to check how to reduce the overhead in nsview_get_ptr
later
2019-09-22 10:19:03 +02:00
Twinaphex
69a38f9b9f (Cocoa) Pass direct pointer to UI companion driver window title function 2019-09-22 07:41:56 +02:00
twinaphex
c7fd375120 Create video_driver_display_userdata_{set/get} 2019-09-22 07:35:05 +02:00
twinaphex
03bddff8e6 Cleanups of update_window_title functions 2019-09-22 03:05:06 +02:00
twinaphex
302e2fdc53 Move show memory details outside of the video context driver and
into retroarch.c - avoid lots of code duplication
2019-09-21 07:49:33 +02:00
twinaphex
3b057d9605 Start using STRLCAT_CONST_INCR and STRLCPY_CONST 2019-09-20 23:33:17 +02:00
twinaphex
db624a7c99 Start cleaning up the rather messy manual assignment 2019-09-20 02:03:26 +02:00
twinaphex
ab515daa0c Try to get rid of file_path_str 2019-09-18 18:12:57 +02:00
twinaphex
c186747edc (video_shader_parse) avoid some more snprintfs 2019-09-18 09:11:32 +02:00
twinaphex
3fbeb0617b (glslang_util_cxx.cpp) Get rid of this strlcpy too 2019-09-18 08:03:49 +02:00
twinaphex
306d7f6f8a glsl_find_uniforms_frame - get rid of the remaining strlcats 2019-09-18 07:53:59 +02:00
twinaphex
ab60005cdc (GLSL) Avoid snprintf, prefer strlcpy/strlcat where possible 2019-09-18 07:32:06 +02:00
twinaphex
b28c405377 Backport and rebase initial FPGA port that was done in 2017 (port
done for Z-Turn board) - has some outstanding issues such as
very slow framebuffer software rendering output that needs to
be overcome before this becomes usable - community help needed
2019-09-17 08:16:50 +02:00
twinaphex
861262ef3a (network gfx) Cleanup 2019-09-17 05:04:57 +02:00
Brad Parker
c7c7d0988e initial network video driver, sends raw frames over TCP 2019-09-17 04:18:44 +02:00
jdgleaver
3a680df733 (glcore) Ensure correct scaling of menu texture (RGUI) 2019-09-03 12:52:26 +01:00
Tor Arne Vestbø
af75ddd04a metal: Draw video stats on top of overlay 2019-09-02 20:02:16 +02:00
Tor Arne Vestbø
204407b64a metal: Set up correct viewport before rendering overlay 2019-09-02 18:02:30 +02:00
Tor Arne Vestbø
48d28aa734 metal: Split menu drawing out from core drawing 2019-09-02 18:02:30 +02:00
Tor Arne Vestbø
e6227f9898 Use correct uniforms when blitting menu frame with Metal
Fixes broken rgui with the Metal video driver.
2019-09-02 13:01:42 +02:00
Tor Arne Vestbø
a7723ba13f Explicitly invalidate atlas buffer when rendering text with Metal
Fixes #9016
2019-09-01 18:46:26 +02:00
Brad Parker
4e9cd6ff3e win32: set menubar language to same as config 2019-08-29 16:36:09 -04:00
twinaphex
2609747243 MSVC buildfix 2019-08-29 20:20:35 +02:00
twinaphex
718d65d95d Take this out - too unsafe - fixes D3D12 driver 2019-08-29 12:30:56 +02:00
twinaphex
cb8107a154 remove video_context_driver_init_image_buffer 2019-08-29 11:26:28 +02:00
twinaphex
ca5e51f116 Remove video_context_driver_make_current 2019-08-29 11:13:17 +02:00
twinaphex
029f1c403e Turn function static 2019-08-29 10:16:26 +02:00
twinaphex
967aae04c8 Cleanups 2019-08-29 09:55:27 +02:00
twinaphex
9a49da10e5 (WndProcCommon) Put this back in 2019-08-29 09:31:08 +02:00
twinaphex
df4f2a67e3 (Win32) Simplify WndProcCommon 2019-08-29 02:26:32 +02:00
twinaphex
5ca165379c Cleanups 2019-08-29 01:45:44 +02:00
twinaphex
04f9b81fed Cut down on some unnecessary wrapper functions 2019-08-29 00:02:50 +02:00
twinaphex
3a7515c82f Cut down on code duplication 2019-08-28 23:58:15 +02:00
twinaphex
01cb2b8d44 Cleanup 2019-08-28 23:55:57 +02:00
twinaphex
d406fee72e Remove video_context_driver_suppress_screensaver 2019-08-28 22:52:41 +02:00
twinaphex
c50cc7b010 Remove video_context_driver_show_mouse 2019-08-28 21:36:58 +02:00
twinaphex
aeedeb14a9 (Vita) Vita has no video context driver set, so this can go 2019-08-28 21:30:17 +02:00
twinaphex
fa3b927ece Get rid of video_context_driver_get_proc_address 2019-08-28 21:26:43 +02:00