Commit Graph

47 Commits

Author SHA1 Message Date
Rolando Caloca
27d7a0e070 UE4 - Fix ES3.1 emulation shader issues
#codereview Allan.Bentham

[CL 2514517 by Rolando Caloca in Main branch]
2015-04-16 13:02:21 -04:00
Rolando Caloca
9a899d66d4 UE4 - Mobile Preview for feature level ES3.1/Metal (experimental)
[CL 2510893 by Rolando Caloca in Main branch]
2015-04-13 18:00:32 -04:00
Mike Fricker
8b30118650 Fixed assertion at startup when same shader format is specified twice in a project's engine config file
Somehow one of my projects ended up with many of the same key.  The code that was handling loading of these had an assumption that each key would only appear once in the list (fixed.)

Example of duplicate keys that would cause this to crash:

[/Script/WindowsTargetPlatform.WindowsTargetSettings]
TargetedRHIs=PCD3D_SM5
TargetedRHIs=PCD3D_SM4
TargetedRHIs=PCD3D_SM5
TargetedRHIs=PCD3D_SM4
TargetedRHIs=PCD3D_SM5
TargetedRHIs=PCD3D_SM4
TargetedRHIs=PCD3D_SM5
TargetedRHIs=PCD3D_SM4
TargetedRHIs=PCD3D_SM5
TargetedRHIs=PCD3D_SM4

[CL 2510529 by Mike Fricker in Main branch]
2015-04-13 13:55:16 -04:00
Terence Burns
15be4b6371 UE-13383 - Minimum OS project setting doesn't persist between editor sessions
UWindowsTargetSettings object is loaded before the actual UWindowsTargetSettings class, so no config value is loaded correctly thorugh the uobject system

I now load the value through the GConfig system

[CL 2506616 by Terence Burns in Main branch]
2015-04-09 05:54:27 -04:00
Terence Burns
9cc5b9d6c1 UE-13389 - Project Settings typo: "OSVersion" instead of "OS Version"
I've updated the DisplayName for this property in it's uproperty meta data. Category, also, now has a relevant space.

[CL 2506615 by Terence Burns in Main branch]
2015-04-09 05:54:18 -04:00
Terence Burns
08ff5fa6d1 https://jira.ol.epicgames.net/browse/UEPLAT-514
Adding Texture LOD settings to Device Profiles
- this will improve how we currently edit and override lod settings on a per device type bases.
- LOD Settings can now be set in the Device Profile Editor
- Any device profiles with no values set for LOD Settings, will use the default objects.
- These can be found in BaseDeviceProfiles.ini in the /Script/Engine.TextureLODSettings section
- Appropriate defaults set for those groups not listed.

-Other fixes
- - Incorrect with_editor check in HTML5 target platform, changed to with_engine

[CL 2481510 by Terence Burns in Main branch]
2015-03-17 09:50:32 -04:00
Jaroslaw Palczynski
f23f29257b Back out changelist 2481333
Rob asked me to back out GENERATED_*_BODY -> GENERATED_BODY change for now until the "_Validate and _Implementation auto-generation" discussion is over.

#codereview Robert.Manuszewski

[CL 2481343 by Jaroslaw Palczynski in Main branch]
2015-03-17 05:38:32 -04:00
Jaroslaw Palczynski
fa31560e2d Enabled UHT to digest GENERATED_BODY instead of GENERATED_UCLASS_BODY, GENERATED_USTRUCT_BODY, GENERATED_UINTERFACE_BODY or GENERATED_IINTERFACE_BODY, changed every occurence to the new syntax and fixed every warning that have fallen out of this change.
#codereview Robert.Manuszewski

[CL 2481333 by Jaroslaw Palczynski in Main branch]
2015-03-17 05:19:11 -04:00
Dmitry Rekman
e7d1e64ee3 Changed calls to FProcHandle.Close() to FPlatformProcess::CloseProc().
We already had FPlatformProcess::CreateProc/CloseProc pair (which is part of larger set with WaitForProc(), TerminateProc(), GetProcReturnCode(), etc). FProcHandle::Close() made the API more confusing (and actually introduced bugs, because it did not call CloseProc() until recently).

#codereview Josh.Adams, Robert.Manuszewski, Jaroslaw.Surowiec

[CL 2476322 by Dmitry Rekman in Main branch]
2015-03-12 00:06:15 -04:00
Saul Abreu
79a26091bf Fixed behavior on FString::ParseIntoArray (muliple delimiters overload) functionality to support optionally culling empty strings. Greatly simplified implementation logic. Output parameter now properly named and taken by reference.
#codereview Steve.Robb, Robert.Manuszewski

