Henrik Rydgård
|
321a112eff
|
Rename SimpleBuf -> AlignedVector, use regular aligned memory instead of pages.
|
2023-04-24 12:04:34 +02:00 |
|
Henrik Rydgård
|
9a228b1f23
|
Avoid calling FindReplacement unnecessarily.
|
2023-03-18 12:03:32 +01:00 |
|
Henrik Rydgård
|
97c9b9e4f7
|
Break out PollReplacement from TextureCacheCommon::FindReplacement
|
2023-03-18 12:01:24 +01:00 |
|
Henrik Rydgård
|
75bcb9b10c
|
Some renaming, flag updates
|
2023-03-18 11:46:22 +01:00 |
|
Henrik Rydgård
|
5f76fbe1ad
|
Implement padding-on-copy for compressed textures as well.
|
2023-03-17 14:00:14 +01:00 |
|
Henrik Rydgård
|
1b0d5ec3aa
|
Remove a unused state from ReplacedTexture, rename POPULATED to UNLOADED
|
2023-03-17 00:52:38 +01:00 |
|
Henrik Rydgård
|
4bbc4c258a
|
Remove sketch of Basis container format support (we go with KTX2 instead as the container)
|
2023-03-14 14:09:47 +01:00 |
|
Henrik Rydgård
|
f2673c8f7b
|
Change BGRA to be a texture-specific flag. Fixes R/B swap in DDS textures in D3D11.
|
2023-03-12 10:19:12 +01:00 |
|
Henrik Rydgård
|
07fc551e4e
|
State fixes, disable logspam
|
2023-03-10 14:16:14 +01:00 |
|
Henrik Rydgård
|
06b83115a5
|
Replacer: Avoid tracking video textures
|
2023-03-10 12:20:55 +01:00 |
|
Henrik Rydgård
|
cb10862510
|
Move texture replacer to GPU/Common.
Add new files ReplacedTexture.cpp/h too.
|
2023-03-09 21:11:53 +01:00 |
|
Henrik Rydgård
|
226197f30f
|
Replace "none_" with nullptr.
|
2023-03-08 13:17:10 +01:00 |
|
Henrik Rydgård
|
c74f5b2189
|
Prepare for unifying more stuff
|
2023-02-25 16:01:32 +01:00 |
|
Henrik Rydgård
|
1b5148bb6c
|
Remove kinda-duplicate function.
|
2023-02-24 23:54:04 +01:00 |
|
Unknown W. Brackets
|
0f92afb0c1
|
Replacement: Check replaceValid before load.
|
2023-01-08 10:20:52 -08:00 |
|
Unknown W. Brackets
|
26aedbe2f5
|
Replacement: Always return w/h from GetMipSize().
|
2023-01-08 10:12:04 -08:00 |
|
Unknown W. Brackets
|
a7b7bf7826
|
Global: Set many read-only params as const.
This makes what they do and which args to use clearer, if nothing else.
|
2022-12-10 21:13:36 -08:00 |
|
Lubos
|
b41a782fcd
|
Revert "Centralize ClearCacheNextFrame"
This reverts commit cbfa4bfc8e .
|
2022-12-02 14:32:27 +01:00 |
|
Henrik Rydgård
|
cbfa4bfc8e
|
Centralize ClearCacheNextFrame
|
2022-11-21 18:13:13 +01:00 |
|
Unknown W. Brackets
|
04cd6c4f7d
|
TexCache: Align expandClut buffer, cleanup sizes.
We shouldn't need larger than 2 KB CLUT buffers, since it's actually only
1 KB. We have a hack that allows 2 KB for separate mip map levels.
|
2022-11-07 18:18:02 -08:00 |
|
Unknown W. Brackets
|
416265431b
|
GE Debugger: Display if tex is framebuf.
Rather than guessing based on size, let's show explicitly.
|
2022-10-10 22:35:42 -07:00 |
|
Unknown W. Brackets
|
fc9f200224
|
GE Debugger: Centralize current fb tex fetch code.
|
2022-10-10 21:50:53 -07:00 |
|
Unknown W. Brackets
|
55d5dc3834
|
GPU: Rename readback and buffer write operations.
Avoid download/upload and pack, which don't have clear directions.
|
2022-10-09 13:49:41 -07:00 |
|
Henrik Rydgård
|
5d4075376d
|
Copy the texels directly in LoadCLUT
|
2022-09-15 17:09:03 +02:00 |
|
Henrik Rydgård
|
36c98ab367
|
Address feedback, change roles of the two dynamic clut fbos to eliminate the need for state (see next commit)
|
2022-09-15 09:15:02 +02:00 |
|
Henrik Rydgård
|
d6d7a15d25
|
Get depal-from-dynamic-CLUT working
|
2022-09-14 22:18:35 +02:00 |
|
Henrik Rydgård
|
abd58199ce
|
Add way to bind cached textures to a DrawContext
|
2022-09-14 22:18:35 +02:00 |
|
Henrik Rydgård
|
9907957242
|
Start implementing ApplyTextureDepal
|
2022-09-14 22:18:35 +02:00 |
|
Henrik Rydgård
|
0ed1f3d461
|
Switch multiple bools as parameters to DecodeTextureLevel to a flags enum.
|
2022-09-14 18:40:08 +02:00 |
|
Henrik Rydgård
|
16212cae73
|
NFS speed effect: Improve framebuffer choice logging, tighten up stride checks.
|
2022-09-05 23:31:30 +02:00 |
|
Henrik Rydgård
|
2bf0c86ac7
|
Fix image format when dumping textures.
Fixes #15831
|
2022-09-01 15:04:59 +02:00 |
|
Henrik Rydgård
|
a854fbbe76
|
fbtex matching: Shrink the matching struct, use TinySet instead of vector to avoid an allocation.
|
2022-09-01 10:24:52 +02:00 |
|
Henrik Rydgård
|
470efac7d8
|
Merge GetFramebufferCandidates and GetBestCandidateIndex into one function.
|
2022-09-01 00:35:43 +02:00 |
|
Henrik Rydgård
|
987bfc79ef
|
Split the framebuffer in Killzone, with a compatibility flag.
Greatly improves performance.
See issue #6207
|
2022-08-30 20:05:56 +02:00 |
|
Henrik Rydgård
|
08eaf7665c
|
Fix race condition in replacement texture loading
The texture could become valid during the load, causing an inconsistent
state within the texture loading. So can only check for valid-ness once.
|
2022-08-30 12:52:31 +02:00 |
|
Henrik Rydgård
|
6f2966f502
|
Clean up mip size calculations
Calculating the same thing in multiple places is a recipe for bugs, so
let's not.
|
2022-08-30 12:05:57 +02:00 |
|
Henrik Rydgård
|
b529d26f3a
|
Fix smoothed depal on GLES. Don't enable filtering if not using.
|
2022-08-24 13:43:41 +02:00 |
|
Henrik Rydgård
|
5084743bbb
|
Use Draw2D for depal shaders (except the actual blit, for now)
|
2022-08-23 11:21:40 +02:00 |
|
Henrik Rydgård
|
b39b74e602
|
More renaming. Fix shader view for Vulkan
|
2022-08-22 12:30:51 +02:00 |
|
Henrik Rydgård
|
82a6c42e17
|
DepalettizeCommon -> TextureShaderCommon. Simplifications.
|
2022-08-22 12:21:20 +02:00 |
|
Henrik Rydgård
|
97dbba0ec3
|
Minor fixes. Everything seems fine now.
|
2022-08-20 08:29:33 +02:00 |
|
Henrik Rydgård
|
68480c548d
|
Texture bind channel fix
|
2022-08-20 08:07:11 +02:00 |
|
Henrik Rydgård
|
295f5f391e
|
More consistent handling of lack of depth texture support. Small log improvement.
|
2022-08-20 08:05:53 +02:00 |
|
Henrik Rydgård
|
705b34d868
|
Show seqCount in candidate list
|
2022-08-17 23:25:07 +02:00 |
|
Henrik Rydgård
|
7f169436c0
|
Framebuffer matching simplification
|
2022-08-17 22:47:17 +02:00 |
|
Henrik Rydgård
|
131098c4d4
|
Some enum renaming, move RasterChannel to GPU.h.
|
2022-08-09 19:58:48 +02:00 |
|
Henrik Rydgård
|
1913930541
|
Careful with mipmaps on old OpenGL ES. Lost this check in the refactor, made it clearer than before at least.
Fixes Burnout rendering issue mentioned in #15818
|
2022-08-09 17:26:39 +02:00 |
|
Henrik Rydgård
|
ded8ba8806
|
More cleanup, fixes.
|
2022-08-06 18:27:04 +02:00 |
|
Henrik Rydgård
|
4e3c258140
|
Delete all the duplicate implementations of ApplyTextureFramebuffer
|
2022-08-06 18:27:03 +02:00 |
|
Henrik Rydgård
|
45def772ee
|
Move the depal cache instance ownership to TextureCacheCommon
|
2022-08-06 18:27:03 +02:00 |
|