Commit Graph

13 Commits

Author SHA1 Message Date
Stuart Kenny
da4652aa2a Do not skip SwapBuffer() when skipDrawReason set.
Fixes nothing being rendered with high frameskip ratios.
2021-09-06 20:00:50 +01:00
Unknown W. Brackets
3c9ab13672 GPU: Remove NULL GPU.
We can use the software GPU without a backend now, and this is in every
way superior and will result in better tests/headless behavior.
2021-01-02 09:36:13 -08:00
Henrik Rydgård
81bddf268a
Merge pull request #13598 from tbocek/master
Fix issue in #12145
2020-11-27 23:04:36 +01:00
Henrik Rydgård
0e3a84b4a8 Move most GPU things to Common.
It works after the move, on Windows and Android at least.

Deletes the D3DX9 shader compiler loader, which was not used.
2020-10-04 23:39:02 +02:00
tbocek
b009ec8f52 No need to call video_cb if there is no image 2020-05-31 11:32:24 +02:00
tbocek
1f49141c30 Setting the width and height to 0 made the frameskip unusable on lakka/libretro with a XU4 with a MALI GPU T628. The result was that bad flickering happened when in frameskip mode. Once it reached 60fps, no flickering, below that flickering. This change fixes the flickering and calls video_cb with the correct height and width. 2020-04-04 11:59:27 +02:00
Unknown W. Brackets
5871ab0538 UI: Stop caching the draw context in coreParam.
This is possibly getting outdated in some paths of graphics reinit, and
then causing crashes.  Let's just always get it from the graphicsContext.
2019-09-28 21:58:15 -07:00
aliaspider
4202ae58bd Libretro: style nits. 2018-03-26 17:37:34 +01:00
aliaspider
5a9ce3bc19 Libretro: set cache_context to true, fixes GL and D3D11 context reset. 2018-03-26 17:21:11 +01:00
aliaspider
808bf8e681 Libretro: add experimental D3D11 support. 2018-03-25 23:07:02 +01:00
aliaspider
4113ba74f2 libretro: msvc build fix. 2018-03-24 22:47:12 +01:00
aliaspider
d1711c5aa4 nits. 2018-03-24 13:39:05 +01:00
aliaspider
c4f7790618 Libretro port. 2018-03-24 12:44:53 +01:00