Commit Graph

2416 Commits

Author SHA1 Message Date
Gil Gribb
5bad61af40 UE4 - Compact cloth buffers. Option to defer uniform buffer creation till it is visible. Option to defer skeletal stuff to visible and do it on the RHI thread. High priority task graph tasks. Hi priority ticks.
[CL 2597353 by Gil Gribb in Main branch]
2015-06-23 12:47:57 -04:00
Jaroslaw Surowiec
214e0c3d08 Stats - Track allocations of size 0
[CL 2597254 by Jaroslaw Surowiec in Main branch]
2015-06-23 11:59:50 -04:00
Josh Adams
41995a6de1 - Added FPaths::LaunchDir(), which gives the current working directory _at launch time_ (saved off before we switch to the Binaries dir). This can be useful for finding files relative to working dir for commandline utilities
- Modified UnrealPak to use LaunchDir as a fallback to finding a pak file
- Added "Usage" printout to UnrealPak that has all the use cases and options I could find in the code

[CL 2596996 by Josh Adams in Main branch]
2015-06-23 09:56:27 -04:00
Robert Manuszewski
299920bf38 Adding prefixes to GC and Streaming console commands to make them more discoverable. Also added a few placeholder commands to suppress warnings on startup.
Console commands affected:

s.AsyncIOBandwidthLimit
s.MinBulkDataSizeForAsyncLoading
s.AsyncLoadingThreadEnabled
s.WarnIfTimeLimitExceeded
s.TimeLimitExceededMultiplier
s.TimeLimitExceededMinTime
s.UseBackgroundLevelStreaming
s.PriorityAsyncLoadingExtraTime
s.LevelStreamingActorsUpdateTimeLimit
s.LevelStreamingComponentsRegistrationGranularity

gc.MaxObjectsNotConsideredByGC
gc.SizeOfPermanentObjectPool
gc.FlushStreamingOnGC
gc.NumRetriesBeforeForcingGC
gc.AllowParallelGC
gc.TimeBetweenPurgingPendingKillObjects
gc.CollectGarbageEveryFrame
gc.StressTestGC

New console variables:
s.UseBackgroundLevelStreaming
s.AsyncLoadingTimeLimit
s.AsyncLoadingUseFullTimeLimit
s.PriorityAsyncLoadingExtraTime
s.LevelStreamingActorsUpdateTimeLimit
s.LevelStreamingComponentsRegistrationGranularity

[CL 2596909 by Robert Manuszewski in Main branch]
2015-06-23 08:18:32 -04:00
Matt Kuhlenschmidt
9f83927366 Added a UI material domain for all Slate and UMG materials
- Automatically upgraded all materials

When using the UI material domain the material editor and material instance editor is streamlined and only displays parts of the UI that are relevant:
- Changes to a preview material rendered with the UI shader
- Removes non-UI specific settings
- Renames some output pins and hides irrelevant ones
- Shows stats for UI shader

[CL 2596027 by Matt Kuhlenschmidt in Main branch]
2015-06-22 15:55:50 -04:00
Ben Marsh
b6c1ba5261 Check for XMPP existing before trying to load it. Fixes warnings if you don't have XMPP (because it's in a /NotForLicensees/ folder), which also happens for everything we build in Rocket.
#codereview Josh.Markiewicz

[CL 2595865 by Ben Marsh in Main branch]
2015-06-22 14:42:11 -04:00
Zak Middleton
d4dcc7abea #ue4 - Fix VectorMod() working incorrectly for negative values (now matches std fmodf). Fix VectorSinCos() doing incorrect range reduction. Improve math tests at startup.
- Math tests: added VectorMod, VectorSinCos.
- Math tests: added more FQuat <-> FRotator conversions and cleaned it up (make more important tests earlier, because those could cause later ones to fail).

[CL 2594668 by Zak Middleton in Main branch]
2015-06-19 19:45:51 -04:00
Dmitry Rekman
2092d91a12 Linux: refuse to run as root.
- Prevents surprisingly common user errors of attempting to re-run tools with 'sudo' in case of failure and then messing things up even more.
- There might be legitimate use cases for running as root, and if those are identified the check will need to be amended.

#codereview Ivan.Horvath, Bob.Tellez, John.Barrett, Peter.Knepley

[CL 2594608 by Dmitry Rekman in Main branch]
2015-06-19 19:03:05 -04:00
Chris Babcock
d4e7fe7629 Fix for FAndroidPlatformMemory::BinnedAllocFromOS for SDK 21
#ue4
#android
#codereview Josh.Adams

