Commit Graph

30 Commits

Author SHA1 Message Date
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
Dmitry Rekman
d205d3e037 Fix usage of a deprecated ConstructObject().
[CL 2432060 by Dmitry Rekman in Main branch]
2015-02-04 13:52:02 -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
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Dmitry Rekman
110a8d3836 Fix build (incorrect #include).
#codereview Jamie.Dale

[CL 2342647 by Dmitry Rekman in Main branch]
2014-10-28 15:18:28 -04:00
Dmitry Rekman
2af422b91c Fix UFE compilation for Linux.
#codereview Max.Preussner

[CL 2342515 by Dmitry Rekman in Main branch]
2014-10-28 13:58:15 -04: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
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
Dmitry Rekman
8c2d714f45 Fix compile error.
[CL 2291761 by Dmitry Rekman in Main branch]
2014-09-09 20:16:21 -04:00
Daniel Lamb
4859f03510 Fixed compilation issue with LinuxTargetPlatform accessing protected Broadcast function.
#codereview Chris.Gagnon

[CL 2291239 by Daniel Lamb in Main branch]
2014-09-09 15:00:07 -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
Dmitry Rekman
b8452afc2b Support local deployment on Linux, stub for other platforms.
- Part of PR #306 (with changes).

#codereview Josh.Adams

[CL 2243748 by Dmitry Rekman in Main branch]
2014-08-04 21:21:35 -04:00
Dmitry Rekman
1072d6a415 Support multiple RHIs on Linux.
- Part of PR #306 by amigo and #ue4linux folks.

#codereview Josh.Adams

[CL 2242720 by Dmitry Rekman in Main branch]
2014-08-04 18:19:51 -04:00
Dmitry Rekman
9f48897dc9 Minor fix to a stale code.
[CL 2177203 by Dmitry Rekman in Main branch]
2014-07-08 21:59:06 -04:00
Dmitry Rekman
dbdea559eb [Github] PR 242 (safe changes).
- Code cleanup and minor rearrangement (e.g. variable name changes).
- Additions.
- Case issues fixed.
- Minor fixes (init ordering).

[CL 2172690 by Dmitry Rekman in Main branch]
2014-07-08 00:06:17 -04:00
Jaroslaw Palczynski
ebce413232 UE4 Refactoring. Changed OVERRIDE and FINAL macros to keywords override and final.
[CL 2104397 by Jaroslaw Palczynski in Main branch]
2014-06-13 06:14:46 -04:00
Jamie Dale
0cfe5f0651 Added PlatformInfo to DesktopPlatform and improved the editors Supported Platform UI
TTP# 337136 - SETTINGS: Target Platform settings polish
TTP# 337652 - EDITOR: Limit Project supported Android icons down to 1
TTP# 337650 - EDITOR: There is only 1 icon for Apple for Project Supported Platforms

DesktopPlatform now contains a static array of FPlatformInfo. This can be used to query UE4 about its available platforms, even when they're not available as a target platform.

FPlatformInfo contains the information required by the editor (such as a localized display name and icon), as well as whether a platform is a variation ("flavor") of another, and if so, whether the flavor affects the build output (eg, Win32 or Win64), or the cook output (eg, Android_XYZ). This lets the editor build up nested menus for the "Package Project" and "Cook Project" options, rather than just showing everything as a flat list.

ReviewedBy Thomas.Sarkanen, Max.Preussner

[CL 2095796 by Jamie Dale in Main branch]
2014-06-05 12:13:44 -04:00
James Golding
441cecee18 Fix Linux CIS
[CL 2086999 by James Golding in Main branch]
2014-05-29 17:26:39 -04:00
Terence Burns
ed12de7f13 Added support to configure which target RHI's we desire on platforms.
User can now select target RHI's for windows under: Edit->Project Preferences->Windows->Targeted RHIs

Split up GetShaderFormats into GetAllPossibleShaderFormats and GetAllTargetedShaderFormats.
D3D11 and D3D10 remain the only two on, by default, for windows.

#ReviewedBy Nick.Penwarden

[CL 2068025 by Terence Burns in Main branch]
2014-05-09 08:51:44 -04:00
Dmitry Rekman
e3105eda19 Merging the bulk of Darkside changes.
- New target platforms (LinuxNoEditor for client+server, LinuxClient for client, Linux for editor, LinuxServer for dedicated server - mirroring other platforms).
- Preliminary support for gcc in the toolchain (and some safe fixes in code).
- No more lowercasing when accessing files on Linux, tread carefully.
- Changes needed for native compilation and other minor improvements.

#codereview Josh.Adams, Michael.Liebenow, Steve.Robbs

[CL 2067133 by Dmitry Rekman in Main branch]
2014-05-08 13:01:46 -04:00
Dmitry Rekman
c9ffcb48c9 Better handling of Linux devices in TargetManager.
- Do not add a local device unless actually running on Linux (TTP #331642)
- Use identifier as a name instead of local machine name (TTP #331801)
- Misc spelling.

[CL 2066118 by Dmitry Rekman in Main branch]
2014-05-07 17:31:31 -04:00
Dmitry Rekman
123eaf1a69 Removed unused GetBuildArtifacts() from ITargetPlatform (this is now being done in UAT).
#codereview Peter.Sauerbrei

[CL 2059006 by Dmitry Rekman in Main branch]
2014-04-29 21:53:09 -04:00