Commit Graph

8749 Commits

Author SHA1 Message Date
Twinaphex
7fedabee4b
Merge pull request #8163 from orbea/cleanup
Cleanup
2019-02-04 23:19:05 +01:00
twinaphex
845b30131f Cleanups 2019-02-04 23:17:39 +01:00
orbea
28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
orbea
4c56167446 Convert to linux line endings. 2019-02-03 15:43:42 -08:00
twinaphex
a58a32411f Some more buildfixes 2019-02-03 21:18:34 +01:00
twinaphex
9c0ccccc1c Relative header include fix 2019-02-03 19:44:17 +01:00
twinaphex
4cbbd3470b Revert "Simplify video_driver_set_mvp"
This reverts commit 1dd89e1bce.
2019-02-03 19:40:48 +01:00
twinaphex
4aadd53d80 Revert "Get rid of video_shader_driver_scale"
This reverts commit 256b28fa2a.
2019-02-03 19:40:36 +01:00
twinaphex
1eeb58c5dd Revert "Cleanups"
This reverts commit 4554669750.
2019-02-03 19:40:27 +01:00
twinaphex
5a45464bb3 Revert "Reimplement video_driver_set_coords"
This reverts commit 93ded925d3.
2019-02-03 19:40:21 +01:00
twinaphex
43884758c5 Revert "(GL) Cleanups"
This reverts commit 5bab7e4460.
2019-02-03 19:40:15 +01:00
twinaphex
5bab7e4460 (GL) Cleanups 2019-02-03 18:38:18 +01:00
twinaphex
93ded925d3 Reimplement video_driver_set_coords 2019-02-03 18:29:00 +01:00
twinaphex
dd366cd5c5 Revert "Simplify set_coords"
This reverts commit e10eb51f71.
2019-02-03 18:05:14 +01:00
twinaphex
e10eb51f71 Simplify set_coords 2019-02-03 18:03:07 +01:00
twinaphex
4554669750 Cleanups 2019-02-03 17:49:31 +01:00
twinaphex
256b28fa2a Get rid of video_shader_driver_scale 2019-02-03 17:39:25 +01:00
twinaphex
67e777767c Revert "Remove video_shader_driver_get_ident"
This reverts commit 0814cc34ee.
2019-02-03 07:07:50 +01:00
twinaphex
0814cc34ee Remove video_shader_driver_get_ident 2019-02-03 07:06:57 +01:00
twinaphex
1dd89e1bce Simplify video_driver_set_mvp 2019-02-03 06:53:02 +01:00
Twinaphex
b7cee0a633
Merge pull request #8154 from orbea/nuklear
Further remove nuklear.
2019-02-03 06:42:05 +01:00
twinaphex
add4ac00eb Cleanups 2019-02-03 06:28:27 +01:00
orbea
af813d9c46 Further remove nuklear. 2019-02-02 20:58:47 -08:00
twinaphex
0db583c245 Get rid of video_shader_driver_compile_program 2019-02-03 05:52:41 +01:00
twinaphex
9a04c4c67b Get rid of video_shader_driver_get_prev_textures 2019-02-03 05:49:18 +01:00
twinaphex
000787837e Cleanups 2019-02-03 05:41:43 +01:00
twinaphex
9b233f71ac Buildfixes 2019-02-03 05:32:03 +01:00
twinaphex
7e92468508 Get rid of video_shader_driver_filter_type 2019-02-03 05:28:00 +01:00
twinaphex
6f7d67aa77 (GL/video driver) More cleanups 2019-02-03 05:07:29 +01:00
twinaphex
845c8d1757 Get rid of more video_shader_driver functions 2019-02-03 05:05:23 +01:00
twinaphex
7e81ac4218 Get rid of video_shader_driver_mipmap_input 2019-02-03 04:47:52 +01:00
twinaphex
9aa542b1ae * Get rid of video_shader_driver_use
* Get rid of Nuklear - ozone/menu widgets is probably the replacement
for it - Zarch will go next
2019-02-03 04:37:54 +01:00
twinaphex
633ad1788d Turn this into static function 2019-02-03 00:13:41 +01:00
twinaphex
91f8e8465a (GL) Cleanups 2019-02-03 00:11:41 +01:00
twinaphex
97dc77b940 (GL) renderchain interface is gone now 2019-02-03 00:07:53 +01:00
twinaphex
d7410b6689 (GL2) Cleanups 2019-02-02 23:16:36 +01:00
twinaphex
af65e36eea Cleanup renderchain functions 2019-02-02 22:35:10 +01:00
twinaphex
62bea6ad11 SOme header cleanups 2019-02-02 22:02:24 +01:00
twinaphex
1a6d0b2ce4 Update 2019-02-02 21:52:33 +01:00
twinaphex
0c0ab19b11 (GL) We don't need gl_common.c anymore 2019-02-02 21:47:31 +01:00
twinaphex
350b0dd1a2 gl_add_lut can now become a static function inside gl.c 2019-02-02 21:34:02 +01:00
twinaphex
90f1317498 Cut down on code duplication - create gl_load_luts 2019-02-02 21:32:37 +01:00
twinaphex
31a5f72acf Add 10.7 ifdef 2019-02-02 18:04:41 +01:00
twinaphex
2560d1c105 Move gl_load_texture_data to gl_common.c 2019-02-02 17:33:58 +01:00
twinaphex
6b3fad0f53 This can be removed now 2019-02-02 17:26:12 +01:00
twinaphex
7c74f0abe8 Create gl_add_lut 2019-02-02 17:25:27 +01:00
alphanu1
f9bb1417b1
compile warning fix 2019-02-01 20:41:01 +00:00
alphanu1
36fd99910a
Update dispserv_x11.c 2019-02-01 20:38:50 +00:00
alphanu1
8ff70ecbbb
Update dispserv_x11.c 2019-02-01 20:34:48 +00:00
alphanu1
5f7de58080
Fix restore resolution for auto detect with single output 2019-02-01 20:30:44 +00:00
alphanu1
b1a20b6ea7
Merge pull request #100 from libretro/master
Update
2019-02-01 20:27:40 +00:00
alphanu1
23800382bf
Update dispserv_x11.c 2019-02-01 20:21:53 +00:00
alphanu1
1d8dd9bb9e
Fix restore resolution for single output autodetect 2019-02-01 20:20:25 +00:00
orbea
5d56080312 Use the posix poll.h instead of sys/poll.h. 2019-02-01 09:58:04 -08:00
Twinaphex
0d3dc3fc83
Merge pull request #8141 from alphanu1/master
Fix pre-installed resolution bug
2019-02-01 01:25:41 +01:00
alphanu1
b69938078d
Fix pre-installed Resolution bug 2019-02-01 00:22:00 +00:00
twinaphex
5d77244334 (OSX) Implement flyinghead's GL3 support 2019-01-31 21:30:49 +01:00
twinaphex
987a91a1ae Silence some warnings 2019-01-31 21:24:13 +01:00
twinaphex
9e6cd04df4 Header include cleanups 2019-01-31 20:43:07 +01:00
twinaphex
37102a8e16 * Header include optimization
* Silence warning with CXX_BUILD (retroarch.c)
2019-01-31 20:12:41 +01:00
twinaphex
000646e51e Update header includes 2019-01-31 19:06:27 +01:00
Twinaphex
0a068ef871
Merge pull request #8134 from bparker06/gdi_fallback
win32: force video driver to gdi if no accelerated graphics driver is found
2019-01-31 16:54:24 +01:00
twinaphex
65f8fc7a21 Fix relative path include 2019-01-31 15:56:17 +01:00
twinaphex
9d6b40fff2 Turn CRT SwitchRes ifdefs into HAVE_VIDEOCORE - ARM ifdefs would break
3DS/Vita builds
2019-01-31 15:55:21 +01:00
Brad Parker
5ea97cccb9 win32: force video driver to gdi if no accelerated graphics driver is found 2019-01-31 09:48:10 -05:00
Twinaphex
422e421900
Merge pull request #8122 from yoshisuga/tvos2
Support for AppleTV (tvOS)
2019-01-31 15:19:10 +01:00
twinaphex
d24408730b Cleanups 2019-01-31 15:13:36 +01:00
Twinaphex
3d092c8394
Merge pull request #8132 from alphanu1/master
CRTSwitchRes Updates: Including Raspberry PI
2019-01-31 15:04:16 +01:00
alphanu1
ccd234465e
fixed restore res bug 2019-01-31 11:56:59 +00:00
alphanu1
9176fc30ee
Fix restore res bug 2019-01-31 11:53:16 +00:00
David Skywalker
347519a4d8 now X11 driver using keycodes instead keysyms, fixes international layouts problems. 2019-01-31 12:50:58 +01:00
alphanu1
f23468b8a6 Merge branch 'master' of https://github.com/alphanu1/MME4CRT 2019-01-31 11:18:08 +00:00
alphanu1
0f400b433b Update dispserv_x11.c 2019-01-31 11:17:56 +00:00
alphanu1
86696d3bf3
Update dispserv_x11.c 2019-01-30 23:15:13 +00:00
alphanu1
8344b0d049 Update dispserv_x11.c 2019-01-30 22:48:04 +00:00
alphanu1
ce6a6c0e21 Update dispserv_x11.c 2019-01-30 22:46:29 +00:00
alphanu1
a7814a7601 Update dispserv_x11.c 2019-01-30 22:41:13 +00:00
alphanu1
f510efd64e Update dispserv_x11.c 2019-01-30 22:34:18 +00:00
alphanu1
257dbd825a Update dispserv_x11.c 2019-01-30 22:28:46 +00:00
alphanu1
5afcd020bd update 2019-01-30 22:17:36 +00:00
alphanu1
fac95efaba Update dispserv_x11.c 2019-01-30 22:08:04 +00:00
alphanu1
fa8c9d7049 new method 2019-01-30 21:55:33 +00:00
alphanu1
a4b391d796 Update video_crt_switch.c 2019-01-30 20:58:30 +00:00
alphanu1
8fdbdf8b8b Update video_crt_switch.c 2019-01-30 20:57:52 +00:00
alphanu1
0726cc425c Update video_crt_switch.c 2019-01-30 20:51:05 +00:00
alphanu1
c43a93e544 Adding userland for RPi 2019-01-30 20:47:36 +00:00
alphanu1
76bf63f905
RPi Additions new switching method
Partil new switching method
2019-01-30 20:17:32 +00:00
Yoshi Sugawara
a18512375b Support for tvOS
- add tvOS target
    - support code signing tvOS cores by adding an argument to the code signing cores script
    - use NSCachesDirectory for the documents directory
    - add some mfi controller handling logic to set non-game controllers to the last index to avoid interfering with operation
    - autodetect mfi controller for apple tv on startup - added autodetect to hid joypad
    - added a webserver to transfer files for tvOS
    - xcode: clean up project, remove unused folders
    - remove HAVE_MATERIALUI setting for tvos build, make it use XMB as default
    - added retroarch app icon courtesy of @MrJs
    - added auto-detect of mfi controller for apple tv
