Commit Graph

134 Commits

Author SHA1 Message Date
charles bloom
678329a3b3 fix crash in TiffImageWrapper, Tasks were still running after "this" was deleted
#jira UE-187438
#preflight https://horde.devtools.epicgames.com/job/6477ef670d55081f54b90465
#rb fabian.giesen
#rnx

[CL 25725378 by charles bloom in ue5-main branch]
2023-06-01 10:00:01 -04:00
dan thompson
87e71ce499 EXR invalid file protection.
#rb fabian.giesen
#jira UE-187447
#preflight 6477b63d7f02573726aa9885

[CL 25715204 by dan thompson in ue5-main branch]
2023-05-31 17:26:47 -04:00
dan thompson
2e2dcf14d9 Security updates for PngImageWrapper
#jira UE-172869
#rb fabian.giesen
#preflight 646bcca1b82cb3fe6771b1b6

[CL 25572214 by dan thompson in ue5-main branch]
2023-05-22 19:17:13 -04:00
dan thompson
5f360661f3 Move GuardedInt.h to Core as it's about to be needed elsewhere.
#rb devin.doucette
#preflight 6467a9a52c0a5da0dcd0afa9

[CL 25553319 by dan thompson in ue5-main branch]
2023-05-19 17:51:45 -04:00
dan thompson
827daef19f Bounds checking for Tiff importing.
#jira UE-172862
#jira UE-172527
#rb fabian.giesen
#rb martins.mozeiko
#preflight 6466606d743f7c995bccfcde

[CL 25534731 by dan thompson in ue5-main branch]
2023-05-18 17:53:48 -04:00
dan thompson
743e09bba2 Force "up" PNG filter when we are uncompressed for speed (and oddly, size too)
#rb fabian.giesen
#preflight 645187ea1c2846595cc6eb33

[CL 25327841 by dan thompson in ue5-main branch]
2023-05-03 18:12:19 -04:00
charles bloom
ea4ac5a4fb nop comments only about preferring FImage usage
#preflight none
#rb none
#rnx

[CL 25149333 by charles bloom in ue5-main branch]
2023-04-21 13:58:13 -04:00
charles bloom
aa956df38a fix many texture and image int64 issues
can now successfully import over 32K textures to VT

#preflight https://horde.devtools.epicgames.com/job/6435ab7900398d6f88e8e808
#rb fabian.giesen
#jira none

[CL 24996140 by charles bloom in ue5-main branch]
2023-04-11 15:18:46 -04:00
charles bloom
197dfb19e6 nop just comments, clean up some todo Oodle marks
#rb none
#preflight none

[CL 24950141 by charles bloom in ue5-main branch]
2023-04-06 14:21:41 -04:00
charles bloom
4696059e9d nop comments only better description of EImageCompressionQuality
#rb none
#preflight none

[CL 24938671 by charles bloom in ue5-main branch]
2023-04-05 18:40:36 -04:00
bryan sefcik
e60c6da33b Windows ARM64 linker fixes.
#preflight 63f54cea26233b957f9870f2

[CL 24353033 by bryan sefcik in ue5-main branch]
2023-02-21 18:31:58 -05:00
Jack Porter
48cbc592ad Resave PNG files with incorrect sRGB profile
Log PNG filename during warnings and errors
#jira UE-167980
#jira UE-169864
#rb Florin.Pascu
#review-24281768
#preflight 63f223ae90198dffba8a2927

[CL 24308896 by Jack Porter in ue5-main branch]
2023-02-19 20:38:08 -05:00
charles bloom
51467ca1b0 Exr import : don't promote 1 channel exr to 4 channel in the TSF uasset
not needed any more

#jira https://jira.it.epicgames.com/browse/UE-176077
#rb alexander.suvorov
#preflight none

[CL 24120894 by charles bloom in ue5-main branch]
2023-02-10 11:31:49 -05:00
charles bloom
15a954cc6c ExrImageWrapper : fix importing exr's with channel names other than RGBA
should use the channel names found in the file

#jira https://jira.it.epicgames.com/browse/UE-175918
#preflight https://horde.devtools.epicgames.com/job/63dd77f9af610ffb8b4ce447
#rb alexander.suvorov

[CL 24104681 by charles bloom in ue5-main branch]
2023-02-09 15:16:36 -05:00
charles bloom
87f1b32bad fix TGA not exporting UDIM
change the TGA exporter to use the Generic path
make TgaImageWrapper write 24 or 32 bit like the legacy exporter
delete the legacy exporter

#jira https://jira.it.epicgames.com/browse/UE-176541
#preflight https://horde.devtools.epicgames.com/job/63e43e2c9910415ae2319a38
#rb fabian.giesen

