twinaphex
34662e8fe8
(Context drivers) Cleanups - use egl_get_proc_address directly instead
...
of wrapper functions
2020-07-18 17:22:24 +02:00
twinaphex
7c66f0adbc
Simplify win32_check_window
2020-07-18 17:09:07 +02:00
twinaphex
04a0c55add
Cleanups
2020-07-18 16:54:14 +02:00
twinaphex
0ccb86d130
Cleanup
2020-07-18 14:15:23 +02:00
twinaphex
80c405ce52
Cleanups
2020-07-18 14:11:13 +02:00
twinaphex
ef552ba768
Style nits/cleanups
2020-07-18 14:06:45 +02:00
twinaphex
ebd62ecd78
Cleanups
2020-07-18 14:01:35 +02:00
twinaphex
8cfbe3b8d4
Cleanups
2020-07-17 20:35:11 +02:00
twinaphex
9f9d59f2be
Cleanups
2020-07-17 16:46:00 +02:00
twinaphex
2e4938601a
Cleanups
2020-07-17 16:34:11 +02:00
twinaphex
8390388f3f
(DRM Go2) This global seems unused, remove it
2020-07-17 16:30:01 +02:00
twinaphex
fcf0663baa
(DRM CTX) Get rid of static globals - put them in struct
2020-07-17 16:26:57 +02:00
Autechre
357e382452
Merge pull request #11035 from jdgleaver/load-content-anim-favorites-fix
...
(Load Content Animation) Fix detection of 'favourites' playlist
2020-07-17 15:04:59 +02:00
twinaphex
318c11129b
Cleanups
2020-07-17 15:02:14 +02:00
twinaphex
5deb8f8bd8
Cleanups
2020-07-17 14:59:19 +02:00
twinaphex
1ca5958832
Cleanups
2020-07-17 14:57:00 +02:00
twinaphex
3983a19281
(Context drivers) Cleanups
2020-07-17 14:53:49 +02:00
twinaphex
7c66a7457a
Go for a consistent return value
2020-07-17 14:44:57 +02:00
twinaphex
b02d538a63
set_resize should not return false on success
2020-07-17 14:43:47 +02:00
twinaphex
d2b749e0e6
Unnecessary
2020-07-17 14:19:17 +02:00
twinaphex
1fb77c43a3
(X11) Split up X11 context into two - GL and Vulkan
2020-07-17 14:15:30 +02:00
twinaphex
e8e9a7b1d3
Get rid of multiple definition of wayland show mouse function
2020-07-17 13:59:13 +02:00
twinaphex
f4bc332bcd
(Wayland) Split up Wayland context driver into two - GL and Vulkan
2020-07-17 13:55:25 +02:00
twinaphex
501f737249
(Android) Split up Android context driver into two - GL and Vulkan
2020-07-17 13:45:37 +02:00
jdgleaver
c1f67d3f72
(Load Content Animation) Fix detection of 'favourites' playlist
2020-07-17 10:49:06 +01:00
twinaphex
2ff2604e69
MSVC buildfix
2020-07-17 04:35:01 +02:00
twinaphex
cbca370d76
Split up wgl_ctx.c into two files - GL and Vulkan
2020-07-17 04:28:26 +02:00
twinaphex
c9398a3855
(gfx widgets) Remove dead code
2020-07-17 04:06:02 +02:00
twinaphex
baa349f2ec
Cleanup
2020-07-17 02:32:37 +02:00
twinaphex
df73277ca8
(WGL) Bind different callback for Vulkan
2020-07-17 02:31:12 +02:00
twinaphex
105e135e48
Cleanup
2020-07-17 01:20:31 +02:00
twinaphex
6a5770af6d
Cleanups
2020-07-17 01:17:37 +02:00
twinaphex
707b40d116
Cleanups
2020-07-17 01:09:00 +02:00
twinaphex
be1e245396
Cleanups
2020-07-17 00:59:20 +02:00
twinaphex
318d5490cd
Cleanups
2020-07-17 00:50:06 +02:00
twinaphex
b8cc047d20
(context drivers) Cleanups
2020-07-16 03:40:52 +02:00
Twinaphex
367530683c
Get rid of unused variables
2020-07-15 19:47:45 +02:00
Yoshi Sugawara
897aee0bcf
add more logging, use autolayout constraints to pin metal view to superview to support orientation changes easier
2020-07-14 17:49:38 -10:00
Autechre
e6608c6fd0
Merge pull request #11024 from valadaa48/oga_gfx_msg_fix
...
oga_gfx: fix last character from being chopped in on-screen messages
2020-07-15 03:46:57 +02:00
valadaa48
9bbf191523
oga_gfx: fix last character from being chopped in on-screen messages
2020-07-14 21:43:19 -04:00
twinaphex
9a34e9799a
Cleanups
2020-07-15 03:22:01 +02:00
twinaphex
07b075c16f
Cleanup
2020-07-15 02:59:02 +02:00
twinaphex
8696d292da
Cleanup
2020-07-15 02:54:27 +02:00
twinaphex
014d0fafb4
(DRM) Cleanups
2020-07-15 02:45:34 +02:00
twinaphex
f707994cb8
Get rid of gfx_ctx_network
2020-07-15 02:37:50 +02:00
twinaphex
03c7403a05
Cleanups
2020-07-14 16:37:02 +02:00
twinaphex
e416d96769
(UWP EGL) Cleanups
2020-07-14 16:27:49 +02:00
twinaphex
748e3dccf2
(wayland) buildfixes
2020-07-14 16:20:15 +02:00
twinaphex
b7c2cbc6b2
Move flush_wayland_fd to input/common/wayland_common.c
2020-07-14 16:17:43 +02:00
twinaphex
4009919eca
(Wayland) Fix code duplication
2020-07-14 16:14:47 +02:00
twinaphex
3cb1b7b4bb
(Wayland) Move more code
2020-07-14 16:09:13 +02:00
twinaphex
646d627a6c
Move more Wayland code
2020-07-14 16:04:10 +02:00
twinaphex
1f4a27abba
Split up wayland code
2020-07-14 15:56:52 +02:00
twinaphex
88f742894d
Move wayland header to input/common
2020-07-14 14:32:37 +02:00
twinaphex
ed9d40caa2
(DRM) Cleanups
2020-07-13 20:24:14 +02:00
twinaphex
0a492a49be
(Vulkan) Fix regression
2020-07-13 15:22:27 +02:00
Bernhard Schelling
2226226663
Add missing header (for non griffin builds)
2020-07-11 23:02:18 +09:00
twinaphex
46fd40b574
Use std::string concatenation instead of std::ostringstream
2020-07-11 08:24:13 +02:00
twinaphex
39d3dd4b3c
Revert vulkan_framebuffer_generate_mips
2020-07-10 11:20:50 +02:00
Francisco José García García
dc01bf8d46
[Vita][GL] Fix returning to menu and clear for fake hw render
2020-07-09 18:49:22 +02:00
Bernhard Schelling
e0a9ded6a3
Fix invalid calls to dinput_handle_message when input driver is not set to dinput
2020-07-09 22:32:43 +09:00
twinaphex
4c5f4b244a
(Sixel) Buildfixes
2020-07-09 15:07:06 +02:00
jdgleaver
506aa0a36c
Add optional widget-based 'load content' launch feedback animation
2020-07-09 13:05:28 +01:00
twinaphex
3fd7338df1
Cleanups
2020-07-09 10:36:49 +02:00
twinaphex
d0736a1797
(MSVC) Buildfixes
2020-07-09 10:20:27 +02:00
twinaphex
77d630a0a5
(GDI) Only render framebuffer texture when menu is enabled
2020-07-09 09:40:13 +02:00
twinaphex
35762e07cb
(GDI) Get rid of memory allocation per frame
2020-07-09 09:34:06 +02:00
twinaphex
f56b6a3a0f
(GDI) Merge gdi_ctx.c into gdi_gfx.c
2020-07-09 09:25:10 +02:00
twinaphex
d81f426060
Cleanups
2020-07-09 08:17:50 +02:00
twinaphex
255332c989
Remove sixel_ctx.c
2020-07-09 08:12:47 +02:00
twinaphex
6b466c6013
Cleanups
2020-07-09 07:46:40 +02:00
twinaphex
f6c4890063
Get rid of cb_set_resize
2020-07-09 05:36:29 +02:00
twinaphex
e10f4eed8d
(Vulkan) Cleanups
2020-07-09 03:48:42 +02:00
twinaphex
9a148f6d48
Cleanups
2020-07-09 03:11:11 +02:00
twinaphex
b0157cd47d
CLeanups
2020-07-09 03:00:55 +02:00
twinaphex
364ee31712
(sixel) Simplifications
2020-07-09 02:55:25 +02:00
twinaphex
298413dce8
Cleanups
2020-07-09 00:33:19 +02:00
twinaphex
e48ffd14cd
Cleanups
2020-07-09 00:24:09 +02:00
HyperspaceMadness
5ceb30fc1b
Changed SLANG_NUM_BINDINGS to 16 for D3D11 Fix
2020-07-08 12:06:59 -04:00
twinaphex
b94a3928e4
(MSVC) Buildfix
2020-07-07 21:04:45 +02:00
Yoshi Sugawara
82d6d8e876
add the metal view to the view controller view after initializing the metal view for iOS
2020-07-07 08:19:46 -10:00
Yoshi Sugawara
6308ba1acb
support ApplePlatform for iOS and conform app delegate class to it, move app delegate class to apple_platform.h, fix metal references for iOS
2020-07-07 05:03:42 -10:00
Autechre
6df4e7778f
Merge pull request #10973 from HyperspaceMadness/master
...
Increased Slang Max Params, Textures & Passes
2020-07-07 12:07:00 +02:00
twinaphex
2401f116ee
Revert "Add 7:3 aspect ratio"
...
This reverts commit 40a11e9407
.
2020-07-07 11:44:57 +02:00
twinaphex
0a1942f528
Turn fifo_read_avail and fifo_write_avail into macros
2020-07-07 08:13:32 +02:00
twinaphex
00518d3470
Add TODO/FIXME notes
2020-07-07 03:02:55 +02:00
twinaphex
da0e87cc63
Add comment
2020-07-07 00:07:38 +02:00
twinaphex
6088c3b301
(win32 display server) Turn function static
2020-07-07 00:06:46 +02:00
HyperspaceMadness
7c6bb925c4
Increased Slang Max Params, Textures & Passes
2020-07-05 13:45:58 -04:00
Autechre
22e6bf8bae
Merge pull request #10971 from Jamiras/gfx_widgets_achievements
...
pass correct userdata object to gfx_display functions
2020-07-05 16:37:55 +02:00
Jamiras
00fad3c6d0
pass correct userdata object to gfx_display functions
2020-07-05 07:49:44 -06:00
Connor McLaughlin
7b7cffd545
(Vulkan) Fix incorrect structure type in vulkan_create_buffer
2020-07-05 22:36:58 +10:00
twinaphex
40a11e9407
Add 7:3 aspect ratio
2020-07-05 09:23:32 +02:00
twinaphex
85d3a3723e
(Vulkan) VULKAN_TRANSFER_IMAGE_OWNERSHIP - reuse existing macro
2020-07-03 18:05:40 +02:00
twinaphex
09180e64b5
Start unifying more macros
2020-07-03 18:00:40 +02:00
twinaphex
a7a74a1d92
Cleanup
2020-07-03 17:51:07 +02:00
twinaphex
276e86a403
(Vulkan) Turn some of these functions into macros
2020-07-03 17:48:46 +02:00
twinaphex
25f682249f
(Vulkan) Turn vulkan_image_layout_transition into macro
2020-07-03 08:45:53 +02:00
twinaphex
7a22eb1f44
Turn vulkan_image_layout_transition_levels into macro
2020-07-03 08:32:33 +02:00
twinaphex
108dc26c86
(MSVC 2010) Buildfix
2020-07-03 08:04:15 +02:00
twinaphex
d9b4b44091
(Winraw) Cleanups
2020-07-02 07:07:42 +02:00
twinaphex
a3c687f0a6
Add HAVE_WINRAWINPUT
2020-07-02 06:43:36 +02:00
Autechre
043a60633f
Merge pull request #10951 from fjtrujy/salamanderPS2
...
WIP: PS2 Salamander and multi-core
2020-07-01 21:18:53 +02:00
twinaphex
87b9c2a367
Add HAVE_REWIND switch
2020-07-01 21:04:05 +02:00
twinaphex
7862166ed2
Add back HAVE_SCREENSHOTS define from SSNES days
2020-07-01 17:47:13 +02:00
Francisco Javier Trujillo Mata
9d2a1b5ac4
Improve dist scripts
...
Improve cores folder
Improve WaitTillDeviceIsReady
Now every single driver, init and deinit the IRX binaries
Improve platform PS2
Make salamander to open proper elf
2020-07-01 17:07:53 +02:00
jdgleaver
c48c26aff6
Add 'progress message' widget (for 'RETRO_MESSAGE_TYPE_PROGRESS' core messages)
2020-06-30 17:15:36 +01:00
twinaphex
6fcb97ee53
Some buildfixes
2020-06-30 08:37:41 +02:00
twinaphex
120afe5d21
(Vulkan) return early/error out if no context driver is found
2020-06-30 01:33:19 +02:00
twinaphex
9474f6b299
Silence another static code analysis warning
2020-06-29 23:03:26 +02:00
twinaphex
5d0b01ea07
(drivers_font) Cleanups
2020-06-29 22:14:15 +02:00
twinaphex
6ada72e09d
(gl_raster_font) Try to prevent NULL pointer dereferences
2020-06-29 22:06:50 +02:00
twinaphex
968922e151
Fix static code analysis warnings
2020-06-29 21:24:32 +02:00
twinaphex
f83f0b2d44
Fix static code analysis warnings
2020-06-29 20:27:34 +02:00
twinaphex
cf1eb2e989
Silence more warnings
2020-06-29 20:17:54 +02:00
twinaphex
cf92d8fddb
(gl.c) Prevent static code analysis warnings
2020-06-29 19:40:17 +02:00
twinaphex
e58f91406f
(video_filter.c) Cleanups
2020-06-29 19:32:54 +02:00
twinaphex
479058d1a3
Prevent implicit memsets
2020-06-29 16:42:51 +02:00
twinaphex
fe14bc6e07
(core_info.c) Get rid of calloc
2020-06-29 03:46:27 +02:00
twinaphex
570f6ffb87
vulkan_copy_staging_to_dynamic - avoid memset
2020-06-29 00:14:50 +02:00
twinaphex
1b3826b348
(Vulkan) Avoid some unnecessary memsets
2020-06-29 00:02:45 +02:00
twinaphex
26969dd4e1
(Vulkan) Avoid callocs and memsets
2020-06-28 23:56:33 +02:00
twinaphex
b2dbbeb386
(glslang_util_cxx.cpp) Use string_starts_with_size
2020-06-28 21:53:28 +02:00
twinaphex
fe8a191012
(glslang_util_cxx.cpp) Use string_starts_with
2020-06-28 21:46:08 +02:00
twinaphex
c600fbc6ff
Cleanups
2020-06-28 21:33:07 +02:00
twinaphex
37bfbed3f5
(Vulkan) Cleanups
2020-06-28 21:20:18 +02:00
twinaphex
bc73a815b7
Prevent memsets for vk->tracker
2020-06-28 19:18:48 +02:00
twinaphex
9e65ab63fe
(vulkan_common) Prevent memsets and implicit memsets
2020-06-28 18:45:46 +02:00
twinaphex
9684bde88a
Cleanup vulkan_create_texture
2020-06-28 18:25:17 +02:00
twinaphex
503c8e089f
(shader_vulkan) Cleanup
2020-06-28 01:17:36 +02:00
twinaphex
c1f90e4c9a
(Vulkan) Cleanups
2020-06-28 01:09:33 +02:00
twinaphex
128757554e
(gfx/font_driver) Use malloc
2020-06-28 00:50:48 +02:00
twinaphex
776e95d4e1
(vulkan_common.c) Cleanups
2020-06-27 18:28:33 +02:00
twinaphex
72d1a313ae
(vulkan_common.c) Cleanups
2020-06-27 18:17:33 +02:00
twinaphex
4bd8c2a7ff
Avoid calloc where possible
2020-06-27 15:06:45 +02:00
twinaphex
1e67b4c04a
(gx_widgets) Use malloc instead of calloc
2020-06-27 01:25:48 +02:00
twinaphex
f420c2c843
Change menu_widget_msg_t to disp_widget_msg_t
2020-06-27 01:15:21 +02:00
twinaphex
035d7dad12
Go through utf8 to utf16 functions
2020-06-27 01:10:45 +02:00
twinaphex
1ae20ea17c
Style nits - turn macro names into upper-case - some while style nits
2020-06-26 20:00:19 +02:00
twinaphex
808c00db41
(drivers_shader) Move static functions to top of files
2020-06-26 18:54:30 +02:00
twinaphex
80581f14a8
Revert "Revert "Cleanups""
...
This reverts commit 1fda1e0b28
.
2020-06-26 18:44:38 +02:00
twinaphex
021625fd4a
Revert "Move static functions to top of files"
...
This reverts commit 02b542e2a5
.
2020-06-26 18:40:26 +02:00
twinaphex
1fda1e0b28
Revert "Cleanups"
...
This reverts commit a9c8cf205d
.
2020-06-26 18:39:34 +02:00
twinaphex
a9c8cf205d
Cleanups
2020-06-26 18:28:58 +02:00
twinaphex
02b542e2a5
Move static functions to top of files
2020-06-26 18:15:38 +02:00
twinaphex
601a73fa8b
Use string_starts_with_size where possible - avoids the strlen
2020-06-25 12:51:04 +02:00
twinaphex
67898f5d12
(Font drivers) Simplifications
2020-06-24 21:27:47 +02:00
twinaphex
9cb4d924cb
Revert "(drivers_font) Cut down on unnecessary strlen calls within a for loop"
...
This reverts commit 3e9d0b8758
.
2020-06-24 21:09:44 +02:00
twinaphex
5fc63dc578
Cleanup
2020-06-24 21:07:35 +02:00
twinaphex
3e9d0b8758
(drivers_font) Cut down on unnecessary strlen calls within a for loop
...
- precompute once for function duration
2020-06-24 20:52:39 +02:00
valadaa48
f753efeaa7
oga_gfx: fix race condition with rgui callback
...
- oga_gfx_frame is sometimes called before set_texture_frame has been
called
2020-06-22 21:38:19 -04:00
Hugo Hromic
2e57a690ce
(Win32/DispServer) Improve video resolution switching
...
* Only switch to a display mode with the same current bit-depth and screen rotation
* Only switch to a display mode with default stretching mode
* Cleanup the function for consistency with other functions
2020-06-21 23:49:26 +01:00
Hugo Hromic
9ec3a5ccad
(Win32/DispServer) Improve building of video resolution list
...
* Only use display modes with the same current bit-depth and screen rotation
* Only use display modes with default stretching mode
* Cleanup the function for consistency with other functions
2020-06-21 23:49:11 +01:00
Jamiras
47dbaeabb8
gfx_widgets: move achievement popup widget into its own file
2020-06-17 10:48:01 -06:00
Autechre
5f8419b8d2
Merge pull request #10861 from Jamiras/gfx_threaded_msg
...
(widgets) prevent freeing message while it's being rendered
2020-06-16 22:18:48 +02:00
Jamiras
42e2d740d3
add lock around current_msgs
2020-06-16 07:27:15 -06:00
Jamiras
649f83c82e
load badge texture outside of lock
2020-06-15 10:48:02 -06:00
valadaa48
69e2bd986d
oga_gfx 24bit menu support
...
- hack borrowed from drm_gfx
2020-06-14 03:54:36 +00:00
twinaphex
01bd76405f
Buildfixes
2020-06-13 08:37:26 +02:00
twinaphex
d903d684a0
(glslang) Group together more strings
2020-06-12 05:24:34 +02:00
twinaphex
c2044beedd
Fix shader regression with MinProgramTexelOffset
2020-06-12 05:18:38 +02:00
twinaphex
d8cf551608
Silence 'suggest braces around initialization of subobject' warning
2020-06-11 17:38:11 +02:00
twinaphex
7ee5ffcd1c
Further optimize SlangProcess
2020-06-11 05:51:03 +02:00
twinaphex
a68b942d1d
Refactor AI Service code
2020-06-11 03:27:01 +02:00
twinaphex
bc24092374
(VIDEOCRT SWITCH) move global state to rarch_state
2020-06-10 17:42:08 +02:00
twinaphex
e04bce7dd0
Move gfx_thumbnail global state to rarch_state
2020-06-10 17:22:02 +02:00
twinaphex
b2f5262a3b
crt_first_run and crt_video_restore were both useless
2020-06-10 15:50:29 +02:00
Autechre
02ca1a1f01
Merge pull request #10829 from valadaa48/oga_gfx_ffwd
...
Add ffwd to non-threaded oga_gfx driver
2020-06-10 15:05:04 +02:00
jdgleaver
9bbc9dd30e
(Widgets) Fix serious heap-use-after-free errors
2020-06-10 12:32:50 +01:00
valadaa48
3abcb2b922
Add ffwd to non-threaded oga_gfx driver
2020-06-09 20:24:28 -04:00
jdgleaver
1fde6f8aed
Fix 3DS build
2020-06-09 10:57:00 +01:00
Themaister
f089e1ccf5
Vulkan: Do not emulate mailbox on Android.
2020-06-09 00:24:29 +02:00
Themaister
cd4f22c275
Vulkan: Add path which uses WSI acquire semaphores.
...
Fence wait path has some issues on certain platforms. For now, gate this
on whether the GPU is integrated or not.
2020-06-09 00:24:29 +02:00
Themaister
15df55d011
Vulkan: Refactor swapchain index and frame index.
...
Do not tie these concepts together, it will not work for upcoming
refactor of swapchain logic.
2020-06-09 00:24:29 +02:00
Themaister
6f68571805
Vulkan: Use VK_LAYER_KHRONOS_validation in VULKAN_DEBUG=1.
...
LUNARG_standard_validation was deprecated and removed ages ago.
2020-06-09 00:24:28 +02:00
twinaphex
5a690b7ac8
(display widgets) Cleanups
2020-06-09 00:13:34 +02:00
twinaphex
52050739a1
Cleanups
2020-06-08 23:13:29 +02:00
twinaphex
b183abbb0f
More string_is_equal optimizations; localize more strings
2020-06-08 22:46:56 +02:00
twinaphex
6fce0435a1
Update more logs
2020-06-08 18:04:29 +02:00
twinaphex
be886bf2aa
Update log message
2020-06-08 18:01:15 +02:00
twinaphex
fc491e9ea4
Add more environ logs
2020-06-08 17:32:36 +02:00
jdgleaver
0c7f0df41a
Fix crash when taking screenshots with widgets enabled
2020-06-08 12:41:22 +01:00
twinaphex
58b22b0a6e
Optimize some long iterations of string_is_equal
2020-06-08 07:00:22 +02:00
twinaphex
8ba8772edb
Cleanups
2020-06-08 05:57:47 +02:00
twinaphex
a87d15e361
Cleanups
2020-06-08 05:52:25 +02:00
twinaphex
2660182d52
Get rid of gfx_widgets_ready call inside
...
gfx_widgets_frame
2020-06-08 05:45:15 +02:00
twinaphex
5c2a2ca485
Move widgets state over to retroarch global state
2020-06-08 05:09:42 +02:00
twinaphex
57c3b1b041
Move widgets_persisting to retroarch.c
2020-06-08 04:36:40 +02:00
twinaphex
73b5bf438b
Move widgets_active to retroarch.c
2020-06-08 04:32:54 +02:00
twinaphex
d9565b6619
Cut down on unnecessary widgets_active early returns
2020-06-08 04:17:33 +02:00
twinaphex
d6229ed70d
gfx_widgets_deinit - turn return value into bool
2020-06-08 04:12:15 +02:00
twinaphex
9707f1f622
Get rid of gfx_ctx_animation_tag
2020-06-08 04:09:12 +02:00
twinaphex
eb20c10713
Start getting rid of gfx_ctx_animation_tag - it's just a uintptr_t
...
typedef
2020-06-08 03:56:35 +02:00
twinaphex
573eddb5a4
(Metal) Always run this regardless
2020-06-08 03:28:32 +02:00
twinaphex
7f54f410f4
Remove pointer grabbing from get_msg_queue function
2020-06-08 03:11:59 +02:00
twinaphex
69bdf581f4
Change this back
2020-06-08 03:10:31 +02:00
twinaphex
876419294d
(gfx widgets) Pass more state around
2020-06-08 02:54:01 +02:00
twinaphex
54372f2524
Pass state around to widget interface
2020-06-08 02:31:36 +02:00
twinaphex
77f5433f22
Create global wrapper function for state
2020-06-08 01:59:25 +02:00
twinaphex
9aa736b522
Move forward declarations up
2020-06-08 01:56:45 +02:00