2019-01-29 10:13:46 -10:00
twinaphex
406d927f6b (D3D11) Comment out performance counter 2019-01-29 08:57:06 +01:00
natinusala
04b2ffcb9e Fix scissoring for d3d10 and d3d11 2019-01-28 19:23:46 +01:00
Twinaphex
e8e384aa4f
Merge pull request #8076 from jdgleaver/rgui-vulkan-linear
(Vulkan) Enable RGUI 'Menu Linear Filter' option (please review)
2019-01-28 16:00:18 +01:00
Twinaphex
158cec17fd
Merge pull request #8107 from benutzer193/master
Fix #8081 [Wayland+Vulkan] Core Dump in wl_egl_window_resize
2019-01-28 13:09:09 +01:00
krzys-h
3c18232448 Fix d3d12 swap chain creation
Apparently, HAVE_WINDOW was not defined in this file (and this obviously
doesn't appear on MSVC because of how griffin.c works...)
2019-01-28 10:44:47 +01:00
Twinaphex
d2edf39f11
Merge pull request #8106 from bparker06/menusounds
Implement in-menu sound effects
2019-01-28 01:23:25 +01:00
Twinaphex
8b958b91f9
Merge pull request #8105 from orbea/qb
Update generate_wayland_protos.sh.
2019-01-28 00:31:57 +01:00
Brad Parker
90db5e7e27 Implement in-menu sound effects 2019-01-27 11:22:16 -05:00
Brad Parker
8b6676e17f d3d9: implement scissor test 2019-01-26 20:13:39 -05:00
Twinaphex
1546ba05d4
Merge pull request #8104 from bparker06/d3d_scissor
implement scissor test for D3D10/11
2019-01-27 01:31:11 +01:00
orbea
ae7b09afae gfx: Update generate_wayland_protos.sh. 2019-01-26 16:08:18 -08:00
Brad Parker
29a07895b9 implement scissor test for D3D10/11, fixes #7897 2019-01-26 18:52:49 -05:00
Twinaphex
b512c0aeb9
Merge pull request #8095 from Sunderland93/wayland-version
[Wayland] Set minimum wayland version to 1.12
2019-01-26 22:49:34 +01:00
benutzer193
8e26b13578
If window is not present, create window 2019-01-26 17:49:20 +01:00
Sunderland93
10d2d13004 Fix version's comparison 2019-01-26 13:41:03 +04:00
orbea
63c7abef06 qb: Allow testing more than one version in check_pkgconf. 2019-01-25 15:04:29 -08:00
Sunderland93
677395f05e [Wayland] Set minimum wayland version to 1.12 2019-01-25 21:41:13 +04:00
orbea
088860e499 Silence -Wformat-truncation warnings with DEBUG=1. 2019-01-24 10:59:53 -08:00
jdgleaver
11af72286b (Vulkan) Enable RGUI 'Menu Linear Filter' option 2019-01-23 11:55:17 +00:00
orbea
d3f81e8db8 Fix the osx metal travis build. 2019-01-21 13:03:51 -08:00
Twinaphex
2ba90e218f
Merge pull request #8051 from Sunderland93/master
[Wayland] Change prev_width and prev_height to unsigned int
2019-01-20 20:31:43 +01:00
M4xw
7d186f7d2c Revert PR #8043 2019-01-20 20:06:57 +01:00
Sunderland93
cd35fb9440 Change prev_width and prev_height to unsigned int 2019-01-20 22:12:05 +04:00
twinaphex
4350073265 Revert "Revert "Fix function signature of metal_unload_texture""
This reverts commit 1a7d69621f.
2019-01-20 17:34:38 +01:00
twinaphex
1a7d69621f Revert "Fix function signature of metal_unload_texture"
This reverts commit bd16d5c9dc.
2019-01-20 17:33:07 +01:00
Twinaphex
bd16d5c9dc Fix function signature of metal_unload_texture 2019-01-20 03:31:45 +01:00
twinaphex
b13777e9fc Header cleanups 2019-01-20 03:16:58 +01:00
twinaphex
8349f9217c Warning cleanup 2019-01-20 01:52:20 +01:00
twinaphex
d3ae2cbd29 Cleanup some header includes 2019-01-20 01:49:21 +01:00
twinaphex
22e99568ed Small cleanups 2019-01-20 00:48:02 +01:00
Twinaphex
b99ad352e3
Merge pull request #8043 from daliaetnano/fix-6747-black-bug
Fix #6747 Black bug
2019-01-20 00:17:37 +01:00
Twinaphex
7f327e7154
Merge pull request #8046 from orbea/gl
Fix segfault with a null gl context.
2019-01-19 23:35:48 +01:00
twinaphex
83241ed0b1 Some header cleanups 2019-01-19 23:27:59 +01:00
twinaphex
0abe271909 Take out some header includes 2019-01-19 23:15:48 +01:00
twinaphex
1a0d5030f9 shader_vulkan.cpp - doesn't need math.h 2019-01-19 23:02:48 +01:00
orbea
46676289d4 Fix segfault with a null gl context. 2019-01-19 13:56:39 -08:00
Nano
c017271d8a Fix #6747 Black bug 2019-01-19 10:26:06 +01:00
orbea
e062b98088 Remove trailing blank lines.
find . -type f -exec sed -i '${/^[[:space:]]*$/d;}' {} \+
2019-01-17 19:39:38 -08:00
Francisco Javier Trujillo Mata
3706aa9904 ClearVRAM detection improved 2019-01-16 22:57:08 +01:00
Francisco Javier Trujillo Mata
f7c9bc4e61 Make GFX PS2 support palette in the cores 2019-01-16 22:57:08 +01:00
orbea
ff2e3bbbce Fix CXX_BUILD errors. 2019-01-13 11:51:33 -08:00
Francisco Javier Trujillo Mata
a5d381eced Improve VRAM clear detection 2019-01-13 20:19:21 +01:00
Francisco Javier Trujillo Mata
ba75b1f4b3 Enable the possibility to disable VSync 2019-01-13 19:15:52 +01:00
Twinaphex
75aa27ab94
Merge pull request #7972 from Wiimpathy/WiiGammaSettings
Wii: Fix Gamma setting not saved.
2019-01-13 03:24:30 +01:00
Twinaphex
c4669c3302
Merge pull request #7992 from Sunderland93/master
[Wayland] Fix toggle fullscreen
2019-01-13 01:34:06 +01:00
Brad Parker
1b22acd747 guard against overflows in Arabic font code, fixes #7508 2019-01-12 17:23:19 -05:00
twinaphex
7ad34509e7 Silence more CXX_BUILD warnings 2019-01-12 21:16:48 +01:00
Sunderland93
dba9781f26 Fix toggle fullscreen 2019-01-12 22:18:31 +04:00
twinaphex
6ca9afbd57 Silence more warnings with CXX_BUILD 2019-01-12 18:51:06 +01:00
twinaphex
4c8e5e07c0 Fix some CXX_BUILD errors 2019-01-12 18:35:14 +01:00
Twinaphex
ff8e10f014
Merge pull request #7984 from myfreeweb/egl-fix
Fix EGL initialization not setting 'n'
2019-01-12 05:10:46 +01:00
CozmoP
2052e15a08 pass content label when loading content from Qt (#7982) 2019-01-11 18:51:44 -05:00
M4xw
c111b4a7f0 Fix double semicolon and format line endings 2019-01-11 23:48:52 +01:00
Greg V
3ab7e780d1 EGL: use unused 'n' argument for storing the config count (fixes #7953)
The 'n' argument was probably intended for the count, but it was unused.
The Wayland platform would check whether n would be non-zero (and
wouldn't initialize n with zero), so it would only succeed because it
was initialized with random garbage.

Pointy hat: @Sunderland93
2019-01-11 20:41:40 +03:00
Greg V
b52a5ae664 Remove trailing whitespace in wayland_ctx.c
vim has been helpfully doing this for me every time I saved the file
and I've had to manually ignore these changes when committing.
Let's just commit this.
2019-01-11 20:37:59 +03:00
Francisco Javier Trujillo Mata
7b175496ce [PS2] Clean screen before the core start 2019-01-11 14:42:47 +01:00
Twinaphex
01397f008a
Revert "Fix issue #6747 black bug" 2019-01-10 22:52:13 +01:00
twinaphex
3ac631c7a3 (MSVC) Some more static code analysis warning fixes 2019-01-10 22:49:23 +01:00
Twinaphex
e4f9aebbd3
Merge pull request #7973 from daliaetnano/fix-2791-black-bug
Fix issue #6747 black bug
2019-01-10 22:36:40 +01:00
twinaphex
c98b2e2292 Buildfixes and more static code analysis warning fixes 2019-01-10 22:24:43 +01:00
twinaphex
b9ff2e4de1 Fix some static code analysis warnings from MSVC 2017 2019-01-10 21:47:15 +01:00
benoa
10723bca01 Wii: Fix Gamma setting not saved. 2019-01-10 18:18:20 +01:00
krzys-h
0cff7eefa7 Initialize COM only once, globally 2019-01-10 16:48:02 +01:00
Brad Parker
d3210b87ae proper init of ITaskbarList 2019-01-10 09:25:02 -05:00
Francisco Javier Trujillo Mata
29948c0878 Apply guideline styles for PS2 files 2019-01-10 09:37:09 +01:00
Francisco Javier Trujillo Mata
a2db47bead Improve manage of VRAM in the GFX and Font Driver for PS2 2019-01-10 02:25:02 +01:00
bparker06
c7779ff046
Remove extra CoUninitialize 2019-01-09 18:51:25 -05:00
bparker06
a7a959ccba
always call CoUninitialize if we support the taskbar extensions 2019-01-09 18:49:39 -05:00
Nano
f1ba335cb3 Fix issue #2791 black bug 2019-01-09 22:52:45 +01:00
twinaphex
01b2b9c3a6 Buildfix 2019-01-09 01:01:03 +01:00
Twinaphex
ac04c1bfc5
Merge pull request #7892 from Datamats/libnx_nwindow
libnx: refactor all the code of the now deprecated gfx api over to the new nwindow / framebuffer api
2019-01-08 23:36:20 +01:00
Twinaphex
d2f7853d49
Merge branch 'master' into more-wayland 2019-01-08 21:45:43 +01:00
Twinaphex
40997473ed
Merge branch 'master' into orbis2 2019-01-08 20:18:08 +01:00
orbea
bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
Francisco Javier Trujillo Mata
9370fb604d Enable 2 controller for PS2 Driver (multiplayer is not implemented yet) 2019-01-08 00:28:14 +01:00
Francisco Javier Trujillo Mata
cd764ac37b Remove not needed free in the FONT driver 2019-01-07 23:02:01 +01:00
Francisco Javier Trujillo Mata
26ce69694f Create Font driver for PS2 2019-01-07 21:51:48 +01:00
Mats
462a4b24fd libnx: refactor all the code of the now deprecated gfx api over to the new nwindow / framebuffer api 2019-01-07 15:03:44 +01:00
Twinaphex
9b46caa6db
Merge pull request #7911 from fjtrujy/feature/PS2OpenRGUIMenu
[PS2] Open RetroArch menu from Core
2019-01-07 01:42:01 +01:00
Francisco Javier Trujillo Mata
f48ffb9aac Open RetroArch Menu Long Pressing Start button 2019-01-07 01:38:48 +01:00
twinaphex
2686cf1498 Fix disable-rgui 2019-01-06 17:04:28 +01:00
krzys-h
ced5af9314 (UWP) Don't try to access C:\Windows\Fonts
It's going to fail anyway
2019-01-06 15:46:03 +01:00
Brad Parker
85b560e76b vc2003 buildfix 2019-01-05 19:19:53 -05:00
Francisco Javier Trujillo Mata
d5a8c30dfe PS2 Timing Improvement 2019-01-05 18:47:39 +01:00
Greg V
e36bf32490 Wayland: track current output and its scale
Ideally, we would track all outputs we're on and choose the highest DPI among them,
but that is pretty difficult. Let's at least use the latest output we've entered
as the current one.
2019-01-04 01:58:44 +03:00
Greg V
60c8f51009 Wayland: keep track of all outputs (displays)
Required to support multiple monitors with varying scales (HiDPI/LoDPI)
2019-01-04 00:37:02 +03:00
Greg V
056c7fffe1 Wayland: consistently store wl->width/height unscaled
No functional change
2019-01-03 23:43:36 +03:00
Greg V
b7a13a02cb Wayland: use lowercase 'retroarch' as app_id
It should match the name of the .desktop file.
2019-01-03 22:16:55 +03:00
Greg V
c151ad1bb2 Wayland: remove bogus condition
Pointy hat: @sardemff7
2019-01-03 22:15:48 +03:00
Sunderland93
d374e8415f Fix drag with "Alt" key on non xdg_wm_base shell's 2019-01-03 22:54:01 +04:00
Francisco Javier Trujillo Mata
b5cf8e90c9 Improve aspect_ratio detection in PS2 GFX (#7879) 2019-01-03 12:51:00 -05:00
Francisco Javier Trujillo Mata
56207bd08e Improvement in:
* Makefile.ps2
* ps2_gfx
* ps2_platform
* ps2_audio
2019-01-03 13:16:28 +01:00
Francisco Javier Trujillo Mata
e2ca8aa1b5 Apply NTCS mode 2019-01-03 13:16:28 +01:00
Twinaphex
8f2fa4527c
Merge pull request #7849 from krzys-h/fix-7842
Fix the taskbar extension not initializing properly
2019-01-02 02:34:19 +01:00
krzys-h
9c75b9cb7f Add missing CoUninitialize calls, fix COM initialization problems
It turns out, some of the CoInitialize calls were failing because they
specified conflicting threading models
2019-01-01 17:30:43 +01:00
Greg V
a1c15b5362 Wayland: try /usr/local for wayland-scanner/protocols
Default prefix is /usr/local on FreeBSD
2019-01-01 03:07:20 +03:00
Greg V
a9a53fdb64 Wayland: create fullscreen Vulkan surface multiplied by the scale 2019-01-01 02:43:59 +03:00
Greg V
6d943e10a6 Wayland: unbreak Vulkan after fixing HiDPI resizing 2019-01-01 02:38:14 +03:00
Twinaphex
eaef091915
Merge pull request #7855 from myfreeweb/wayland-hidpi-resize
Wayland: Fix window resizing on HiDPI monitors
2019-01-01 00:35:16 +01:00
M4xw
a2eaa6a19d [LIBNX] Native 1080p support 2019-01-01 00:26:18 +01:00
Greg V
c901866864 Wayland: Fix window resizing on HiDPI monitors 2019-01-01 02:23:39 +03:00
krzys-h
13517bc226 Fix the taskbar extension not initializing properly
The COM interface is initialized a thousand times everywhere, but
apparently not before the taskbar extension is loaded ;)

Somehow this managed to work sometimes and even return a valid object,
but that object was destroyed soon afterwards causing crashes
2018-12-31 11:17:39 +01:00
Francisco José García García
1b35b75d45 [ORBIS] Fix height / width typo 2018-12-31 00:07:39 +01:00
Francisco José García García
c56e9b1ff6 [ORBIS] eglSwapInterval workaround 2018-12-30 14:01:10 +01:00
twinaphex
1cb9f7c1bf Fix D3D10/11/12 drivers for Win32 build 2018-12-30 05:08:57 +01:00
twinaphex
88e283f0c1 (D3D10/11/12) Some buildfixes 2018-12-30 04:51:03 +01:00
Twinaphex
22e54dfc6b
Merge pull request #7839 from frangarcj/orbis2
[WIP] ORBIS / PS4 Port
2018-12-30 01:04:50 +01:00
Francisco José García García
d34b94a661 [ORBIS] Several EGL and GL fixes 2018-12-30 00:11:53 +01:00
krzys-h
1cb1ea55b1 Bugfix - creating swap chain twice in d3d11
Not sure what I was thinking when writing this

dd60b5d576 (commitcomment-31801518)
2018-12-29 11:38:09 +01:00
twinaphex
bddcd2d5e5 Buildfix - include header for prototype definition 2018-12-29 06:04:46 +01:00
twinaphex
dd60b5d576 MSVC2017 Non-UWP buildfixes 2018-12-29 02:54:17 +01:00
twinaphex
8f67cf7384 Some buildfixes 2018-12-29 02:20:25 +01:00
twinaphex
0e5fbbb9e1 Silence some warnings 2018-12-29 02:12:50 +01:00
krzys-h
4fb06703b3 Port d3d12 driver for UWP 2018-12-28 22:10:26 +01:00
krzys-h
f6c8a0c5c2 Add UWP input driver
Keyboard, mouse and touch support: done
2018-12-28 22:09:30 +01:00
krzys-h
b201d669b5 First iteration of UWP support
Enough to kind of run

Working drivers: xinput, d3d11
Still missing: input driver with keyboard support, audio driver
2018-12-28 22:09:22 +01:00
Francisco José García García
912060fc4b [ORBIS] Use SceWindow 2018-12-28 11:19:28 +01:00
Francisco José García García
48167d46bc [ORBIS] Initial video context driver 2018-12-28 01:27:13 +01:00
Francisco José García García
19549ddccf [ORBIS] Fix __assert 2018-12-27 20:18:53 +01:00
Francisco Javier Trujillo Mata
38397370e6 Apply proper color correction for 16 bits 2018-12-26 14:17:25 +01:00
Francisco Javier Trujillo Mata
69ad3273b9 Disable use of setvbuf for the PS2 2018-12-26 14:17:25 +01:00
Francisco Javier Trujillo Mata
40b028ebce Replace malloc for calloc in the ps2_gfx 2018-12-26 13:48:48 +01:00
Francisco Javier Trujillo Mata
90ba2df972 Put proper license in the files for the PS2 development 2018-12-26 13:48:48 +01:00
twinaphex
374384128c Revert "(D3D8/D3D9) Buildfixes"
This reverts commit 992d221af9.
2018-12-24 03:34:58 +01:00
Twinaphex
1aee59f9f4
Revert "Fix issue #2791 black bug" 2018-12-24 03:33:18 +01:00
twinaphex
992d221af9 (D3D8/D3D9) Buildfixes 2018-12-24 03:31:01 +01:00
Twinaphex
740cf4034e
Merge pull request #7810 from fr500/master
fix #935 thanks to @bparker
2018-12-24 01:58:53 +01:00
radius
d2a2878b2c fix #935 thanks to @bparker 2018-12-23 19:55:26 -05:00
Nano
770bd52411 Fix issue #2791 black bug 2018-12-23 18:31:21 +01:00
orbea
30e5f1dfef Fix gcc -Wformat warnings with C89_BUILD.
gfx/display_servers/dispserv_x11.c: In function ‘x11_display_server_set_resolution’:
gfx/display_servers/dispserv_x11.c:221:76: warning: ISO C90 does not support the ‘%lf’ gnu_printf format [-Wformat=]
       snprintf(xrandr, sizeof(xrandr), "xrandr --newmode \"%dx%d_%0.2f\" %lf %d %d %d %d %d %d %d %d -hsync -vsync", width, height, hz, pixel_clock,
                                                                            ^
gfx/display_servers/dispserv_x11.c:228:76: warning: ISO C90 does not support the ‘%lf’ gnu_printf format [-Wformat=]
       snprintf(xrandr, sizeof(xrandr), "xrandr --newmode \"%dx%d_%0.2f\" %lf %d %d %d %d %d %d %d %d interlace -hsync -vsync", width, height, hz, pixel_clock,
                                                                            ^
2018-12-16 19:15:45 -08:00
orbea
4bc0aacd8b Fix clang -Wreorder warnings.
gfx/drivers_shader/shader_vulkan.cpp:1109:6: warning: field 'id' will be initialized after field 'device' [-Wreorder]
   : id(move(id)),
     ^
gfx/drivers_shader/shader_vulkan.cpp:2107:4: warning: field 'device' will be initialized after field 'memory_properties' [-Wreorder]
   device(device),
   ^
2 warnings generated.
2018-12-16 16:16:07 -08:00
orbea
d40da6aca3 Fix c89 'keyword is hidden by macro definition' with clang. 2018-12-16 08:01:03 -08:00
Themaister
077b108aa1 Vulkan: Fix potential crash when toggling fullscreen.
If we have HW rendering, and we toggle fullscreen while in the menu, we
don't have a ready HW image, so fall back to black dummy texture.
2018-12-12 13:28:46 +01:00
radius
a7e4d8359b fix fullscreen=>windowed when remember window positions is on 2018-12-11 19:34:12 -05:00
Themaister
868465ad01 EGL: Add callback to select EGLConfig.
A more robust fix for DRM/GBM shenanigans.
2018-12-11 20:12:25 +01:00
Aleksey Samoilov
d82987b1b5
Merge branch 'master' into master 2018-12-09 20:56:20 +03:00
Sunderland93
830882e296 Merge branch 'server-decorations' 2018-12-09 19:03:57 +04:00
Sunderland93
d1c15efc24 Revert "Add KDE's server-decoration protocol as fallback (for KDE)"
This reverts commit 058a880a8b.
2018-12-09 18:47:47 +04:00
Sunderland93
058a880a8b Add KDE's server-decoration protocol as fallback (for KDE) 2018-12-09 18:42:45 +04:00
Sunderland93
f45154f15c Add support for zxdg_decoration_manager_v1 2018-12-09 14:56:36 +04:00
twinaphex
bfd9141577 Play it safe for non-GBM targets 2018-12-07 21:15:38 +01:00
twinaphex
96840572ef Add HAVE_GBM ifdefs 2018-12-07 20:18:01 +01:00
Twinaphex
d6e96b986f
Merge pull request #7707 from fr500/upstream
make windowed size take into account window border and title height
2018-12-07 16:33:29 +01:00
twinaphex
7638637518 Cleanups 2018-12-07 00:51:56 +01:00
orbea
5898f3e5d2 Fix KMS with OpenGL.
All credit for this patch goes to dtsarr.

Fixes https://github.com/libretro/RetroArch/issues/7119
2018-12-06 08:34:26 -08:00
radius
defe82c9ce fix the menubar height growing issue too 2018-12-06 10:15:50 -05:00
orbea
0735fbcd57 Fix build with '--enable-sixel'. (#7704)
First bad commit 2edd03361c
2018-12-06 10:09:03 -05:00
radius
e050ca89c7 make windowed size take into account window border and title height 2018-12-06 10:03:48 -05:00
Twinaphex
7287f84de4
Merge pull request #7705 from Themaister/master
Vulkan: Fix blue/red flip when using HW rendered cores with history.
2018-12-06 14:07:17 +01:00
Themaister
124d9b57d6 Vulkan: Fix blue/red flip when using HW rendered cores with history.
Was using frontend format of BGRA8 when core was RGBA8, with blind
vkCmdCopyImage. Fix is to use the same format as core is pushing to
history buffer.
2018-12-06 11:38:30 +01:00
Sunderland93
f960144212 Merge branch 'fallback' into 'master' 2018-12-05 23:23:02 +04:00
Twinaphex
5e74115a41
Merge pull request #7676 from Sunderland93/master
Wayland: fixes
2018-12-05 20:15:54 +01:00
Sunderland93
dc94886664 Initial support for xdg-decoration-unstable-v1 2018-12-05 22:51:07 +04:00
Sunderland93
e12caa94d4 Style fixes 2018-12-05 22:36:37 +04:00
Sunderland93
dcec570d05 Style fix 2018-12-05 21:20:15 +04:00
Sunderland93
72eb7c4f59 Temp fix resizing 2018-12-03 14:48:13 +04:00
Sunderland93
2b6fbbdfe0 Temp fix resizing 2018-12-03 14:46:57 +04:00
Sunderland93
9b0bad5d9f Add zxdg_shell_v6 and wl_shell ad fallback interfaces 2018-12-03 14:32:31 +04:00
twinaphex
b027395341 (Android/Vulkan) Enable 'emulate mailbox' for Android 2018-12-03 00:40:50 +01:00
Sunderland93
eda342262b Fix 2018-12-02 21:15:57 +04:00
Aleksey Samoilov
3d159d424e
Cleanup 2018-12-02 17:53:03 +04:00
Sunderland93
0f5729354e Initial support for toplevel resizing 2018-11-30 21:36:42 +04:00
Twinaphex
c749660462
Merge pull request #7684 from Tatsuya79/patch-2
Fix title window fps counter.
2018-11-30 09:35:32 +01:00
Stuart Carnie
0e295716b9
feat(metal): Add native rotation support for Metal driver
* fix crash when frame or frame size is 0
2018-11-29 22:04:43 -07:00
Tatsuya79
c0cada4b55
Fix title window fps counter. 2018-11-30 00:30:12 +01:00
Sunderland93
d81e9a08b2 Add toplevel width and height 2018-11-28 17:59:06 +04:00
natinusala
9cad7135a9 libnx: implement focus gain and loss callbacks 2018-11-28 14:11:42 +01:00
Sunderland93
1e097b0e1d Implement xdg_toplevel_close event 2018-11-28 13:58:14 +04:00
grant2258
b89410043a add missing %s 2018-11-28 08:22:33 +00:00
dukemiller
8294bf86df Create option for dx video drivers to toggle displaying memory use 2018-11-28 00:01:09 -07:00
dukemiller
1d14512cb0 Allow framecount to be displayed independently without fps counter 2018-11-27 21:32:15 -07:00
twinaphex
4ca7ebc9da Add xrandr implementation for get_output_options 2018-11-27 11:28:24 +01:00
Twinaphex
1acad3522e
Merge pull request #7659 from fr500/upstream
only apply fixed window size when the setting is enabled
2018-11-27 07:50:35 +01:00
radius
aab6a86633 only apply fixed window size when the setting is enabled 2018-11-26 21:15:03 -05:00
twinaphex
bc0dbffc01 Revert "Change custom_command_method_t returntype to int64_t"
This reverts commit e13efbd400.
2018-11-26 20:30:53 +01:00
Twinaphex
7a174d290e
Merge pull request #7655 from Sunderland93/master
[Wayland] Implement idle-inhibit support
2018-11-26 19:25:46 +01:00
Sunderland93
ea180a1775 Relax wayland and wayland-protocols version's 2018-11-26 21:58:43 +04:00
Sunderland93
b538786b00 Implement zwp_idle_inhibit_v1 protocol 2018-11-26 21:54:39 +04:00
twinaphex
e13efbd400 Change custom_command_method_t returntype to int64_t 2018-11-26 17:39:04 +01:00
twinaphex
6bf35ab6e8 (x11_common.c) Cleanups 2018-11-26 13:54:51 +01:00
twinaphex
098e62067e Small cleanups 2018-11-26 13:37:35 +01:00
Twinaphex
9f3efd03ea
Merge pull request #7650 from fr500/upstream
restore old functionality till the change is done in other platforms
2018-11-25 23:32:15 +01:00
radius
1187df922a restore old functionality till the change is done in other platforms 2018-11-25 17:24:54 -05:00
twinaphex
0bf0e355ec This stops the crashes with video_get_output_size/next/prev 2018-11-25 21:51:09 +01:00
twinaphex
fb957f29a8 Set current_display_server by default to dispserv_null 2018-11-25 19:12:21 +01:00
Twinaphex
0b50328c6f
Merge pull request #7645 from fr500/upstream
repurpose the old settings to the new window sizing code
2018-11-25 17:52:59 +01:00
radius
77ae2dc0cd don't change window position on fullscreen changes 2018-11-25 11:51:13 -05:00
radius
c2fc35f2cc repurpose the old settings to the new window sizing code 2018-11-25 11:10:58 -05:00
twinaphex
418f28b57a (dispserv_x11.c) Use snprintf instead of sprintf 2018-11-25 17:09:00 +01:00
twinaphex
8b86c49b39 Fix some warnings 2018-11-25 17:06:55 +01:00
twinaphex
4a4a6511e0 Workaround - fullscreen mode was no longer working properly 2018-11-25 10:08:50 +01:00
twinaphex
5313c50b0e (Windows) Saves/remembers window size now too - still some edge case
when clicking maximize button - you need to then move the window
slightly in order for x/y position to be saved - just clicking maximize
alone is not enough
2018-11-25 09:50:08 +01:00
twinaphex
e1afdf8c3c (Windows) Start implementing 'remember window positions'. Right now only
saves/remembers X, Y position
2018-11-25 09:02:32 +01:00
twinaphex
0eb8acd766 (Win32 display server) Try to set current resolution 2018-11-24 19:50:25 +01:00
twinaphex
7d9e564667 Turn some C++ comments into C comments 2018-11-24 19:40:14 +01:00
twinaphex
2945d450f3 Cleanups 2018-11-24 19:38:40 +01:00
Twinaphex
3d4fc5d38f
Merge pull request #7607 from Sunderland93/master
Wayland: xdg-shell support
2018-11-24 18:45:20 +01:00
Sunderland93
17fd203141 Waiting for the "initial" set of globals to appear
(fixed xdg_wm_base_ping working)
2018-11-24 20:52:22 +04:00
twinaphex
a561f789e2 Rename switch_resolution to set_resolution 2018-11-24 10:35:32 +01:00
twinaphex
7730828560 Start implementing dropdown list for resolution - Win32 right now at first - now need to make OK button do something 2018-11-24 10:31:41 +01:00
twinaphex
0ae3d3873d Create video_display_server_get_resolution_list 2018-11-24 02:50:04 +01:00
twinaphex
fdb4d2b6ad Add get_resolution_list for Win32 2018-11-24 02:47:22 +01:00
twinaphex
5d8666e226 Only one function calls EnumDisplaySettings now 2018-11-24 02:06:28 +01:00
twinaphex
45e075c8fe Cleanup 2018-11-24 01:54:39 +01:00
twinaphex
62c6d60c57 Revert "Cleanup shaders_common.h"
This reverts commit c1de2e5697.
2018-11-24 01:29:35 +01:00
twinaphex
c5b9352c34 Revert "Rename some files"
This reverts commit 03a8bc9875.
2018-11-24 01:26:05 +01:00
twinaphex
08d024ecad Revert "Get rid of the header guards in shaders_common.h/glsl_common.h"
This reverts commit eef67ee0cd.
2018-11-24 01:25:55 +01:00
twinaphex
eef67ee0cd Get rid of the header guards in shaders_common.h/glsl_common.h 2018-11-24 00:37:07 +01:00
twinaphex
03a8bc9875 Rename some files 2018-11-24 00:30:46 +01:00
twinaphex
c1de2e5697 Cleanup shaders_common.h 2018-11-23 23:57:22 +01:00
twinaphex
747bf136f2 Simplify strip_parameter_pragmas 2018-11-23 23:42:33 +01:00
Sunderland93
fbcab67d8b Fix wrong toplevel geometry 2018-11-23 23:04:06 +04:00