Commit Graph

122 Commits

Author SHA1 Message Date
nick darnell
199eff3f74 Slate - When using demo.ClientRecordAsyncEndOfFrame 1 to run replay recording concurrent with slate tick, there tend to still be wrting performed on replicated objects due to player input. Because of this, Slate Tick is now seperable dividing up the initial call to just Platform and Input ticking, which performs message pumping as well as some additional added slate input tasks - tasks which inhertently tend to have networking side effects if the user is performing some action like clicking a button, which might trigger something networking related. Then we run replay recording if that option is enabled alongside slate tick where we only advance time, and then tick and paint widgets, which is assumed to not perform any replication altering behavior, this fixes several networking related crashes.
[FYI] Matt.Kuhlenschmidt
#rb Matt.Kuhlenschmidt


#ROBOMERGE-OWNER: nick.darnell
#ROBOMERGE-AUTHOR: nick.darnell
#ROBOMERGE-SOURCE: CL 12781294 via CL 12781354 via CL 12781355 via CL 12781356
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v681-12776863)

[CL 12782473 by nick darnell in Main branch]
2020-04-14 13:37:26 -04:00
Rolando Caloca
5b82f15def Copying //UE4/Dev-RenderPlat-Staging@11388153 to //UE4/Main
#rb none
#rnx

[CL 11388545 by Rolando Caloca in Main branch]
2020-02-12 13:27:19 -05:00
Juan Canada
2ecf4f9708 Merging //UE4/Dev-Main@10877709 to Dev-RenderPlat-Staging(//UE4/Dev-Rendering)
#rnx
#rb none

[CL 10895568 by Juan Canada in Dev-RenderPlat-Staging branch]
2020-01-07 13:45:01 -05:00
ryan durand
0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00
brandon schaefer
2923ad0f68 Deprecate GIsRequestingExit
Get GIsRequestingExit now by IsEngineRequestingExit()

Set GIsRequestingExit now by RequestEngineExit(const TCHAR* Reason) or RequestEngineExit(const FString& Reason)
NOTE If Reason is 4 or less chars it will generate an ensure to force a reason to exit

The reason behind this change is right now setting GIsRequestingExit to true can cause many things to break mainly early on and with out any sort of log warning we have entered this state. We should wrap this behind a function to allow for proper handling

#rb Chris.Babcock, Michael.Trepka, Michael.Noland
#jira UE-79933
[FYI] Michael.Noland

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: brandon.schaefer
#ROBOMERGE-SOURCE: CL 8649683 via CL 8653683 via CL 8658680
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR) (v422-8689730)

[CL 8772751 by brandon schaefer in Dev-VR branch]
2019-09-17 17:07:22 -04:00
Keli Hlodversson
6f11676df7 Fix deprecation warnings in Movie Player
#rb Jason.Bestimt

[CL 8696235 by Keli Hlodversson in Dev-VR branch]
2019-09-16 14:01:53 -04:00
brandon schaefer
a715ea4f14 Deprecate GIsRequestingExit
Get GIsRequestingExit now by IsEngineRequestingExit()

Set GIsRequestingExit now by RequestEngineExit(const TCHAR* Reason) or RequestEngineExit(const FString& Reason)
NOTE If Reason is 4 or less chars it will generate an ensure to force a reason to exit

The reason behind this change is right now setting GIsRequestingExit to true can cause many things to break mainly early on and with out any sort of log warning we have entered this state. We should wrap this behind a function to allow for proper handling

#rb Chris.Babcock, Michael.Trepka, Michael.Noland
#jira UE-79933
[FYI] Michael.Noland


#ROBOMERGE-SOURCE: CL 8649683 via CL 8653683
#ROBOMERGE-BOT: (v417-8656536)

