Unknown W. Brackets
f1dda6a53d
d3d9: Move texture hashing after vertex decode.
2016-05-01 16:20:05 -07:00
Unknown W. Brackets
4ce02e0920
Fix a couple more bugs in texture build.
2016-05-01 13:42:06 -07:00
Unknown W. Brackets
bfe23361cd
Update maxSeenV earlier.
...
Now, the initial fullhash is already on the correct range.
2016-05-01 13:26:12 -07:00
Unknown W. Brackets
6bd86f462d
Move texture hashing to end of texture apply.
...
This might also make it more possible to do it on a thread, but it's
likely still too quick.
2016-05-01 13:24:53 -07:00
Unknown W. Brackets
fbef79826b
Oops, correct replaceImages.
2016-05-01 13:22:53 -07:00
Unknown W. Brackets
bce5c74dbf
Refactor out texture rehash check.
2016-05-01 13:11:35 -07:00
Unknown W. Brackets
82c1eaad65
Let's not overuse nextTexture_.
2016-05-01 13:03:40 -07:00
Unknown W. Brackets
1a26699607
Refactor texture loading to move things around.
2016-05-01 11:17:55 -07:00
Unknown W. Brackets
9280bb3eda
Merge pull request #8715 from unknownbrackets/tex-replace
...
Initial texture replacement support
2016-05-01 09:58:16 -07:00
Unknown W. Brackets
2e1986d0c8
Fix a few reorder warnings.
2016-05-01 09:50:03 -07:00
Henrik Rydgård
b6d7aab8dc
Merge pull request #8716 from hrydgard/remove-preprocessor-hacks
...
Remove preprocessor hacks around the JITs
2016-05-01 18:47:59 +02:00
Henrik Rydgard
ccce19e14a
Fix accidentally truncated comment.
2016-05-01 18:47:32 +02:00
Unknown W. Brackets
c30287c4e5
Another buildfix for Qt, linking issue.
...
This is a bit of a hack, but it resolves the linking issue that only
seems to happen in the Qt build system.
2016-05-01 09:17:55 -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
f5b93bc6f0
Remove global num videos hack.
2016-05-01 08:53:48 -07:00
Unknown W. Brackets
99d29356d7
Track video addresses in texture cache.
2016-05-01 08:39:18 -07:00
Unknown W. Brackets
329be68f57
Fix error when disabled.
...
We want to return a reference here, so let's always return.
2016-05-01 08:04:15 -07:00
Henrik Rydgård
e91fc59bbe
Merge pull request #8693 from sum2012/pmp-video
...
Temporarily disable PMP video for non-windows
2016-05-01 11:49:55 +02:00
Henrik Rydgard
ffe4c266ef
Add CodeBlockCommon base class to remove further arch-specificity in JitBlockCache
...
Remove unused ArmThunk.
2016-05-01 11:40:00 +02:00
Henrik Rydgard
8b450c8034
Merge NativeJit.cpp/h with JitCommon.cpp/h
2016-05-01 11:39:59 +02:00
Henrik Rydgard
5aadce59a2
Move architecture-specific code out of JitBlockCache
2016-05-01 11:39:58 +02:00
Henrik Rydgard
a5be0976bd
Remove preprocessor hacks to choose JIT implementation.
...
Opens up for having multiple JIT implementations available at runtime,
which could be use for experimenting with new JIT compiler types or for
unit testing one JIT on another architecture.
Very few of the newly virtual calls are on any sort of critical path so
hopefully there will not be a performance loss.
2016-05-01 11:39:53 +02:00
Henrik Rydgard
106a7d6a3b
Remove more unused code (advanceCallback)
2016-05-01 11:35:16 +02:00
Henrik Rydgard
4645473dab
Remove unused code
2016-05-01 11:35:16 +02:00
Unknown W. Brackets
450554450f
Attempt to buildfix Symbian.
2016-05-01 00:48:11 -07:00
Unknown W. Brackets
cd6f36a439
Correct handling of 8 bit and no-alpha PNGs.
2016-05-01 00:30:54 -07:00
Unknown W. Brackets
23ab2cd187
Vulkan: Correct check alpha.
2016-05-01 00:30:54 -07:00
Unknown W. Brackets
f26c0328da
Check alpha when loading replaced textures.
2016-05-01 00:30:53 -07:00
Unknown W. Brackets
c4b27525e0
Disable texture replacement on Qt.
2016-05-01 00:30:52 -07:00
Unknown W. Brackets
bed82da352
Make ini case insensitive.
2016-05-01 00:30:51 -07:00
Unknown W. Brackets
223f95f28c
Allow a short alias for video frames, etc.
2016-05-01 00:30:51 -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
7528605d3d
Correct loading replaced upscaled textures.
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
149de4147a
Skip replacements for PPGe textures.
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
6d0c7a9faf
Skip gaps in texture replacement hashing.
...
This should hopefully provide the least duplicates possible.
2016-05-01 00:30:45 -07:00
Unknown W. Brackets
120cd0fb7e
Don't convert pixels we're not going to use anyway.
2016-05-01 00:30:44 -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
f039259a1a
Use a same-everywhere quick hash for now.
2016-05-01 00:30:43 -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
Unknown W. Brackets
5dbc2b9267
Initial support for saving textures to PNGs.
2016-04-30 15:03:39 -07:00
Unknown W. Brackets
cf53948cf6
Implement some initial hashing so it's not broken.
2016-04-30 14:19:23 -07:00