Commit Graph
39166 Commits
Author SHA1 Message Date
Unknown W. Brackets 340460f01c Io: Add missing error code on file open.
Doesn't affect Windows.
2018-11-06 19:28:22 -08:00
Rémi VerscheldeandUnknown W. Brackets 3cc7054831 CMake: Fix linking X11 when using EGL and not fbdev
Co-authored-by: Unknown W. Brackets <checkins@unknownbrackets.org>
2018-11-06 18:31:05 +01:00
Henrik Rydgård b6742af077 Merge pull request #11538 from akien-mga/cmake-arm-linux-opengl
CMake: Link against OpenGL when using EGL but not GLES2
2018-11-06 16:17:04 +01:00
Henrik Rydgård a96e792436 Merge pull request #11537 from akien-mga/cmake-wayland-opt-out
CMake: Allow disabling Wayland support with USE_WAYLAND_WSI
2018-11-06 14:40:07 +01:00
Rémi Verschelde ea2025c291 CMake: Link against OpenGL when using EGL but not GLES2
At least for Linux armv7hl this seems to be necessary, otherwise build
fails with:

/usr/bin/ld: lib/libnative.a(GLQueueRunner.cpp.o): undefined reference to symbol 'glStencilOp'
2018-11-06 14:31:46 +01:00
Rémi Verschelde 3bc89f3d1c CMake: Allow disabling Wayland support with USE_WAYLAND_WSI
This change means that USE_WAYLAND_WSI=ON no longer triggers a
fatal error if Wayland libraries are missing though, it will just
show a message and continue building without Wayand WSI support.