[CL 2466824 by Saul Abreu in Main branch]
2015-03-02 15:51:37 -05:00
Josh Adams
56440f0048 - First checkin for the new DesktopTargetPlatform that will be able to cook packages for Windows, Mac, and Linux. So far, cooking on Windows and Mac and run on each other (with -opengl on Windows, since Mac can't currently compile D3D shaders)
[CL 2448658 by Josh Adams in Main branch]
2015-02-17 09:57:44 -05:00
Niklas Smedberg
ac2d334930 Quick workaround for B6H and BC7 on OpenGL. This looks at the project settings (.ini) and allows D3D11 texture formats if D3D11 SM5 is the only targeted shader format, otherwise it will fall back to DXT/etc. Note that it does not check for command-line overrides, like running with -opengl.
[CL 2430775 by Niklas Smedberg in Main branch]
2015-02-03 18:35:25 -05:00
Mikolaj Sieluzycki
fa01cacb6c Trim down the amount of UObject constructors.
#codereview Robert.Manuszewski

[CL 2429641 by Mikolaj Sieluzycki in Main branch]
2015-02-03 05:40:57 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Terence Burns
e0048eacac Improved Windows XP support
- Windows XP is now configurable from the editor under: Project Settings | Windows | Minimum OS Version
- We will now have a UE4Game_xp.exe which will be used for XP supported content only games
- - - Added support to UBT to choose a file name when running a build, approved by Rob M.
- - - Added functionality to UAT to look for an _xp.exe when packaging.
- Minimum Windows OS, is Vista by default.
- Bootstrap Packaged Game Program is now also built with windows xp support.

Fix for JIRA issues
https://jira.ol.epicgames.net/browse/UE-2894
https://jira.ol.epicgames.net/browse/UE-3580
https://jira.ol.epicgames.net/browse/UE-4928

[CL 2379024 by Terence Burns in Main branch]
2014-12-06 10:29:12 -05:00
Ben Marsh
64dca4fac0 Fix for UFE compiling under Rocket.
[CL 2347010 by Ben Marsh in Main branch]
2014-11-03 10:41:38 -05:00
Max Preussner
9884344213 Settings: Various improvements to the API
- made public headers compilable individually
- easier access to settings section delegates
- removed module singleton accessor
- moved non-trivial definitions into cpp files
- code & documentation cleanup

#UpgradeNotes:

- instead of ISettingsModule::Get() use FModuleManager::GetModulePtr<ISettingsModule>("Settings")
- instead of using FSettingsSectionDelegates assign delegates directly through the new ISettingsSection methods

[CL 2340711 by Max Preussner in Main branch]
2014-10-27 07:53:18 -04:00
Jaroslaw Palczynski
7c41927cf4 Rename FPostConstructInitializeProperties to something simpler
Changed it with FObjectInitializer.

UECORE-7

[CL 2328384 by Jaroslaw Palczynski in Main branch]
2014-10-14 10:29:11 -04:00
Max Preussner
d206670ffe TargetPlatform: Replaced namespaced enums with enum classes
[CL 2326174 by Max Preussner in Main branch]
2014-10-10 20:14:21 -04:00
Daniel Lamb
715846941d Stopped tick cook on the side from waiting on save package for async cooked items to cache.
Now editor will tick at a decent frame rate while building shaders / caching textures.
#codereview Josh.Adams, Daniel.Wright, Matthew.Griffin

[CL 2318857 by Daniel Lamb in Main branch]
2014-10-03 14:56:20 -04:00
Daniel Wright
f1b17d830f Renamed new cvars, now 'r.Shaders.Optimize' and 'r.Shaders.KeepDebugInfo'
#PR 457

[CL 2316592 by Daniel Wright in Main branch]
2014-10-01 17:20:38 -04:00
Michael Noland
928559eaa0 Editor: Coding-standards fixes (TypeName [*|&] VariableName -> TypeName[*|&] VariableName)
[CL 2316341 by Michael Noland in Main branch]
2014-10-01 14:45:23 -04:00
Daniel Wright
154fb81c3c Added r.StripShaderDebugData and r.OptimizeShaders cvars, useful to disable when running
[CL 2314644 by Daniel Wright in Main branch]
2014-09-30 14:03:54 -04:00
Chris Gagnon
9ccd8c9ec4 Target Platform API added to provide more information about variants and variant support.
Device Services Refactoring to create the concept of a physical device.
Game launcher and device viewer UI changes to show these new concepts.
#codereview Max.Preussner, Matt.Kuhlenschmidt

[CL 2290918 by Chris Gagnon in Main branch]
2014-09-09 12:20:43 -04:00
Max Preussner
07431720e3 TargetPlatform: Removed file header comments; changed NULL to nullptr
[CL 2265334 by Max Preussner in Main branch]
2014-08-20 21:10:29 -04:00