Commit Graph

25056 Commits

Author SHA1 Message Date
Henrik Rydgård
7abbc1bebd Add compat flag to allow virtual framebuffer readbacks (auto-create fb from readback destination). Does not yet work outside VRAM but should fix Digimon Adventure. 2018-11-12 08:20:27 +01:00
Henrik Rydgård
cf653b7631 No need for fb_normalized_address 2018-11-12 08:19:20 +01:00
Henrik Rydgård
b17fc67c45 Get rid of MaskedEqual 2018-11-12 08:19:19 +01:00
Henrik Rydgård
15f2e48887 Only mask away Z mirrors if inside VRAM 2018-11-12 08:19:19 +01:00
Henrik Rydgård
d8f4a70396 Remove constraint that virtual framebuffers have to represent VRAM.
Prerequisite for #11531, virtual readbacks.
2018-11-12 08:19:14 +01:00
Henrik Rydgård
9c6f7000b7 New spline stuff seems to need bigger storage buffer pools 2018-11-11 22:52:37 +01:00
Henrik Rydgård
b88b07ea00
Merge pull request #11550 from unknownbrackets/discord
Discord: Add cmake option to disable
2018-11-11 00:09:06 +01:00
Unknown W. Brackets
ca8681f59c UI: Fix incorrect 3D API.
If the string doesn't exist (e.g. OpenGL ES), the std::string goes out of
scope, and we end up with a bad string.  Oops.
2018-11-10 09:49:08 -08:00
Unknown W. Brackets
c96748f0e2 Discord: Attempt to explicitly cleanup on exit. 2018-11-10 09:49:08 -08:00
Unknown W. Brackets
6bd6b86c05 Discord: Add cmake option to disable. 2018-11-10 09:49:08 -08:00
Henrik Rydgård
31660291e6
Merge pull request #11545 from Florin9doi/MOGA_STUB
F-droid lite version - create stubs for Moga Controller
2018-11-08 12:11:37 +01:00
Henrik Rydgård
99867addba
Merge pull request #11541 from akien-mga/cmake-x11-egl
CMake: Fix linking X11 when using EGL and not fbdev
2018-11-07 13:14:50 +01:00
Florin9doi
8694c33119 F-droid lite version - create stubs for Moga Controller 2018-11-07 14:02:16 +02:00
Henrik Rydgård
4c3f168211
Merge pull request #11542 from unknownbrackets/disk-error
Io: Add missing error code on file open
2018-11-07 09:38:46 +01:00
Henrik Rydgård
cff827edf4
Merge pull request #11543 from unknownbrackets/fragtest
GPU: Dirty frag shader on depth write
2018-11-07 09:37:10 +01:00
Unknown W. Brackets
4996084665 GPU: Dirty frag shader on depth write.
We use this flag to determine whether we use discard, so it changes shader
ids.  Fixes the layering part of #11535.
2018-11-06 21:16:51 -08:00
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 Verschelde
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
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 2018-11-01 14:51:14 +01:00