85 Commits

Author SHA1 Message Date
devin doucette
01cb852a23 Deprecated the old names and paths for TSharedString
#rb Zousar.Shaker
#rnx

[CL 34567121 by devin doucette in ue5-main branch]
2024-06-21 12:52:32 -04:00
charles bloom
5e932ff8b5 TextureBuildFunction : methodology to validate RequiredMemoryEstimate vs. actual mem use using standalone texture build workers and process memory counters
#rb Dan.Thompson

[CL 34109385 by charles bloom in ue5-main branch]
2024-06-04 18:12:55 -04:00
dan thompson
a51d37e269 Compute RequiredMemory for "DDC2" texture build worker internally to avoid it affecting ddc keys.
Update GetOutputAlphaFromKnownAlpha to have the same call structure as GetOutputAlphaFromKnownAlphaOrFail

#ushell-cherrypick of 33523860 by Dan.Thompson
#rb charles.bloom
[FYI] devin.doucette
#rnx

[CL 33638267 by dan thompson in ue5-main branch]
2024-05-14 18:20:54 -04:00
dan thompson
0a6eb11037 Preview Platform Textures
-- Added Decode interface to texture formats to return to PC viewable formats.
-- Added Detile interface to return textures to linear layout for relevant platforms.
-- Reworked the IBuild "DDC2" texture build usage to be more straightforward for chaining multiple build steps (i.e. Encode -> Tile -> Detile -> Decode).
-- Added UI to the texture editor to select a target platform to view.
-- Fixed a bug with DDC2 and CPU Copy textures (they didn't work at all)
#rb Devin.Doucette, fabian.giesen, charles.bloom
#jira UE-149124

[CL 33116818 by dan thompson in ue5-main branch]
2024-04-19 16:57:52 -04:00
charles bloom
837e868b5e Texture UEDelta filter to replace PNG filter
Simple North/Up pixel filter
parallel, simd
removes slow call into ImageWrapper just to run the PNGz0 filter
UEDelta works for udim, cubes, all pixel formats, there are no limitations or corner cases
#jira UE-181911
#rb fabian.giesen

[CL 32654283 by charles bloom in ue5-main branch]
2024-04-01 18:31:48 -04:00
zousar shaker
84b95ef680 Fix bug in DDC2 texture build path caused by using SourceMips after it had been cleared by BuildTexture.
#rb devin.doucette

[CL 32278799 by zousar shaker in ue5-main branch]
2024-03-15 13:43:13 -04:00
dan thompson
4b50d4927e Undoing backout - this was depending on the original issue, not an issue in and of itself. This does also correct a separate issue with the texture editor using the removed metadata information.
Removing texture build metadata due to ddc complexities. It will be added to the metadata system in the new build flow SoonTM. Additionally, the alpha information for the source mips is no longer necessary as that is computed elsewhere now.
#rb fabian.giesen
#jira UE-183750

[CL 30894760 by dan thompson in ue5-main branch]
2024-01-25 14:17:55 -05:00
evgenii babinets
8f67c5bef7 [Backout] - CL30697260
[FYI] Dan.Thompson
Original CL Desc
-----------------------------------------------------------------
Removing texture build metadata due to ddc complexities. It will be added to the metadata system in the new build flow SoonTM. Additionally, the alpha information for the source mips is no longer necessary as that is computed elsewhere now.
#rb fabian.giesen
#jira UE-183750

[CL 30772772 by evgenii babinets in ue5-main branch]
2024-01-22 10:12:42 -05:00
dan thompson
99e50792ea Removing texture build metadata due to ddc complexities. It will be added to the metadata system in the new build flow SoonTM. Additionally, the alpha information for the source mips is no longer necessary as that is computed elsewhere now.
#rb fabian.giesen
#jira UE-183750

[CL 30697278 by dan thompson in ue5-main branch]
2024-01-18 16:38:20 -05:00
jon olick
2a17446e02 UE Jpeg: name change
#p4v-preflight-copy 29191952
#rb dan.thompson

[CL 29237577 by jon olick in ue5-main branch]
2023-10-30 12:46:08 -04:00
alexander suvorov
795fd1edf1 Implement Resize to Specific Resolution texture padding and resizing option.
#jira UE-158070
#rb Dan.Thompson

[CL 28425273 by alexander suvorov in ue5-main branch]
2023-10-03 14:56:03 -04:00
alexander suvorov
7d23806b95 Implement PadWithBorderColor texture setting.
#jira UE-158070
#rb Dan.Thompson

[CL 28253332 by alexander suvorov in ue5-main branch]
2023-09-26 18:49:57 -04:00
jon olick
fdeed47cb2 Oodle JPEG format support. Smaller UASSETs and much more hardened security focus by using Oodle as a backend.
#jira

[CL 27842762 by jon olick in ue5-main branch]
2023-09-13 14:47:22 -04:00
alexander suvorov
aae1e9742d Expose Preserve Extremes Oodle encoding option in Texture Editor UI.
#jira UE-161928
#rb Dan.Thompson

[CL 27571641 by alexander suvorov in ue5-main branch]
2023-09-01 19:25:25 -04:00
kirill zorin
66c882e375 Fix instances of incorrect usage of UE_LOG.
#rb trivial

[CL 27306121 by kirill zorin in ue5-main branch]
2023-08-23 11:04:15 -04:00
dan thompson
bb9bc58b72 CPU accessible textures
#rb fabian.giesen
#rb charles.bloom

[CL 26655002 by dan thompson in ue5-main branch]
2023-07-27 16:46:23 -04:00
dan thompson
f4c4e7731c Backing out the typecast stuff again - this time because there are incoming changes from UE that will cause big headaches. Gonna wait until they land in this stream to try this again.
[Backout] - CL25586915
[FYI] Dan.Thompson
Original CL Desc
-----------------------------------------------------------------
Enable the typecast error now that theoretically they are all fixed (this time :( ).
#rb none
#jira UE-166462
#preflight 646bfa2f656436839e398ad0

[CL 25593278 by dan thompson in ue5-main branch]
2023-05-23 18:34:21 -04:00
dan thompson
4fed9eef3b Enable the typecast error now that theoretically they are all fixed (this time :( ).
#rb none
#jira UE-166462
#preflight 646bfa2f656436839e398ad0

[CL 25592286 by dan thompson in ue5-main branch]
2023-05-23 18:14:27 -04:00
dan thompson
278d3b0ce3 Type safety set to off to fix build issue as I missed some stuff.
#rb none
#preflight none

[CL 25514931 by dan thompson in ue5-main branch]
2023-05-17 15:58:28 -04:00
dan thompson
042c6053e7 Typecast warning fixups
#jira UE-166462
#rb fabian.giesen
#preflight 6463ec86d62884a78fd92874

[CL 25514891 by dan thompson in ue5-main branch]
2023-05-17 15:57:20 -04:00
bryan sefcik
d205101cc8 Removed unnecessary private include modules.
#preflight 645da640cf788a25581110bb

[CL 25451545 by bryan sefcik in ue5-main branch]
2023-05-12 12:13:52 -04:00
dan thompson
6083992f93 Switch to xxhash for mip hashing.
#rb fabian.giesen
#jira UE-183751
#preflight 645d2b79ea1c7ba4d6b744d7

[CL 25438535 by dan thompson in ue5-main branch]
2023-05-11 19:32:41 -04:00
Steve Robb
0f44db07d5 Replaced some container operator new usage.
#rb james.hopkin
#jira none
#preflight 6459670f28155a0f41565a34

[CL 25384456 by Steve Robb in ue5-main branch]
2023-05-09 05:17:49 -04:00
Dan Thompson
9a6a7a84d9 Plumb the mip layout down to the child texture ddc key versions as certain child formats need to know mip dimensions in order to know if aspects of the build affect the textures, as well as note in the extended data whether the texture tiling is sensitive to LODBias so that textures that change layouts as a result of that are independent in the ddc.
This also fixes the missing include path for TextureFormat.Build.cs

#rb fabian.giesen
#rb charles.bloom
#preflight 6421fa27974dfaa53cb188e5

[CL 24808879 by Dan Thompson in ue5-main branch]
2023-03-27 16:39:53 -04:00
Dan Thompson
9bbb9204e0 Fixing incorrect printf specifier for non-TCHAR string type (thanks devin!)
#rb none
#fyi devin.doucette
#preflight 640a5a353c2db40029438375

[CL 24583868 by Dan Thompson in ue5-main branch]
2023-03-09 17:31:25 -05:00