[CL 8658680 by brandon schaefer in Main branch]
2019-09-12 14:21:26 -04:00
dan hertzka
b196058dd5 Moving everything based on FUserAndPointer in FSlateApplication over into FSlateUser directly
- Secondary users now have a faux cursor to control
- Slate now supports per-user tooltips and drag-drop operations
- FSlateUsers are now accessible from outside of FSlateApplication
- Internally enforcing validity of the UserIndex associated with input events within GetOrCreateUser/RegisterNewUser
- ForEachUser provides an FSlateUser& now
- Added the SLATE_SCOPE macro to allow public access to class elements from within the slate module only (external modules see them as protected)

[REVIEW] [at]Nick.Darnell, [at]Nick.Atamas, [at]Matt.Kuhlenschmidt, [at]Chris.Gagnon, [at]Cody.Albert
#rb Nick.Darnell


#ROBOMERGE-SOURCE: CL 8494217 via CL 8501221
#ROBOMERGE-BOT: (v406-8472469)

[CL 8502630 by dan hertzka in Main branch]
2019-09-05 04:38:52 -04:00
paul chipchase
4e0b10ab06 Fixed a crash when trying to play a movie via FMoviePlayerWidgetRenderer such as the intro video when loading the ShooterGame sample game.
An ensure was added to SWidget in [at]7232617 to make sure that it's PaintParent (passed in via FPaintArgs) is not the same as the widget being painted.
This means we should now pass in nullptr for the VirtualRenderWindow widget rather than a reference to itself, mirroring the change made to PreLoadSlateThreading.cpp in the same CL.

#rb Matt.Kuhlenscmidt

#ROBOMERGE-SOURCE: CL 7622938 in //UE4/Dev-Core/...
#ROBOMERGE-BOT: CORE (Dev-Core -> Main) (v372-7473910)

[CL 7622939 by paul chipchase in Main branch]
2019-07-25 04:54:23 -04:00
josh adams
36a99850b7 - Fix a crash that can happen if a background/foreground event comes in too early, with MoviePlayer trying to look at commandling
#rb trivial


#ROBOMERGE-SOURCE: CL 7327937 via CL 7327942 via CL 7327945 via CL 7327946 via CL 7396485
#ROBOMERGE-BOT: (v371-7306989)

[CL 7398265 by josh adams in Main branch]
2019-07-17 10:21:49 -04:00
matt kuhlenschmidt
c64ca632c7 Slate Global Invalidation System
This change makes it possible to remove the layout and painting overhead that Slate performs every frame.  The system is off by default as we continue to iterate on it.

However, this includes massive changes to batching, rendering, hit testing, and invalidation panels which are permanent changes and cannot be disabled.

#rb chris.gagnon, nick.darnell
[CODEREVIEW] nick.darnell


#ROBOMERGE-OWNER: matt.kuhlenschmidt
#ROBOMERGE-AUTHOR: matt.kuhlenschmidt
#ROBOMERGE-SOURCE: CL 7232617 via CL 7235502
#ROBOMERGE-BOT: (v367-6836689)

[CL 7235503 by matt kuhlenschmidt in Main branch]
2019-07-08 23:50:34 -04:00
cody albert
ffcb3cdf61 Fixed DefaultGameMoviePlayer to allow widgets to be displayed even if no movies have been added
#JIRA UE-73037
#lockdown cristina.riveron
#rb michael.trepka

#ROBOMERGE-SOURCE: CL 5993616 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5993618 by cody albert in Main branch]
2019-04-18 17:10:30 -04:00
richard wallis
9b644cd0a4 FMac Startup movie stuttering:
1) Change FSlateLoadingSynchronizationMechanism busy wait to yeild on destory and reduce sleep on thread exit wait.
2) Optimization: Remove busy wait blocking call on load next movie - make it async again.
3) Optimization: Don't do double texture data copy - which it seems to always do if it has another frame ready - copy straight to target texture (reduces CPU time by about 30% total in its ::tick() function.

#jira UE-70178
#rb Michael.Trepka, matt.kuhlenschmidt