Closes #11536.
2018-11-06 12:08:11 +01:00
Henrik Rydgård 67d6e3d384 Framebuffer blit: Clip src rectangle as well 2018-11-05 00:34:04 +01:00
Henrik Rydgård 7561af3735 Merge pull request #11523 from mrfixit2001/master
Add frameskip setting by percent of current FPS
2018-11-04 19:35:03 +01:00
mrfixit2001 d9ad57e918 Move comments in function to be more relevant 2018-11-04 13:33:42 -05:00
Henrik Rydgård 2c5922b0ad Merge pull request #11530 from unknownbrackets/dxt
Make DXT alpha and color calculation more accurate
2018-11-04 18:51:54 +01:00
Unknown W. Brackets bd294f658f TexCache: Round DXT5 alpha up.
This isn't quite right, but it seems better than rounding down.
Experimented with a lower round up value, but none were right - the
weighting must be more complex.
2018-11-04 09:36:39 -08:00
Unknown W. Brackets df200fc3d2 TexCache: In DXT3, don't swizzle alpha.
Hardware doesn't seem to.
2018-11-04 09:36:39 -08:00
Unknown W. Brackets c31e01771e TexCache: Respect color order in DXT3/5.
Hardware is still doing DXT1 style colors in this scenario.
2018-11-04 09:36:39 -08:00
Unknown W. Brackets 11ab4e8634 TexCache: Mix DXT colors using 2/3 not 3/8.
Hardware draws using 2/3.  Adding this way matches rounding, too.
2018-11-04 09:36:39 -08:00
Unknown W. Brackets 35a1d8a1ef TexCache: Decode DXT1 zero alpha as black.
Hardware tests show this is how it decodes, which is more like standard
DXT1 decoding.
2018-11-04 08:09:56 -08:00
Unknown W. Brackets 38eb9d12d0 TexCache: Don't swizzle DXT1 colors.
Hardware tests show that this shouldn't happen.  May be important for
color tests, etc.
2018-11-04 08:09:13 -08:00
Henrik Rydgård 22c066515e Merge pull request #11425 from xebra/refactor_spline_bezier
[Refactoring] Improve spline/bezier.
2018-11-04 17:04:29 +01:00
root 42c50a0ab0 Fixes for Unknown 2018-11-04 01:59:37 +00:00
Henrik Rydgård 886a1e031b Update lang 2018-11-03 17:52:09 +01:00
Henrik Rydgård 640973ff47 Comply with new Google Play policy that is not happy with "Support PPSSPP" leading to the PPSSPP Gold app in Play v1.7.2 2018-11-03 17:37:30 +01:00
Unknown W. Brackets c9aa039695 Windows: Check for devices on Windows events only.
A user reported stuttering after the periodic checks, and devices failing
until unplug/replug.  Presumably, this is caused by poor drivers reacting
badly to periodic DirectInput queries, so less queries should help.
2018-11-03 17:37:22 +01:00
Henrik Rydgård 6bc9a96e38 Comply with new Google Play policy that is not happy with "Support PPSSPP" leading to the PPSSPP Gold app in Play 2018-11-03 17:35:21 +01:00
Henrik Rydgård 2704ab3ffa Merge pull request #11525 from LunaMoo/cheatdbImport
Fix cheat.db comments ending the cheat import.
2018-11-03 10:03:48 +01:00
LunaMoo 9929eedbc9 Fix database comments ending the cheat import. 2018-11-03 08:48:38 +01:00
root c19d3fe06a MRFIXIT2001: This patch adds a second frameskip setting, one for setting the # of frames to skip, one for setting the % of frames to skip based off fps 2018-11-03 01:33:41 +00:00
Henrik Rydgård 85d9896603 Merge pull request #11507 from unknownbrackets/qt-cmake
Improve support of Qt + USING_GLES2
2018-11-02 17:32:41 +01:00
Henrik Rydgård 951a288bf4 Merge pull request #11515 from libretro/master
Libretro Updates
2018-11-02 17:32:08 +01:00
Henrik Rydgård fdefddd59f Merge pull request #11503 from zminhquanz/update_gl_egl_extension
Update OpenGL Extension check
2018-11-02 11:31:33 +01:00
Henrik Rydgård e7ac302384 Merge pull request #11488 from dl471/memview-show-offsets
Windows: Option to show offset scale in memory view
2018-11-02 11:30:33 +01:00
Henrik Rydgård f8e946d8e5 Merge pull request #11518 from unknownbrackets/init-shutdown
Core: Wait for background CPU load on exit
2018-11-02 11:09:56 +01:00
Henrik Rydgård f74f6083a7 Merge pull request #11509 from unknownbrackets/desktop-gles
GLES: Add disabled code to run GLES on desktop
2018-11-02 11:09:46 +01:00
Henrik Rydgård 6eb4c141a6 Merge pull request #11510 from unknownbrackets/scissor
GLES: Correct invalid scissor handling
2018-11-02 11:09:05 +01:00
Henrik Rydgård d89e120169 Merge pull request #11519 from unknownbrackets/dinput-slow
Windows: Check for devices on Windows events only
2018-11-02 09:16:59 +01:00
Unknown W. Brackets d30d75ab38 Windows: Check for devices on Windows events only.
A user reported stuttering after the periodic checks, and devices failing
until unplug/replug.  Presumably, this is caused by poor drivers reacting
badly to periodic DirectInput queries, so less queries should help.
2018-11-01 21:42:12 -07:00
Unknown W. Brackets 670e207c57 Core: Wait for background CPU load on exit.
This prevents crashes when exiting a game while loading is still in
progress.  See #11516.
2018-11-01 21:29:34 -07:00
Henrik Rydgård fdb07323e0 Update AndroidManifest.xml to 1.7.1 v1.7.1 2018-11-01 14:51:14 +01:00
Henrik Rydgård 9cd8911d0d Update README for 1.7.1
And add some disabled debug code.
2018-11-01 14:45:07 +01:00
Aaron Kling d9198ff039 Fix libretro Windows build
1103acd added a reference to std::vector without adding the include
2018-10-31 10:39:44 -05:00
twinaphex d66f1b0372 Libretro d3d11 build fix 2018-10-31 10:39:44 -05:00
Aaron Kling 157b4aa7bf Add texture replacement option
This allows use of texture packs placed in $savedir/PSP/TEXTURES
2018-10-31 10:39:44 -05:00
hunterk b296bc1802 add texture filtering core option 2018-10-31 10:39:44 -05:00
Aaron Kling 9ee6203545 Squash of a few libretro makeile fixes
Fix https://github.com/libretro/ppsspp/issues/5#issuecomment-383238875

Add missing file

Bump this, in case you are building without .git/ folder

Libretro: remove override directive. (#4)
2018-10-31 10:39:44 -05:00
Henrik Rydgård 8a186869dc Update lang yet again 2018-10-31 16:28:41 +01:00
Henrik Rydgård 0134fc8739 Merge pull request #11513 from unknownbrackets/gpu-shutdown
Wait for orderly finish of cache before shutdown
2018-10-31 15:55:36 +01:00
Unknown W. Brackets 40ca49d0e3 GPU: Cancel shader preload on shutdown/lost.
Otherwise, we could've ended up with shaders loading after or during the
lost event, and dense hash map corruption.
2018-10-30 20:32:12 -07:00
Unknown W. Brackets dcf71fc43f GLES: Skip freeing program if not allocated.
This could cause a crash when skipGLCalls is true, if null.
2018-10-30 19:14:02 -07:00
Unknown W. Brackets 6130eb34be Vulkan: Wait for GPU ready on shutdown.
In case it's still busy preloading shaders.
2018-10-30 19:13:22 -07:00
Henrik Rydgård bb656a0f0f Update lang submodule 2018-10-30 10:28:16 +01:00
Unknown W. Brackets 29b5581416 GLES: Correct invalid scissor handling.
Also improves Direct3D 9.  See #11444.

Per hardware tests, we should correctly not draw in this case.
2018-10-28 15:56:02 -07:00
Unknown W. Brackets f81dd83aa0 Core: Format CMakeLists.txt consistently. 2018-10-28 14:58:51 -07:00