Unknown W. Brackets
b1f0c44e8a
Replacement: Lock libzip file access.
...
We can't have two threads seeking on the same fd at the same time.
2022-12-30 20:25:58 -08:00
Unknown W. Brackets
a1a484163f
Replacement: Don't double count memory usage.
2022-10-30 10:57:41 -07:00
Unknown W. Brackets
c89823ce92
Replacement: Allow use of textures.zip for Android.
...
Will work on all platforms, but intended for situations like Android where
random access to files on storage is horribly slow.
2022-10-30 10:57:41 -07:00
Unknown W. Brackets
b1a087345a
Replacement: Lock around shared data access.
2022-10-30 10:39:50 -07:00
Unknown W. Brackets
0048dc2bb8
Replacement: Cache file data across cache keys.
2022-10-30 09:02:08 -07:00
Unknown W. Brackets
b78c310b47
Replacement: Log only missing explicit filenames.
2022-10-30 09:02:08 -07:00
Unknown W. Brackets
0db48c956c
Replacement: Decimate aggressively with high usage.
2022-10-30 08:15:37 -07:00
Unknown W. Brackets
e473eb9f5e
Replacement: Read files only within time budget.
...
When delayed texture load is enabled. Intended to reduce IO delays on
Android.
2022-08-21 22:07:05 -07:00
Henrik Rydgård
d0d53091a8
Change from maxLevel to levelsToLoad, for better readability. Cleanup.
2022-07-30 10:45:02 +02:00
Henrik Rydgård
c41b780c8c
Remove the ReplacedTextureFormat enum
2022-07-30 08:52:24 +02:00
Henrik Rydgård
ef4a6cf873
Remove support for 16-bit replacement texture formats
2022-07-30 08:52:24 +02:00
Unknown W. Brackets
acc248164f
Replacement: Clear cache on disable.
...
When lazy loading, let's clear cached replacement data on disable.
This is purges memory immediately, and also allows force-reloading
textures by toggling the setting.
2022-07-27 20:27:56 -07:00
Henrik Rydgård
a831cab14c
Remove unmotivated check preventing texture ini creation on mobile. ( #15647 )
...
* Remove unmotivated check preventing texture ini creation on mobile.
Fixes #15644
* Show a "toast" message on platforms that don't support opening a text editor, when you try to create/open a texture ini file.
* Avoid the need to ifdef around calls to SystemToast
* UWP buildfix (and some warning fixes).
And possibly libretro fix
* Rename for a bit more consistency
2022-07-10 22:34:44 +02:00
Unknown W. Brackets
cc119c923c
Replacement: Avoid recheck saving within 5s.
...
This does mean an actively saved texture won't recheck, but it's close to
the old behavior where you could delete a new texture and it'd soon be
resaved. This was convenient sometimes.
2022-04-17 20:52:26 -07:00
Unknown W. Brackets
e0e3223c19
Replacement: Move IO checks to saving thread.
...
This will spin up more threads that might not actually save, but it will
remember this in savedCache.
2022-04-17 20:25:41 -07:00
Unknown W. Brackets
39d6dc1740
Vulkan: Allow saving const tex levels.
...
This might be used for fonts, for example. They could be replaced, so no
reason not to export.
2022-04-17 20:06:03 -07:00
Henrik Rydgård
b1af940d8e
Save textures on background tasks when texture dumping is enabled.
...
Should help #15478 , at least a bit.
2022-04-18 00:26:35 +02:00
Unknown W. Brackets
3c3e397215
Replacement: Avoid potential destructor crash.
2022-04-09 09:41:49 -07:00
Unknown W. Brackets
2479d52202
Global: Reduce includes of common headers.
...
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00
Unknown W. Brackets
fa0e19471c
Replacement: Add ini setting to disable pop-in.
2021-10-23 20:56:19 -07:00
Unknown W. Brackets
c0054dc6cf
Replacement: Ensurely orderly stop on reset.
...
If the texture is being loaded and we stop or reset, make sure it stops to
avoid any crash or hang.
2021-10-23 08:06:55 -07:00
Unknown W. Brackets
09f0578a64
Replacement: Use a thread to load tex replacements.
2021-10-21 17:05:39 -07:00
Unknown W. Brackets
0721405628
Replacement: Avoid clash with X define.
2021-10-21 17:05:38 -07:00
Unknown W. Brackets
83b7b33cfd
Replacement: Centralize lookup logic.
...
And make sure we don't change our minds about using a replacement during a
draw.
2021-10-21 17:05:38 -07:00
Unknown W. Brackets
36fc2c2628
Replacement: Purge old cached decoded textures.
...
Not actually decoding into the cache, just setup.
2021-10-21 17:05:38 -07:00
Unknown W. Brackets
2356280a9c
Replacement: Add structure for delayed loading.
2021-10-21 17:05:38 -07:00
Henrik Rydgård
ddc0f0829b
Replaced textures: Don't leak handles on failure, check allocation success
2021-10-08 19:09:43 +02:00
Unknown W. Brackets
a0f79ed624
Replacement: Allow loading ZIMs for replacements.
...
Larger, but can be ZSTD compressed and load much faster.
2021-05-16 09:30:33 -07:00
Henrik Rydgård
47039b4bcd
Address all the easy feedback. Some is left.
2021-05-13 10:39:17 +02:00
Henrik Rydgård
025bcb1673
Introduce Path, start using it all over the place.
...
Still lots left to convert!
Convert GetSysDirectory to return Path.
More buildfixing
Remove unnecessary Path( constructors
2021-05-13 10:39:16 +02:00
Banh-Canh
5dbf393e20
revert filename prefix for reducehashranges
2021-04-03 18:19:51 +02:00
Tien Khoa
d27e073bf9
fix: cleaned up my comment
2021-04-01 13:29:47 +02:00
Tien Khoa
91bc56edd5
feat: reduceHash configuration
2021-04-01 13:14:45 +02:00
Unknown W. Brackets
fb3ad1df4b
Replacement: Read in texture filtering overrides.
...
If you're replacing, you can know more information about linear safety for
tests.
2021-02-27 17:16:16 -08:00
Unknown W. Brackets
30625225b0
GPU: Remove neon xxhash implementation.
...
It's typically around the same speed now with modern compilers, and much
slower than XXH3.
2020-08-27 20:31:09 -07:00
NR74W
113c5f3b5f
Update TextureReplacer.h
...
Correction.
2020-04-13 16:29:17 +02:00
NR74W
fe5b06cc17
Add option to prevent Mipmaps from being dumped
2020-04-13 03:32:03 +02:00
Unknown W. Brackets
b4d9d038b4
Replacement: Allow region-specific settings.
...
This makes it easier to reuse one pack for multiple game ids.
2019-07-14 16:01:37 -07:00
Unknown W. Brackets
13375e2b95
Replacement: Refactor ini template generation.
2018-09-30 17:00:05 -07:00
Unknown W. Brackets
fcabc319e1
Qt: Load texture replacement images.
...
Still doesn't save, but at least it can use packs.
2018-06-06 05:57:26 -07:00
Henrik Rydgård
a153181e4a
Don't leave "reduceHash_" uninitialized. Probably won't help #10796 though..
2018-03-26 12:33:36 +02:00
LunaMoo
0e44c3b9fe
Add reduceHash option, to hash 50% of texture when it's otherwise unreliable.
2017-05-07 21:12:26 +02:00
LunaMoo
3c1f62d691
Expose XXHASH for Texture Replacement
2017-05-06 14:51:24 +02:00
LunaMoo
88dabd59e3
Add "ignoreAddress" to texture replacement.
2017-05-05 21:40:40 +02:00
Florent Castelli
4145b60a0e
symbian: Remove!
2016-10-11 18:49:08 +02:00
Unknown W. Brackets
e55198f7e7
Correct some initialization order warnings.
...
Also, another missing init with IRBlocks.
2016-08-05 10:46:11 -07:00
Unknown W. Brackets
bfda12fa23
Allow more options in texture [hashes] syntax.
...
This allows you to ignore the address or address and clut hash.
2016-05-31 00:13:52 -07:00
Unknown W. Brackets
994d2dd85e
Skip video in replacement saving by default.
2016-05-01 08:58:14 -07:00
Unknown W. Brackets
c20075b0e0
Pass video info to texture replacements.
2016-05-01 08:54:43 -07:00
Unknown W. Brackets
450554450f
Attempt to buildfix Symbian.
2016-05-01 00:48:11 -07:00