Norman Jordan
1b0ae7a0b2
Added a missing include.
2021-05-05 01:52:04 -07:00
Autechre
2702ce693b
Merge pull request #12328 from jdgleaver/7zip-update
...
Update 7-Zip dependency to latest stable version (fixes CHD support on static platforms)
2021-04-28 15:12:41 +02:00
Autechre
71836cacdb
Merge pull request #12331 from bulzipke/master
...
(3DS) Load overlay texture images as BGR colors
2021-04-28 13:28:33 +02:00
jdgleaver
a501dfd680
Update 7-Zip dependency to latest stable version (fixes CHD support on static platforms)
2021-04-28 12:00:50 +01:00
bulzipke
7e7615c97c
(3DS) Load overlay texture images as BGR colors
2021-04-28 19:16:14 +09:00
IAmBoring
9c0aec1d19
MSVC Vulkan Buildfix
2021-04-27 20:45:52 +00:00
Autechre
8466a213e8
Merge pull request #12324 from devnexen/macos_vulkan_build_fix
...
macOS with vulkan build fix
2021-04-26 22:16:24 +02:00
David Carlier
c7f3fa2b5d
macOS with vulkan build fix
2021-04-26 20:31:15 +01:00
bulzipke
56a0300db5
Load texture images as BGR colors
2021-04-27 01:58:41 +09:00
jdgleaver
f4511f6fa4
(core_info) Performance optimisations + code clean-ups/refactors
2021-04-26 14:30:31 +01:00
MrHuu
1235a7435e
(3DS) Enable gfx_widgets / overlays
2021-04-24 15:36:03 +02:00
twinaphex
be255ff269
(gfx_animation.c) Simplify some functions
2021-04-22 19:30:20 +02:00
twinaphex
0211e7749e
Simplify gfx_animation_ticker_generic
2021-04-22 18:48:14 +02:00
Woohyun Shin
4e8a71d034
GDI: Fix non-ASCII text rendering
2021-04-22 20:38:58 +09:00
LazyFunker
8ff0430370
Disable mipmap generation for UWP
2021-04-20 10:29:17 +02:00
Ben
799fcdb5e0
Fixed CRTSwitchRes framebuffer bug
2021-04-19 07:38:38 -07:00
Autechre
a56fcfb24a
Revert "Screen Resolution option fixes"
2021-04-17 19:33:23 +02:00
jdgleaver
fc05c0805b
(freetype/stb_unicode/bitmapfont) Prevent texture bleed when rendering text at non-integer scales
2021-04-15 17:24:32 +01:00
twinaphex
b91a1f4788
Silence warning
2021-04-15 07:39:25 +02:00
alphanu1
5658ea7047
Multi monitor fix. ( #12260 )
...
This fix allows for the use of multi monitor when using CRTSwitchres. It fixes a bug that causes a crash.
Delete function will no longer try to delete resolutions from outputs that have not had resolutions added.
2021-04-12 14:55:33 +02:00
twinaphex
7f3b9e8a89
Attempt to fix max problems on all platforms
2021-04-12 06:51:01 +02:00
twinaphex
7fe2ad81a0
HAVE_CLIP_WINDOW - don't define for this anything below MSVC 2005
2021-04-12 05:38:43 +02:00
twinaphex
dcc266df12
(MSVC) Buildfix
2021-04-12 05:25:30 +02:00
twinaphex
544a17926b
Use path_basename_nocompression where we are sure we are not
...
dealing with a filename with a compressed archive hash
2021-04-11 17:44:41 +02:00
twinaphex
a8f410ed40
slang_preprocess_parse_parameters - get rid of one local variable
2021-04-11 01:49:41 +02:00
twinaphex
f29a4b51cc
Put this behind VULKAN_DEBUG ifdef
2021-04-11 00:15:06 +02:00
twinaphex
924b5830ba
(shader_gl_core) Remove std::string usage and std::to_string usage
2021-04-11 00:09:40 +02:00
twinaphex
0aa266a6ca
build_stage_source - use std::string reserve and append, significantly
...
faster
2021-04-10 22:11:26 +02:00
twinaphex
1273536752
Reduce get_semantic_name down to one version
2021-04-10 21:46:04 +02:00
twinaphex
b5d49b9e79
Avoid std::string allocations when possible (pt. 1)
2021-04-10 20:19:30 +02:00
twinaphex
f0fa3c5861
(slang C++ files) take out using namespace std, explicitly refer to
...
std namespace
2021-04-10 19:42:59 +02:00
twinaphex
966dd62551
Fix warnings local variable hides parameter of the same name
2021-04-10 19:28:30 +02:00
twinaphex
b7bc1fc51d
Buildfixes
2021-04-08 03:27:58 +02:00
twinaphex
f8ec815467
Cleanups
2021-04-08 01:54:44 +02:00
twinaphex
5334ddd199
Don't call anim_get_ptr inside gfx_thumbnail.c
2021-04-08 01:30:42 +02:00
twinaphex
e5e8e9b5d8
Expand widget init function
2021-04-08 00:51:10 +02:00
twinaphex
2e6393f082
Get rid of pointer grabbing for p_disp
2021-04-08 00:38:24 +02:00
jdgleaver
c23e32a047
OpenDingux Beta: Add 50Hz support
2021-04-07 10:06:11 +01:00
twinaphex
cd016824f8
Get rid of disp_get_ptr pointer grabbing in gfx/widgets
2021-04-05 15:13:28 +02:00
twinaphex
af00dca08b
Get rid of some pointer grabbing for disp_get_ptr by making it
...
a part of video_frame_info
2021-04-05 14:55:28 +02:00
Autechre
115b08e0e1
Merge pull request #12232 from MrHuu/ctr_overlay
...
(3DS) Add HAVE_OVERLAY
2021-04-05 11:48:14 +02:00
jdgleaver
a81280939e
OpenDingux Beta: Fix IPU scaling when running GB/GBC/GG/NGP-resolution content
2021-04-04 22:50:25 +01:00
MrHuu
8df97a0c75
(3DS) Add HAVE_OVERLAY
2021-04-04 22:50:59 +02:00
repojohnray
45047732a7
Fix xegl_ctx.c mouse activation
...
The mouse is not working when using opengles with x11. This fix adds the required notifications.
2021-04-03 15:56:06 +02:00
jdgleaver
371d0b7395
Add optional menu screensaver
2021-04-01 17:26:43 +01:00
Autechre
311c5c133c
Merge pull request #12210 from jdgleaver/dingux-beta-gba-scaling
...
OpenDingux Beta: Fix IPU scaling when running GBA-resolution content
2021-03-31 20:06:46 +02:00
Valerio Proietti
fc69e73dcf
[DRM] set the correct video mode
...
mode->vrefresh is a display-only value and should not be used for calculations
the drm context is now able to differentiate between, for example, 640x480@60.00 and 640x480@59.92 when setting the video mode
2021-03-31 13:13:27 +02:00
jdgleaver
41855bb6d4
OpenDingux Beta: Fix IPU scaling when running GBA-resolution content
2021-03-31 11:17:56 +01:00
jdgleaver
fe6e02e9bd
OpenDingux: Improve handling of unsupported display resolutions + buffer overflow fix
2021-03-27 14:58:02 +00:00
twinaphex
788f716a30
(shader_gl_core) Cut down on some std::string usage
2021-03-27 03:51:00 +01:00
twinaphex
159c03cb34
Bump up version (but don't tag yet)
2021-03-27 02:22:39 +01:00
twinaphex
cd9d6c0511
gfx_display - Get rid of lots of pointer grabbing
2021-03-25 20:12:34 +01:00
twinaphex
8064af8f15
Get rid of more pointer grabbing
2021-03-25 19:22:12 +01:00
jdgleaver
0a08437e0a
Add OpenDingux Beta support
2021-03-25 16:19:42 +00:00
twinaphex
0674de54ee
(gfx_widgets.c) Get rid of more pointer grabbing to
...
config_get_ptr/dispwidgets_get_ptr/etc
2021-03-25 15:05:09 +01:00
twinaphex
998673b8c3
(gfx_widgets) Cleanups
2021-03-25 04:59:07 +01:00
twinaphex
fada1caf68
Move two widgets functions over to proper source file
2021-03-25 04:55:27 +01:00
twinaphex
be3960e2be
(gfx widgets) Add widgets_userdata to video_frame_info
2021-03-24 19:16:46 +01:00
twinaphex
78f7deffba
Get rid of early return in video_shader_write_root_preset
2021-03-24 18:44:55 +01:00
twinaphex
d911dd6efc
(video_shader_parse.c) Tons of functions here should have been
...
made static, tons of log spam put behind DEBUG ifdefs
2021-03-24 18:31:20 +01:00
twinaphex
8f79e14d0a
Silence LGTM static code analysis warnings
2021-03-24 00:25:47 +01:00
MrHuu
b9849f78f7
(3DS) Add HAVE_GFX_WIDGETS
2021-03-23 22:03:44 +01:00
twinaphex
26824b1f27
(D3D) Comment out Debug functions
2021-03-23 21:24:17 +01:00
David Guillen Fandos
1cad93207b
Upstream OGA patch for vertical screen
...
This keeps the tradition DRM driver along with the OGA one. The probe
function skips the driver if the screen is non rotated to fall back to
the regular DRM driver. This is being upstreamed from the Lakka repo.
2021-03-23 20:27:24 +01:00
twinaphex
80788f9df6
Get rid of some ternary operators
2021-03-22 20:53:56 +01:00
twinaphex
32a6bd021c
Prevent 'may be used uninitialized' warning
2021-03-22 15:46:34 +01:00
twinaphex
611efea2bf
More CXX_BUILD fixes
2021-03-22 15:20:51 +01:00
twinaphex
15b9bd47b9
(SDL2) Fix jump to label crosses initialization of const char* video_driver
2021-03-22 14:38:10 +01:00
twinaphex
1f4dd522ab
(RGUI) Cut down on gfx_display_get_fb_size
2021-03-22 01:58:43 +01:00
twinaphex
b16f526540
(Metal) Cleanups - turn function static
2021-03-21 18:10:55 +01:00
twinaphex
5d2a75d782
(Apple/Metal) Combine various Metal files into one
2021-03-21 18:06:00 +01:00
twinaphex
e5ca68a518
Simplify video_driver_get_ptr
2021-03-21 17:33:44 +01:00
twinaphex
f1330f3c98
(video_thread_wrapper) Call video_driver_get_data instead of
...
video_driver_get_ptr - last parameter passed to video_driver_get_ptr
was hardcoded
2021-03-20 15:15:52 +01:00
sonninnos
1e95683c06
(WINRAW) Key position fixes
2021-03-20 00:58:11 +02:00
twinaphex
e292340ef4
(dispserv_win32.c) Fix unused variable warning
2021-03-16 13:33:24 +01:00
twinaphex
938c8f3abc
Fix some tvOS warnings
2021-03-15 01:52:18 +01:00
Autechre
a2ed065f25
Refactors pt3 ( #12124 )
...
* Remove video_pixel_get_alignment - move it to video
drivers that use it
* Rewrite video_driver_pixel_converter_{init/free} - get rid of
p_rarch dependency
* Replace some variables
* (Menu) Get rid of cbs_refresh - was never set to any other
function callback implementation
2021-03-11 02:03:37 +01:00
valadaa48
71cbec9252
oga_gfx: fix messages from not disappearing
2021-03-01 19:25:54 -05:00
twinaphex
6bba672d60
Compile video and audio filters as ARM64 architecture
2021-02-22 08:11:50 +01:00
twinaphex
4d8db1a091
Small cleanups
2021-02-20 10:05:41 +01:00
sonninnos
f333cd0df8
Logging level adjustments
2021-02-18 19:28:08 +02:00
sonninnos
6c3c2bea5f
Logging cleanups
2021-02-18 18:35:31 +02:00
sonninnos
371453623b
Screen Resolution option fixes
2021-02-16 22:59:24 +02:00
twinaphex
68027c606e
Silence some warnings
2021-02-09 16:43:40 +01:00
sonninnos
aad12cc663
(Windows) Mouse grabbing/clipping with alt-tab
2021-02-07 20:18:04 +02:00
Francisco José García García
066917ac23
Vita: VitaGL api changes ( #11981 )
...
* Vita: VitaGL api changes: vglSwapBuffers
* Vita: VitaGL api change: Remove vglStartRendering
2021-02-04 11:46:00 +01:00
Autechre
33110603e5
Shader log spam reduction ( #11977 )
...
* (Shaders) Change label
* Create RARCH_DBG - if you have Logging Verbosity set to 0, the
shader parsing log spam will show, otherwise it won't
2021-02-03 13:49:07 +01:00
twinaphex
4c97c22e00
(Win32) Exclude HAVE_FONTCONFIG codepath for Windows for now
2021-02-03 11:29:41 +01:00
twinaphex
c40943374b
Fix C89_BUILD
2021-02-03 10:11:33 +01:00
Autechre
6d2193bca8
Merge pull request #11970 from sonninnos/winraw-mouse-grab
...
(Windows) Mouse grab fixes
2021-02-03 09:59:27 +01:00
sonninnos
e39ade0f05
(WIN32) Cursor clipping for grabbed mouse
2021-02-02 14:15:58 +02:00
twinaphex
60a112ec97
Reduce dummy display driver null implementations with one
2021-02-02 12:28:17 +01:00
twinaphex
732fce9a04
(SDL2) Add ifdefs for HAVE_X11 and HAVE_WAYLAND
2021-02-01 23:18:06 +01:00
twinaphex
0b08693f9d
Merge branch 'sdl2-out-of-x' of git://github.com/keithbowes/RetroArch into master
2021-02-01 23:13:17 +01:00
jdgleaver
95226b77a1
Fix non-smooth text ticker + reduce line ticker code duplication
2021-02-01 16:35:56 +00:00
jdgleaver
ebfe32db3e
Add 'Upscale_256x-320x240' video filter
2021-01-31 13:38:40 +00:00
liushuyu
6b044e742b
(FontRenderer/FreeType): use C-style block comments
2021-01-30 20:05:15 -07:00
liushuyu
8132303d4f
(FontRenderer/FreeType) Use fontconfig to select fonts if available
2021-01-30 18:49:47 -07:00
Francisco Javier Trujillo Mata
082fa22b05
Clean all the warnings in PS2
2021-01-30 15:47:52 +01:00
Autechre
1eb45fdf9b
Merge pull request #11942 from barbudreadmon/patch-1
...
fix slang shaders with rotation
2021-01-28 15:54:27 +01:00
Daniel De Matteis
1ece33337c
(Mac) More warning fixes
2021-01-26 21:21:51 +01:00
Autechre
082ccc167e
Fix slang_process string to C char regressions ( #11943 )
2021-01-26 18:17:37 +01:00
barbudreadmon
7cb250f827
(GLCORE) fix slang shaders with rotation
2021-01-26 10:13:57 +01:00
barbudreadmon
af6bb016cb
(VULKAN) fix slang shaders with rotation
2021-01-26 10:09:45 +01:00
Autechre
7ea1d7d0da
Revert "Mac buildfixes ( #11933 )" ( #11934 )
...
This reverts commit 18a6880900
.
2021-01-24 03:56:05 +01:00
Autechre
18a6880900
Mac buildfixes ( #11933 )
...
* (Metal/WindowListener) Fix duplicate symbol errors by
moving implementation of WindowListener to cocoa_common.m
* (Apple) Cleanup some conditionals
* (Cocoa) Cut down on OSX ifdefs in Cocoa-specific code
2021-01-24 03:53:10 +01:00
Autechre
a49b02c44b
(Mac) Makefile changes for supporting Metal build ( #11929 )
...
* (QB) Add rule for Metal - define HAVE_COCOA_METAL for now
when building for Metal, and HAVE_COCOA for non-Metal build
* Make necessary changes to Makefile.common and qb/config.libs.sh:
- Disable OpenGL for now for Metal build
- Take Metal conditional out of OpenGL block in Makefile.common
* (Metal) Header fixes for compiling without Xcode/Griffin
* (Mac) Some buildfixes for non-Xcode building
* (cocoa_common.h) Restructure to no longer use -DOSX
* (Apple) More buildfixes
* (Apple) Cleanups
2021-01-22 22:20:38 +01:00
Keith Bowes
125154e831
Get the SDL2 video driver to work in Wayland/KMS
2021-01-21 09:42:06 -05:00
Autechre
cff0a4e202
MSVC2003 buildfix - ( #11915 )
...
* MIIM_STRING and MIIM_FTYPE only available if WINVER is higher than
or equal to 0x0500
2021-01-21 03:07:46 +01:00
Autechre
39e84fd5b2
Refactor Win32 menubar code - ( #11914 )
...
* Get rid of camelCase notation
* Turn functions into static functions if not used outside
* Rewrite while (true) as for (;;)
* Some general cleanups
2021-01-21 02:59:30 +01:00
Autechre
760c9a8482
(Mac) Remove Apple Core GL Context ( #11912 )
...
* Remove Apple CGL context - was never used and never tested
2021-01-21 00:33:12 +01:00
twinaphex
c7e8d2adf5
Silence warnings for some console platforms
2021-01-20 08:53:45 +01:00
twinaphex
55a766b0bc
(CocoaGL) Add forward declaration
2021-01-19 07:28:42 +01:00
twinaphex
6011ebd311
(cocoa_vk_ctx.m) Get rid of one static global
2021-01-19 06:44:09 +01:00
twinaphex
eea8e12343
(CocoaGL) Get rid of one static global
2021-01-19 06:37:01 +01:00
Twinaphex
a83c328631
(Metal) Fix some build problems
2021-01-19 04:38:07 +01:00
twinaphex
7b3f042fc6
(CocoaGL) Get rid of IOS Interface extensions
2021-01-18 21:49:34 +01:00
twinaphex
6a091cf20a
(cocoa_vk_cx) Cleanup
2021-01-18 21:43:33 +01:00
Twinaphex
69884a816f
(Cocoa GL) OSX - get rid of bounds/scale extension of NSScreen
2021-01-18 21:38:02 +01:00
twinaphex
f4a20870c7
video_shader_write_referenced_preset - logic flaw -
...
loaded_shader_preset_path is a character array - conditional boolean
check would always evaluate to true - check if string is empty
instead
2021-01-18 20:30:21 +01:00
twinaphex
83210eafd8
Split up cocoa_gl_ctx.m into two parts - cocoa_gl_ctx.m
...
and cocoa_vk_ctx.m
2021-01-18 20:02:31 +01:00
twinaphex
456cc022f3
(Metal) Buildfix
2021-01-18 19:36:33 +01:00
twinaphex
8d31c410a0
move cocoa_get_metrics to cocoa_common.m
2021-01-18 19:33:06 +01:00
twinaphex
a80a64f261
Add cocoa_update_title to cocoa_common.m
2021-01-18 19:28:36 +01:00
Twinaphex
3d17cf1e38
Move nsview_set/get/cocoaview_get to cocoa_common.m
2021-01-18 19:17:12 +01:00
Twinaphex
eea07ea367
(COcoa GL/Cocoa Common) Refactor code for eventual splitting up
...
of cocoa_gl_ctx.m into two files
2021-01-18 15:41:30 +01:00
Twinaphex
4036cc42e0
fast_forward_skips and is_syncing should only be used for non-OSX
2021-01-18 14:51:03 +01:00
twinaphex
3200d138b0
(Cocoa GL) Move variables
2021-01-18 06:02:32 +01:00
twinaphex
dfa3d216f8
(Cocoa GL) Refactors/cleanups
2021-01-18 04:34:51 +01:00
twinaphex
f6d35ee462
(iOS) Cleanups
2021-01-18 03:03:35 +01:00
twinaphex
82c751ead0
Remove unused glcontext_get_ptr
2021-01-18 02:05:29 +01:00
twinaphex
7bdbcfa2cc
(CocoaGL) Cleanups
2021-01-18 01:57:03 +01:00
twinaphex
39a98d5dfc
(Cocoa GL) Cleanups
2021-01-18 01:52:05 +01:00
twinaphex
2670613f6c
Don't use nativeScale/scale for OSX
2021-01-18 00:50:07 +01:00
Twinaphex
5a9598c238
get_backing_scale_factor - fix build
2021-01-18 00:30:58 +01:00
twinaphex
4117a4cbda
Rewrite get_backing_scale_factor - stop depending on runtime selector
...
invocations
2021-01-18 00:25:36 +01:00
twinaphex
6ac08ec123
Make customized version of get_video_size for OSX 10.7 and up to
...
avoid selector grabbing
2021-01-17 05:39:03 +01:00
twinaphex
e42f2b552f
(COcoa GL context) Small cleanups
2021-01-17 05:22:29 +01:00
twinaphex
1e9f6f175e
(OSX) Fix PowerPC build
2021-01-17 05:02:07 +01:00
Twinaphex
7177a8e7d9
Remove unused variable
2021-01-16 23:05:37 +01:00
twinaphex
4d5126f71a
Improve cocoagl_gfx_ctx_get_native_scale
2021-01-16 23:03:25 +01:00
twinaphex
6d39160de1
CLeanups
2021-01-16 22:36:03 +01:00
twinaphex
225b851eb6
Cleanups
2021-01-16 22:04:11 +01:00
twinaphex
757ea32782
Go back to CocoaView pointer in prototype
2021-01-16 20:37:56 +01:00
twinaphex
2299e3b1ab
Silence implicit conversion warnings
2021-01-16 20:33:35 +01:00
twinaphex
991f67a758
gfx_animation - simplify code
2021-01-16 20:15:56 +01:00
twinaphex
0946d06e82
(gfx_animation) Simplify code
2021-01-16 20:13:06 +01:00
twinaphex
552f973833
Cleanups/remove unused variables
2021-01-16 17:17:16 +01:00
twinaphex
4e74a6f8b1
Attempt to fix build for iOS
2021-01-16 17:02:25 +01:00
jdgleaver
3a6558c2f1
(RGUI) Add Russian language support
2021-01-13 10:00:51 +00:00
twinaphex
07db1bbfde
Cut down on code duplication
2021-01-08 23:20:34 +01:00
Nathan Strong
0e0fbb53f9
Remove the path_is_valid() call when loading textures
...
== DETAILS
The `path_is_valid()` call ends up invoking `stat()`, which is unpredictable.
It's practically free when implemented by an operating system (Linux, Windows),
but on embedded systems it can be problematic.
In the case of the Wii U, the stat() call actually ends up taking longer than
the file I/O. And the texture loading code already handles a "file not found"
case, so the stat() call ends up just being a waste of time.
Removing this reduces the texture load time from ~210-250ms down to 60-65ms
on average.
2021-01-07 21:06:07 -08:00
OsirizX
b96a0c495a
[VITA] Add support for Vita GLES2 (PIGLET)
2021-01-06 19:14:30 +01:00
pcjco
a33bcfead7
Some null pointer check
...
fix Wii version crash on load.
2021-01-06 00:03:31 +01:00
Autechre
fe848cae54
Merge pull request #11826 from valadaa48/oga_gfx_ogs_support
...
oga_gfx: support for OGS
2021-01-05 10:32:13 +01:00
valadaa48
e21784f9c4
drm_go2: Dynamic resolution support
...
- Remove hardcoded values for width and height and query from drm
context instead
2021-01-04 19:01:59 -05:00
valadaa48
659fb73867
oga_gfx: support for OGS
2021-01-04 18:58:58 -05:00
Francisco José García García
899ec9f9f4
[VITA] Disable depth test if needed
2021-01-03 17:31:18 +01:00
Francisco José García García
d83dcba0dd
[VITA] Fixes for GL HW renderer
2021-01-03 17:20:21 +01:00
Remi McGill
7a565d739d
Shaders fix for duplicate parameters loading bug
2020-12-31 15:50:55 -05:00
Autechre
9797ba9f27
Merge pull request #11743 from HyperspaceMadness/Shaders_Fix_Simple_Preset_Relative_Texture_Paths
...
Shaders Load Refactor and Fix Referenced Texture Loading
2020-12-31 16:13:20 +01:00
Remi McGill
8d1b949c9c
Shaders Fix Config Memory Leak
2020-12-30 11:02:59 -05:00
Dwedit
217b6d2f9d
Restored missing comments and fixes
2020-12-28 16:45:33 -05:00
Dwedit
34a31f8a1c
ui_win32_application.c: Add support for accelerators to main win32 message loop
...
rarch.rc: Add accelerators for Open (Ctrl+O) and Fullscreen (Alt+Enter)
ui_win32_resource.h: Add accelerator resource ID definition
win32_common.c: Load accelerators, Localize Win32 menu items to current language, and display shortcut keys
2020-12-28 16:39:39 -05:00
twinaphex
357b7d68f6
(libretro-common) Rename rhash to lrc_hash
...
(rcheevos) Rename rhash to rc_hash
2020-12-28 19:55:54 +01:00
HyperspaceMadness
f86dbfc5a2
Shaders Fix Referencing issue in QT
2020-12-27 20:32:43 -05:00
twinaphex
9ddc39af59
Buildfix
2020-12-27 20:01:41 +01:00
twinaphex
b1af12efc9
Add more PSL1GHT ifdefs
2020-12-27 18:56:00 +01:00
Remi McGill
0c504906cb
Shaders - Fixed a Reference Pathing Issue on QT
2020-12-27 12:47:47 -05:00
twinaphex
c3ba223fe2
Do away with objc_msgSend calls
2020-12-27 17:31:57 +01:00
HyperspaceMadness
0c526b6498
Shaders Load Refactor and Fix Referenced Texture Loading
...
Partial update to work with shaders directly
More Edits
More changes
more shader fixes
More Fixes Compiling, reference load still wrong
Added Feedback & things are working
Logging Fixes
Log Fix
More Fixes
Added Feedback Logging
Fixes for file pathing in Linux
Fix GLCore and Crash in QT Saving
Code Cleanup
Removed Unused Function filepath.c
Code Cleanup
2020-12-26 21:09:27 -05:00
Aaron Kling
57e3ab71d9
android: retro_sleep build fix
2020-12-22 17:29:26 -06:00
twinaphex
7dcfd7a038
retro_sleep buildfix
2020-12-21 21:11:59 +01:00
twinaphex
627b668da8
Another buildfix for retro_sleep
2020-12-21 21:06:54 +01:00
twinaphex
16bb56b7a2
Update
2020-12-21 21:04:31 +01:00
twinaphex
8df5fe2a60
CLeanup
2020-12-20 16:48:52 +01:00
aliaspider
16f997172f
(D3D12) allocate rt_view descriptors for feedback render targets too.
2020-12-20 08:08:04 +01:00
aliaspider
bf2adda421
(D3D12) move D3D12SignalCommandQueue to d3d12_gfx_sync.
2020-12-20 07:13:11 +01:00
aliaspider
1681322ffc
(D3D12) fix the D3D12GetCompletedValue function wrapper.
...
- a function wrapper shouldn't contain any NULL checks, and it should
return the original UINT64 value, not a boolean.
2020-12-20 07:08:33 +01:00
twinaphex
870707dbe8
Remove obsolete __CELLOS_LV2__ references - use PSL1GHT instead
2020-12-19 15:32:26 +01:00
twinaphex
7d313647ae
(D3D11) Add flip model support - fallback to blit model for OSes
...
where flip model is not supported (windows 7 and earlier). Will add
a menu option later allowing the user to switch inbetween the two
2020-12-17 14:39:58 +01:00
twinaphex
d6a0bdaa30
(D3D12) Increase this to 2048 - avoids D3D12 crash on startup
2020-12-17 09:41:05 +01:00
twinaphex
38ce3927ae
(D3D10/11/12) Increase sprite capacity, we need this so that
...
the hardware rendered menu drivers don't glitch out
2020-12-17 08:31:06 +01:00
twinaphex
2a8024a71b
(D3D10) Cleanups - create init_swapchain function
2020-12-15 23:05:58 +01:00
twinaphex
093dc30ffd
Refactor d3d11_init_swapchain some more
2020-12-15 22:56:29 +01:00
twinaphex
a1fd1d425c
(D3D11) Split init swapchain code up into own function
2020-12-15 08:19:04 +01:00
twinaphex
ad2502b645
(D3D11) Change this back
2020-12-15 08:09:48 +01:00
twinaphex
2d588ca4ef
Simplify vulkan_create_texture
2020-12-15 08:00:22 +01:00
twinaphex
d55ca599e0
Replace with macros
2020-12-15 07:28:39 +01:00
twinaphex
cdca5d0afc
Turn vulkan_copy_staging_to_dynamic into macro
2020-12-15 07:20:33 +01:00
twinaphex
d70420a12d
vulkan_copy_staging_to_dynamic - put sync texture to GPU
...
outside of the function
2020-12-15 07:01:00 +01:00
twinaphex
6b38a7916a
(Vulkan) Simplify code
2020-12-15 06:19:48 +01:00
valadaa48
bbb9c1d248
oga_gfx: implement RETRO_ENVIRONMENT_GET_CURRENT_SOFTWARE_FRAMEBUFFER
2020-12-13 21:16:11 -05:00
jdgleaver
74fff8dc62
(RGUI) Add support for CJK punctuation glyphs
2020-12-13 12:34:53 +00:00
Autechre
71ed4db45a
Merge pull request #11681 from crystalct/master
...
Fix multipass shaders on PS3 - fix #11673
2020-12-11 20:18:35 +01:00
jdgleaver
f657344d85
(OpenDingux/sdl_dingux_gfx) OSD font clean-up
2020-12-11 17:33:41 +00:00
unknown
96a7db2451
Fix multipass shaders on PS3
2020-12-11 18:22:27 +01:00
jdgleaver
0f0ccbadc0
(RGUI) Add support for CJK fonts
2020-12-10 15:17:26 +00:00
twinaphex
625f0d4fc6
Improve conditional
2020-12-05 04:54:22 +01:00
twinaphex
9688554921
(D3D11) Use SWAP_EFFECT_*_DISCARD from now on fallback PC codepath
2020-12-05 04:48:11 +01:00
HyperspaceMadness
e98a8ce591
Shaders Fix Crash change num shader passes in UI
2020-11-30 19:30:15 -05:00
HyperspaceMadness
06e32982db
Shaders_SaveAs_Fix_And_Better_Reference_Handling
2020-11-29 19:16:38 -05:00
Autechre
1cbc26ac9e
Merge pull request #11614 from HyperspaceMadness/Shader_Multi-Level_Referenced_Presets
...
Shader_Multi-Level_Referenced_Presets
2020-11-25 15:47:31 +01:00
Autechre
debb9c6b0a
Merge pull request #11622 from Jamiras/cheevos_lboard_spacing
...
(cheevos) calculate leaderboard widget spacing based on video resolution
2020-11-24 20:50:20 +01:00
Jamiras
e6a7961dd5
calculate spacing based on video resolution
2020-11-24 07:42:50 -07:00
Conrad Kreyling
9cfe50ddd3
Fix missing division sign in sunxi_gfx.c
...
Same fix as 71c031099b
for the same problem, just in a different file.
2020-11-23 13:31:16 -05:00
HyperspaceMadness
f0c4343cb9
Removed extra printf left behind
2020-11-22 19:39:34 -05:00
HyperspaceMadness
abb2d06ce9
Shader_Multi-Level_Referenced_Presets
2020-11-22 19:10:08 -05:00
HyperspaceMadness
35b49f3b82
Shader_Increase_Max_Textures_Line
2020-11-22 09:50:24 -05:00
jdgleaver
c2f1b9f336
Add Upscale1.5x video filter
2020-11-20 15:22:09 +00:00
Autechre
fbd04ea76e
Merge pull request #11590 from Cpasjuste/crt_switch_timings
...
(KMS/DRM) add support for custom hdmi_timings / modes
2020-11-19 13:45:15 +01:00
cpasjuste
e31182b005
(KMS/DRM) cleanup custom video mode loading (crt_switch_timings)
2020-11-19 10:21:18 +01:00
Autechre
3f1d25f1f7
Merge pull request #11576 from HyperspaceMadness/Shader_Preset_Remove_parameters_line
...
Shader_Preset_Remove_parameters_line
2020-11-19 07:18:49 +01:00
cpasjuste
485513ba61
(KMS/DRM) correctly handle custom modes polarity, implement aspect ratio support from hdmi_timings
2020-11-18 15:21:03 +01:00
cpasjuste
0082806620
(KMS/DRM) add support for custom modes from hdmi timings
2020-11-18 11:34:44 +01:00
aliaspider
c6b77f6c62
(D3D11) get the hwrender texture format from the view desc
...
the format set in the texture desc isn't necessarily the same as the
view format.
2020-11-15 15:07:53 +01:00
aliaspider
b3134fc05a
(D3D11) fix slang shaders
2020-11-15 13:04:24 +01:00
HyperspaceMadness
deb8e2b88c
Shader_Preset_Remove_parameters_line
2020-11-14 21:23:18 -05:00
aliaspider
b7d3efc503
(D3D11) rename D3D11SetState to D3D11SetRasterizerState.
2020-11-14 04:29:44 +01:00
Rinnegatamante
c04d9d62db
Don't realloc video buffer when unnecessary.
2020-11-13 14:55:40 +01:00
Tony Jansson
f497608055
(WINRAW) Keyboard mods fix
2020-11-13 04:25:07 +02:00
jdgleaver
5fb8861d34
Video filter optimisations
2020-11-11 17:00:09 +00:00
HyperspaceMadness
5008ac6eb0
Merge branch 'master' into Shader_Save_Load
2020-11-10 17:05:23 -05:00
Autechre
64ef2fb824
Merge pull request #11543 from sonninnos/dinput-modkeys
...
(DINPUT) Simultaneous shift sticky fix
2020-11-09 23:39:21 +01:00
Tony Jansson
eca9c452d8
(DINPUT) Simultaneous shift sticky fix
2020-11-09 21:20:46 +02:00
jdgleaver
cd1b2cea76
Add Normal4x video filter
2020-11-09 16:21:47 +00:00
HyperspaceMadness
e6ee8818af
Shaders_improve_message_for_textures_not_found
2020-11-08 12:21:09 -05:00
aliaspider
c85e09ddad
improve handling of arabic and persian text.
2020-11-08 04:47:08 +01:00
HyperspaceMadness
a5e57aa74d
Increase_Shader_Parameter_Count_to_512
2020-11-06 22:42:15 -05:00
HyperspaceMadness
fd240f9a32
Shader Save Load Cleanup and UI Rename
2020-11-04 10:05:46 -05:00
HyperspaceMadness
1185df5f39
Shader Save & Load Fixes params not being loaded
2020-11-03 23:12:59 -05:00
HyperspaceMadness
f6e35420bc
Simple Shader Save Cleanup
2020-11-02 21:07:20 -05:00
HyperspaceMadness
70bf90c5d8
Shader_Preset_Simple_Save_Cleaned_2020_11_01
2020-11-01 09:18:40 -05:00
jdgleaver
3481437b29
OpenDingux: Fix frozen video when enabling fast forward
2020-10-29 15:50:12 +00:00
Autechre
8d0963735f
Merge pull request #11497 from justinweiss/3ds-rotation
...
[3DS] Allow sideways screen rotation
2020-10-29 04:55:52 +01:00
Justin Weiss
91c695ac52
[3DS] Allow sideways screen rotation
2020-10-27 21:13:19 -07:00
twinaphex
10f395df25
Silence warning
2020-10-28 02:22:02 +01:00
valadaa48
82ce3ae632
oga_gfx: use 32bit aligned surface and other cleanups
2020-10-23 23:34:31 -04:00
jdgleaver
feb3bd0794
Refactor Scale2x video filter (crash fix + slight performance improvement)
2020-10-23 23:43:23 +01:00
twinaphex
2fb60e9510
Cleanup
2020-10-16 00:24:59 +02:00
twinaphex
5f8c270d4c
Make update_time_callback a part of the animation struct
2020-10-15 08:35:37 +02:00
twinaphex
e3972aff31
Turn variable const
2020-10-15 06:12:26 +02:00
twinaphex
44b7234756
Move cheat_manager and state_manager to root folder
2020-10-15 05:29:20 +02:00
Tony Jansson
c2e8752395
(DINPUT+WINRAW) Keyboard fixes
2020-10-14 21:23:06 +03:00
twinaphex
e8a7195a46
Rename gfx_timer_start to gfx_animation_timer_start
2020-10-14 07:26:24 +02:00
twinaphex
379bd80cda
Get rid of gfx_animation_ctl
2020-10-14 04:40:20 +02:00
twinaphex
fd17661e02
Cleanups
2020-10-14 04:15:42 +02:00
twinaphex
b6039b1638
Cleanups
2020-10-14 04:05:32 +02:00
twinaphex
7c48e77bcd
Get rid of getter functions
2020-10-14 02:33:15 +02:00
twinaphex
ac03578617
Remove some getter functions
2020-10-14 02:24:18 +02:00
twinaphex
992e780407
Get rid of gx_timer_kill
2020-10-14 02:09:39 +02:00
twinaphex
6e09eada2d
Cleanups
2020-10-14 01:02:22 +02:00
twinaphex
8802712ae7
Cleanups
2020-10-14 00:46:38 +02:00
Francisco José García García
085e592761
[VITA] Workaround: Increase memory threshold
2020-10-12 19:24:49 +02:00
jdgleaver
6094e2c32a
OpenDingux: Ensure SDL surface width is a multiple of 16 when using 'sdl_dingux' gfx driver (crash/glitch fix)
2020-10-12 12:16:44 +01:00
twinaphex
c01e8d52a5
Small cleanups to vulkan_create_texture
2020-10-12 01:53:21 +02:00
twinaphex
a11a0eae77
(Vulkan) Style nits
2020-10-12 01:36:50 +02:00
twinaphex
5c76ccbe4a
Cleanups
2020-10-12 01:26:51 +02:00
twinaphex
68e56a2345
Add warning to update_time_callback
2020-10-10 17:36:29 +02:00
valadaa48
c6aaa0076b
drm_gfx: fix race condition in drm_surface_set_aspect
2020-10-10 00:04:09 -04:00
jdgleaver
54f2156954
Further video filter additions
2020-10-09 13:59:41 +01:00
jdgleaver
2dc837850f
OpenDingux: Add 'sdl_dingux' input/joypad drivers and use by default
2020-10-08 13:26:45 +01:00
twinaphex
18d21d8f95
Cleanups
2020-10-05 22:01:31 +02:00
twinaphex
d66541ba99
Turn function static
2020-10-05 21:54:07 +02:00
twinaphex
54f30e31a1
Cleanups
2020-10-05 21:44:13 +02:00
twinaphex
088e6b9e44
Move gfx_widgets_pure_white to dispwidget struct
2020-10-05 19:59:15 +02:00
twinaphex
90503f885b
Move msg_queue_background to struct
2020-10-05 19:54:54 +02:00
twinaphex
a7c54f1848
Move video_driver_thread pointer grabbing to retroarch.c
2020-10-05 18:13:53 +02:00
twinaphex
d1dd0e9d60
Not sure why this printf was there
2020-10-05 16:01:40 +02:00
jdgleaver
80f1da2fb1
OpenDingux: Enable selection of image interpolation method when using 'sdl_dingux' gfx driver
2020-10-05 14:34:21 +01:00
jdgleaver
472f01e0e6
OpenDingux/sdl_dingux: Prevent crash when selecting invalid video modes + optimisations
2020-10-04 11:43:33 +01:00
twinaphex
fbd4fc5094
Try to avoid having to repeatedly grab the pointer
2020-10-03 20:30:57 +02:00
twinaphex
326f40d598
Cleanup
2020-10-03 18:37:53 +02:00
twinaphex
467dd68fa4
Cleanup
2020-10-03 18:32:21 +02:00
twinaphex
0e4aa46335
Cleanups
2020-10-03 18:25:43 +02:00
twinaphex
ecd72b5be6
(widgets) Get rid of get_ptr function calls
2020-10-02 22:23:51 +02:00
twinaphex
f82b357f86
Remove getter gfx_widget_get_backdrop_orig
2020-10-02 22:12:05 +02:00
twinaphex
20371e5102
(gfx_thumbnail) get rid of small getters
2020-10-02 21:59:02 +02:00
twinaphex
f84c6ec8cd
Use STRLEN_CONST where possible; and don't needlessly do strlen
...
twice
2020-10-02 20:57:29 +02:00
jdgleaver
bbba80f01e
OpenDingux: Enable integer scaling when using the 'sdl_dingux' gfx driver
2020-10-02 16:38:42 +01:00
twinaphex
0bfbf81b49
Cleanups
2020-10-02 14:33:35 +02:00
twinaphex
4adfaa07fc
Cleanups
2020-10-02 14:16:12 +02:00
twinaphex
079c2dadff
(gfx_display.c) Do early returns before computing a bunch of stuff
2020-10-02 14:07:01 +02:00
twinaphex
cd469d3fb2
gfx_widgets_draw_regular_msg - optimization - only set alpha colors
...
again if alpha hasn't already been applied
2020-10-02 13:33:05 +02:00
twinaphex
2594bd2cf6
Some static globals can be moved to functions
2020-10-02 13:30:57 +02:00
twinaphex
c45e7c9bc5
Cleanup
2020-10-02 11:36:11 +02:00
twinaphex
a38ecbe7de
gfx_widgets_iterate - cleanup
2020-10-02 11:32:49 +02:00
twinaphex
c736f2ce28
Cleanups
2020-10-02 11:00:19 +02:00
twinaphex
2e752d93cc
Cleanup
2020-10-01 18:34:01 +02:00
twinaphex
cecd48e6b5
gfx_display_draw_cursor - take out early return
2020-10-01 18:22:29 +02:00
jdgleaver
3bd66cc14d
OpenDingux port improvements: Phase 1
2020-10-01 15:56:14 +01:00
twinaphex
e8ab0a892a
gfx_display_get_adjusted_scale_internal - cleanup
2020-10-01 12:33:58 +02:00
twinaphex
4f82c26f6c
Cleanups
2020-10-01 12:26:49 +02:00
twinaphex
48a2e0528d
gfx_display_font_file - cleanup
2020-10-01 12:24:17 +02:00
twinaphex
d08a3b2310
These functions were never used
2020-10-01 12:22:56 +02:00
twinaphex
4965b78ea3
PARTICLES_COUNT doesn't seem used anymore
2020-10-01 12:21:57 +02:00
twinaphex
497f2d92b5
gfx_widgets_ai_service_overlay_load - cleanup
2020-10-01 12:20:34 +02:00
Connor McLaughlin
696df6e916
(video/d3d11) Skip shader/stock blend when we don't have a texture
...
This happens if the core calls video_cb with the frame set to null on
the first frame, and was causing black screens/driver resets.
The ffmpeg core seems to do this.
2020-10-01 19:19:13 +10:00
twinaphex
a02f8a24fa
Get rid of forward declarations
2020-10-01 11:06:59 +02:00
twinaphex
fe38cd9cbc
(gfx widgets) get rid of more getter functions
2020-10-01 10:55:37 +02:00
twinaphex
dee807cb54
(gfx widgets) Start removing a lot of getter functions
2020-10-01 10:50:45 +02:00
Connor McLaughlin
10bbe119a7
(video/d3d11): Fix shaders with scaled framebuffers
...
The scissor rectangle was left as whatever the core last used.
2020-10-01 16:53:19 +10:00
twinaphex
1e6828fd63
Cleanups
2020-09-30 19:18:40 +02:00
twinaphex
f8b828e623
gfx_display_draw_bg - cleanups
2020-09-30 18:56:46 +02:00
twinaphex
8683f68ccb
Cleanup
2020-09-30 18:52:22 +02:00
Autechre
7f3b1c69e3
Merge pull request #11392 from stenzek/d3d11
...
(video/d3d11) Fix background in menus, and shaders for hardware renderers
2020-09-30 17:57:27 +02:00
Connor McLaughlin
30c6f90c93
(video/d3d11) Use cached view as the slang source texture
...
Fixes shaders in D3D11 driver.
2020-10-01 00:19:11 +10:00
Connor McLaughlin
12382c057a
(video/d3d11) Cache view left bound by hw renderers
...
Fixes garbage/black screen when menu is active.
2020-10-01 00:19:11 +10:00
twinaphex
0642ea6d5d
Remove gfx_display_snow
2020-09-30 15:57:21 +02:00
twinaphex
0ec93e7fff
(gfx_display) Cleanups
2020-09-28 07:22:52 +02:00
twinaphex
1e61480e0a
Get rid of get/set_header_height
2020-09-28 05:06:02 +02:00
twinaphex
03ff504aa8
Remove gfx_display_scissor_end
2020-09-28 04:04:16 +02:00
twinaphex
d44ab6facf
framebuffer_dirty functions - remove these and set member variables
...
directly in rgui.c and retroarch.c
2020-09-28 03:49:13 +02:00
twinaphex
f38eb84cc7
Move gfx_display_draw_text to retroarch.c and get rid of
...
video_driver_set_osd_msg
2020-09-28 03:38:16 +02:00
twinaphex
9d6bfabd02
Move reset_list_buffer to gfx_widgets and turn it into a static function
2020-09-28 03:30:22 +02:00
twinaphex
c744baeb89
Add ctype variants to stdstring and use it in RA
2020-09-27 22:15:32 +02:00
twinaphex
e87b44a68c
Remove stub functions in null display driver
2020-09-27 00:18:16 +02:00
twinaphex
7225170e97
Cleanups
2020-09-26 23:51:59 +02:00
twinaphex
a56673e52d
MSVC buildfix
2020-09-26 23:37:03 +02:00
twinaphex
b830d15628
(drivers_display) Cleanups
2020-09-26 23:31:12 +02:00
twinaphex
e1dbf5dab1
Remove drivers_display viewport - was unused
2020-09-26 22:01:23 +02:00
twinaphex
fbe0924d44
Remove some stub functions
2020-09-26 21:40:16 +02:00
twinaphex
e428166a05
Remove unused gfx_display_get_framebuffer_pitch
2020-09-26 20:04:55 +02:00
twinaphex
f22488f620
gfx_display_coords_array_reset unused - remove
2020-09-26 20:03:20 +02:00
twinaphex
14c9ccfda8
Remove gfx_display_{set/get}_driver_id
2020-09-26 19:58:15 +02:00
jdgleaver
6c549d687c
Gameboy/Dot_Matrix video filters: Add XRGB8888 support
2020-09-25 16:32:24 +01:00
jdgleaver
b8fb26c196
Fix video filters for builds where both 'HAVE_DYLIB' and 'HAVE_FILTERS_BUILTIN' are defined
2020-09-25 10:51:46 +01:00
twinaphex
bc43db1789
Remove gfx_display_get_coords_array
2020-09-25 10:31:07 +02:00
Autechre
7d8518ec45
Merge pull request #11373 from Jamiras/cheevos_lboard_display
...
(cheevos) add display widget for active leaderboards
2020-09-25 03:38:03 +02:00
Jamiras
71cd400e56
add display widget for active leaderboards
2020-09-24 11:29:29 -06:00
jdgleaver
3d4ddebcaf
Add several LCD-effect video filters
2020-09-24 16:11:07 +01:00
Twinaphex
e0d04c29bc
Fix regression
2020-09-24 09:39:02 +02:00
twinaphex
8c440ef72c
Optimize gfx_display_draw_keyboard
2020-09-24 09:07:47 +02:00
twinaphex
eb0376fe7d
Do white texture freeing outside of gfx_display_init_white_texture
2020-09-24 07:03:24 +02:00
twinaphex
a74d24c3ce
Rename gfx_display_allocate_white_texture to
...
gfx_display_init_white_texture
2020-09-24 06:46:21 +02:00
twinaphex
5f89551e54
Cleanups
2020-09-24 06:37:25 +02:00
twinaphex
515e119861
Get rid of gfx_animation_get_delta_time
2020-09-24 06:14:04 +02:00
twinaphex
2ab0300c33
gfx_display.c - can drop dependency now on gfx_animation.h
2020-09-24 06:00:32 +02:00
twinaphex
37237db804
GFX_DISPLAY_GET_UPDATE_PENDING - turn function into macro
2020-09-24 05:59:14 +02:00
twinaphex
c040e4cd08
Cleanups
2020-09-23 22:14:30 +02:00
twinaphex
4fb2065061
Get rid of gfx_display_draw_pipeline
2020-09-23 21:56:48 +02:00
twinaphex
557b445b27
Cleanups
2020-09-23 21:44:23 +02:00
twinaphex
5a481d8653
Get rid of gfx_display_blend_{begin/end}
2020-09-23 21:37:18 +02:00
Autechre
7938a5e3ac
Merge pull request #11366 from sonninnos/vulkan-minimized-cpu
...
(Vulkan) Fix CPU usage when minimized
2020-09-23 17:22:07 +02:00
twinaphex
43b43351fa
Start making gfx_display_blend_begin and gfx_display_blend_end
...
unnecessary
2020-09-23 09:32:42 +02:00
Tony Jansson
a0eee521e3
(Vulkan) Fix CPU usage when minimized
2020-09-23 04:17:30 +03:00
Tony Jansson
bb1c853ecd
(Vulkan) Reduce log spam
2020-09-23 02:00:03 +03:00
twinaphex
77abaac79c
Get rid of duplicate function gfx_display_draw_blend
2020-09-22 04:13:53 +02:00
twinaphex
bde4abfe8b
(Gfx display driver) Get rid of unused restore_clear_color/clear_color
2020-09-22 04:03:19 +02:00
twinaphex
02985900c8
Get rid of unused gfx_display_restore_clear_color
2020-09-22 03:56:02 +02:00
twinaphex
6bb3e37d53
Get rid of gfx_display_clear_color
2020-09-22 03:54:22 +02:00
twinaphex
97225bfe64
(gfx_display.c) Cleanups
2020-09-22 03:53:10 +02:00
twinaphex
d898304ee5
Get rid of gfx_display_draw_gradient
2020-09-22 03:29:48 +02:00
twinaphex
065d781df7
(X11) Buildfix
2020-09-20 18:16:02 +02:00
twinaphex
5bd71497c5
(dispserv X11) Get rid of static global variables
2020-09-20 18:13:00 +02:00
twinaphex
f1f66597a3
Cleanups
2020-09-20 17:57:44 +02:00
twinaphex
8eeb612493
Cleanups
2020-09-20 17:50:06 +02:00
twinaphex
bdbfc80584
Cleanups
2020-09-20 03:06:23 +02:00
twinaphex
0e49f058f3
Use strcpy_literal in more places
2020-09-19 23:59:06 +02:00
twinaphex
1296fc4745
use strlcpy_literal for string literal copies
2020-09-19 23:28:01 +02:00
Autechre
7b600d46ad
Merge pull request #11342 from Ophidon/master
...
Variable BFI
2020-09-19 22:24:47 +02:00
Ophidon
05c5bdf587
C89 Compliance
...
For loop iterators updated for C89 compliance.
2020-09-19 13:28:21 -04:00
valadaa48
15708f5d44
oga_gfx: strlcpy, msg max len 128 + style nits
2020-09-19 11:23:59 -04:00
twinaphex
ca9683d58d
C89 fixes - use C style comments instead of C++, style nits
2020-09-19 14:47:40 +02:00
valadaa48
7015e199bb
oga_gfx: rewrite
...
- Drop libgo2 dep
- Use more features of RGA
- Triple buffer instead of double buffer
- Rewrite of message code to support surface caching, transluceny,
and multiline message support. Messages also don't scale with the
emulation frame anymore and are drawn directly to the frame buffer.
- Better support for aspect ratios
2020-09-18 21:24:10 -04:00
Ophidon
2f36c94f3f
Variable BFI
...
BFI support added for 180hz / 240hz / etc. Solves issue with image retention from voltage issues at 120hz BFI. Also disabled BFI while in menu, as if set to an incorrect value for the current refresh rate, could cause severe flickering and difficulty reverting to the correct value.
2020-09-18 11:57:32 -04:00
twinaphex
c2cd39379a
(gfx_widgets.c) Put FIFO queue on stack
2020-09-18 02:18:21 +02:00
Ben
b33f0b9121
low resoluiton fis for RetroArch exit
...
On exit changes
2020-09-16 14:13:04 +01:00
Ben
17809688a6
Fix for low resoltion crash
...
256x240 resolutions and lower are now working
2020-09-16 14:07:15 +01:00
Ben
382044b5bf
Low resolution switch bug fix
...
This allows resolutions lower that 32x224 like 256x224 to work
2020-09-16 13:49:34 +01:00
twinaphex
4e594c6437
Move win32_window_init outside of ui_win32.c and to gfx/common/win32_common.c
2020-09-16 10:29:50 +02:00
Twinaphex
62f4eae323
(Cocoa) Cleanups
2020-09-15 20:53:48 +02:00
twinaphex
a49b81c161
Cleanup
2020-09-15 11:48:56 +02:00
twinaphex
26b2295759
(cocoa_gl_ctx.m) Style nits
2020-09-15 11:28:04 +02:00
twinaphex
c436ac83cd
Call gl2_set_viewport directly
2020-09-15 11:11:32 +02:00
twinaphex
3a37e13a54
Call video_driver_set_viewport directly
2020-09-15 11:05:47 +02:00
twinaphex
c133c2a10c
(Cocoa GL ctx) Add updateSel
2020-09-14 23:59:42 +02:00
Twinaphex
13e553a34b
get_backing_scale_factor - use class_respondsToSelector
2020-09-14 21:27:22 +02:00
twinaphex
fb6642192d
Add TARGET_OS_OSX ifdef around this
2020-09-14 16:17:31 +02:00
Twinaphex
2bfadbdad5
(Apple CocoaGL) Call flushBuffer with msg_objcSend
2020-09-14 16:15:53 +02:00
twinaphex
5838817bbd
Get rid of gfx_widgets_set_status_text
2020-09-14 14:11:44 +02:00
twinaphex
15ace7c0cb
Fix C89_BUILD issue
2020-09-14 13:25:18 +02:00
twinaphex
11e65e20b7
Cleanup
2020-09-14 13:06:04 +02:00
twinaphex
19a380a328
Revert "(X11/dispserv) Cleanups"
...
This reverts commit 30cde1edfb
.
2020-09-14 13:05:02 +02:00
twinaphex
30cde1edfb
(X11/dispserv) Cleanups
2020-09-14 13:04:14 +02:00
twinaphex
1b61ef4a5a
Cleanups
2020-09-14 12:59:32 +02:00
twinaphex
9bd1046538
(dispserv_x11.c) Buildfix
2020-09-14 12:57:34 +02:00
twinaphex
9cb8fb8de5
Include missing header
2020-09-14 12:54:15 +02:00
twinaphex
868ef85f5d
(dispserv_x11.c) C89 nits/cleanups
2020-09-14 12:53:49 +02:00
Autechre
b5c3d04c1f
Merge pull request #11323 from alphanu1/master
...
CRTSwitchRes improvements and Core Load Chrash Fix
2020-09-14 12:41:53 +02:00
alphanu1
cb404b676d
Fix seg faults
2020-09-11 18:54:17 +01:00
alphanu1
897ea6aff3
Fix for bad res name
2020-09-11 18:04:40 +01:00
alphanu1
7b2588c721
Fix mem compile errors
2020-09-11 17:31:17 +01:00
jdgleaver
55b6d8ba15
Miscellaneous overlay fixes
2020-09-11 17:00:44 +01:00
alphanu1
d7d03a8759
Clean up resources to reduce memory leaks
2020-09-11 16:59:38 +01:00
alphanu1
afc3badd72
Fixed Crash On Core Load
2020-09-11 16:30:43 +01:00
alphanu1
dc19dd3db4
Closing XDisp to reduce mem leaks
2020-09-11 16:17:46 +01:00
alphanu1
877408adda
Fixed Missing Variable
2020-09-11 15:57:56 +01:00
alphanu1
e5b4fb4c7c
CRTSwitchRes improvements and Core Load Chrash Fix
2020-09-11 15:39:05 +01:00
Autechre
daf6843cd3
Revert "CRTSwitchRes Improvements (removal of system calls)"
2020-09-11 15:15:07 +02:00
twinaphex
a21d09addc
Revert "(dispserv_x11.c) Cleanups"
...
This reverts commit e27b314afb
.
2020-09-11 15:14:22 +02:00
twinaphex
6fd1485c34
Revert "Turn g_monitor_index into static global"
...
This reverts commit 65f5544a7e
.
2020-09-11 15:14:11 +02:00
twinaphex
c6fa9c6720
Revert "Add header"
...
This reverts commit 1b9c906d69
.
2020-09-11 15:14:04 +02:00
twinaphex
85515b239f
Revert "Get rid of this unused variable"
...
This reverts commit bcfd4a3cd6
.
2020-09-11 15:13:48 +02:00
twinaphex
fb3d8a634b
Revert "(dispserv_x11) Cleanups"
...
This reverts commit 3d09bacb93
.
2020-09-11 15:13:42 +02:00
twinaphex
6f6b15aedd
(drivers_display) Cleanups
2020-09-11 14:21:09 +02:00
twinaphex
6a82772b72
Revert "Avoid having to call expensive matrix identity functions"
...
This reverts commit 7a87917c58
.
2020-09-11 14:16:12 +02:00
twinaphex
7a87917c58
Avoid having to call expensive matrix identity functions
2020-09-11 14:06:42 +02:00
twinaphex
bac1f1fd51
Cleanup
2020-09-11 13:48:23 +02:00
twinaphex
343fef1264
(drivers_display) Cleanups
2020-09-11 13:46:35 +02:00
twinaphex
60b26bd490
(drivers_display) cleanups
2020-09-11 13:19:07 +02:00
twinaphex
3d09bacb93
(dispserv_x11) Cleanups
2020-09-11 11:37:08 +02:00
twinaphex
bcfd4a3cd6
Get rid of this unused variable
2020-09-11 08:22:13 +02:00
twinaphex
1b9c906d69
Add header
2020-09-11 08:20:21 +02:00
twinaphex
65f5544a7e
Turn g_monitor_index into static global
2020-09-11 08:15:14 +02:00
twinaphex
e27b314afb
(dispserv_x11.c) Cleanups
2020-09-11 08:13:33 +02:00
Autechre
5640a5b512
Merge pull request #11315 from alphanu1/master
...
CRTSwitchRes Improvements (removal of system calls)
2020-09-11 07:29:19 +02:00
Soar Qin
728c2b3af4
fix over-translating codes for window ClassName, as an additional fix to 3c6552b
2020-09-11 01:38:58 +08:00
Ben
42c22df72a
Code cleanup
2020-09-10 14:44:49 +01:00
Ben
00ba1646c6
Merge remote-tracking branch 'upstream/master'
...
Upstream
2020-09-10 14:37:17 +01:00
alphanu1
28463a9729
CRTSwirchRes Improvements
...
Removed all system call. Switching now only uses RandR Library.
Resolutions checks to prevent conflicts and crashes.
Closing X11 server now runs a clean up to removes all resolutions installed.
2020-09-10 13:52:31 +01:00
Autechre
33a04a794f
Merge pull request #11312 from justinweiss/3ds-enable-threading
...
[3DS] Enable threading and add a threaded audio driver
2020-09-10 06:50:12 +02:00
Autechre
2d3c63f545
Merge pull request #11248 from justinweiss/update-libctru
...
[3DS] Update to libctru 2.0
2020-09-10 06:49:54 +02:00
driver1998
9cf71619d3
GDI: use custom BITMAPINFO struct to avoid malloc
2020-09-07 12:36:43 +08:00
driver1998
fb00bf8602
gdi: Fix crashing
2020-09-07 10:55:25 +08:00
driver1998
a4dec6e226
d3d9: "Fix" the HLSL render chain
...
It won't get you very far, but at least it won't crash.
Needs HAVE_HLSL and HAVE_D3DX defines and DirectX SDK
2020-09-07 10:13:41 +08:00
Autechre
5ce53c3c01
Merge pull request #11277 from valadaa48/oga_gfx_round_width
...
oga_gfx: round width to nearest integer when scaling
2020-09-04 04:59:31 +02:00
twinaphex
5fdf0c818d
Cleanups
2020-09-04 04:15:46 +02:00
twinaphex
91d78c1e9f
video_shader_read_reference_path - simplify
2020-09-04 04:12:51 +02:00
twinaphex
09f72c1465
Turn function static
2020-09-04 04:07:29 +02:00
valadaa48
405b987986
oga_gfx: round width to nearest integer when scaling
2020-09-03 21:53:21 -04:00
twinaphex
88c0024a52
Cleanup video_shader_read_reference_path
2020-09-04 03:49:41 +02:00
twinaphex
4ca691acc9
Cleanup
2020-09-04 03:32:25 +02:00
twinaphex
197f6a7763
Struct reordering, alignment
2020-09-01 19:59:56 +02:00
twinaphex
e810b0251a
(GL) Cleanups
2020-09-01 19:54:41 +02:00
twinaphex
0cba3104be
Turn array static
2020-09-01 04:15:20 +02:00
twinaphex
ce6e5d6f08
Reorder structs, alignment
2020-09-01 00:25:35 +02:00
twinaphex
521050cf79
Remove gfx_widgets_get_pure_white
2020-08-31 23:46:24 +02:00
twinaphex
a82bff2055
(Wayland) Fix serious warnings - input struct pointer was being passed
...
to function that requires gfx struct pointer
2020-08-31 19:56:03 +02:00
Autechre
094ae69b09
Update x_vk_ctx.c
2020-08-31 14:17:36 +02:00
twinaphex
5f08605680
Refactor joypad drivers
2020-08-30 05:29:32 +02:00
twinaphex
8999d6e4a6
(DInput) Set a userdata struct for the window message loop properly -
...
get rid of input_get_data - we no longer need it
2020-08-29 03:41:33 +02:00
twinaphex
d02d9573ab
Silence unused variable warnings
2020-08-28 05:05:15 +02:00
Justin Weiss
f53c137459
[3DS] Enable threading
2020-08-27 19:36:39 -07:00
twinaphex
4d1cfa9c41
Make the 'raw' versions the generic function for the message loop
...
callback - this way it's reused for SDL2 input driver too
2020-08-28 02:55:39 +02:00
twinaphex
32279c3a70
Split up wnd_proc_common_internal into two - one for dinput,
...
one for raw
2020-08-28 02:21:13 +02:00
twinaphex
73fc7c9873
Rename create_graphics_context to create_wgl_context
2020-08-28 01:29:23 +02:00
twinaphex
d249f83c85
(Win32) Message loop - more cleanups
2020-08-28 01:20:54 +02:00
twinaphex
5f2e810879
Deduplicate code in WndProc function callback implementations
2020-08-28 00:38:15 +02:00
twinaphex
be3345b766
Reorder structs for alignment
2020-08-27 22:17:51 +02:00
twinaphex
63b77fb542
Use config_get_entry where possible instead of config_get_array
...
to prevent string allocation on heap
2020-08-27 16:20:49 +02:00
twinaphex
7b30d4eec2
Move macro up in the file
2020-08-27 12:13:21 +02:00
Justin Weiss
9ae2514009
[3DS] Update to libctru 2.0
...
Set USE_CTRULIB_2=1 to build with libctru 2.0. When unset, this code
is compatible with the older toolchain.
Some 2.0 changes addressed rare problems in earlier versions:
- Save / restore stack pointer for init / exit
Otherwise, it could be outside of the range we deallocate.
- Run aptMainLoop in the audio driver to react correctly to sleep events
Other changes for 2.0:
- Remove ninjhax1 -- requires outdated APIs that have been removed
- Switch from __sync_arbiter to syncArbitrateAddress
- Use implicit gxCmdBuf
- Use gpuPresentBuffer for double buffering
2020-08-26 19:08:12 -07:00
twinaphex
b4d26aca9c
Turn vulkan_write_quad_vbo into macro
2020-08-27 02:29:32 +02:00
twinaphex
9672d9b12f
Cleanup
2020-08-27 02:07:33 +02:00
twinaphex
e8a0ea15cd
Improve glslang_read_shader_file somewhat
2020-08-26 23:46:16 +02:00
twinaphex
044209bc5a
Create string_separate_noalloc
2020-08-26 23:46:16 +02:00
twinaphex
4388303077
video_shader_write_conf_preset - use less mallocs
2020-08-26 19:19:26 +02:00
twinaphex
1118ba09ec
video_shader_resolve_current_parameters - don't use malloc
2020-08-26 19:10:43 +02:00
twinaphex
3ff29abbc8
video_shader_parse_pass - don't use malloc
2020-08-26 19:07:36 +02:00
twinaphex
603b2bf166
Simplify video_shader_read_conf_preset
2020-08-26 18:54:14 +02:00
twinaphex
662e37f670
Replace more instances of string_split
2020-08-26 13:35:05 +02:00
twinaphex
86424a0cd8
(video_shader_parse) Use string_split_noalloc
2020-08-26 04:22:18 +02:00
twinaphex
3b555ab508
(gfx_animation) use string_split_noalloc
2020-08-26 04:12:29 +02:00
twinaphex
a9ffc4991b
Reorder structs/alignment
2020-08-25 20:39:06 +02:00
twinaphex
6af6d5eb1c
(jdgleaver) Initialize string lists properly to prevent memory leaks
2020-08-25 13:25:27 +02:00
jdgleaver
2a58920e4e
Improve appearance of 'generic_message' widget
2020-08-24 13:31:51 +01:00
twinaphex
c2a8a0f04e
use string_list_initialize/deinitialize in more places
2020-08-24 01:16:14 +02:00
twinaphex
0a69d14b11
Reimplement slang_preprocess_parse_parameters
2020-08-24 00:54:24 +02:00
twinaphex
6b3fcf79f0
(DXGI) Turn these into macros
2020-08-24 00:04:12 +02:00
twinaphex
4ec216dc0b
Get rid of file_path_str
2020-08-22 01:06:10 +02:00
jdgleaver
d43e92907e
Improve appearance of 'libretro_message' widget
2020-08-21 11:33:27 +01:00
twinaphex
50efd72a8e
gfx_display_draw_texture_slice - don't use malloc/free
2020-08-21 10:03:32 +02:00
twinaphex
6b978eb057
(D3D11) Cleanups
2020-08-19 11:26:30 +02:00
twinaphex
54c31348ce
Further simplify vulkan_write_quad_vbo
2020-08-19 06:06:30 +02:00
twinaphex
2f405c4088
Optimize vulkan_write_quad_vbo
2020-08-19 05:32:40 +02:00
twinaphex
6136035f2e
Optimize vulkan_write_quad_vbo
2020-08-19 04:59:14 +02:00
twinaphex
4fb388ca4d
Cleanup
2020-08-19 04:34:22 +02:00
twinaphex
bbb4d12881
(vulkan_common.c) Optimize array access
2020-08-19 03:19:21 +02:00
twinaphex
5166eebcaf
for loop cleanups - use space after 'for'
2020-08-19 03:06:22 +02:00
twinaphex
4f991ab640
Reorder structs, alignment
2020-08-18 17:16:59 +02:00
twinaphex
3a21a6e134
Cleanup
2020-08-18 16:53:19 +02:00
twinaphex
21855dfb85
Reorder structs, alignment
2020-08-18 16:51:15 +02:00
twinaphex
acc34d1820
(gfx_thumbnail_path) Further cleanups
2020-08-18 15:36:51 +02:00
twinaphex
eb604502bb
(gfx_thumbnail_path) Cleanups
2020-08-18 15:32:25 +02:00
twinaphex
0c5611d10e
Clean up more string variables on heap; move to stack
2020-08-18 13:17:28 +02:00
twinaphex
4177ea4256
Update
2020-08-17 15:11:48 +02:00
twinaphex
c81d06d0a1
Reorder structs, alignment
2020-08-17 15:09:19 +02:00
twinaphex
aeeff7f350
(D3D11) Cleanup
2020-08-16 03:11:00 +02:00
twinaphex
4958e30d8f
(slang shader backends) Cleanups
2020-08-16 02:29:54 +02:00
twinaphex
e35d2cb527
CLeanups
2020-08-16 02:20:13 +02:00
twinaphex
bb58b0d6e3
(GLSLANG) Move more common code out of shader_gl_core and shader_vulkan
...
and into glslang_util.h
2020-08-16 02:05:38 +02:00
twinaphex
789bc83276
reorder structs, alignment
2020-08-15 23:02:01 +02:00
twinaphex
f09df7c6e3
Reorder structs, alignment
2020-08-15 19:43:17 +02:00
twinaphex
6e1445c658
Reorder structs, alignment
2020-08-15 02:55:29 +02:00
twinaphex
3ec21b292c
Reorder structs, alignment
2020-08-15 01:18:23 +02:00
twinaphex
e399a2f78e
reorder structs, alignment
2020-08-15 00:35:15 +02:00
twinaphex
acfb7d0a23
Reorder structs, alignment
2020-08-14 23:13:05 +02:00
twinaphex
327d82cc1d
Struct reordering/alignment
2020-08-14 22:21:05 +02:00
twinaphex
8a530aa5dd
Reorder structs/alignment
2020-08-14 21:48:12 +02:00
twinaphex
bfc8a7beca
Reorder structs/alignment
2020-08-14 21:45:41 +02:00
twinaphex
7bb63a213c
Struct reordering/alignment
2020-08-14 21:09:24 +02:00
twinaphex
7ea2111936
Struct reorderings
2020-08-14 18:36:09 +02:00
twinaphex
659d50c916
Struct reorderings
2020-08-14 18:31:28 +02:00
twinaphex
b6228729b6
More struct alignment
2020-08-14 17:11:18 +02:00
twinaphex
dffa052958
Rearrange draw struct
2020-08-14 15:58:43 +02:00
twinaphex
8b8c52bb67
Cleanup
2020-08-14 06:45:36 +02:00
twinaphex
eb95757fb2
update_time_callback - Get rid of default callback - just point to NULL
...
instead
2020-08-14 06:39:12 +02:00
twinaphex
c250b94dcf
Move p_anim state to rarch_state
2020-08-14 06:29:13 +02:00
twinaphex
31e50f1221
(gfx_animation) Get rid of some static variables, move struct
...
definitions to header
2020-08-14 05:53:57 +02:00
Autechre
15b6a6ede4
Merge pull request #11187 from schellingb/gfx_animation_rbuf
...
Simplify gfx_animation by switching from dynarray to rbuf
2020-08-13 17:23:16 +02:00
Jamiras
2a5516b1b9
ensure cheevos badge textures are released before video driver is deinitialized
2020-08-12 21:55:12 -06:00
Bernhard Schelling
48fabb7f88
Simplify gfx_animation by switching from dynarray to RBUF
2020-08-13 05:23:32 +09:00
Érico Rolim
87d99601f6
[gfx] Fix static function placement.
...
In gfx/drivers_context/vc_egl_ctx.c, move gfx_ctx_vc_bind_api
declaration to before it's called by any other function, otherwise it
warns about "warning: implicit declaration of function" and can error
out with "error: conflicting types for 'gfx_ctx_vc_bind_api'" in certain
cases.
2020-08-10 00:51:14 -03:00
Twinaphex
b1723f7cd0
Remove unused CocoaTouch menu - allows us to get rid of a lot of
...
dead code
2020-08-09 19:41:04 +02:00
twinaphex
2a9915f80d
(D3D) Buildfix
2020-08-08 19:12:01 +02:00
twinaphex
ade58fc8b6
(UWP) Buildfix
2020-08-08 18:17:40 +02:00
twinaphex
365ca7cf63
Buildfix
2020-08-06 02:59:09 +02:00
jdgleaver
ada08e1c6f
'comparison of integer expressions of different signedness' warning fix
2020-08-05 09:55:06 +01:00
twinaphex
a1ce1e4f1d
gl_glsl_set_proc_address unneeded - remove it
2020-08-04 03:58:51 +02:00
twinaphex
bcd743d3c5
Cleanup
2020-08-04 03:32:56 +02:00
twinaphex
ff8463ef86
Cleanup
2020-08-04 03:23:48 +02:00
twinaphex
c68cd7851a
(dispserv_x11) Cleanups
2020-08-04 03:15:09 +02:00
twinaphex
379cc9ca4a
Small cleanup to get_refresh_rate function
2020-08-04 03:12:51 +02:00
twinaphex
ae662b4fe2
Cleanup android_gfx_ctx_bind_api
2020-08-04 01:56:38 +02:00
twinaphex
ca328662d0
Get rid of forward declaration
2020-08-04 01:37:18 +02:00
twinaphex
e45d04b826
Cleanups
2020-08-03 22:09:14 +02:00
twinaphex
84d849f49b
Optimize vulkan_acquire_next_image
2020-08-03 19:12:55 +02:00
twinaphex
f8b8f2a07d
(slang) Cut down on code duplication
2020-08-03 18:37:07 +02:00
twinaphex
86d302099e
Move build_vec4 to glslang_util.c
2020-08-03 18:34:33 +02:00
twinaphex
cce2ac6904
(shaders slang) Cut down on code duplication
2020-08-03 18:13:08 +02:00
twinaphex
72afa2f932
Cleanups
2020-08-03 16:33:54 +02:00
twinaphex
3653451c40
Cleanup
2020-08-03 15:51:07 +02:00
twinaphex
fe59fdb39a
Cleanups
2020-08-03 15:49:44 +02:00
twinaphex
332bcc7f9e
Remove dxgi_update_title
2020-08-03 15:48:08 +02:00
twinaphex
89461eb6a5
Move vulkan gpu_list to struct data
2020-08-03 15:30:46 +02:00
twinaphex
f3c4b4fcf7
(GLCORE) Fix other use after free issues pointed to by jdgleaver
2020-08-03 15:19:34 +02:00
twinaphex
2d10d9fd7a
(D3D10) Move these static global variables to D3D10 struct
2020-08-03 12:39:46 +02:00
twinaphex
db80281b0f
(D3D11) Move static global variables to D3D11 state
2020-08-03 12:36:51 +02:00
twinaphex
76398f4151
(glcore) Fix heap use after free
2020-08-03 12:15:52 +02:00
twinaphex
cb8b2db3ad
Turn this function static
2020-08-03 01:41:48 +02:00
twinaphex
85e5c783af
Backport getting rid of video_context_driver_input_driver
2020-08-03 00:47:58 +02:00
twinaphex
deee393dfb
Backport video_context_driver_free changes
2020-08-03 00:35:07 +02:00
twinaphex
3e41cbc381
Revert "Add get_metrics to poke interface"
...
This reverts commit 119689c940
.
2020-08-02 23:44:28 +02:00
twinaphex
03fe023de4
Revert "Cleanup"
...
This reverts commit 576679ac05
.
2020-08-02 23:44:09 +02:00
twinaphex
da5806a810
Revert "Cleanups"
...
This reverts commit a01a2375a1
.
2020-08-02 23:43:56 +02:00
twinaphex
2efa8ac80e
Revert "Get rid of video_context_driver_input_driver"
...
This reverts commit 75b1a09184
.
2020-08-02 23:43:19 +02:00
twinaphex
75b1a09184
Get rid of video_context_driver_input_driver
2020-08-02 20:37:21 +02:00
twinaphex
a01a2375a1
Cleanups
2020-08-02 20:19:42 +02:00
twinaphex
576679ac05
Cleanup
2020-08-02 19:59:26 +02:00
twinaphex
119689c940
Add get_metrics to poke interface
2020-08-02 19:25:45 +02:00
twinaphex
416363e9fd
Cleanups
2020-08-02 18:49:31 +02:00
jdgleaver
776301883c
Enhanced playlist search functionality
2020-07-31 15:14:51 +01:00
twinaphex
573f9e60c7
(libnx) Prevent some warnings
2020-07-31 10:54:57 +02:00
twinaphex
8eb7c1d226
(Win32) Another buildfix for CRT changes
2020-07-29 04:36:29 +02:00
alphanu1
cba3da50df
Merge branch 'master' of https://github.com/alphanu1/mme4crt
2020-07-28 22:42:10 +01:00
alphanu1
7e39a4a25c
Update dispserv_win32.c
2020-07-28 22:41:56 +01:00
alphanu1
e222d62f6c
Merge pull request #7 from libretro/master
...
upstream
2020-07-28 18:55:54 +01:00
alphanu1
d3a2f2f921
Update video_crt_switch.c
...
Fixed infinate switching bug
2020-07-28 18:43:29 +01:00
alphanu1
50f54fcb43
Update video_display_server.h
...
fixed function
2020-07-28 18:28:31 +01:00
alphanu1
55e3bd3d2d
Added ability to adjust porch values
...
Porches can now be manipulated from the CRTSwitchRes menu
2020-07-28 14:25:38 +01:00
bulzipke
1c0fb50877
Update ctr_gfx.c
...
It fixed the sound cracking when opening or closing the 3DS screen.
2020-07-28 15:03:43 +09:00
twinaphex
7f1cd52d65
Remove video_driver_context_get_size
2020-07-27 14:33:21 +02:00
twinaphex
d6465a1348
Refactor 'focus' function callback
2020-07-27 13:46:55 +02:00
twinaphex
74345f08d6
Refactor video_driver_has_windowed
2020-07-27 13:39:02 +02:00
twinaphex
0c78d2ec27
Cleanup
2020-07-27 13:22:23 +02:00
twinaphex
60f3265017
Cleanups
2020-07-27 13:16:14 +02:00
twinaphex
61b798b789
Get rid of video_context_driver_set_video_mode
2020-07-27 11:08:34 +02:00
twinaphex
197465c1ea
make_current is only ever used for GL, so move it out of
...
video_driver_load/unload_texture and into the inner GL
drivers
2020-07-27 10:26:13 +02:00
twinaphex
3d893b7602
Add extra parameter to unload_texture
2020-07-27 10:15:28 +02:00
twinaphex
dc94356505
Cleanup context driver video output functions
2020-07-27 09:38:20 +02:00
twinaphex
3e04b158ab
Get rid of video_context_driver_write_to_image_buffer
2020-07-27 08:25:11 +02:00
twinaphex
8dc7524e43
Get rid of video_context_driver_translate_aspect wrapper function
2020-07-27 08:15:35 +02:00
twinaphex
b9e471d22a
Revert "Video context driver cleanups - less functions to go through with"
...
This reverts commit cd1d760a38
.
2020-07-26 23:12:05 +02:00
twinaphex
4e5037d7e1
Revert "Get rid of these context driver higher level functions"
...
This reverts commit 27b09229b3
.
2020-07-26 23:11:24 +02:00
twinaphex
27b09229b3
Get rid of these context driver higher level functions
2020-07-26 11:58:38 +02:00
twinaphex
cd1d760a38
Video context driver cleanups - less functions to go through with
...
public scope
2020-07-26 08:00:49 +02:00
twinaphex
30dd294c43
(GDI) Implement resolution callback functions
2020-07-25 19:36:19 +02:00
twinaphex
9f20a48602
(D3D10/11/12) Implement resolution callback functions
2020-07-25 11:47:49 +02:00
twinaphex
cb138183ad
(Vulkan) Implement video resolution callback functions
2020-07-25 11:35:42 +02:00
barbudreadmon
2dedaca7b3
gcm_gfx.c: oops, forgot to include this
2020-07-24 19:40:07 +02:00
barbudreadmon
70025e4d08
gcm_gfx.c: compatibility with all sdks
2020-07-24 18:39:00 +02:00
barbudreadmon
3f7895a668
gcm_gfx.c: compatibility with recent psl1ght sdk
2020-07-24 17:47:28 +02:00
twinaphex
d384b215f4
Hopefully silences Emscripten warning
2020-07-23 11:32:50 +02:00
twinaphex
eba83390ba
Warning fixes
2020-07-23 07:39:08 +02:00
twinaphex
2f6ba7f477
Silence Emscripten warnings and leave TODO/FIXME note
2020-07-23 06:50:08 +02:00
twinaphex
a3242daa5d
Silence more warnings
2020-07-23 05:51:04 +02:00
twinaphex
73e63d369c
Fix more array subscript has type char warnings
2020-07-23 05:20:23 +02:00
twinaphex
6922a36ea1
(CocoaGL) Another buildfix
2020-07-22 22:25:28 +02:00
twinaphex
b78591d9b6
Buildfix
2020-07-22 22:18:18 +02:00
Autechre
95221945bb
Merge pull request #11065 from yoshisuga/yoshisuga/ios-metal-dpi
...
[iOS][tvOS][Metal] Support getting video metrics to support proper touchscreen interactions
2020-07-22 07:09:24 +02:00
twinaphex
12a4fa0809
Buildfix
2020-07-22 00:46:16 +02:00
twinaphex
ca2a59e03d
(Cocoa GL) Global variable cleanups
2020-07-22 00:44:45 +02:00
Yoshi Sugawara
c462aaf374
iOS Metal: implement the metric method for the graphics context to support getting the dpi - this is needed to make the touch interactions with the menus work. Update the metal and opengl graphics context to support a lower dpi for larger screen iPhones to make better use of the screen
2020-07-21 11:33:37 -10:00
Autechre
6c7143d02d
Merge pull request #10981 from yoshisuga/yoshisuga/ios-metal
...
iOS/tvOS Metal Renderer
2020-07-21 20:41:07 +02:00
Yoshi Sugawara
271ac7f925
support the OpenGL driver in the metal build by delegating the view initialization to the ApplePlatform delegate (metal build only for now)
2020-07-20 14:00:28 -10:00
Autechre
2681991c29
Merge pull request #11056 from Tatsuya79/master
...
Make Blargg_snes filter customizable.
2020-07-20 23:10:50 +02:00
Francisco Javier Trujillo Mata
86c43d65fa
Add FPSLimiter functionality
2020-07-20 22:58:31 +02:00
Tatsuya79
3bdf636e52
Make Blargg_snes filter customizable.
2020-07-20 22:57:07 +02:00
Autechre
80763e0376
Merge pull request #11053 from Ryunam/screenshot-adjustments
...
Adjustments to Screenshot Notification options
2020-07-20 20:23:38 +02:00
Ryunam
4d2fe14c1d
Adjustments to Screenshot Notification options
2020-07-20 19:44:55 +02:00
twinaphex
465e84d60c
(context drivers) Make names uniform
2020-07-20 18:22:33 +02:00
twinaphex
7574a80391
Change some context driver names
2020-07-20 18:15:37 +02:00
twinaphex
a5a3d64b18
(Vulkan) Cleanups
2020-07-20 06:31:15 +02:00
twinaphex
9ac9309991
Optimize call to vulkan_present
2020-07-20 04:45:12 +02:00
twinaphex
c387071298
Add static globals TODO/FIXME note
2020-07-20 02:02:00 +02:00
twinaphex
9fb54a0a1c
Fix --disable-menu
2020-07-20 01:58:49 +02:00
Autechre
8861416b32
Merge pull request #11046 from Ryunam/screenshot-notification
...
Add options to control visibility, duration and flashing effect of Screenshot Notifications
2020-07-20 00:27:02 +02:00
Yoshi Sugawara
b83823f1f1
Add preprocessor flags for tvOS and other build settings; fix compiler errors when building for tvOS sdk
2020-07-19 11:42:19 -10:00
Ryunam
5014f90e4d
Add options to customize Screenshot notifications
2020-07-19 23:42:16 +02:00
Yoshi Sugawara
3dc716299f
replaced confusing ifdef with a more concise #if TARGET_OS_OSX
2020-07-19 07:54:47 -10:00
Yoshi Sugawara
a2327be378
improved readability for references to the platform specific metal storage mode option; removed support for btstack since its not compiling and is less relevant for the iOS platform; removed commented out code
2020-07-19 07:48:07 -10:00
Hugo Hromic
c3bf17d3f5
(Menu/OSD) Refactor "fps_text" into "status_text" internally
...
"fps_text" is used for several status parameters, not just FPS.
2020-07-19 16:58:58 +01:00
Yoshi Sugawara
fd9ac64d55
Merge branch 'master' into yoshisuga/ios-metal
2020-07-19 00:33:54 -10:00
Yoshi Sugawara
a19f1451cd
removed debug logging statements; enable multi touch on metal view to support touchscreen controls; fixed setting the metal view drawable size based on the view bounds size in pixels
2020-07-19 00:11:15 -10:00
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
twinaphex
a2ea198fdd
(gfx widgets) Pass pointer around more
2020-06-08 01:55:04 +02:00
twinaphex
3f163eaa8d
Bring all graphics widget global state together under one struct
2020-06-08 01:41:21 +02:00
twinaphex
dc217b313c
Buildfix
2020-06-07 23:45:48 +02:00
twinaphex
ddf45fdad2
(gfx widgets) Cleanups
2020-06-07 23:43:59 +02:00
twinaphex
4524ff7cd7
(Gfx widgets) Cleanups
2020-06-07 23:39:11 +02:00
twinaphex
797d3f871c
(Gfx widgets) get rid of this early return - already done outside
2020-06-07 23:26:37 +02:00
twinaphex
6b5e9a3224
(gfx widgets) Cleanups
2020-06-07 23:17:37 +02:00
twinaphex
ce02161255
Cleanups
2020-06-07 23:01:52 +02:00
twinaphex
5e2649a6f5
Move gfx_display global state to rarch state
2020-06-07 22:58:06 +02:00
Twinaphex
df8df6c18b
Fix EXC_BAD_ACCESS crash on RetroArch exit on OSX
2020-06-07 05:53:46 +02:00
Autechre
eddcde84b6
Merge pull request #10802 from heuripedes/coz
...
Ozone improvement
2020-06-07 03:01:47 +02:00
twinaphex
be76958070
Unneeded gdi_has_menu_frame
2020-06-07 02:56:56 +02:00
twinaphex
b42897d0b6
(GDI) Weird code - clean this up
2020-06-07 02:55:51 +02:00
Higor Eurípedes
1f45018ee8
shader_glsl.c: Move buffer null pointer check in gl_glsl_set_coords()
...
`buffer` is initialized to a statically allocated variable and can only be NULL
when the allocation of a bigger buffer fails. When only the core frame is being
displayed, the buffer never points to the heap thanks to the small buffer
optimization.
2020-06-06 20:08:28 -03:00
twinaphex
9059b4962e
Cleanups
2020-06-07 00:05:41 +02:00
Francisco José García García
13b5450ff9
[GL1] Initial changes for hw context without FBO
2020-06-03 20:48:16 +02:00
Guo Yunhe
e9916df9d0
Change keys to upper case
2020-06-02 10:28:00 +03:00
Rinnegatamante
14a6c42e0d
[VITA] Using a global to prevent erroneous vitaGL re-initializations.
2020-06-01 11:12:16 +02:00
Francisco José García García
ec336442bd
Merge pull request #10749 from libretro/vitagl
...
VitaGL fixes
2020-05-31 17:14:23 +02:00
Francisco José García García
f976078ef2
[VITA] GL fixes
2020-05-31 17:10:26 +02:00
nia
ef0038de2a
sdl_gl_ctx: advertise GLSL support
2020-05-29 18:03:25 +01:00
twinaphex
479a8a6e64
(PS2) Fix warning incompatible pointer type
2020-05-29 11:22:53 +02:00
twinaphex
ec35ce7fdc
Add TODO/FIXME notes
2020-05-29 10:23:48 +02:00
twinaphex
3ae7e9f8df
Update TODO/FIXMEs
2020-05-29 06:20:16 +02:00
twinaphex
a5ca6c24de
Add more TODO/FIXMEs for globals
2020-05-29 06:17:39 +02:00
twinaphex
02bc3ee1e8
Buildfixes/cleanups
2020-05-26 21:34:05 +02:00
jdgleaver
23916f88c7
Extended core message interface - add concept of message 'type'
2020-05-26 10:03:25 +01:00
jdgleaver
18912ac23d
Enable configuration of date seperator in clock and runtime 'last played' displays
2020-05-25 15:46:53 +01:00
twinaphex
bc226305d7
(x11_common.c) Cleanup
2020-05-24 19:38:41 +02:00
twinaphex
e030986837
Replace fprintfs with RARCH_LOG/RARCH_ERR
2020-05-24 19:29:55 +02:00
twinaphex
cf1bc2634d
Prevent doing unnecessary double strlen
2020-05-24 16:38:53 +02:00
twinaphex
cebc01cb1e
C89_BUILD buildfix
2020-05-24 06:54:42 +02:00
Autechre
2ac18a621a
Merge pull request #10697 from phcoder/x11
...
Improvements for XShm
2020-05-24 06:51:13 +02:00
Vladimir Serbinenko
c9c2d8a0b6
xshm_gfx: Add missing casts
2020-05-24 06:34:59 +02:00
Vladimir Serbinenko
54a07eaa60
Move decarations to the start of function
2020-05-24 06:33:20 +02:00
Vladimir Serbinenko
3f5eb55405
Replace C++ commants with C89 ones
2020-05-24 06:32:36 +02:00
Vladimir Serbinenko
77829a8e5b
Rename xshm to x11 as it can now work without shm
...
xshm was disabled, so no problem with config update
2020-05-24 05:11:53 +02:00
Vladimir Serbinenko
62bb1d4da4
xshm: Allow to operate without shm extension
...
In most cases it doesn't make a nice gameplay but is still useful for debugging
on remote system and xnest
2020-05-24 05:01:51 +02:00
twinaphex
b5fe162c32
C89_BUILD fix
2020-05-24 03:52:23 +02:00
Vladimir Serbinenko
c4b4961ed1
xshm: fix compatibility with x input
2020-05-24 03:52:13 +02:00
Vladimir Serbinenko
cfe68a4c2d
Fix crash in x11_display_server_get_screen_orientation
2020-05-24 03:38:24 +02:00
Higor Eurípedes
4ea0f232ef
Use small buffer optimization in gfx_animation_ticker_smooth()
...
Like the previous commit, this one lowers the number of temporary allocations
while the menu is up.
2020-05-23 22:34:12 -03:00
Higor Eurípedes
0c9499a88e
Implements small buffer optimization in font_driver_reshape_msg()
...
Use a stack-allocated 64 bytes long buffer to avoid so many temp heap
allocations when the menu is up. This size is more than enough store 75% of the
return values from msg_hash_to_str and 50% of the returned values from
msg_hash_get_help of any currently supported language (includes fallback to
English).
String size per type:
count mean std ... 50% 75% max
type ...
msg_hash_get_help 83885.0 95.295476 106.331779 ... 54.0 103.0 842.0
msg_hash_to_str 83903.0 27.737959 33.389184 ... 19.0 31.0 440.0
string size per type and language:
count mean std ... 50% 75% max
type language ...
msg_hash_get_help 0 4415.0 89.922310 96.873902 ... 55.0 101.0 590.0
1 4415.0 97.555606 118.031412 ... 55.0 101.0 842.0
2 4415.0 118.459570 127.811760 ... 75.0 131.0 774.0
3 4415.0 111.978256 112.702991 ... 68.0 125.0 651.0
4 4415.0 106.040544 111.360658 ... 62.0 124.0 776.0
5 4415.0 100.129105 114.437432 ... 62.0 103.0 688.0
6 4415.0 32.987769 31.047851 ... 28.0 28.0 595.0
7 4415.0 109.366025 124.717259 ... 71.0 121.0 720.0
8 4415.0 98.023783 105.149942 ... 62.0 105.0 610.0
9 4415.0 93.834428 104.433820 ... 55.0 101.0 637.0
10 4415.0 93.657984 96.884429 ... 55.0 101.0 594.0
11 4415.0 93.452775 104.040553 ... 48.0 100.0 583.0
12 4415.0 89.729558 104.062959 ... 50.0 100.0 550.0
13 4415.0 91.462514 95.968107 ... 55.0 101.0 590.0
14 4415.0 92.062741 97.959207 ... 55.0 101.0 611.0
15 4415.0 92.597055 97.190835 ... 56.0 101.0 600.0
16 4415.0 92.088109 98.110738 ... 55.0 101.0 608.0
17 4415.0 102.483126 106.379639 ... 65.0 110.0 652.0
18 4415.0 104.782786 114.025678 ... 65.0 112.0 646.0
msg_hash_to_str 0 4415.0 24.591619 29.148312 ... 18.0 28.0 346.0
1 4416.0 31.247736 36.302532 ... 21.0 36.0 352.0
2 4416.0 31.853714 39.332395 ... 21.0 36.0 418.0
3 4416.0 28.270833 33.300996 ... 21.0 32.0 429.0
4 4416.0 27.139040 31.905206 ... 19.0 31.0 346.0
5 4416.0 27.380435 32.314188 ... 19.0 31.0 346.0
6 4416.0 25.028080 29.188490 ... 19.0 28.0 346.0
7 4416.0 29.660553 35.283592 ... 21.0 33.0 393.0
8 4416.0 27.685915 32.707466 ... 20.0 31.0 346.0
9 4416.0 34.786685 43.587766 ... 21.0 39.0 414.0
10 4416.0 28.769928 34.428596 ... 20.0 32.0 440.0
11 4416.0 24.407609 28.690934 ... 18.0 27.0 346.0
12 4416.0 23.970788 27.075638 ... 18.0 28.0 346.0
13 4416.0 24.587636 29.146213 ... 18.0 28.0 346.0
14 4416.0 27.642889 33.300451 ... 20.0 31.0 346.0
15 4416.0 25.036005 29.159115 ... 18.0 28.0 346.0
16 4416.0 24.732111 29.134002 ... 18.0 28.0 346.0
17 4416.0 32.068161 38.807095 ... 21.0 36.0 407.0
18 4416.0 28.160779 34.013300 ... 20.0 31.0 432.0
2020-05-23 22:33:45 -03:00
twinaphex
3a057d594b
MSVC2003 buildfix
2020-05-24 00:05:14 +02:00
Autechre
942d82593b
Merge pull request #10691 from phcoder/rbxv
...
Fix xvideo support on xwayland and input in general
2020-05-23 05:47:57 +02:00
Vladimir Serbinenko
a86e8e0f36
Support YV12
...
Only I420 and YZ12 are available on xwayland. Support it
2020-05-23 05:39:18 +02:00
Vladimir Serbinenko
9c4fde00ce
xvideo: Fix order of context init
...
Current order causes an error in x11_input init and hence keyboard
doesn't work
2020-05-23 04:36:53 +02:00
twinaphex
6408da2ae4
Silence warnings
2020-05-23 03:19:25 +02:00
twinaphex
d717f3537a
Update sdl2_gfx.c
2020-05-22 22:58:41 +02:00
barbudreadmon
2052f1595c
(vita) try at fixing upside-down vertical games
...
it is a blind commit, i don't have access to the hardware, see #6859 for more explanations
2020-05-22 12:02:19 +02:00
twinaphex
6dc758a080
Move cheevos-new to cheevos/
2020-05-21 23:23:01 +02:00
Twinaphex
ede03659ca
Update
2020-05-21 22:31:51 +02:00
twinaphex
a9cf718e75
Get rid of auto variable in glslang.cpp
2020-05-21 20:04:36 +02:00
twinaphex
060ad38905
(WiiU) Buildfix
2020-05-20 23:34:23 +02:00
Francisco Javier Trujillo Mata
1eeb3dcf30
Adapt PS2 port to new SDK with newlib support (CDVDFS support is missing)
2020-05-20 20:13:19 +02:00
twinaphex
a8fdfd77ce
Make gamma correction 'int' type across the board
2020-05-20 15:04:16 +02:00
twinaphex
2cc776d2d9
Cleanups
2020-05-20 02:42:39 +02:00
twinaphex
2a36fa0855
Remove double ';'
2020-05-19 21:29:35 +02:00
twinaphex
ad1aa59ce1
Cleanup != NULL comparisons
2020-05-19 21:15:06 +02:00
twinaphex
9ace693ec0
Refactor menu_driver_frame
2020-05-19 16:20:43 +02:00
jdgleaver
5eee8daa4f
(gfx_thumbnail) Fix heap-use-after-free error
2020-05-19 14:03:02 +01:00
twinaphex
1d1c7e5a0d
(PSL1GHT/GCM) Style nits
2020-05-12 15:10:15 +02:00
twinaphex
bde18ba86a
Style nits
2020-05-12 14:36:27 +02:00
twinaphex
57bbf7c944
(gfx widgets) Rearrange variables
2020-05-12 08:56:57 +02:00
twinaphex
84369cf6ba
(Win32) Cleanups
2020-05-12 08:49:41 +02:00
Vladimir Serbinenko
05500c6c39
dos: Add 32-bit gfx support
2020-05-12 03:09:38 +02:00
Vladimir Serbinenko
67c3c93aec
dos fixes
2020-05-12 03:09:38 +02:00
Vladimir Serbinenko
cc73de48d6
Fix dos compilation
2020-05-12 03:09:38 +02:00
jdgleaver
63644ac761
(GLUI) Add desktop-style playlist view mode
2020-05-09 14:53:52 +01:00
jdgleaver
a305a48a11
(3DS) Fix font driver
2020-05-04 16:57:44 +01:00
jdgleaver
548c5dc925
(glcore/slang) Set filter and wrap mode correctly when intialising shader textures
2020-04-30 17:04:02 +01:00
twinaphex
d995fa045a
(GDI) Get rid of unused functions
2020-04-29 18:40:48 +02:00
twinaphex
bb27496e2e
Prevent NULL pointer dereference
2020-04-29 14:38:11 +02:00
twinaphex
9b8c596057
(GL Core) Buildfix for video context drivers that dont
...
implement this callback
2020-04-29 13:50:21 +02:00
jdgleaver
9eb8472805
Only write config files to disk when parameters change
2020-04-27 17:06:35 +01:00
twinaphex
c88ffa56ff
(Vulkan) Fix crash
2020-04-25 17:44:13 +02:00
jdgleaver
0e3026d41f
(Vulkan) Fix display of statistics text
2020-04-23 17:48:15 +01:00
Autechre
21f15d5cbd
Merge pull request #10490 from phcoder/msb
...
Remove manual MSB_FIRST definitions and switch to retro_endianness.h
2020-04-22 21:16:45 +02:00
Ash Logan
ed24d05752
WiiU: gfx_display: fix non-vertex coordinates in draws using tex shader
...
This second case is hit when there's a quad with different-coloured
corners, since the tex shader is needed to support that. In the quad
case, there are no vertexes, and the ->x,y,width,height fields are used
instead.
Fixes #8519 .
2020-04-22 23:35:46 +10:00
Vladimir Serbinenko
1fcdddf579
Remove manual MSB_FIRST definitions and switch to retro_endianness.h
2020-04-21 04:16:55 +02:00
jdgleaver
6c49ae5152
(WiiU/3DS) Fix font driver horizontal text alignment
2020-04-20 16:20:21 +01:00
twinaphex
9f3a2db44e
Merge branch 'master' of https://github.com/libretro/RetroArch
2020-04-17 16:24:39 +02:00
valadaa48
587a425f77
oga_gfx: move non-inlined function out of loop
2020-04-11 02:30:39 +00:00
jdgleaver
f559798750
Widget text improvements
2020-04-06 11:39:30 +01:00
twinaphex
e88568625c
Merge branch 'master' of https://github.com/libretro/RetroArch
2020-04-06 01:04:23 +02:00
Olivier PARRA
5813228c6c
[FIXES]GPU capture on Metal/OSX/NVidia
...
[FIX]RetroArch CRASH on Metal internal assert
_validateGetBytes:39: failed assertion `texture must not be a
framebufferOnly texture.' GPU Capture were done on a
framebufferOnly texture. Fix it by setting framebufferOnly
CAMetalLayer property to NO. Subsequent MTLTexture inherits from
this property.
[FIX]Capture black frames. Resulting PNG screenshots were black.
Since GPU texture where not sync with CPU,
getBytes:bytesPerRow:fromRegion:mipmapLevel: behavior is undefined
Fix it by adding synchronizeResource command to blitCommandEncoder
In order to keep performances, syncing is done ONLY when a GPU
Capture is requested.
[FIX]Corrupted image due to incorrect viewport copy
Modify code in charge of copying MTLTexture bytes to 24bits PNG
buffer.
2020-04-02 23:01:48 +02:00
twinaphex
a9154373fc
Merge branch 'master' of https://github.com/libretro/RetroArch
2020-04-02 02:13:12 +02:00
Autechre
e80fb4f386
Merge pull request #10375 from jdgleaver/font-fixes
...
Enable correct vertical alignment of text (+ font rendering fixes)
2020-04-01 20:59:51 +02:00
Twinaphex
8292f31ea0
Fix unused variable warning
2020-04-01 20:43:03 +02:00
Twinaphex
d0a9de01a3
(GL) Fix unused variable setting
2020-04-01 20:41:38 +02:00
jdgleaver
73bcd7a692
Enable correct vertical alignment of text (+ font rendering fixes)
2020-03-31 16:55:22 +01:00
Vladimir Serbinenko
2fb7ba22e5
PSL1GHT port
...
Working:
* packaging
* running cores
* switching cores
* gamepad including axis
* rgui
* audio
* video
Not working:
* OSD
* menus other than rgui
* shaders
* Graphical acceleration
* Proper signing
* ODE build
* rumble
* keyboard
* mouse
Not tested:
* A lot
2020-03-30 05:39:22 +02:00
twinaphex
92c472c227
Merge branch 'master' of https://github.com/libretro/RetroArch
2020-03-29 06:01:31 +02:00
Autechre
15c661a374
Merge pull request #10262 from valadaa48/odroidgo2_drm_ctx_hw_scaling
...
Add drm_go2_ctx for odroidgo2
2020-03-29 04:40:57 +02:00
valadaa48
2d2bd625c6
Register signal handler for oga video driver
2020-03-28 04:54:33 +00:00
twinaphex
19c68fad43
Take out cb_update_window_title and cb_get_metrics
2020-03-28 05:36:31 +01:00
valadaa48
6e4228b054
Add drm_go2_ctx for odroidgo2
...
- Revert odroidgo changes to drm_ctx
- Introduce new drm_go2_ctx specifically for odroidgo2 (and libgo2)
- Add hw_scaling option to mitigate builtin gl scaling/filtering and to
use libgo2 and rga's hw scaling and bicubic filtering via librga. The
quality of the image is improved by this and should be a bit faster.
Credits to CrashOverride for the initial libgo2 port and
commit to RA. And to natinusala for the initial cleanup/commit in the original
drm_ctx driver. NOirBRight for finding this setting and testing.
2020-03-28 03:30:28 +00:00
twinaphex
5972ed9cc6
(gfx_widgets) Cleanups
2020-03-28 03:53:51 +01:00
twinaphex
2dc0fdcfee
(gfx drivers_display) Cleanups
2020-03-28 03:47:05 +01:00
jdgleaver
1440b46eb0
Fix 'gfx_display_draw_texture_slice()' (i.e. prevent glitches when rendering Ozone's selection cursor)
2020-03-26 11:45:28 +00:00
jdgleaver
9194a3b24d
(Menu) Prevent font-related segfaults when using extremely small scales/window sizes
2020-03-24 16:14:53 +00:00
valadaa48
53fffbd670
Add "oga" graphics driver for odroid go advance
...
libgo2 improvements
- Expose rga scale mode as param for future use
- Cleanup whitespace
- Add option to disable managed surfaces and allow direct posting to drm
driver
oga graphics driver
- Uses direct framebuffers in libgo2
- Bitmap font only supported for now
- Uses built-in bicubic filtering: graphics quality better than gl + bilinear
- Support for rotation
2020-03-22 23:35:22 -04:00
natinusala
00590f2077
Fix VG and VC EGL
2020-03-20 09:19:06 +01:00
Javier Martinez Canillas
42e8890c91
(GL) Fix NULL pointer dereference in gl2_init()
...
Commit 10df615d14
("add "Send Debug Info" option under Help") added some
debug information that contains the GL_VENDOR, GL_RENDERER and GL_VERSION
strings that are returned by the glGetString() function, and is used by
algorithms to recognize the platform.
But in some GL contexts, these may be NULL which leads to a NULL pointer
dereference when trying to copy the returned strings. Commit 97247dbaec
("gl1: check for vender/renderer was in the wrong place") later fixed it
for the GL1 driver, but it missed doing the same for the GL driver.
For example, on an Exynos Odroid XU4 with a mali-fdev GL context I get:
$ retroarch -v
[INFO] RetroArch 1.8.5 (Git 8d3f25f
)
[INFO] === Build =======================================
[INFO] Capabilities: NEON VFPv3 VFPv4
[INFO] Built: Mar 18 2020
[INFO] Version: 1.8.5
[INFO] Git: 8d3f25f
[INFO] =================================================
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] [Audio]: Set audio input rate to: 30000.00 Hz.
[INFO] [Video]: Video @ 960x720
[INFO] [EGL] Falling back to eglGetDisplay
[INFO] [EGL]: EGL version: 1.4
[INFO] [GL]: Found GL context: mali-fbdev
[INFO] [GL]: Detecting screen resolution 0x0.
[INFO] [EGL]: Current context: 0xf08e20.
[INFO] [GL]: Vendor: (null), Renderer: (null).
[INFO] [GL]: Version: (null).
Segmentation fault (core dumped)
2020-03-18 23:44:50 +01:00
natinusala
997136c029
gfx_widgets: move libretro message widget into its own file
2020-03-17 17:16:21 +01:00
natinusala
7246d0d053
gfx_widgets: move generic message to its own file
2020-03-13 17:13:56 +01:00
twinaphex
7986561598
Rename menu widgets to display widgets
2020-03-13 03:58:33 +01:00
twinaphex
7f8c13ae09
(GDI/Win32) Refactor code - handle doubleclick press on title bar
...
inside DInput driver
2020-03-13 02:20:31 +01:00
twinaphex
30e8ec6543
(win32_common.c) Put g_win32_resized into struct
2020-03-13 00:15:51 +01:00
twinaphex
91fd05133b
C89_BUILD fix
2020-03-13 00:11:43 +01:00
twinaphex
c796f3268b
(win32_common.c) Cleanups
2020-03-13 00:11:21 +01:00
twinaphex
b4da4940eb
Revert "(Win32) Move global state to struct"
...
This reverts commit dfa1288988
.
2020-03-12 22:10:24 +01:00
twinaphex
26bb0105c0
(Vita) Buildfix
2020-03-12 20:54:38 +01:00
twinaphex
dfa1288988
(Win32) Move global state to struct
2020-03-12 17:47:49 +01:00
twinaphex
28eec1489a
Every global has to be named uniquely for Griffin targets
2020-03-12 17:00:13 +01:00
Autechre
76f0c14289
Merge pull request #10263 from jdgleaver/widget-scale-setting-cleanup
...
Use single 'Widgets Scale Override' setting on console and mobile platforms
2020-03-12 16:38:38 +01:00
Autechre
c20e83e50a
Merge pull request #10256 from jdgleaver/threaded-video-show-mouse
...
(Threaded Video) Enable proper mouse cursor show/hide functionality
2020-03-12 16:09:09 +01:00
jdgleaver
018209d6c2
Use single 'Widgets Scale Override' setting on console and mobile platforms
2020-03-12 11:29:53 +00:00
natinusala
375621394c
gfx_widgets: move volume into its own file
2020-03-12 09:31:05 +01:00
natinusala
37a5e7ff08
gfx_widgets: cleanup
2020-03-12 09:29:04 +01:00
jdgleaver
27ab57bc05
(Threaded Video) Enable proper mouse cursor show/hide functionality
2020-03-11 16:26:17 +00:00
jdgleaver
b92dcd1334
(gfx_widgets) reorder internal status updates
2020-03-11 14:28:15 +00:00
jdgleaver
086c68bca7
Enable widget persistence across drivers_init()/driver_uninit() events
2020-03-11 11:47:13 +00:00
twinaphex
c4dfa1e12a
(Gfx drivers) Cleanups
2020-03-10 19:52:05 +01:00
twinaphex
ae18fc808d
Cleanups
2020-03-10 19:32:21 +01:00
twinaphex
92b09a9f60
(Video layout) Get rid of video_frame_info dependency
2020-03-10 19:10:02 +01:00
twinaphex
abcfe03059
(Metal) Simplification
2020-03-10 19:03:34 +01:00
Twinaphex
d81e756fa7
(Metal) Buildfix
2020-03-10 03:37:48 +01:00
twinaphex
f4c5036c3c
Get rid of video_frame_info dep for fonts
2020-03-10 03:24:59 +01:00
Twinaphex
35a528a3e0
(Metal raster font) Remove dependency on video_info
2020-03-10 03:02:37 +01:00
Twinaphex
783f16b198
Updates
2020-03-10 02:48:01 +01:00
Twinaphex
238d72d187
Buildfix
2020-03-10 02:38:23 +01:00
Twinaphex
dde5f67962
Revert "(Metal raster font) remove video_frame_info dep"
...
This reverts commit f2df63e246
.
2020-03-10 02:07:10 +01:00
twinaphex
f2df63e246
(Metal raster font) remove video_frame_info dep
2020-03-10 02:02:19 +01:00
twinaphex
083a0453c6
(PS2) Buildfix
2020-03-10 01:07:29 +01:00
twinaphex
1a854021a4
(Metal raster font) More simplifications
2020-03-09 22:47:40 +01:00
twinaphex
2da2dd3b0b
(Metal raster font) Simplify code
2020-03-09 22:44:01 +01:00
twinaphex
c77861126f
remove video_info deps
2020-03-09 22:35:25 +01:00
twinaphex
867bdad010
Get rid of unimplemented FPGA font driver
2020-03-09 22:13:17 +01:00
twinaphex
a395bf9355
(Drivers font) Start getting rid of video_frame_info dependency
2020-03-09 21:56:03 +01:00
twinaphex
43feea3496
(Drivers font) Add parameter
2020-03-09 21:34:14 +01:00
twinaphex
0ee8119459
(widgets) Nits
2020-03-09 19:35:49 +01:00
Twinaphex
adfef2a503
Merge pull request #10240 from natinusala/split-widgets
...
gfx_widgets: start moving widgets into their own file
2020-03-09 19:14:26 +01:00
twinaphex
252bb3a905
(GLX) Fixes fastforwarding issues
2020-03-09 19:13:43 +01:00
twinaphex
c007b68e6b
(GLX) GLX OML was unstable with threaded video - remove it -
...
also put SwapInterval first instead of SwapIntervalEXT - this
makes fastforwarding work on Intel iGPUs
2020-03-09 18:37:20 +01:00
twinaphex
4e6f26d2e4
(Video drivers) Cleanups
2020-03-09 16:24:20 +01:00
twinaphex
9e9ad8d5eb
(video_thread_wrapper) Remove unused CMD_POKE_SET_OSD_MSG
2020-03-09 16:19:07 +01:00
twinaphex
b7da58b40b
(Gfx) Video driver cleanups
2020-03-09 16:15:53 +01:00
twinaphex
17bb6f7354
(D3D10) Cleanups
2020-03-09 15:55:37 +01:00
twinaphex
68678987c4
(Vulkan) Cleanups
2020-03-09 15:48:15 +01:00
twinaphex
cd152399a3
(GL) Cleanups
2020-03-09 15:40:14 +01:00
natinusala
b4ea5d3cd5
gfx_widgets: move screenshot widget into its own file
2020-03-09 14:40:31 +01:00
natinusala
8e3ef34c1f
gfx_widgets: pipe all functions to the widgets
2020-03-09 14:40:31 +01:00
natinusala
3c1e9372ab
gfx_widgets: add gfx_widget struct
2020-03-09 14:40:31 +01:00
twinaphex
ee2f25b1dc
(Gfx drivers) Cleanups
2020-03-09 05:18:02 +01:00
twinaphex
cdbae18ae5
Cleanups
2020-03-09 04:13:41 +01:00
twinaphex
7d4e5b8ce5
No more video_info_frame dependency in gfx_thumbnail.c
2020-03-09 02:15:44 +01:00
twinaphex
7f958862fe
cleanups
2020-03-09 01:32:05 +01:00
twinaphex
e08689ed98
(Menu) Cleanups
2020-03-09 01:26:43 +01:00
twinaphex
c3be8f45fc
(Metal) Buildfix
2020-03-09 01:18:01 +01:00
twinaphex
a0446f778c
Cleanups
2020-03-09 00:34:31 +01:00
twinaphex
5388448cf3
(gfx_widgets.c) Cleanups
2020-03-09 00:25:28 +01:00
twinaphex
8c39c804ee
(gfx_widgets.c) Cleanups
2020-03-09 00:18:38 +01:00
twinaphex
13249f6011
Cleanups
2020-03-09 00:08:18 +01:00
twinaphex
d72596142e
gfx_display_draw_quad - no longer dependent on video_frame_info
2020-03-08 23:56:22 +01:00
twinaphex
b24d1f06aa
gfx_display_scissor_begin/end - get rid of video_frame_info dependency
2020-03-08 22:58:17 +01:00
twinaphex
044619281c
gfx_display_draw - remove video_frame_info dependency
2020-03-08 22:52:02 +01:00
twinaphex
d42a76dec1
Simplify conditional and fix clear_color call
2020-03-08 22:36:51 +01:00
twinaphex
6cb6f76add
gfx_display_rotate_z - get rid of video_frame_info dependency
2020-03-08 22:33:11 +01:00
twinaphex
e4aa0fd544
(gfx display) Get rid of video_frame_info dependency for
...
blend_begin/blend_end
2020-03-08 22:28:42 +01:00
twinaphex
c16568cf32
(gfx drivers display) No more video_frame_info dependency
2020-03-08 22:06:08 +01:00
twinaphex
7a9684b6ea
(Gfx display) scissor_begin/scissor_end - drop video_frame_info dependency
2020-03-08 22:06:08 +01:00
twinaphex
591bb36e03
(gfx display) blend_begin/blend_end - no more dependency on
...
video_frame_info
2020-03-08 21:02:03 +01:00
twinaphex
809e22ec1a
(gfx display) set_viewport - no longer dependent on video_frame_info
2020-03-08 20:23:39 +01:00
twinaphex
874510152e
(drivers_display) Get rid of video_frame_info argument for
...
get_default_mvp
2020-03-08 19:59:03 +01:00
twinaphex
3e706fe5b2
(D3D9 renderchain) Take out video_frame_info dependencies
2020-03-08 19:03:57 +01:00
twinaphex
7c7eeff0fb
Move display_server code into retroarch.c
2020-03-08 18:48:15 +01:00
twinaphex
2497ac4584
(video_crt_switch.c) Move static global variables to struct
2020-03-08 18:48:15 +01:00
twinaphex
c32cb51755
Cleanups
2020-03-08 01:45:29 +01:00
twinaphex
cfa90a4a36
(gfx/drivers_display) cleanups
2020-03-08 01:28:15 +01:00
twinaphex
f0bf2df92f
Get rid of stale PERF_START/PERF_STOP macros in d3d files
2020-03-07 23:16:25 +01:00
twinaphex
935393b391
Cleanups
2020-03-07 23:12:02 +01:00
twinaphex
212f32e2fd
Get rid of the static asserts
2020-03-07 22:54:57 +01:00
twinaphex
9b76446b48
Cache video_info->width/video_info->height into local variables
...
and use them throughout code
2020-03-07 21:18:12 +01:00
twinaphex
9b0ff1fd0d
(gfx_display.c) Cleanup
2020-03-07 20:53:39 +01:00
twinaphex
6505080d64
(gfx drivers font) Get rid of as many video_frame_info
...
dependencies as possible
2020-03-07 20:48:26 +01:00
twinaphex
be861cf55d
(gfx drivers font) Reduce dependency on video_frame_info
2020-03-07 20:11:39 +01:00
twinaphex
4c92d43fe2
(Gfx drivers) More cleanups
2020-03-07 19:54:58 +01:00
twinaphex
9e31c2de34
Remove this for now until this gets reintroduced in some way
2020-03-07 19:34:24 +01:00
twinaphex
83ac24e7f1
(VGA) Move static global variables to struct
2020-03-07 19:33:03 +01:00
twinaphex
c5fc9cf5ce
(X ctx) Move two static global variables to struct
2020-03-07 18:28:53 +01:00
twinaphex
0d543baa4b
(Drivers context) Move more static global state to structs
2020-03-07 18:21:49 +01:00
twinaphex
3aa8afd60d
(gfx/drivers) Further cleanups
2020-03-07 18:05:50 +01:00
twinaphex
1aa95f6cc4
(GX) Cleanups
2020-03-07 17:53:47 +01:00
twinaphex
daea169e5d
(GL1) Move static global variables into struct
2020-03-07 17:47:26 +01:00
twinaphex
b1337d0a21
(GL) Move shared_context_use into struct
2020-03-07 17:34:35 +01:00
twinaphex
8ec6447b18
(FPGA) Move regOp to struct too
2020-03-07 17:30:56 +01:00
twinaphex
87f34eb12f
Add missing header
2020-03-07 17:29:08 +01:00
twinaphex
788ae60d12
(FPGA) Put static global variables into struct
2020-03-07 17:28:42 +01:00
twinaphex
3e35fb8672
(D3D8/D3D9) Move static global to struct
2020-03-07 17:04:06 +01:00
twinaphex
d63daacdf9
(GDI) Put gdi_menu_frame into struct
2020-03-07 16:50:25 +01:00
twinaphex
efe72dea94
(Caca) Put everything into the struct
2020-03-07 16:42:12 +01:00
twinaphex
a7dd320653
(CACA) Cleanups
2020-03-07 16:34:12 +01:00
twinaphex
203b4d7f80
(GDI) Move these variables to struct
2020-03-07 16:31:04 +01:00
twinaphex
2b0164f551
(GDI) Get rid of gdi_video_width static globals
2020-03-07 16:23:34 +01:00
twinaphex
7be7815933
(libnx) Buildfix
2020-03-07 06:49:10 +01:00
twinaphex
bdc31234d5
(Caca) Move caca global state to struct
2020-03-07 06:03:32 +01:00
twinaphex
e8ff0fddca
(drivers_font) More untangling of video_info
2020-03-07 05:48:21 +01:00
twinaphex
f3c6799b4e
(drivers_font) switch_font - cleanups
2020-03-07 05:25:28 +01:00
twinaphex
3e891c6237
(drivers font) Start making the code independent of video_frame_info
2020-03-07 04:45:27 +01:00
twinaphex
f588e7f646
Buildfix
2020-03-07 04:22:20 +01:00
twinaphex
b4b758466f
(gx_display_gl) Simplifications
2020-03-07 01:47:44 +01:00
twinaphex
ee9c6ef5ba
(Font driver) Get rid of more video_frame_info dependencies
2020-03-07 01:41:00 +01:00
twinaphex
267800abaa
(GL) Start reducing dependency on video_frame_info
2020-03-07 00:58:06 +01:00
twinaphex
4598f186a8
Get rid of video_frame_info dependency
2020-03-07 00:39:06 +01:00
twinaphex
83b815df17
(XEGL) Buildfix
2020-03-07 00:26:44 +01:00
twinaphex
7f75bcfcb5
(DRM) Buildfix
2020-03-07 00:06:34 +01:00
twinaphex
250468a1ba
drm_get_connector - cleanup
2020-03-06 23:18:22 +01:00
twinaphex
304cd05dc6
(X11) Buildfix
2020-03-06 23:00:06 +01:00
twinaphex
4d7b627421
Get rid of video_info dependency for set_video_mode
2020-03-06 22:58:12 +01:00
twinaphex
e20151a048
Get rid of video_info struct for swap_buffers too
2020-03-06 22:29:51 +01:00
twinaphex
68664fdf1d
update_title - we don't need video_info
2020-03-06 22:11:44 +01:00
twinaphex
8b43e1b4ef
Can get rid of IS_SHUTDOWN
2020-03-06 20:32:22 +01:00
twinaphex
4aae293e3d
Remove is_shutdown from check_window
2020-03-06 20:29:31 +01:00
Twinaphex
801fa3459c
Merge pull request #10221 from jdgleaver/qt-history-thumbs
...
(QT) Populate 'db_name' and 'crc32' fields when adding entries to content history
2020-03-06 18:54:59 +01:00
Twinaphex
9a78994fe2
Merge pull request #10223 from jdgleaver/gfx-thumbnail-struct
...
(gfx_thumbnail) Move globals to a single struct
2020-03-06 17:06:17 +01:00
twinaphex
1f553ac1c4
Get rid of menu_shader_set_modified - instead, add a single
...
'modified' variable to video_shader struct
2020-03-06 17:05:20 +01:00
jdgleaver
5b59f0dcda
(gfx_thumbnail) Move globals to a single struct
2020-03-06 15:48:07 +00:00
twinaphex
544df2f03c
Create global state for gfx_display
2020-03-06 16:33:34 +01:00
twinaphex
a6995c0336
(gfx_display.c) Cleanup video coord array
2020-03-06 16:12:24 +01:00
twinaphex
e06a6b62c8
(gfx_display.c) Change some of the naming conventions to make it
...
clear this is no longer code bound to the menu
2020-03-06 16:06:44 +01:00
twinaphex
fb04376722
(gfx_display.c) Cleanups
2020-03-06 16:01:45 +01:00
twinaphex
d1276258ea
Add TODO/FIXME note
2020-03-06 15:55:22 +01:00
twinaphex
e678b39de6
Cleanup
2020-03-06 15:40:45 +01:00
twinaphex
9d9c24f94b
(gfx_animation.c) Move all global state into the struct
2020-03-06 15:37:16 +01:00
jdgleaver
7873b5f044
(QT) Populate 'db_name' and 'crc32' fields when adding entries to content history
2020-03-06 14:00:04 +00:00
twinaphex
f581260daa
(video thread wrapper) Add TODO/FIXME notes
2020-03-06 03:05:45 +01:00
twinaphex
62bd4960e1
Fix MSVC include paths
2020-03-06 03:01:47 +01:00
twinaphex
bd5f151077
Settings cleanups
2020-03-06 02:52:21 +01:00
twinaphex
6fd784375a
Update
2020-03-06 02:25:28 +01:00
twinaphex
534f09373e
Get rid of video_driver_height dependency
2020-03-05 22:03:58 +01:00
twinaphex
52fae101e8
(GL) Get rid of video_driver_build_info dependency
2020-03-05 21:45:02 +01:00
twinaphex
8d5d91a5a4
(GL1/GLCore) Only video_info dependency now is 'height'
2020-03-05 20:32:58 +01:00
twinaphex
e65c816ed0
(GL) Will have to rework set_viewport for the GL drivers -
...
video drivers should not be calling video_driver_build_info as
they could be on a separate thread
2020-03-05 20:29:51 +01:00
twinaphex
a7d679d391
Rename WndProcGL to WndProcWGL
2020-03-05 18:45:41 +01:00
twinaphex
dd6cbce0eb
Silence these MSVC warnings - warning C4047: '=' : 'unsigned char' differs in levels of indirection from 'char *'
2020-03-05 16:32:15 +01:00
twinaphex
d3bc82d2c3
Header cleanups
2020-03-05 14:12:20 +01:00
twinaphex
da60c1bb96
Header cleanups
2020-03-05 14:06:04 +01:00
twinaphex
2e034c1574
(gfx/drivers_font) header cleanups
2020-03-05 14:01:34 +01:00
twinaphex
899c21257c
(Video layout) move init_string and set_string to stdstring -
...
rename them - cleanup strcmp usage in video layout and other
code cleanups
2020-03-05 11:19:44 +01:00
twinaphex
1bda81560e
Get rid of remnant
2020-03-05 01:04:50 +01:00
twinaphex
2637bd648b
Cleanups
2020-03-04 19:13:30 +01:00
jdgleaver
29f8189d0e
Add independent widget scale override settings for fullscreen/windowed modes
2020-03-04 17:10:49 +00:00
jdgleaver
9954ae57a9
Fix volume widget scaling
2020-03-03 17:08:37 +00:00
jdgleaver
c02f922c10
Fix smooth (vertical) line ticker scroll speed
2020-03-03 14:33:26 +00:00
twinaphex
6232e0abd3
Buildfix
2020-03-03 11:08:16 +01:00
twinaphex
d5f7839d12
Cleanups
2020-03-03 10:58:04 +01:00
twinaphex
d1ebb58580
Cleanups - change function signature of compile_spirv to const char *
2020-03-03 10:49:47 +01:00
twinaphex
e895b9f101
(GX) Buildfix
2020-03-03 00:52:48 +01:00
orbea
def374c2b9
Fix the header paths with the system glslang.
2020-03-02 14:20:18 -08:00
twinaphex
1167a06a5a
Settings Cleanups
2020-03-02 20:34:31 +01:00
twinaphex
80991a00f0
Settings cleanups
2020-03-02 20:24:00 +01:00
twinaphex
0ef1b342e4
settings Cleanups
2020-03-02 20:10:24 +01:00
Twinaphex
d4c9768138
Merge pull request #10175 from Jamiras/multi_popup
...
(cheevos) queue multiple popups
2020-03-02 18:13:33 +01:00
Jamiras
daad8bcca0
queue multiple popups
2020-02-29 09:30:22 -07:00
Justin Weiss
a96be2cdce
[3DS] Keep the bottom screen hidden on sleep/wakeup
...
When the 3DS wakes back up after being closed, the bottom screen needs
to be reinitialized. Adding the condition here will cause the screen
to be turned on or off based on the state of
ctr_bottom_screen_enabled, as you'd expect.
2020-02-28 23:01:22 -08:00
natinusala
f00fb6d1ea
odroidgo2: patched DRM driver
2020-02-27 10:22:51 +01:00
natinusala
a75059f94b
odroidgo2: add skeleton
2020-02-27 10:22:51 +01:00
twinaphex
d19dd12b30
Start calling cpu_features_get_time_usec less per frame iteration
2020-02-26 08:09:20 +01:00
Twinaphex
d4e9abe363
Merge pull request #10154 from Jamiras/cheevos_badges
...
(cheevos) simplify badge handling; remember enablement if XMB not available
2020-02-24 00:59:25 +01:00
Jamiras
5ecc426741
simplify badge handling; remember enablement if XMB not available
2020-02-23 15:55:41 -07:00
twinaphex
b89663e213
Inline file_list_get_userdata_at_offset
2020-02-23 11:13:48 +01:00
twinaphex
8ae08cf23d
(Gfx widgets) Put AI service overlay code behind HAVE_TRANSLATE
...
ifdefs
2020-02-23 11:03:38 +01:00
twinaphex
a4c19457ce
Found one instance where userdata was not implicitly set to NULL
2020-02-21 20:48:11 +01:00
twinaphex
1b0ab1c05f
Cleanups
2020-02-21 07:34:53 +01:00
twinaphex
ab94af68c1
Cut down on settings access
2020-02-19 19:31:00 +01:00
twinaphex
682462fb20
Cleanups
2020-02-19 19:23:10 +01:00
twinaphex
75eef8a2c9
(drivers shader slang) Put logging behind DEBUG ifdef - and
...
turn some conditionals into a switch
2020-02-19 16:25:41 +01:00
twinaphex
c6bd3da1c3
(drivers_shader) Cleanups
2020-02-19 03:23:30 +01:00
twinaphex
5280286415
(shader_vulkan.cpp) Cleanup
2020-02-19 03:11:45 +01:00
twinaphex
d36941b81d
(CTR) Buildfix
2020-02-19 00:23:45 +01:00
twinaphex
3ea96c2587
(GX) Buildfix
2020-02-19 00:23:45 +01:00
twinaphex
3a94c52426
(gfx drivers) Start reducing settings pointer usage
2020-02-18 14:51:40 +01:00
twinaphex
9af520fa54
Cleanup
2020-02-18 13:40:01 +01:00
twinaphex
46cacfc60e
(gfx_display.c) Cleanups
2020-02-18 13:04:12 +01:00
twinaphex
2ba45d0acb
(GL1) Fixes crash on MSVC2005
2020-02-18 05:51:23 +01:00
twinaphex
6d09d29093
Be more safe with these functions - this was causing crashes on
...
MSVC 2005
2020-02-18 04:18:31 +01:00
twinaphex
7c7d0f596a
HAVE_MENU_WIDGETS now decoupled from HAVE_MENU
2020-02-17 21:28:42 +01:00
twinaphex
561012c3ba
(gfx_widgets) Set all values to initial state
2020-02-17 20:49:56 +01:00
twinaphex
10d09eaed3
gfx_widgets_init - move content of error path to retroarch.c
2020-02-17 16:42:17 +01:00
twinaphex
4d148ff078
Roll gfx_widgets_context_destroy into gfx_widgets_free
2020-02-17 16:35:19 +01:00
twinaphex
166c0c2311
Cleanups
2020-02-17 16:07:37 +01:00
jdgleaver
e497b8f534
gfx_display.h/c: Fix line endings
2020-02-17 12:01:14 +00:00
twinaphex
cec672a71d
Buildfix
2020-02-17 12:27:08 +01:00
twinaphex
a0f3010159
Cleanup
2020-02-17 03:59:12 +01:00
twinaphex
6e880ef686
osk_dark no longer a global
2020-02-17 02:31:14 +01:00
twinaphex
8980d92efa
Cleanup
2020-02-17 02:08:40 +01:00
twinaphex
43561dc389
(Xvideo) Buildfix
2020-02-17 01:54:25 +01:00
twinaphex
b00bf17153
Move menu_widgets to gfx/ and call it gfx_widgets
2020-02-17 01:54:07 +01:00
twinaphex
b229f267e4
Rename menu_widgets to gfx_widgets
2020-02-17 01:43:40 +01:00
twinaphex
6b82089d6c
Move menu_display code to gfx_display
2020-02-17 00:42:49 +01:00
twinaphex
ec302bc4fc
video_set_nonblock_state - remove settings dependency
2020-02-16 22:26:07 +01:00
twinaphex
47af95469a
(font_driver.c) Remove configuration.h dependency
2020-02-16 21:59:03 +01:00
twinaphex
7bf5da8de4
(gfx_animation.c) Remove remaining menu namespace conventions
2020-02-16 18:24:45 +01:00
twinaphex
808a54e217
Cleanups
2020-02-16 17:40:06 +01:00
twinaphex
bb2251a7b2
(display server) Cleanup
2020-02-16 17:34:26 +01:00
twinaphex
2f525187a1
(gfx_display.c) Get rid of more header includes
2020-02-16 17:18:13 +01:00
twinaphex
f74225721d
menu_thumbnail and menu_thumbnail_path now decoupled from menu
...
system
2020-02-16 16:38:17 +01:00
twinaphex
9a6ab81739
MOve gfx_display and gfx_animation to gfx/
2020-02-16 15:26:58 +01:00
twinaphex
c71469c715
Rename menu_display to gfx_display
2020-02-16 15:10:07 +01:00
twinaphex
2d946d0d95
(PS2 gfx) Cleanups
2020-02-14 13:06:56 +01:00
twinaphex
cb0c145e3d
Cleanups
2020-02-14 12:55:36 +01:00
twinaphex
e47b7526bc
(gfx) Cleanups
2020-02-13 23:24:51 +01:00
twinaphex
7090de541a
- Merge runahead/mylist.c into retroarch.c
...
- General cleanups
2020-02-13 17:26:11 +01:00
Twinaphex
a97557f2e4
Merge pull request #10111 from jdgleaver/ozone-scaling
...
(Ozone) Add DPI-based scaling
2020-02-13 14:16:34 +01:00
twinaphex
2e0f921ded
Cleanups
2020-02-13 02:18:38 +01:00
twinaphex
1105d1019d
Reduce some configuration dependencies
2020-02-12 16:13:28 +01:00
twinaphex
d918c1791a
Get rid of some configuration.h dependencies
2020-02-12 16:09:30 +01:00
jdgleaver
b1773cc73b
(Switch) Report correct (approximate) DPI in 'docked' mode
2020-02-12 14:25:49 +00:00
twinaphex
880391d0c5
(libnx) Try to silence warnings
2020-02-10 12:36:11 +01:00
orbea
baf7013941
Silence warning with clang-9.0.1.
...
gfx/drivers_shader/shader_vulkan.cpp:2372:4: warning: field 'device' will be initialized after field 'size' [-Wreorder]
device(device),
^
1 warning generated.
2020-02-01 16:52:00 -08:00
twinaphex
d89fb0e7c4
(shader_slang.cpp) Simplify usage of functions that are only
...
ever used as C-strings
2020-02-01 07:04:27 +01:00
twinaphex
64c515bac4
Turn while (true) into for (;;) for easier MSVC backwards compatibility
2020-02-01 04:15:22 +01:00
twinaphex
35b8c4cb05
Cleanup
2020-02-01 02:02:50 +01:00
twinaphex
f0e889b552
Change prototype of video_driver_set_size
2020-01-31 15:06:50 +01:00
twinaphex
982e35db45
Use strlcat instead of strcat
2020-01-30 22:20:18 +01:00
twinaphex
74cd84399f
Cleanups - Replace '== NULL'
2020-01-30 16:47:33 +01:00
twinaphex
a034909ae9
Cleanups
2020-01-30 16:35:59 +01:00
trioan
0e20be17cc
fix vulkan_framebuffer_generate_mips (msvc2017)
...
{0} initializer
2020-01-25 21:14:28 -05:00
twinaphex
9ddd8417c8
Replace some more auto variables
2020-01-23 04:49:51 +01:00
twinaphex
a4564b8939
Move C oriented code from slang_reflection.cpp to glslang_util.c
2020-01-22 19:36:49 +01:00
twinaphex
ff9701685f
Remove some auto variables
2020-01-22 19:07:10 +01:00
twinaphex
6d0286efbd
Turn video_shader_parse_type into macro
2020-01-22 14:30:55 +01:00
twinaphex
920e89a506
Move pass set texture to vulkan_common.c
2020-01-22 14:27:24 +01:00
twinaphex
8f1aa8c2c3
(shader_gl_core.cpp) Cleanups
2020-01-22 13:52:14 +01:00
twinaphex
376ad6d61d
move more C functions over to gl_core.c
2020-01-22 13:12:00 +01:00
twinaphex
90874b434e
(shader_vulkan.cpp) Move more C code to vulkan_common.c
2020-01-22 12:09:08 +01:00
twinaphex
bcf8ff3d0a
(shader_gl_core) Get rid of ConfigDeleter - move C code to gl_core.c
2020-01-22 11:57:06 +01:00
twinaphex
c8227c95dd
(shader_gl_core) get rid of ConfigDeleter
2020-01-22 11:35:00 +01:00
twinaphex
b8cd37aef7
(shader_vulkan.cpp) Get rid of ConfigDeleter
2020-01-22 11:29:40 +01:00
twinaphex
f853632260
Move framebuffer generate_mips function to vulkan_common.c
2020-01-22 10:52:20 +01:00
twinaphex
e9c73bd9a6
(Vulkan) Move more C code to vulkan_common.c
2020-01-22 10:41:38 +01:00
twinaphex
ef27a660a7
(shader vulkan) Cleanups - moving C code out of the C++ file
2020-01-22 10:11:42 +01:00
twinaphex
8a989b65ee
Cleanup
2020-01-19 13:19:25 +01:00
twinaphex
826b2245ec
WndProcCommon - small optimization
2020-01-19 12:17:26 +01:00
twinaphex
f852209040
Silence some unused variable warnings on some targets
2020-01-19 06:04:37 +01:00
twinaphex
32c62a7fe1
Get rid of header include
2020-01-19 05:00:35 +01:00
twinaphex
51d6b467d6
(Win32) Buildfix
2020-01-19 04:56:12 +01:00
twinaphex
c26c9483ec
Cleanup WNDPROC functions
2020-01-18 11:34:50 +01:00
twinaphex
a01e6652df
Replace ZeroMemory with memset
2020-01-18 10:46:25 +01:00
twinaphex
57c00e7e26
Cleanup
2020-01-18 10:41:26 +01:00
twinaphex
a67896ab2b
Cleanup
2020-01-18 09:37:16 +01:00
twinaphex
142503d3b5
move win32_menu_loop and win32_browser to win32_common
2020-01-18 09:28:46 +01:00
orbea
8d6b70c22c
Don't use uname -a.
2020-01-15 06:27:42 -08:00
twinaphex
d48d4385d9
(Wayland) Silence warning
2020-01-15 08:48:13 +01:00
twinaphex
0923985516
(GL/WGL) This regression caused cores that required GL to fail
...
because it would try to erroneously load GLESv2.dll instead of
OpenGL32.dll
2020-01-09 19:26:53 +01:00
Michael Lelli
dcb6bae868
fix null check in video_display_server
2020-01-07 09:36:32 -06:00
twinaphex
3d80838754
Fix display server crashing on some platforms
2020-01-07 11:35:32 +01:00
jovonna
376547044c
fix null pointer deref in new dispserv_null code
2020-01-06 21:52:13 -05:00
twinaphex
fa7859ad13
(Gfx drivers context) Cleanup EGL calls
2020-01-06 18:27:18 +01:00
twinaphex
bbd1e6a6a5
Get rid of separate null midi driver file and display server file
2020-01-06 16:06:42 +01:00
twinaphex
a986b71947
Remove separate audio / video null driver files
2020-01-06 15:22:21 +01:00
twinaphex
f97e557194
(DRM/EGL) Buildfix
2020-01-06 00:33:28 +01:00
twinaphex
4380b73ca6
Add HAVE_DYNAMIC_EGL option
2020-01-05 19:14:47 +01:00
twinaphex
6e0971fc61
(EGL) Call EGL common calls
2020-01-04 19:58:57 +01:00
twinaphex
d5cdfbb7ba
Move all EGL functions to egl_common.c file
2020-01-04 19:22:02 +01:00
twinaphex
063986a4b3
(ANGLE) Angle gets separate EXE name
2020-01-04 19:05:23 +01:00
jovonna
decd374c15
Initial port to dingux platform
2020-01-04 12:20:03 -05:00
twinaphex
1216c3ef6d
(OSX/Metal) Buildfix
2020-01-04 17:44:33 +01:00
Francisco José García García
f559e931cf
Only use threads when the number > 1
2020-01-04 16:36:54 +01:00
twinaphex
f92a507a9b
Change function signature of font_driver_render_msg
2020-01-04 16:24:14 +01:00
twinaphex
3e1f56d57f
Change function signature of win32_has_focus
2020-01-04 15:49:23 +01:00
twinaphex
91baea201a
Change function signature of win32_show_cursor
2020-01-04 15:40:02 +01:00
twinaphex
53dbd69751
(EGL) Create egl_bind_api
2020-01-04 15:09:42 +01:00
twinaphex
6c97a7514c
(Vulkan) turn superfluous functions in vulkan_common.c into macros
...
to avoid unnecessary function overhead
2020-01-03 20:20:59 +01:00
GH Cao
91ee8c8ee6
D3D11: Block 9_3 devices, implement gl failback
2020-01-03 09:44:24 +08:00
GH Cao
a4e810795c
D3D: Add get_metrics
2020-01-03 09:40:41 +08:00
GH Cao
090919490a
UWP: Remove uwp_egl_create_surface
...
Because of 0e2265, this is not doing anything special anymore.
Remove it entirely and use common EGL surface creation instead.
2020-01-03 06:07:05 +08:00
jdgleaver
7ad4becedb
(Vulkan) Fix font driver 'vulkan_get_message_width()' function
2019-12-29 14:44:07 +00:00
twinaphex
051342cc8b
Rewrite win32_get_video_output
2019-12-20 07:15:03 +01:00
Hans-Kristian Arntzen
96723c6f70
Vulkan/Android: Workaround weird WSI return codes in landscape mode.
...
Android WSI wants you to use preTransform, and if it is not used
correctly, Android 10 will return VK_SUBOPTIMAL_KHR, and we would create
a new swapchain every frame.
This workaround just ignores this error, since it's not really an error.
A more "proper" fix is to use prerotate and modify the MVP matrices,
which might help certain devices with crummy display processors.
2019-12-17 19:08:20 +01:00
Themaister
15ffffa835
Android/Vulkan: Recreate swapchain on orientation change.
...
ANativeWindow getWidth/Height does not detect any changes when using
Vulkan, so use the old onContentRectChanged callback to get notified
when size changed. Use those values instead when figuring out how large
swapchain to create.
Tested trivially on Galaxy S9+ Exynos model.
2019-12-15 16:46:41 +01:00
Francisco José García García
b4be7b0c74
(Vita) Several improvements to vita2d driver
2019-12-14 14:11:47 +01:00
twinaphex
1fd6d024eb
More buildfixes for ANGLE
2019-12-07 07:24:20 +01:00
twinaphex
c6b325e4d6
Add more headers
2019-12-07 07:17:21 +01:00