Commit graph

42 commits

Author SHA1 Message Date
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
Unknown W. Brackets
e1fd6b6f21 Account for scaleFactor when saving clipped PNG. 2016-05-01 00:30:50 -07:00
Unknown W. Brackets
7a4af06cee Save new textures into a separate path.
This way you can tell which ones you've done already.
2016-05-01 00:30:49 -07:00
Unknown W. Brackets
f536182b37 Cache texture replacement lookup info.
This way we can avoid hitting the disk where possible.  We could even
preload.
2016-05-01 00:30:48 -07:00
Unknown W. Brackets
9ffc717de1 Properly save 16-bit textures for replacements. 2016-05-01 00:30:47 -07:00
Unknown W. Brackets
c1a8edfedf Replace textures from PNGs. 2016-05-01 00:30:46 -07:00
Unknown W. Brackets
0c357c0ea3 Pass w/h in for replacement lookup.
So we can scale the w/h properly.
2016-05-01 00:30:44 -07:00
Unknown W. Brackets
4f3bac1b0a Actually load the texture replacement ini file. 2016-05-01 00:30:42 -07:00
Unknown W. Brackets
59ada74deb Allow hashes to be ignored explicitly.
Still need the actual ini hookup.
2016-05-01 00:30:42 -07:00
Unknown W. Brackets
d6e5df6f21 Save individual mip levels. 2016-05-01 00:30:41 -07:00
Unknown W. Brackets
565653c77b Save and load textures using full key.
Of course, need this, not just the hash.
2016-05-01 00:30:40 -07:00
Unknown W. Brackets
9039dd606f Move TextureReplacer to Core.
Probably makes more sense here after all.
2016-05-01 00:30:40 -07:00
Renamed from GPU/Common/TextureReplacer.h (Browse further)