Commit Graph

19759 Commits

Author SHA1 Message Date
Unknown W. Brackets
944a1f380b Disable alpha test optimization with logic ops.
We still need to discard the pixels in the case of a logic op, like
invert.  Otherwise we will invert the blended pixels too.

See #8632.
2016-03-12 09:27:18 -08:00
Henrik Rydgard
3924d8bdea Fix bug in ZIP file extraction breaking the Mega Drops homebrew, and others.
Was rounding file sizes up to the nearest 128k...
2016-03-09 17:02:15 +01:00
Unknown W. Brackets
cc4e7c4b10 Oops, flush from queue before locking.
Added this last and clearly didn't test it carefully.  Fixes #8631.
2016-03-07 20:19:07 -08:00
Henrik Rydgård
6f30401800 Merge pull request #8628 from unknownbrackets/ui-minor
Cleanup in UI, remove dup mutex define, wait for gameinfo items
2016-03-06 23:59:33 +01:00
Unknown W. Brackets
f38869141a UI: Correct a race condition when loading bgs. 2016-03-06 14:49:17 -08:00
Unknown W. Brackets
8a9e30f833 UI: Wait for the specific game info item to finish.
In case we have slow-loading ones.
2016-03-06 14:49:16 -08:00
Unknown W. Brackets
f1f046d885 Remove now-unused mutex implementation. 2016-03-06 14:49:16 -08:00
Unknown W. Brackets
da03b80c97 Standardize on just one mutex implementation. 2016-03-06 14:49:15 -08:00
Unknown W. Brackets
955b0fb9db UI: Minor header cleanup. 2016-03-06 14:49:14 -08:00
Henrik Rydgård
2e532e59c5 Merge pull request #8627 from unknownbrackets/vk-distance
Bring over non-Vulkan changes from Vulkan branch
2016-03-06 21:50:41 +01:00
Henrik Rydgard
98dc56116f Add ability to hide items from popup lists 2016-03-06 11:54:38 -08:00
Henrik Rydgard
f08ae677e8 Disable gfx logging in debug by default. 2016-03-06 11:48:14 -08:00
Henrik Rydgard
58b07e00d7 Assorted fixes and cleanups. 2016-03-06 11:46:41 -08:00
Henrik Rydgard
9d8d810395 Clear detection: Don't need to check the even vertices, as the odd vertices are the ones used for color.
This lets us detect and replace cube.elf's clear, and probably others.
2016-03-06 11:36:32 -08:00
Henrik Rydgard
d67b148712 Add math dataconv funcs for packed values. 2016-03-06 11:33:53 -08:00
Henrik Rydgard
438c7c1344 Only show GL extensions in the GL backend. 2016-03-06 11:06:49 -08:00
Henrik Rydgård
301571359c Buildfix 2016-03-06 15:21:16 +01:00
Henrik Rydgard
d4e432dadd Fix issue with lazy loading directory entries. Fixes #8613. 2016-03-06 14:28:14 +01:00
Henrik Rydgard
082d839965 Fix minor issues in ISOFileSystem 2016-03-06 14:28:10 +01:00
Henrik Rydgård
be0fdbaca2 Merge pull request #8624 from unknownbrackets/ui-tweaks
Put the storage request button front and center
2016-03-06 10:58:02 +01:00
Unknown W. Brackets
2d8484fd7d Put the storage button front and center.
This way it's harder to miss.
2016-03-05 17:18:24 -08:00
Unknown W. Brackets
6b9b00aa16 Assume DUALSOURCE replace alpha means supported.
We already check supports when generating this value, don't need to check
again when using it.
2016-03-05 17:18:04 -08:00
Henrik Rydgård
a8907cb172 Merge pull request #8621 from unknownbrackets/savestates
Avoid reloading save info on move/resize
2016-03-05 23:05:23 +01:00
Henrik Rydgård
2d899d8662 Merge pull request #8623 from unknownbrackets/gpu-minor
Fix crash on SHIELD devices with dual-source blending
2016-03-05 23:05:09 +01:00
Unknown W. Brackets
212848c1cc Explicitly enable dual source blending in shader.
Without this, the shader fails to compile on SHIELD devices with
up-to-date drivers.  It may have also been failing on other devices.