#ROBOMERGE-SOURCE: CL 5419610 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5419611 by richard wallis in Main branch]
2019-03-15 13:55:35 -04:00
michael trepka
628187e5ba Allow multiple movie streamer plugins to register themselves with DefaultGameMoviePlayer and pick the right one for the starup movie playback based on the format of the file.
#jira UE-70482
#rb Rex.Hill

#ROBOMERGE-SOURCE: CL 5176859 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5207612 by michael trepka in Main branch]
2019-02-26 16:39:00 -05:00
rolando caloca
cc39212e9c UE4.22 - Replace most of ENQUEUE_UNIQUE_RENDER_COMMAND_ONEPARAMETER
#rb none
#jira
#rnx

#ROBOMERGE-SOURCE: CL 5063456 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5063458 by rolando caloca in Main branch]
2019-02-19 11:47:36 -05:00
rolando caloca
2b8c415f74 UE4.22 - Remove almost all of ENQUEUE_UNIQUE_RENDER_COMMAND_TWOPARAMETER
#rb none
#jira
#rnx

#ROBOMERGE-OWNER: rolando.caloca
#ROBOMERGE-AUTHOR: rolando.caloca
#ROBOMERGE-SOURCE: CL 5054105 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5054376 by rolando caloca in Main branch]
2019-02-18 18:35:01 -05:00
austin crismore
9c132f0704 Fix for race condition startup movies due to invalidating a texture while getting its size.
#jira UE-70095
#rb matt.kuhlenschmidt

#ROBOMERGE-SOURCE: CL 4999656 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 4999658 by austin crismore in Main branch]
2019-02-14 17:06:59 -05:00
Jack Porter
068ca68f0b Merging //UE4/Main/Engine/... to //UE4/Dev-Mobile
#rb None

[CL 4749281 by Jack Porter in Dev-Mobile branch]
2019-01-17 21:54:28 -05:00
Jack Porter
0245e895e4 Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
#rb None

[CL 4675678 by Jack Porter in Dev-Mobile branch]
2019-01-01 23:32:24 -05:00
Sorin Gradinaru
17301c6962 UE-67123 //UE4/Dev-Mobile - Compile / Incremental UE4Editor - FDefaultGameMoviePlayer Suspend and Resume errors
#jira UE-6712
#rb none
#4.22

[CL 4624927 by Sorin Gradinaru in Dev-Mobile branch]
2018-12-03 15:22:38 -05:00
Sorin Gradinaru
b4856e24a7 UE-65406 Match3 - locking the device before the startup movie can play causes the app to crash on resume
UE-65325 Black Screen after resuming a Backgrounded app

#jira UE-65406
#jira UE-65325
#iOS
#4.21.1
#rb Jack.Porter

Implementing  Supend/Resume for FAVPlayerMovieStreamer (startup movie video and audio streaming)
Note: Won't use HandleApplicationHasEnteredForeground and HandleApplicationWillEnterBackground delegates because we need to catch the interrupts in LaunchIOS before initializing the engine.

[CL 4609019 by Sorin Gradinaru in Dev-Mobile branch]
2018-11-29 01:21:43 -05:00
Jack Porter
3fbd86df3b Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
#rb None
#jira None

[CL 4575485 by Jack Porter in Dev-Mobile branch]
2018-11-18 21:43:40 -05:00
Jack Porter
a400cb96bf Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
#rb None
#jira None

[CL 4564204 by Jack Porter in Dev-Mobile branch]
2018-11-13 23:40:18 -05:00
Jack Porter
5434a02fed Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
#rb None
#jira 0

[CL 4213959 by Jack Porter in Dev-Mobile branch]
2018-07-16 11:43:36 -04:00
Jack Porter
2792c7c559 Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
#jira 0
#rb None

[CL 4161603 by Jack Porter in Dev-Mobile branch]
2018-06-26 08:42:47 -04:00