Commit Graph

183 Commits

Author SHA1 Message Date
charles bloom
cf6ad9f1c2 Texture: make stretch-to-pow2 use new ResizeImage
bump ddc key for affected textures

#rnx
#rb fabian.giesen

[CL 29369767 by charles bloom in ue5-main branch]
2023-11-02 12:42:56 -04:00
charles bloom
92e4e91612 nop comments only; mark some of the bad image resizers in UE and redirect users to the new ResizeImage
not actually deprecated yet, need to keep legacy behavior to avoid patches
todo actually remove use of the old resize functions and deprecate them

#jira UE-163527
#rnx

[CL 29248582 by charles bloom in ue5-main branch]
2023-10-30 16:35:55 -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
Szmyk
1b7d725edc Fix for typo in non pow2 volume texture mip count computation.
#jira UE-196278
#10907
#rb fabian.giesen

[CL 28201841 by Szmyk in ue5-main branch]
2023-09-25 15:54:57 -04:00
alexander suvorov
56126d98a9 Add Stretch to Power Of Two mode in Texture Settings.
#jira UE-160620
#rb Dan.Thompson

[CL 27575466 by alexander suvorov in ue5-main branch]
2023-09-01 21:44:43 -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
eric renaudhoude
c0e4318bcb ColorManagement: Fixed DDC2 texture build for advanced source color/encoding settings, added dependency on OpenColorIO library version for key invalidation.
#jira UE-188952
#rb dan.thompson

[CL 26442009 by eric renaudhoude in ue5-main branch]
2023-07-18 14:44:35 -04:00
eric renaudhoude
05b88f3bec [Resubmitting with fix]
-----------------------------------------------------------------
ColorManagement: Utilize OpenColorIO for advanced color space transformations on textures during mip generation.

Relies on CL 26098047.

#jira UE-182792
#rb rod.bogart, dan.thompson, charles.bloom

[CL 26109698 by eric renaudhoude in ue5-main branch]
2023-06-19 19:10:44 -04:00
eric renaudhoude
461a877a66 [Backout] - CL26106088
[FYI] eric.renaudhoude
Original CL Desc
-----------------------------------------------------------------
ColorManagement: Utilize OpenColorIO for advanced color space transformations on textures during mip generation.

Relies on CL 26098047.

#jira UE-182792
#rb rod.bogart, dan.thompson, charles.bloom

[CL 26107262 by eric renaudhoude in ue5-main branch]
2023-06-19 18:04:26 -04:00
eric renaudhoude
973792234b ColorManagement: Utilize OpenColorIO for advanced color space transformations on textures during mip generation.
Relies on CL 26098047.

#jira UE-182792
#rb rod.bogart, dan.thompson, charles.bloom

[CL 26106116 by eric renaudhoude in ue5-main branch]
2023-06-19 17:26:54 -04:00
charles bloom
5e04696773 ImageParallelFor for easy parallel work on pixels
ImageParallelProcessLinearPixels
ComputeImageLinearAverage
Make Bokeh computation use the new routines as a test

#rb fabian.geisen
#rnx

[CL 26073510 by charles bloom in ue5-main branch]
2023-06-16 18:12:53 -04:00
martins mozeiko
f656fa0cd4 Reducing texture build memory usage by freeing mip pixel memory as they are no longer needed
#jira UE-179421
#preflight 646bbd892c0a5da0dc136fca
#rb dan.thompson

[CL 25570200 by martins mozeiko in ue5-main branch]
2023-05-22 16:57:39 -04:00
dan thompson
b361dacafb Clang specific cast warnings, and fixing an incorrect cast fix from last checkin.
#rb fabian.giesen
#preflight 646b9adb4130b0ce5038e725

[CL 25568727 by dan thompson in ue5-main branch]
2023-05-22 15:17:38 -04:00
devin doucette
8569448f20 xxHash: Removed TTask from the API
Management of tasks is more suitable for higher-level code.

Includes rearrangement of some code that was updated inconsistently during compile time optimizations.

#preflight 646690628720894fb6cd5f2d
#rb Dan.Thompson
#rnx

[CL 25548233 by devin doucette in ue5-main branch]
2023-05-19 13:52:37 -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
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
charles bloom
91159a0815 TextureCompressorModule: GenerateMipChain detach free and delete test code
#preflight none
#rb dan.thompson
#rnx

[CL 25140973 by charles bloom in ue5-main branch]
2023-04-20 20:22:13 -04:00
charles bloom
a3e908ec8c TextureCompressorModule : two mip gens can run at the same time
#preflight none
#rb martins.mozeiko
#rnx

[CL 25139747 by charles bloom in ue5-main branch]
2023-04-20 19:09:10 -04:00
charles bloom
b4cc25d7bd TextureCompressorModule : fix bug introduced on Blur+NewFilters filter MipGen
#preflight none
#rb none
#rnx

[CL 25139593 by charles bloom in ue5-main branch]
2023-04-20 19:05:10 -04:00
charles bloom
4af88e0ef3 TextureCompressorModule : GenerateMipChain no need to use ping pong buffers and memcpy if the output and average filter are the same, we can work directly in the output mip chain
#preflight https://horde.devtools.epicgames.com/job/64417fc7f126d87e458e0e51
#rb martins.mozeiko
#rnx

[CL 25135591 by charles bloom in ue5-main branch]
2023-04-20 16:01:48 -04:00
charles bloom
905543b614 TextureCompressorModule : no need to run the same 2x2 mip gen filter twice
#rb none
#preflight none
#rnx

[CL 25132333 by charles bloom in ue5-main branch]
2023-04-20 14:18:42 -04:00
charles bloom
2b781f1c8c TextureCompressor better core utilization from improved ParallelFor usage
also detach the MipChain free to a task

#rb fabian.giesen
#preflight none

[CL 25121092 by charles bloom in ue5-main branch]
2023-04-19 20:47:37 -04:00
charles bloom
420b6f6adb TextureCompressorModule : run hashing for metadata on an async task
change FImage passed to TextureFormat to be const, it must not be changed becausing hashing is running threaded
remove early frees of intermediate image; this increases peak memory use

#preflight https://horde.devtools.epicgames.com/job/643ff4a3090323f9a3f7695e
#rb dan.thompson

[CL 25116608 by charles bloom in ue5-main branch]
2023-04-19 17:29:39 -04:00