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
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
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
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
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
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
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
Francisco Javier Trujillo Mata
86c43d65fa
Add FPSLimiter functionality
2020-07-20 22:58:31 +02:00
twinaphex
9fb54a0a1c
Fix --disable-menu
2020-07-20 01:58:49 +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
valadaa48
9bbf191523
oga_gfx: fix last character from being chopped in on-screen messages
2020-07-14 21:43:19 -04:00
twinaphex
f707994cb8
Get rid of gfx_ctx_network
2020-07-15 02:37: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
twinaphex
4c5f4b244a
(Sixel) Buildfixes
2020-07-09 15:07:06 +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
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
298413dce8
Cleanups
2020-07-09 00:33:19 +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
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
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
twinaphex
120afe5d21
(Vulkan) return early/error out if no context driver is found
2020-06-30 01:33:19 +02:00
twinaphex
968922e151
Fix static code analysis warnings
2020-06-29 21:24:32 +02:00
twinaphex
cf92d8fddb
(gl.c) Prevent static code analysis warnings
2020-06-29 19:40:17 +02:00
twinaphex
1b3826b348
(Vulkan) Avoid some unnecessary memsets
2020-06-29 00:02:45 +02:00
twinaphex
bc73a815b7
Prevent memsets for vk->tracker
2020-06-28 19:18:48 +02:00
twinaphex
c1f90e4c9a
(Vulkan) Cleanups
2020-06-28 01:09:33 +02:00
twinaphex
1ae20ea17c
Style nits - turn macro names into upper-case - some while style nits
2020-06-26 20:00:19 +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
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
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
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
twinaphex
2660182d52
Get rid of gfx_widgets_ready call inside
...
gfx_widgets_frame
2020-06-08 05:45:15 +02:00
twinaphex
be76958070
Unneeded gdi_has_menu_frame
2020-06-07 02:56:56 +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
twinaphex
e030986837
Replace fprintfs with RARCH_LOG/RARCH_ERR
2020-05-24 19:29:55 +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
Vladimir Serbinenko
c4b4961ed1
xshm: fix compatibility with x input
2020-05-24 03:52:13 +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
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
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
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
twinaphex
1d1c7e5a0d
(PSL1GHT/GCM) Style nits
2020-05-12 15:10:15 +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
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
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
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
twinaphex
a9154373fc
Merge branch 'master' of https://github.com/libretro/RetroArch
2020-04-02 02:13:12 +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