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
Francisco Javier Trujillo Mata
082fa22b05
Clean all the warnings in PS2
2021-01-30 15:47:52 +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
twinaphex
c7e8d2adf5
Silence warnings for some console platforms
2021-01-20 08:53:45 +01:00
Twinaphex
a83c328631
(Metal) Fix some build problems
2021-01-19 04:38:07 +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
6d39160de1
CLeanups
2021-01-16 22:36:03 +01: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
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
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
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
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
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
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
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
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
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
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
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
jdgleaver
3481437b29
OpenDingux: Fix frozen video when enabling fast forward
2020-10-29 15:50:12 +00:00
Justin Weiss
91c695ac52
[3DS] Allow sideways screen rotation
2020-10-27 21:13:19 -07:00
valadaa48
82ce3ae632
oga_gfx: use 32bit aligned surface and other cleanups
2020-10-23 23:34:31 -04:00
twinaphex
2fb60e9510
Cleanup
2020-10-16 00:24:59 +02:00
twinaphex
44b7234756
Move cheat_manager and state_manager to root folder
2020-10-15 05:29:20 +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
a11a0eae77
(Vulkan) Style nits
2020-10-12 01:36:50 +02:00
twinaphex
5c76ccbe4a
Cleanups
2020-10-12 01:26:51 +02:00
valadaa48
c6aaa0076b
drm_gfx: fix race condition in drm_surface_set_aspect
2020-10-10 00:04:09 -04:00
jdgleaver
2dc837850f
OpenDingux: Add 'sdl_dingux' input/joypad drivers and use by default
2020-10-08 13:26:45 +01: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
jdgleaver
bbba80f01e
OpenDingux: Enable integer scaling when using the 'sdl_dingux' gfx driver
2020-10-02 16:38:42 +01:00
jdgleaver
3bd66cc14d
OpenDingux port improvements: Phase 1
2020-10-01 15:56:14 +01: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
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
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
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
c436ac83cd
Call gl2_set_viewport directly
2020-09-15 11:11:32 +02:00
jdgleaver
55b6d8ba15
Miscellaneous overlay fixes
2020-09-11 17:00:44 +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
valadaa48
405b987986
oga_gfx: round width to nearest integer when scaling
2020-09-03 21:53:21 -04:00
twinaphex
e810b0251a
(GL) Cleanups
2020-09-01 19:54:41 +02:00
twinaphex
5f08605680
Refactor joypad drivers
2020-08-30 05:29:32 +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
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
662e37f670
Replace more instances of string_split
2020-08-26 13:35:05 +02:00
twinaphex
6b3fcf79f0
(DXGI) Turn these into macros
2020-08-24 00:04:12 +02:00
twinaphex
6b978eb057
(D3D11) Cleanups
2020-08-19 11:26:30 +02:00
twinaphex
5166eebcaf
for loop cleanups - use space after 'for'
2020-08-19 03:06:22 +02:00
twinaphex
aeeff7f350
(D3D11) Cleanup
2020-08-16 03:11:00 +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
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
twinaphex
a1ce1e4f1d
gl_glsl_set_proc_address unneeded - remove it
2020-08-04 03:58:51 +02:00
twinaphex
72afa2f932
Cleanups
2020-08-03 16:33:54 +02:00
twinaphex
332bcc7f9e
Remove dxgi_update_title
2020-08-03 15:48:08 +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
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