The specification notes that the #extension line must be used.
2016-03-05 13:27:27 -08:00
Unknown W. Brackets
7dfe8b58dc Clear attrMask on bad shader compile.
This prevents various crashes when incorrect attributes are enabled.
2016-03-05 13:14:25 -08:00
Unknown W. Brackets
50083a3c0c Avoid reloading save info on move/resize.
We don't really need to do this all the time, we can just do it on exit of
the entire screen.  Also fixes a crash on close.  Fixes #8619.
2016-03-01 18:19:18 -08:00
Henrik Rydgård
9bde45d6f9 Merge pull request #8615 from unknownbrackets/savestates
Fix save state icons when in a different path than PPSSPP
2016-02-29 09:39:19 +01:00
Unknown W. Brackets
ee27d838dd VFS: Only use Windows paths on Windows, cleanup. 2016-02-29 00:36:37 -08:00
Unknown W. Brackets
5451334b38 VFS: Support local paths on Windows too.
This fixes cases where local paths are read from, but not within the
registered VFS paths.  For example, save state icons.
2016-02-29 00:24:01 -08:00
Unknown W. Brackets
ef566a3adf SaveState: Clean up some constant usage. 2016-02-28 18:21:57 -08:00
Henrik Rydgård
2f96dda185 Merge pull request #8614 from unknownbrackets/vbo-freelist
Maintain and use a freelist for buffer objects
2016-02-29 01:22:18 +01:00
Henrik Rydgard
cef0a6311d ISOFileSystem: Remove the "restrictTree" functionality which is now obsolete with lazy directory loading. 2016-02-29 01:13:57 +01:00
Unknown W. Brackets
505ff99461 Maintain and use a freelist for buffer objects.
Only for sized buffers, which are the ones we gain something from reusing.
2016-02-28 15:10:41 -08:00
Unknown W. Brackets
f9ec9d53d0 Merge pull request #8613 from hrydgard/iso-filesystem-lazy
"Lazy load" directory information in ISOFilesystem
2016-02-28 14:31:20 -08:00
Henrik Rydgard
a1bf8573f6 Better way to find the git exe for git-version-gen, thanks Unknown. 2016-02-28 23:04:46 +01:00
Henrik Rydgard
88f25fd50e x86-64: Fix L bit in VEX instruction emitter. Ported fix from Citra.
Currently unused in the emulator, though.
2016-02-28 13:07:24 +01:00
Henrik Rydgard
da1a04be8d Make the workqueue slightly safer. Put g_gameInfoCache on the heap.
Cherry-picked from #8592
2016-02-28 12:39:47 +01:00
Henrik Rydgard
6f9755d498 ISOFileSystem: Lazily load directory information as needed. Should speed up game icon loading a bit. 2016-02-28 12:02:01 +01:00
Henrik Rydgard
0b95c4bbd1 ISOFileSystem: Move the level into the tree nodes 2016-02-28 11:51:15 +01:00
Henrik Rydgard
afc8736b9a ISOFileSystem: Move the startsector and dirsize information into the tree nodes 2016-02-28 11:46:21 +01:00
Henrik Rydgard
0458c7a590 ISOFileSystem coding style cleanup to reduce future diffs 2016-02-28 11:39:57 +01:00
Henrik Rydgard
5f761c346b Attempt workaround for #8610 2016-02-28 11:06:49 +01:00
Henrik Rydgard
de932b5efc Make git-version-gen work with a freshly installed 64-bit git msys.
For some reason %ProgramFiles% returns the (x86) one anyway...
2016-02-28 11:03:54 +01:00
Henrik Rydgård
87f922c678 Merge pull request #8611 from unknownbrackets/diskcache
Set cache dir before loading config
2016-02-28 00:11:25 +01:00
Unknown W. Brackets
7ab3de299c Set cache dir before loading config.
The config will try to check ISOs for existence, which may use the cache.
2016-02-27 13:10:08 -08:00
Henrik Rydgård
8e7de00eec Merge pull request #8609 from xiushudongfang/Open-action-for-android-
Remove unsupported formats
2016-02-22 10:20:50 +01:00
xiushu
2ec11c56a4 Remove unsupported formats 2016-02-22 16:28:54 +08:00
Henrik Rydgård
1e749b0a43 Merge pull request #8607 from xiushudongfang/InputBox-for-Android
Add inputbox for android
2016-02-22 09:18:10 +01:00
Henrik Rydgard
05d4caeeaf Buildfix 2016-02-21 12:14:44 +01:00