[CL 2594383 by Chris Babcock in Main branch]
2015-06-19 17:05:08 -04:00
David Ratti
1ffd4d3059 merge automation fix @ CL 2570986
[CL 2594311 by David Ratti in Main branch]
2015-06-19 16:46:21 -04:00
Chris Babcock
ad9d272786 Make sure the UE4Game directory created
#ue-17385
#ue4
#android
#codereview Robert.Jones

[CL 2593948 by Chris Babcock in Main branch]
2015-06-19 14:22:11 -04:00
Marcus Wassmer
7447b34a7a Fix a pthread mutexattr leak.
#codereview Gil.Gribb,Dmitry.Rekman

[CL 2593829 by Marcus Wassmer in Main branch]
2015-06-19 13:39:00 -04:00
Nick Darnell
068e3f3750 Engine - Removing the implemention for the private FLinearColor to FColor constructor to ensure it isn't called by mistake. Fixing a place that was calling it internally to FColor.
#codereview Gareth.Martin

[CL 2593660 by Nick Darnell in Main branch]
2015-06-19 12:02:08 -04:00
Nick Darnell
d287c6143f More Gamma Correction - Didn't catch this on the previous pass, apparently there was an implicit constructor allowing FLinearColor to FColor that was doing pow(2.2) gamma conversion inversion. Rather than leave the implicit constructor, I'm making it private and making people use ToFColor(true). Which is slightly more expensive, but performs the proper sRGB conversion. While fixing this, I found several terrible uses of the implicit constructor, when Hashing FLinearColors we were converting them to FColors first, when clearing FCanvas we were manually gamma correcting but leaving it as an FLinearColor, then implicitly converting to FColor, double gamma corrrecting. Neither of which should even be required as the RHI Clear command expects an FLinearColor. Additionally fixing a myriad of Slate widgets that were all doing FColor conversions needlessly only to convert back to FLinearColor when queuing slate draw commands.
#codereview nick.penwarden, martin.mittring, andrew.brown, gareth.martin

[CL 2593605 by Nick Darnell in Main branch]
2015-06-19 11:17:11 -04:00
Jaroslaw Surowiec
9a8b8e99df CIS Fix
[CL 2593257 by Jaroslaw Surowiec in Main branch]
2015-06-19 05:41:08 -04:00
Jaroslaw Surowiec
c75655a926 Stat - Stats memory profiler improvements, added realloc message (UECORE-167)
[CL 2593236 by Jaroslaw Surowiec in Main branch]
2015-06-19 05:21:13 -04:00
Mikolaj Sieluzycki
eed4bacc54 Make RuntimeAssetCache blueprint accessible.
[CL 2593162 by Mikolaj Sieluzycki in Main branch]
2015-06-19 03:13:33 -04:00
Saul Abreu
767914857a Corrected behavior of FText::FindText which would not properly ensure that the text found actually has a display string that is associated with the source string provided (if provided).
[CL 2592856 by Saul Abreu in Main branch]
2015-06-18 18:18:16 -04:00
Michael Trepka
d1ffc9fa64 Ignore some more warnings on Mac to compile with new Clang in Xcode 7
[CL 2592816 by Michael Trepka in Main branch]
2015-06-18 18:04:11 -04:00
Michael Trepka
be04733320 Merging GetTypeHash for __uint128_t for Mac
[CL 2592659 by Michael Trepka in Main branch]
2015-06-18 16:52:53 -04:00
Michael Trepka
9adee1f07e Fixed setting of the current working dir on Mac for paths that contain non-ansi characters
[CL 2592519 by Michael Trepka in Main branch]
2015-06-18 15:55:32 -04:00
Matt Kuhlenschmidt
6535aaf9dc Fix bad default rotation for widget components. New widget components now face down +X by default
Fixed changing rendering properties on widget components not updating the component

[CL 2592496 by Matt Kuhlenschmidt in Main branch]
2015-06-18 15:44:17 -04:00
Michael Trepka
93350abdf5 Fixed %*s formatting on platforms that don't use system vswprintf
#platformnotify Josh.Adams

[CL 2592402 by Michael Trepka in Main branch]
2015-06-18 14:48:43 -04:00
Michael Trepka
7278d38ac9 Merging increased stack sizes on Mac
[CL 2592185 by Michael Trepka in Main branch]
2015-06-18 13:11:38 -04:00
Simon Tovey
986f04a54d Fixing breakages to existing data introduced by the recent dev UI and data object changes.
#codereview Olaf.Piesche

[CL 2591857 by Simon Tovey in Main branch]
2015-06-18 08:46:03 -04:00