[CL 24104640 by charles bloom in ue5-main branch]
2023-02-09 15:14:48 -05:00
martins mozeiko
39475b3d07 Upgrade zlib to 1.2.13 version.
Remove old 1.2.12 and 1.2.5 versions.

#preflight 63e176ca07207b2570a2e90f
#rb devin.doucette

[CL 24061350 by martins mozeiko in ue5-main branch]
2023-02-07 17:42:17 -05:00
josh adams
1610c3bee3 UnrealArch/UnrealArchitectures changes
- Creates the UnrealArchitectures class, which wraps a list of UnrealArch objects
 - UnrealArch is a single architecture, expandable enum-like struct
 - There is no more concept of "no/default architecture", there is always a valid active architecture when building
 - Most uses of "string Architecture" are replaced with one of the two above, depending if multiple architectures are supported or not
 - UnrealArch has some platform-extensions for platform-specific naming (like Linux adds in LinuxName that turns, for instance, Arm64 -> aarch64-unknown-linux-gnueabi, which is used in folder names, etc)
 - UnrealArch has bIsX64 which can be used determine intel instruction set (as opposed to arm)
 - TargetRules class has an "Architecture" accessor that will return a single architecture if the active architectures is a single architecture, or throw an exception if multiple. This is useful in a majority of the cases where a paltform can only have a single architecture active in TargetRules (microsoft platforms, for instance, will create separate targets when compiling multiple architectures at once)
 - Added UnrealArchitectureConfig class, which contains all the architecture information for a platform (what architectures are supported, what ones are currently active for given project, etc)

#preflight 63c81fb5b065224750a1759e
#rb mike.fricker,roman.dzieciol,joe.kirchoff,dmytro.vovk,brandon.schaefer [various parts]
#p4v-preflight-copy 23562471

[CL 23829977 by josh adams in ue5-main branch]
2023-01-24 09:30:28 -05:00
charles bloom
c4eaa4a097 ImageWrapper : do check conditions in release builds for security concern
#jira https://jira.it.epicgames.com/browse/UE-172469
#preflight https://horde.devtools.epicgames.com/job/63c87a29b065224750cff178
#rb fabian.giesen

[CL 23767933 by charles bloom in ue5-main branch]
2023-01-18 19:06:30 -05:00
charles bloom
e9699d4824 ImageWrapper : remove pointless SetRaw implementations
just fall through to FImageWrapperBase::SetRaw

#preflight https://horde.devtools.epicgames.com/job/63c87db5c246f148567a1361
#rb fabian.giesen
#jira none

[CL 23767920 by charles bloom in ue5-main branch]
2023-01-18 19:05:45 -05:00
charles bloom
e1b16fd3c0 sanitize floats for inf/nan in EXR import
#rb fabian.giesen
#preflight yes

[CL 23689994 by charles bloom in ue5-main branch]
2023-01-13 18:27:48 -05:00
steve robb
6a31618d42 Removed TIsSame from misc. engine files (part of a larger change to deprecate TIsSame).
#rb devin.doucette
#preflight 63c01cac8f4acc7b54d8832d

[CL 23678906 by steve robb in ue5-main branch]
2023-01-13 11:47:02 -05:00
Tony Wong
0fcc3fdfe3 ImageWrapper: Fixed crash when reading exrs with a non zero data window.
#JIRA: UE-172751
#preflight 639cead7776b61ba3b903f73
#review-23578872 @eric.renaudhoude @ruslan.idrisov
#rb eric.renaudhoude, ruslan.idrisov

[CL 23589044 by Tony Wong in ue5-main branch]
2023-01-05 11:55:54 -05:00
eric renaudhoude
6d1d929dd8 EXR: Minimum support for writing the working color space chromaticities attribute.
#jira UE-168814
#rb rod.bogart, matt.hoffman
#preflight 6361422b2b5338aceb4483a0

[CL 22912865 by eric renaudhoude in ue5-main branch]
2022-11-02 09:15:43 -04:00
joshua boren
8f26524ecb Handle missing error handling case for FPngImageWrapper
#jira: FORT-521923
[REVIEW] [at]nathan.green [at]josh.may [at]kevin.hamilton [at]corey.kolek [at]kris.pelley

[CL 22581675 by joshua boren in ue5-main branch]
2022-10-17 17:59:40 -04:00
charles bloom
dec7aac9b6 BmpImageWrapper support 16 bit bmp like 555 and 565
also import A channel from 32-bit BI_RGB
now loads all formats that photoshop "advanced" outputs

#preflight 634db8d6820aa0c193f8a81f
#rb fabian.giesen

[CL 22577459 by charles bloom in ue5-main branch]
2022-10-17 16:43:23 -04:00