Files
UnrealEngineUWP/Engine/Source/Developer/Android/AndroidDeviceDetection/Public/Interfaces/IAndroidDeviceDetection.h

89 lines
2.5 KiB
C
Raw Normal View History

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
/*=============================================================================
IAndroidDeviceDetection.h: Declares the IAndroidDeviceDetection interface.
=============================================================================*/
#pragma once
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209340 on 2016/11/23 by Ben.Marsh Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h. Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms. * Every header now includes everything it needs to compile. * There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first. * There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h. * Every .cpp file includes its matching .h file first. * This helps validate that each header is including everything it needs to compile. * No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more. * You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there. * There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible. * No engine code explicitly includes a precompiled header any more. * We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies. * PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files. Tool used to generate this transform is at Engine\Source\Programs\IncludeTool. [CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
#include "Containers/UnrealString.h"
#include "HAL/CriticalSection.h"
template<typename KeyType,typename ValueType,typename SetAllocator ,typename KeyFuncs > class TMap;
struct FAndroidDeviceInfo
{
// Device serial number, used to route ADB commands to a specific device
FString SerialNumber;
// Device model name
FString Model;
// Device name
FString DeviceName;
// User-visible version of android installed (ro.build.version.release)
FString HumanAndroidVersion;
// Android SDK version supported by the device (ro.build.version.sdk - note: deprecated in 4 according to docs, but version 4 devices return an empty string when querying the 'replacement' SDK_INT)
int32 SDKVersion;
// List of supported OpenGL extensions (retrieved via SurfaceFlinger)
FString GLESExtensions;
// Supported GLES version (ro.opengles.version)
int32 GLESVersion;
// Is the device authorized for USB communication? If not, then none of the other properties besides the serial number will be valid
Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 3010693) #lockdown nick.penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 2958982 on 2016/04/28 by Dmitriy.Dyomin Set owner name for RHI texture, for easier debugging Change 2976446 on 2016/05/12 by Niklas.Smedberg Fixed Device Profile CVars so they work even if a DLL with the cvar definition is loaded afterwards. (And they now also go through the common code path for CVars.) Change 2983781 on 2016/05/19 by Steve.Cano Check in PlayUsingLauncher if the device we're launching to is authorized by the computer. Could not get to this information about Devices so added an IsAuthorized interface to ITargetDevice that is overriden in the AndroidTargetDevice. Also make sure to referesh the authorized state as needed for Android device detection. Finally, changed the name of the authorized variable to be more readable (true == authorized instead of true == unauthorized) #jira UE-21121 #ue4 #android Change 2994202 on 2016/05/31 by Allan.Bentham Prevent clear transulcency volume null deref crash. Change test for allocated deferred render targets by testing against an exclusively deferred target (instead of potentially shared shadow depth surface) probable fix for UE-22073 Change 2995613 on 2016/05/31 by Dmitriy.Dyomin Added: Option to force full precision in a material UEMOB-109 Change 2997960 on 2016/06/02 by Gareth.Martin Refactored Landscape serialization to allow cooking both the data used for normal rendering and mobile rendering into the same package #jira UE-31474 Change 2997988 on 2016/06/02 by Gareth.Martin Files missing from CL 2997960 #jira UE-31474 Change 2999222 on 2016/06/03 by Jack.Porter Fix up ETargetPlatformFeatures::ForwardRendering and ETargetPlatformFeatures::DeferredRendering for iOS to support the Metal MRT deferred renderer Change 2999229 on 2016/06/03 by Jack.Porter Rename ETargetPlatformFeatures::ForwardRendering to TargetPlatformFeatures::MobileRendering Change 3003540 on 2016/06/07 by Jack.Porter Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile) Change 3003779 on 2016/06/07 by Dmitriy.Dyomin Fixed: Criss-crossed sublevels cause NavMesh errors #jira UE-27157 Change 3004535 on 2016/06/07 by Steve.Cano Adding the OnControllerConnectionChange delegate message when a controller is connected on Android. Also added additional future broadcast statement when disconnect support is added for Android. #jira UE-25697 #ue4 #android Change 3005205 on 2016/06/07 by Niklas.Smedberg Bumped ASTC format version to invalidate bad server DDC Change 3005347 on 2016/06/08 by Dmitriy.Dyomin Added a way to cache OpenGL program binaries on the disk. Disabled by default. Can be enabled only on Android platform (r.UseProgramBinaryCache=1) #jira UEMOB-108 Change 3005524 on 2016/06/08 by Dmitriy.Dyomin Fixed iOS build broken by CL# 3005347 Change 3005528 on 2016/06/08 by Jack.Porter Changed hardcoded checkboxes from quality level overrides dialog to use the general property details code. Now magically supports any uproperty types such as enums or integers added to FMaterialQualityOverrides. Change 3005607 on 2016/06/08 by Dmitriy.Dyomin Fixed: Occasional crash on using Launch on Android device when device is being disconnected Change 3006705 on 2016/06/08 by Chris.Babcock Fix virtual joystick to return -1 to 1 ranges for thumbsticks #jira UE-31799 #ue4 #android #ios Change 3006960 on 2016/06/08 by Jack.Porter Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile) Change 3007050 on 2016/06/09 by Jack.Porter FAutomationWorkerModule::ReportTestComplete() needs to send analytics first as the message endpoint will free the memory resulting in a crash Change 3007129 on 2016/06/09 by Dmitriy.Dyomin Fixed: Black edges seen on flames in Sun Temple #jira UE-31712 Change 3010686 on 2016/06/13 by Dmitriy.Dyomin Fixed: Android Monolithic warnings for glGetProgramBinaryOES and glProgramBinaryOES #jira UE-31933 [CL 3011074 by Jack Porter in Main branch]
2016-06-13 12:20:22 -04:00
bool bAuthorizedDevice;
Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 3056055) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3011102 on 2016/06/13 by Steve.Cano After taking a screenshot using glReadPixels, transfer the data to the target buffer from bottom row up to fix the "upside-down" render that OpenGL does. Confirmed with QA (owen.stupka_volt) that this does not appear to be happening on iOS (non-metal devices, inclusion of iOS in write-up was a mistake), verified on an ipod touch 5. Also confirmed that this does not happen on html5, and that Mobile HDR flag does not make a difference in function. #jira UE-26421 #ue4 #android Change 3015801 on 2016/06/16 by Dmitriy.Dyomin Probbably fix for UE-30878, was not able to repro an actual crash(FFoliageInstanceBaseCache::AddInstanceBaseId). Added even more logging in case fix does not work. #jira UE-30878 Change 3015903 on 2016/06/16 by Dmitriy.Dyomin Fixed: Levels window has Refresh/UI issues when World Composition is active #jira UE-26160 Change 3018352 on 2016/06/17 by Chris.Babcock Handle Android media prepare failure (URL without internet for example) #jira UE-32029 #ue4 #android Change 3026387 on 2016/06/24 by Jack.Porter Remove FFuncTestManager warning about PIE when running on a standalone game binary Change 3026398 on 2016/06/24 by Jack.Porter Prevent FSocketBSD::Recv returning false on SE_EWOULDBLOCK Change 3027553 on 2016/06/25 by Niklas.Smedberg OpenGL: Made some block size calculation work for arbitrary block sizes (e.g. not pow-of-two). Change 3027554 on 2016/06/25 by Niklas.Smedberg Metal: copyFromTexture now gets block-aligned size parameter (e.g. used for texture streaming) Change 3028061 on 2016/06/26 by Jack.Porter Fixed a problem where newly discovered instances were not added to an existing session in the Session Browser. Fixed a problem where selecting an instance in a session with multiple instances didn't deselect the previously selected instance correctly. Change 3029220 on 2016/06/27 by Steve.Cano Change Android Tilt values to use GetRotationMatrix/GetOrientation logic, same as java-side android would use, and adjust slightly to match as closely as possible to iOS values for tilt. There is drift and some differences in the "Y" value but the same sort of inconsistencies are also seen on iOS. #jira UE-6135 #ue4 #android Change 3030420 on 2016/06/28 by Jack.Porter Fix crash with RenderOutputValidation when running with cooked content Change 3030426 on 2016/06/28 by Jack.Porter Fix to CL 3026398 - make FSocketBSD(IPv6)::Recv(From) return false when recv returns 0. A return value of 0 indicates the connection was shutdown in an orderly manner. Change 3030973 on 2016/06/28 by Steve.Cano Added a landscape downloader background along with the options to change it from within Android settings #ue4 #android #jira UE-32318 Change 3031757 on 2016/06/28 by Chris.Babcock Remove unused methods from AndroidJNI header #ue4 #android Change 3032387 on 2016/06/29 by Allan.Bentham Rename android es31+aep -> glesdeferred. Change 3032711 on 2016/06/29 by Allan.Bentham Rename GLSL_310_ES_EXT shader define: ES31_AEP_PROFILE -> ESDEFERRED_PROFILE bumped UE_SHADER_GLSL_310_ES_EXT_VER version number. Change 3033698 on 2016/06/29 by Jack.Porter Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile) Change 3034210 on 2016/06/30 by Steve.Cano Added a new AndroidRuntimeSettings variable that allows creation of installers for both Windows and Mac/Linux if set to true. #jira UE-32302 #ue4 #android Change 3034530 on 2016/06/30 by Chris.Babcock Rename FManifestReader to FAndroidFileManifestReader in AndroidFile #jira UE-32679 #ue4 #android Change 3034612 on 2016/06/30 by Steve.Cano Change Alpha from being set to a range of 0-255 to being in a range of 0-1 (which is the correct range of values) #jira UE-25325 #ue4 #android Change 3034679 on 2016/06/30 by Chris.Babcock Fix tooltip (.command for mac, not .sh) #jira UE-32302 #ue4 #android Change 3038881 on 2016/07/05 by Jack.Porter Package and launch on multiple Android devices simultaneously using the -Device=xxxxxxx+yyyyyyyy+zzzzzzzz format generated by a Project Launcher profile when you select multiple devices #jira UEMOB-115 Change 3039240 on 2016/07/06 by Jack.Porter TcpMessageTransport - connection-based message bus transport. #jira UEMOB-112 #jira UEMOB-113 Change 3039252 on 2016/07/06 by Jack.Porter Enable messaging and session services and functional testing on Android when launched with -messaging Android device detection module support for adding port forwarding and connection announcement for TcpMessageTransport #jira UEMOB-112 #jira UEMOB-113 Change 3039264 on 2016/07/06 by Jack.Porter Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile) Change 3040041 on 2016/07/06 by Chris.Babcock Pass proper value to script generator functions #jira UE-32861 #ue4 #android Change 3040890 on 2016/07/07 by Allan.Bentham Fix shadow crash #jira UE-32884 Change 3041458 on 2016/07/07 by Peter.Sauerbrei fix for IOS launch on failures Change 3041542 on 2016/07/07 by Peter.Sauerbrei better fix for the multi-device deployment issue Change 3041774 on 2016/07/07 by Steve.Cano Fixing crash that occurs when a games app id for Google Play is set before configuring the apk packaging. Also validating the value that is inserted and using it to override any values that have been hand-inserted into the GooglePlayAppID.xml #jira UE-16992 #android #ue4 Change 3042222 on 2016/07/08 by Dmitriy.Dyomin Mobile packaging scenarious Added a wizard for creating launcher profiles (Android & IOS) for scenario: Minimal App + Downloadable content Added Archive step to launcher profiles to be able to store build product into specified directory Changes to a cooker to be able to pack DLC based with a different flavor to a release App Changes to DLC packaging to be able to build streaming data without chunking pak files #jira UEMOB-119 Change 3042244 on 2016/07/08 by Dmitriy.Dyomin Fixed crash in FTcpMessageTransportConnection::Stop Change 3042270 on 2016/07/08 by Dmitriy.Dyomin GitHub #2320 : [ULevelStreamingKismet] Load Level Instance, Enables UE4 Users to create multiple transformed instances of a .umap without having to include in persistent level's list ? Rama contributed by: EverNewJoy #jira UE-29867 Change 3042449 on 2016/07/08 by Dmitriy.Dyomin Fixing Mac Editor build erros from CL# 3042222 Change 3042480 on 2016/07/08 by Allan.Bentham Add ES3.1 profile & compiler_glsl_es3_1 to shaders. Change 3042481 on 2016/07/08 by Allan.Bentham hlslcc - ES3.1 changes. set ES3.1 version number to 310 Do not use ES2 keywords for ES3.1. Generate Layout Locations for ES3.1 bump version. Change 3042483 on 2016/07/08 by Allan.Bentham Add mobile ES3.1 support. Recreates EGL and ES3.1 context during PlatformInitOpenGL if ES3.1 is required. Change 3042485 on 2016/07/08 by Allan.Bentham Undo android XGE change. Change 3042506 on 2016/07/08 by Dmitriy.Dyomin One more compile fix from CL# 3042222 Change 3044173 on 2016/07/10 by Dmitriy.Dyomin UAT: Added support for building target platforms with multiple cook flavors ex: -targetplatform=Android -cookflavor=ETC1+ETC2 Change 3044213 on 2016/07/11 by Dmitriy.Dyomin Fixed: Can't stream in a level whose name is a substring of another streaming level #jira UE-32999 Change 3044221 on 2016/07/11 by Jack.Porter Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile) Change 3044815 on 2016/07/11 by Allan.Bentham Corrected NAME_GLSL_ES3_1_ANDROID format string. Change 3046911 on 2016/07/12 by Chris.Babcock Add handling of OnTextChanged for virtual keyboard input on Android #jira UE-32348 #ue4 #android Change 3046958 on 2016/07/12 by Chris.Babcock Rename some functions with Error in the name to prevent false coloring in the logs #jira UE-30541 #ue4 #android Change 3047169 on 2016/07/12 by Chris.Babcock Return player ID and handle auth token for Google Play Games on Android (contributed by gameDNAstudio) #jira UE-30610 #pr #2372 #ue4 #android Change 3047406 on 2016/07/12 by Jack.Porter Add missing import to GameActivity.java Change 3047442 on 2016/07/13 by Dmitriy.Dyomin Added: Mobile custom post-process Limitations: can fetch only from PostProcessInput0 (SceneColor) other scene textures are not supported. Does not support "Replacing the Tonemapper" blendable location. #jira UEMOB-147 Change 3047466 on 2016/07/13 by Dmitriy.Dyomin Disabled engine crash handler on Android, system crash handler works more reliably across different os versions/devices Change 3047746 on 2016/07/13 by Jack.Porter Rename FBasePassFowardDynamicPointLightInfo Change 3047778 on 2016/07/13 by Jack.Porter Missing file for rename FBasePassFowardDynamicPointLightInfo Change 3047788 on 2016/07/13 by Allan.Bentham Fix incorrect TargetPlatformDescriptor string generation. Change 3047790 on 2016/07/13 by Allan.Bentham Fixed half3x3 matrix use with ES3.1 glsl Fixed couple of interpolator precision mismatch. Fixed ES3.1 support detection issues Change 3047816 on 2016/07/13 by Allan.Bentham Remove AndroidGL4 remnants. Change 3048926 on 2016/07/13 by Chris.Babcock Added detection of Amazon Fire TV to disable requiring virtual joysticks #ue4 #android Change 3049335 on 2016/07/14 by Dmitriy.Dyomin Fixing UAT crash when packaging project for iOS Change 3049390 on 2016/07/14 by Jack.Porter Disabled error for warning 4819 "The file contains a character that cannot be represented in the current code page (xxx). Save the file in Unicode format to prevent data loss" This is triggered by European characters and copyright symbols in source saved as latin-1 when compiling on non-US windows. Seen often in 3rd party headers, eg nvapi. #code_review: Ben.Marsh Change 3049391 on 2016/07/14 by Jack.Porter Fixed incorrect comment order in CL 3049390 Change 3049545 on 2016/07/14 by Dmitriy.Dyomin Reworking some code from CL#3047442 to make static analizer happy Change 3049626 on 2016/07/14 by Allan.Bentham Automatic CSM shader toggling #jira UE-27429 Change 3051574 on 2016/07/15 by Jack.Porter Support for lighting channels on Mobile - Multiple directional lights are supported in different channels but primitives are only affected by the directional light in the first channel they have set - CSM shadows from stationary or movable directional lights correctly follow their lighting channels - No channel limitations for dynamic point lights Notes: Removed mobile-specific directional light shadowing fields from View uniform buffer and mobile no longers uses SimpleDirectionalLight. Separate uniform buffers for mobile directional light are generated for each lighting channel. CSM culling information is now stored in FViewInfo and not per FVisibleLightViewInfo as the visibility bits are per view. #code_review Daniel.Wright #jira UEMOB-110 Change 3051699 on 2016/07/15 by Steve.Cano Preserve the original, pre-transformed input vertices for Slate shaders, which is required to properly do anti-aliasing (the ViewProjection-transformed values were causing the lines to not be drawn). #jira UE-20320 #ue4 #android Change 3051744 on 2016/07/15 by Chris.Babcock Fix Android Vulkan include path checks (contributed by kodomastro) #jira UE-33311 #PR #2602 #ue4 #android Change 3052023 on 2016/07/15 by Chris.Babcock Fix shadowed variables Change 3052110 on 2016/07/15 by Chris.Babcock Compile fixes for light channel support on mobile - missing template - accessor function for MobileDirectionalLights from scene Change 3052242 on 2016/07/15 by Chris.Babcock Compile fixes for light channel support on mobile - removed dependency on C++14 feature Change 3052730 on 2016/07/16 by Dmitriy.Dyomin Win32 build fix Change 3053041 on 2016/07/17 by Jack.Porter Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile) Change 3053054 on 2016/07/17 by Jack.Porter Changed use of old function ShouldUseDeferredRenderer() to new GetShadingPath() Change 3053055 on 2016/07/17 by Jack.Porter Fixed local variable aliasing in unity build Change 3053206 on 2016/07/18 by Jack.Porter Support ExecuteJavascript on iOS and Android Expose ExecuteJavascript to widget blueprint Fix ExecuteJavascript unicode string support on desktop platforms #jira UEMOB-152 Change 3053323 on 2016/07/18 by Dmitriy.Dyomin Added: Ability to set thread affinity for a device in Device Profiles (ex: +CVars=android.SetThreadAffinity=RT 0x02 GT 0x01) #jira UEMOB-107 Change 3053723 on 2016/07/18 by Jack.Porter Fix for UnrealTournamentProto.Automation.cs build errors Change 3055090 on 2016/07/19 by Dmitriy.Dyomin Junk OnlineBlueprintSupport module binaries [CL 3056789 by Jack Porter in Main branch]
2016-07-19 19:13:01 -04:00
// TCP port number on our local host forwarded over adb to the device
uint16 HostMessageBusPort;
Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile [at] 4355761) #lockdown Nick.Penwarden #rb Jack.Porter ============================ MAJOR FEATURES & CHANGES ============================ Change 4066430 by Nick.Shin HTML5 - fix merge stomping and add in missing SC.Metadatadir (null) object to last {if else} block #jira UE-58423 HTML5 Quicklaunch through UnrealFrontEnd fails on Stage Command: Error: System.NullReferenceExeception Change 4067037 by Bogdan.Vasilache #jira UE-57406 Shaders compiled for GLSL_ES2 with CFLAG_FeatureLevelES31 compiler flag will now shift to GLSL_ES3_1_ANDROID profile instead of GLSL_310_ES_EXT. Change 4067649 by Jack.Porter Remove obsolete cvars from ini files #jira UE-54768 Change 4071833 by Bogdan.Vasilache #jira UE-57406 ShaderVersion guid updated to reflect changes in the OpenGL shader compiler. Change 4075162 by Bogdan.Vasilache #jira UE-53195 Change 4099176 by Jack.Porter Fix SpeedTree node not working on ES3_1 (Contributed by PicaroonX) #jira UE-59685 PR #4761 Change 4124398 by Mi.Wang Add particle cutout support for feature level es31. Change 4129400 by Sorin.Gradinaru UE-60226 Web Browser widget is completely white on Android #jira UE-60226 #jira UE-53247 #Android #4.21 from Release-4.20 CL 4122319 The URL from the sample app is malformed (http:www.google.com). Since the phone's default browser is able to correct this problem for http and https URLs, I've added this exception to the code that checks the URL prefix, re-writing the fix for UE-53247. Change 4164212 by Nick.Shin minor fixes to merge from Main #jira none Change 4165606 by Nick.Shin #jira UE-57006 QA-Promotion WebGL1 HTML5 Launch On has numerous graphical errors in order for UNROLL to work -- break statement needs to be removed Change 4165823 by Nick.Shin HTML5 - split single large template file to smaller component (e.g. js & css) files custom template files are also supported on a per-project basis: copy .../Engine/Build/HTML5/GameX.*.template to <project>/Build/HTML5/. build will automatically pick it the project's path (otherwise fallback to the Engine's version) this is based on GitHub PR #4780 #jira UE-60136 GitHub 4780 : Proposed HTML5 Changes Change 4202481 by Sorin.Gradinaru UE-50492 OnUrlChanged does not fire on mobile #jira UE-50492 #iOS #4.21 Adding the events for load started & finished with errors Change 4202484 by Sorin.Gradinaru UEMOB-454 Move the virtual keyboard out of Experimental and make it enabled by default #jira UEMOB-454 #4.21 Change 4202583 by Bogdan.Vasilache [UE-53816] Allow texture sampling in vertex shaders for ES2 feature level #jira UE-53816 Change 4214064 by Nick.Shin Epic's GitHub policy is to treat "unknown" file extensions as "binary" changing filenames so that they will show up GitHub's repo this is in reference to GitHub PR #4780 #jira UE-60136 GitHub 4780 : Proposed HTML5 Changes Change 4224514 by Mi.Wang We should not Tick USceneCaptureComponent on DS by default. Change 4230192 by Nick.Shin HTML5 READMEs updating old ones - and putting new ones in these originally came from (mostly) onboarding the chrome team on UE4 emails. capturing most of that in markdown format. #jria UEMOB-255 HTML5 Multithreading Change 4232460 by Nick.Shin HTML5 - fix UE_MakeHTTPDataRequest() crash #jira UE-38351 ( Pri:1 - 4.21 ) Red and Blue color channels flipped on materials called from HTML5 server Change 4234647 by Nick.Shin HTML5 - ERGBFormat::RGBA vs ERGBFormat::BGRA - make use of the enums in UAsyncTaskDownloadImage::HandleImageRequest() - enable RGBA vs BGRA options for JPG decoder #jira UE-38351 ( Pri:1 - 4.21 ) Red and Blue color channels flipped on materials called from HTML5 server Change 4240086 by Sorin.Gradinaru UE-61345 Decals in Remote Session are not rendering on some iOS devices #jira UE-61345 #4.21 #iOS Changed the texture compression from DXT5 to RGBA Change 4240234 by Sorin.Gradinaru UE-61838 Android 'Launch On All' can't run during an existing launch on session on Windows #jira UE-61838 #4.21 Cancel previous sessions before launching the selected configuration. Change 4244686 by Nick.Shin HTML5 - syncing build scripts #jria UEMOB-255 HTML5 Multithreading Change 4246399 by Nick.Shin HTML5 - syncing PhysX build scripts #jria UEMOB-255 HTML5 Multithreading Change 4267990 by Bogdan.Vasilache [UEMOB-405] - Mobile PIE polishing - Bezel & Rotation + related subtasks #jira UEMOB-405 #jira UEMOB-458 #jira UEMOB-459 #jira UEMOB-460 Change 4280211 by Chris.Babcock Fix FD_SET macro invoke crash when Socket FD exceed 1023 (contributed by scahp) #jira UE-62290 #PR #4912 #ue4 #android Change 4300275 by Nick.Shin HTML5 - Unreal File Server - css response header fixes #jira UE-63009 HTML5 template page has non-centered viewport and loading banner stretches the entire screen Change 4302328 by Nick.Shin #jira UE-63108 HTML5 RunMacHTML5LauncherHelper.command files do not have appropriate permissions to run on Mac Change 4303428 by Jack.Porter Fixed crash during cooking for certain landscapes with collision data out of sync with render data. Change 4307517 by Jack.Porter Fix warning on Mac/Linux #jira UE-62993 Change 4311437 by Nick.Shin HTML5 : re-enabling [ -s BINARYEN_TRAP_MODE='clamp'; ] warning: this is technically slower performing -- but, this fixes a lot of 64-bit issues (HTML5 is "only" 32-bits) #jira UE-63049 HTML5 Quicklaunch to Chrome crashes with RuntimeError: float unrepresentable in integer range Change 4312602 by Chris.Babcock Allow some hardware buttons through if hardware keyboard disabled #jira UE-63260 #ue4 #android Change 4312711 by Chris.Babcock Fix string formatting for some locales in GetMetaDataString Method (contributed by IlinAleksey) #jira UE-63252 #PR #5026 #ue4 #android Change 4321719 by Bogdan.Vasilache UE-63378 - Fixed static analysis warnings #jira UE-63378 Change 4331224 by Jack.Porter Fixed Mobile PIE resolution for iPhone 8 Plus #jira UE-63191 Change 4339446 by Jack.Porter Modified foliage thumbnail color to better show when it is inactive #jira UE-30824 #5057 Change 4339458 by Dmitriy.Dyomin Fixed typos in glObjectPtrLabel type definitions (contributed by TheCodez) #4920 #jira UE-62368 Change 4339460 by Dmitriy.Dyomin Fixed: bRenderInMainPass on SkeletalMeshes doesn't work on Mobile #jira UE-59077 Change 4339523 by Sorin.Gradinaru UE-61351 Error: Failed to send -1 bytes of data to RemoteConnection spammed in the editor log when closing RemoteSession on device during connection #jira UE-61351 #4.21 Not an real issue. The message is issued whenever the host (or the client) tries to send messages through an inactive channel. There is a "/ping" message sent back and forth between the host and the client, with high frequency (hence the spam) - if this message is no longer received, the host (or the client) decides to terminate the connection. "Downgrading" the message from Error to Log, to avoid spamming the log on release builds. Change 4339590 by Sorin.Gradinaru UE-61554 Web Browser: No Transparency in 3D Widget Component on Mobile #jira UE-61554 #Android #4.21 Modified Web Texture Material's blend mode to "Translucent" Change 4339595 by Sorin.Gradinaru [Build] UE4 Dev-Mobile - CL 4339590 - Incremental Editor Win64 Change 4339597 by Jack.Porter Fix static analysis CIS This function should be moved to SceneUtils.h and the dependency in AsyncTaskDownloadImage resolved another way. #jira UE-63378 Change 4339599 by Sorin.Gradinaru UE-56076 Android Launch On "Running..." toast intermittently doesn't appear #jira UE-56076 #Android #4.21 wait before getting the process list with "adb shell ps" - on some devices the list is not yet ready Change 4339647 by Sorin.Gradinaru UE-54791 Planar Reflection gamma / brightness incorrect on Samsung Galaxy S5 #jira UE-54791 #Android #4.21 The planar texture contains encoded data: - decode it immediately after sampling the texture - alpha channel was inverted during the PrefilterPlanarReflectionPS step Change 4339654 by Sorin.Gradinaru UE-59697 WebBrowser SetVisibility not working on Android & iOS #jira UE-59697 #4.21 #iOS #Android SetVisibility implemented on iOS and Android's web browsers, by extending the implementation on Windows: use a list to store references to the webbrowsers in the scene , then in WebBrowserSingleton::Tick check if the cached web browsers windows or widgets ticked on the last frame Change 4339656 by Sorin.Gradinaru Remove unnecessary comment in IOSPlatformWebBrowser.cpp Change 4339666 by Bogdan.Vasilache [UEMOB-455] Make editor tool to dump out a device .json file for a connected Android device #jira UEMOB-455 Change 4339667 by Bogdan.Vasilache Mobile PIE bugfixes #jira UE-63288 #jira UE-63282 Change 4339700 by Bogdan.Vasilache [bugfix] Accidentally disabled SetPreviewPlatform() call for mobile PIE simulation. Change 4339733 by Sorin.Gradinaru UE-59381 Ios application default orientation #jira UE-59381 #iOS #4.21 - added Initial interface orientation in the generated Plist file (UIInterfaceOrientation key) - implemented preferredInterfaceOrientationForPresentation in the IOSViewController - re-arranged the orientation list in the Plist file Change 4339781 by Sorin.Gradinaru UE-60716 Show cursor in Editor text boxes when focused on Android #jira UE-60716 #Android #4.21 Updating the widget's cursor position from the native code. This also overrides the fix for UE49124 Cursor in virtual keyboard and UMG don't match - initially the solution was to hide the widget's cursor. Change 4340037 by Jack.Porter Added an Android Project Settings checkbox to enable detection of Vulkan device support by default. If unchecked, the -detectvulkan command line parameter can be used. Change 4340076 by Jack.Porter Fix warning seen by CIS #jira UE-63377 Change 4340212 by Sorin.Gradinaru UE-63224 Android DLC profile in Project Launcher fails if there is a space in the path for the destination directory #jira UE-63224 #4.21 #Android Avoid enclosing path arguments in double quotes (""<path>""). MakePathSafeToUseWithCommandLine(<path>) already adds quotes when needed. Change 4340721 by Andrew.Grant Fixed -vsmac argument not working with GenerateProjectFiles #jira nojira Change 4340822 by Andrew.Grant Replaced default iOS splashcreens with UE logo Added missing resolutions (iPhone 5 portrait, iPad 10.5") Removed custom splash images from RemoteSessionApp #jira UE-59864, UE-61939 Change 4340857 by Chris.Babcock Fix virtual keyboard crashes on Android #jira none Change 4341047 by Andrew.Grant Prevent Xcode upgrade warnings for >9.0 versions Change 4343797 by Cosmin.Sulea iOS - iPhonePackager ExportCertificate command failing 100% Change 4343823 by Sorin.Gradinaru UE-63334 Unreal Remote 2 does not send information about motion control #jira UE-63334 #iOS #Android The functionality was commented out. Tested it for performance and it seems OK (despite the high frequency of /motion signals) Change 4343824 by Sorin.Gradinaru UEMOB-185 Implement the equivalent of FAndroidJSScripting for iOS UE-59488 FWebBrowserWindow::UnbindUObject of IOSPlatformWebBrowser.cpp is not implemented yet #jira UEMOB-185 #jira UE-59488 #4.21 #iOS New methods (using WebKit, matching the Android implementation): - Go back/forward - HandlePageLoading (loading/didCommitNavigation, loaded/didFinishNavigation) - HandleReceivedError (didFailNavigation) - execute JS code - controlling the client using JS commands (WKWebViewConfiguration & WKUserContentController): - in Android we using shouldInterceptRequest to intercept a custom resource URL (JS: XMLHttpRequest.send, document.location) - iOS will register handlers (JS: window.webkit.messageHandlers.<FMobileJSScripting::JSMessageHandler>.postMessage) Change 4343845 by Sorin.Gradinaru Adding the signatures for FJavaWrapper's CallLongMethod, CallFloatMethod and CallDoubleMethod in the AndroidJNI.h #4.21 #Android Change 4343893 by Cosmin.Sulea UEMOB-465 - Add Device Output Log support for iOS #jira UEMOB-465 Change 4343895 by Dmitriy.Dyomin Fixed: DepthFade does not work in mobile emulation while MobileMSAA enabled #jira UE-60404 Change 4343899 by Dmitriy.Dyomin GitHub 4851 : Fix layer info property bNoWeightBlend not being saved after tiled landscape import (contributed by cmp-) #4851 #jira UE-61437 Change 4343906 by Bogdan.Vasilache Editor's feature level is now saved and restored between sessions #jira UE-55506 #jira UE-59688 Change 4346729 by Jack.Porter Fix CIS #jira UE-63716 Change 4347811 by Jack.Porter Fix dependency chain while including PIEPreviewDeviceSpecification #jira UE-63755 Change 4348580 by Jack.Porter Fix CIS issues in IOSPlatformWebBrowser #jira UE-63809 Change 4350092 by Jack.Porter Fix null pointer exception in iPhonePackager when a matching certificate cannot be found #jira UE-63821 Change 4350968 by Jack.Porter Update binaries for deployment server #jira UEMOB-332 Change 4353925 by Jack.Porter Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile) Rework PR 4912 from CL 4280211 #jira UE-62290 Change 4354034 by Jack.Porter Rebuilt deployment server after backing out changes #jira UE-63826 Change 4354338 by Ben.Marsh Attempted fix for incorrect certificate errors when compiling remotely. * Overloaded meaning of the -Certificate argument (ie. as the output path rather than as the desired certificate when selecting a provision) was causing certificate name check to fail. Now uses a different parameter to specify the output path. * TVOS argument was not being passed when exporting the certificate, also causing the wrong provision/certificate pair to be selected. * Add support for the -bundlename argument, though it shouldn't be necessary when invoked from UBT since the UUID discovered in a previous invocation of IPP is explicitly specified. Since the provision UUID is already being specified to IPP, it should be able to identify the correct provision on phase -1 using this info. #jira UE-63859 Change 4354459 by Chris.Babcock Fix issue with Android PCH include files #jira UE-63909 #ue4 #android Change 4255761 by Peter.Sauerbrei fix for space in manifest name #jira UE-63868 #ROBOMERGE-OWNER: jason.bestimt #ROBOMERGE-SOURCE: CL 4356719 in //UE4/Main/... #ROBOMERGE-BOT: DEVVR (Main -> Dev-VR) [CL 4356730 by chris babcock in Dev-VR branch]
2018-09-10 21:28:08 -04:00
// Holds pixel per inch value.
int32 DeviceDPI = 0;
// Holds the display resolution for the device
int32 ResolutionX = 0;
int32 ResolutionY = 0;
// Holds the reported OpenGLES version.
FString OpenGLVersionString;
// Holds the GPU family name.
FString GPUFamilyString;
// Holds the name of the manufacturer
FString DeviceBrand;
FAndroidDeviceInfo()
: SDKVersion(INDEX_NONE)
, GLESVersion(INDEX_NONE)
Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 3010693) #lockdown nick.penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 2958982 on 2016/04/28 by Dmitriy.Dyomin Set owner name for RHI texture, for easier debugging Change 2976446 on 2016/05/12 by Niklas.Smedberg Fixed Device Profile CVars so they work even if a DLL with the cvar definition is loaded afterwards. (And they now also go through the common code path for CVars.) Change 2983781 on 2016/05/19 by Steve.Cano Check in PlayUsingLauncher if the device we're launching to is authorized by the computer. Could not get to this information about Devices so added an IsAuthorized interface to ITargetDevice that is overriden in the AndroidTargetDevice. Also make sure to referesh the authorized state as needed for Android device detection. Finally, changed the name of the authorized variable to be more readable (true == authorized instead of true == unauthorized) #jira UE-21121 #ue4 #android Change 2994202 on 2016/05/31 by Allan.Bentham Prevent clear transulcency volume null deref crash. Change test for allocated deferred render targets by testing against an exclusively deferred target (instead of potentially shared shadow depth surface) probable fix for UE-22073 Change 2995613 on 2016/05/31 by Dmitriy.Dyomin Added: Option to force full precision in a material UEMOB-109 Change 2997960 on 2016/06/02 by Gareth.Martin Refactored Landscape serialization to allow cooking both the data used for normal rendering and mobile rendering into the same package #jira UE-31474 Change 2997988 on 2016/06/02 by Gareth.Martin Files missing from CL 2997960 #jira UE-31474 Change 2999222 on 2016/06/03 by Jack.Porter Fix up ETargetPlatformFeatures::ForwardRendering and ETargetPlatformFeatures::DeferredRendering for iOS to support the Metal MRT deferred renderer Change 2999229 on 2016/06/03 by Jack.Porter Rename ETargetPlatformFeatures::ForwardRendering to TargetPlatformFeatures::MobileRendering Change 3003540 on 2016/06/07 by Jack.Porter Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile) Change 3003779 on 2016/06/07 by Dmitriy.Dyomin Fixed: Criss-crossed sublevels cause NavMesh errors #jira UE-27157 Change 3004535 on 2016/06/07 by Steve.Cano Adding the OnControllerConnectionChange delegate message when a controller is connected on Android. Also added additional future broadcast statement when disconnect support is added for Android. #jira UE-25697 #ue4 #android Change 3005205 on 2016/06/07 by Niklas.Smedberg Bumped ASTC format version to invalidate bad server DDC Change 3005347 on 2016/06/08 by Dmitriy.Dyomin Added a way to cache OpenGL program binaries on the disk. Disabled by default. Can be enabled only on Android platform (r.UseProgramBinaryCache=1) #jira UEMOB-108 Change 3005524 on 2016/06/08 by Dmitriy.Dyomin Fixed iOS build broken by CL# 3005347 Change 3005528 on 2016/06/08 by Jack.Porter Changed hardcoded checkboxes from quality level overrides dialog to use the general property details code. Now magically supports any uproperty types such as enums or integers added to FMaterialQualityOverrides. Change 3005607 on 2016/06/08 by Dmitriy.Dyomin Fixed: Occasional crash on using Launch on Android device when device is being disconnected Change 3006705 on 2016/06/08 by Chris.Babcock Fix virtual joystick to return -1 to 1 ranges for thumbsticks #jira UE-31799 #ue4 #android #ios Change 3006960 on 2016/06/08 by Jack.Porter Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile) Change 3007050 on 2016/06/09 by Jack.Porter FAutomationWorkerModule::ReportTestComplete() needs to send analytics first as the message endpoint will free the memory resulting in a crash Change 3007129 on 2016/06/09 by Dmitriy.Dyomin Fixed: Black edges seen on flames in Sun Temple #jira UE-31712 Change 3010686 on 2016/06/13 by Dmitriy.Dyomin Fixed: Android Monolithic warnings for glGetProgramBinaryOES and glProgramBinaryOES #jira UE-31933 [CL 3011074 by Jack Porter in Main branch]
2016-06-13 12:20:22 -04:00
, bAuthorizedDevice(true)
Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 3056055) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3011102 on 2016/06/13 by Steve.Cano After taking a screenshot using glReadPixels, transfer the data to the target buffer from bottom row up to fix the "upside-down" render that OpenGL does. Confirmed with QA (owen.stupka_volt) that this does not appear to be happening on iOS (non-metal devices, inclusion of iOS in write-up was a mistake), verified on an ipod touch 5. Also confirmed that this does not happen on html5, and that Mobile HDR flag does not make a difference in function. #jira UE-26421 #ue4 #android Change 3015801 on 2016/06/16 by Dmitriy.Dyomin Probbably fix for UE-30878, was not able to repro an actual crash(FFoliageInstanceBaseCache::AddInstanceBaseId). Added even more logging in case fix does not work. #jira UE-30878 Change 3015903 on 2016/06/16 by Dmitriy.Dyomin Fixed: Levels window has Refresh/UI issues when World Composition is active #jira UE-26160 Change 3018352 on 2016/06/17 by Chris.Babcock Handle Android media prepare failure (URL without internet for example) #jira UE-32029 #ue4 #android Change 3026387 on 2016/06/24 by Jack.Porter Remove FFuncTestManager warning about PIE when running on a standalone game binary Change 3026398 on 2016/06/24 by Jack.Porter Prevent FSocketBSD::Recv returning false on SE_EWOULDBLOCK Change 3027553 on 2016/06/25 by Niklas.Smedberg OpenGL: Made some block size calculation work for arbitrary block sizes (e.g. not pow-of-two). Change 3027554 on 2016/06/25 by Niklas.Smedberg Metal: copyFromTexture now gets block-aligned size parameter (e.g. used for texture streaming) Change 3028061 on 2016/06/26 by Jack.Porter Fixed a problem where newly discovered instances were not added to an existing session in the Session Browser. Fixed a problem where selecting an instance in a session with multiple instances didn't deselect the previously selected instance correctly. Change 3029220 on 2016/06/27 by Steve.Cano Change Android Tilt values to use GetRotationMatrix/GetOrientation logic, same as java-side android would use, and adjust slightly to match as closely as possible to iOS values for tilt. There is drift and some differences in the "Y" value but the same sort of inconsistencies are also seen on iOS. #jira UE-6135 #ue4 #android Change 3030420 on 2016/06/28 by Jack.Porter Fix crash with RenderOutputValidation when running with cooked content Change 3030426 on 2016/06/28 by Jack.Porter Fix to CL 3026398 - make FSocketBSD(IPv6)::Recv(From) return false when recv returns 0. A return value of 0 indicates the connection was shutdown in an orderly manner. Change 3030973 on 2016/06/28 by Steve.Cano Added a landscape downloader background along with the options to change it from within Android settings #ue4 #android #jira UE-32318 Change 3031757 on 2016/06/28 by Chris.Babcock Remove unused methods from AndroidJNI header #ue4 #android Change 3032387 on 2016/06/29 by Allan.Bentham Rename android es31+aep -> glesdeferred. Change 3032711 on 2016/06/29 by Allan.Bentham Rename GLSL_310_ES_EXT shader define: ES31_AEP_PROFILE -> ESDEFERRED_PROFILE bumped UE_SHADER_GLSL_310_ES_EXT_VER version number. Change 3033698 on 2016/06/29 by Jack.Porter Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile) Change 3034210 on 2016/06/30 by Steve.Cano Added a new AndroidRuntimeSettings variable that allows creation of installers for both Windows and Mac/Linux if set to true. #jira UE-32302 #ue4 #android Change 3034530 on 2016/06/30 by Chris.Babcock Rename FManifestReader to FAndroidFileManifestReader in AndroidFile #jira UE-32679 #ue4 #android Change 3034612 on 2016/06/30 by Steve.Cano Change Alpha from being set to a range of 0-255 to being in a range of 0-1 (which is the correct range of values) #jira UE-25325 #ue4 #android Change 3034679 on 2016/06/30 by Chris.Babcock Fix tooltip (.command for mac, not .sh) #jira UE-32302 #ue4 #android Change 3038881 on 2016/07/05 by Jack.Porter Package and launch on multiple Android devices simultaneously using the -Device=xxxxxxx+yyyyyyyy+zzzzzzzz format generated by a Project Launcher profile when you select multiple devices #jira UEMOB-115 Change 3039240 on 2016/07/06 by Jack.Porter TcpMessageTransport - connection-based message bus transport. #jira UEMOB-112 #jira UEMOB-113 Change 3039252 on 2016/07/06 by Jack.Porter Enable messaging and session services and functional testing on Android when launched with -messaging Android device detection module support for adding port forwarding and connection announcement for TcpMessageTransport #jira UEMOB-112 #jira UEMOB-113 Change 3039264 on 2016/07/06 by Jack.Porter Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile) Change 3040041 on 2016/07/06 by Chris.Babcock Pass proper value to script generator functions #jira UE-32861 #ue4 #android Change 3040890 on 2016/07/07 by Allan.Bentham Fix shadow crash #jira UE-32884 Change 3041458 on 2016/07/07 by Peter.Sauerbrei fix for IOS launch on failures Change 3041542 on 2016/07/07 by Peter.Sauerbrei better fix for the multi-device deployment issue Change 3041774 on 2016/07/07 by Steve.Cano Fixing crash that occurs when a games app id for Google Play is set before configuring the apk packaging. Also validating the value that is inserted and using it to override any values that have been hand-inserted into the GooglePlayAppID.xml #jira UE-16992 #android #ue4 Change 3042222 on 2016/07/08 by Dmitriy.Dyomin Mobile packaging scenarious Added a wizard for creating launcher profiles (Android & IOS) for scenario: Minimal App + Downloadable content Added Archive step to launcher profiles to be able to store build product into specified directory Changes to a cooker to be able to pack DLC based with a different flavor to a release App Changes to DLC packaging to be able to build streaming data without chunking pak files #jira UEMOB-119 Change 3042244 on 2016/07/08 by Dmitriy.Dyomin Fixed crash in FTcpMessageTransportConnection::Stop Change 3042270 on 2016/07/08 by Dmitriy.Dyomin GitHub #2320 : [ULevelStreamingKismet] Load Level Instance, Enables UE4 Users to create multiple transformed instances of a .umap without having to include in persistent level's list ? Rama contributed by: EverNewJoy #jira UE-29867 Change 3042449 on 2016/07/08 by Dmitriy.Dyomin Fixing Mac Editor build erros from CL# 3042222 Change 3042480 on 2016/07/08 by Allan.Bentham Add ES3.1 profile & compiler_glsl_es3_1 to shaders. Change 3042481 on 2016/07/08 by Allan.Bentham hlslcc - ES3.1 changes. set ES3.1 version number to 310 Do not use ES2 keywords for ES3.1. Generate Layout Locations for ES3.1 bump version. Change 3042483 on 2016/07/08 by Allan.Bentham Add mobile ES3.1 support. Recreates EGL and ES3.1 context during PlatformInitOpenGL if ES3.1 is required. Change 3042485 on 2016/07/08 by Allan.Bentham Undo android XGE change. Change 3042506 on 2016/07/08 by Dmitriy.Dyomin One more compile fix from CL# 3042222 Change 3044173 on 2016/07/10 by Dmitriy.Dyomin UAT: Added support for building target platforms with multiple cook flavors ex: -targetplatform=Android -cookflavor=ETC1+ETC2 Change 3044213 on 2016/07/11 by Dmitriy.Dyomin Fixed: Can't stream in a level whose name is a substring of another streaming level #jira UE-32999 Change 3044221 on 2016/07/11 by Jack.Porter Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile) Change 3044815 on 2016/07/11 by Allan.Bentham Corrected NAME_GLSL_ES3_1_ANDROID format string. Change 3046911 on 2016/07/12 by Chris.Babcock Add handling of OnTextChanged for virtual keyboard input on Android #jira UE-32348 #ue4 #android Change 3046958 on 2016/07/12 by Chris.Babcock Rename some functions with Error in the name to prevent false coloring in the logs #jira UE-30541 #ue4 #android Change 3047169 on 2016/07/12 by Chris.Babcock Return player ID and handle auth token for Google Play Games on Android (contributed by gameDNAstudio) #jira UE-30610 #pr #2372 #ue4 #android Change 3047406 on 2016/07/12 by Jack.Porter Add missing import to GameActivity.java Change 3047442 on 2016/07/13 by Dmitriy.Dyomin Added: Mobile custom post-process Limitations: can fetch only from PostProcessInput0 (SceneColor) other scene textures are not supported. Does not support "Replacing the Tonemapper" blendable location. #jira UEMOB-147 Change 3047466 on 2016/07/13 by Dmitriy.Dyomin Disabled engine crash handler on Android, system crash handler works more reliably across different os versions/devices Change 3047746 on 2016/07/13 by Jack.Porter Rename FBasePassFowardDynamicPointLightInfo Change 3047778 on 2016/07/13 by Jack.Porter Missing file for rename FBasePassFowardDynamicPointLightInfo Change 3047788 on 2016/07/13 by Allan.Bentham Fix incorrect TargetPlatformDescriptor string generation. Change 3047790 on 2016/07/13 by Allan.Bentham Fixed half3x3 matrix use with ES3.1 glsl Fixed couple of interpolator precision mismatch. Fixed ES3.1 support detection issues Change 3047816 on 2016/07/13 by Allan.Bentham Remove AndroidGL4 remnants. Change 3048926 on 2016/07/13 by Chris.Babcock Added detection of Amazon Fire TV to disable requiring virtual joysticks #ue4 #android Change 3049335 on 2016/07/14 by Dmitriy.Dyomin Fixing UAT crash when packaging project for iOS Change 3049390 on 2016/07/14 by Jack.Porter Disabled error for warning 4819 "The file contains a character that cannot be represented in the current code page (xxx). Save the file in Unicode format to prevent data loss" This is triggered by European characters and copyright symbols in source saved as latin-1 when compiling on non-US windows. Seen often in 3rd party headers, eg nvapi. #code_review: Ben.Marsh Change 3049391 on 2016/07/14 by Jack.Porter Fixed incorrect comment order in CL 3049390 Change 3049545 on 2016/07/14 by Dmitriy.Dyomin Reworking some code from CL#3047442 to make static analizer happy Change 3049626 on 2016/07/14 by Allan.Bentham Automatic CSM shader toggling #jira UE-27429 Change 3051574 on 2016/07/15 by Jack.Porter Support for lighting channels on Mobile - Multiple directional lights are supported in different channels but primitives are only affected by the directional light in the first channel they have set - CSM shadows from stationary or movable directional lights correctly follow their lighting channels - No channel limitations for dynamic point lights Notes: Removed mobile-specific directional light shadowing fields from View uniform buffer and mobile no longers uses SimpleDirectionalLight. Separate uniform buffers for mobile directional light are generated for each lighting channel. CSM culling information is now stored in FViewInfo and not per FVisibleLightViewInfo as the visibility bits are per view. #code_review Daniel.Wright #jira UEMOB-110 Change 3051699 on 2016/07/15 by Steve.Cano Preserve the original, pre-transformed input vertices for Slate shaders, which is required to properly do anti-aliasing (the ViewProjection-transformed values were causing the lines to not be drawn). #jira UE-20320 #ue4 #android Change 3051744 on 2016/07/15 by Chris.Babcock Fix Android Vulkan include path checks (contributed by kodomastro) #jira UE-33311 #PR #2602 #ue4 #android Change 3052023 on 2016/07/15 by Chris.Babcock Fix shadowed variables Change 3052110 on 2016/07/15 by Chris.Babcock Compile fixes for light channel support on mobile - missing template - accessor function for MobileDirectionalLights from scene Change 3052242 on 2016/07/15 by Chris.Babcock Compile fixes for light channel support on mobile - removed dependency on C++14 feature Change 3052730 on 2016/07/16 by Dmitriy.Dyomin Win32 build fix Change 3053041 on 2016/07/17 by Jack.Porter Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile) Change 3053054 on 2016/07/17 by Jack.Porter Changed use of old function ShouldUseDeferredRenderer() to new GetShadingPath() Change 3053055 on 2016/07/17 by Jack.Porter Fixed local variable aliasing in unity build Change 3053206 on 2016/07/18 by Jack.Porter Support ExecuteJavascript on iOS and Android Expose ExecuteJavascript to widget blueprint Fix ExecuteJavascript unicode string support on desktop platforms #jira UEMOB-152 Change 3053323 on 2016/07/18 by Dmitriy.Dyomin Added: Ability to set thread affinity for a device in Device Profiles (ex: +CVars=android.SetThreadAffinity=RT 0x02 GT 0x01) #jira UEMOB-107 Change 3053723 on 2016/07/18 by Jack.Porter Fix for UnrealTournamentProto.Automation.cs build errors Change 3055090 on 2016/07/19 by Dmitriy.Dyomin Junk OnlineBlueprintSupport module binaries [CL 3056789 by Jack Porter in Main branch]
2016-07-19 19:13:01 -04:00
, HostMessageBusPort(0)
{
}
};
/**
* Interface for AndroidDeviceDetection module.
*/
class IAndroidDeviceDetection
{
public:
virtual void Initialize(const TCHAR* SDKDirectoryEnvVar, const TCHAR* SDKRelativeExePath, const TCHAR* GetPropCommand, bool bGetExtensionsViaSurfaceFlinger, bool bForLumin = false) = 0;
virtual const TMap<FString,FAndroidDeviceInfo>& GetDeviceMap() = 0;
virtual FCriticalSection* GetDeviceMapLock() = 0;
virtual void UpdateADBPath() = 0;
virtual FString GetADBPath() = 0;
Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile [at] 4355761) #lockdown Nick.Penwarden #rb Jack.Porter ============================ MAJOR FEATURES & CHANGES ============================ Change 4066430 by Nick.Shin HTML5 - fix merge stomping and add in missing SC.Metadatadir (null) object to last {if else} block #jira UE-58423 HTML5 Quicklaunch through UnrealFrontEnd fails on Stage Command: Error: System.NullReferenceExeception Change 4067037 by Bogdan.Vasilache #jira UE-57406 Shaders compiled for GLSL_ES2 with CFLAG_FeatureLevelES31 compiler flag will now shift to GLSL_ES3_1_ANDROID profile instead of GLSL_310_ES_EXT. Change 4067649 by Jack.Porter Remove obsolete cvars from ini files #jira UE-54768 Change 4071833 by Bogdan.Vasilache #jira UE-57406 ShaderVersion guid updated to reflect changes in the OpenGL shader compiler. Change 4075162 by Bogdan.Vasilache #jira UE-53195 Change 4099176 by Jack.Porter Fix SpeedTree node not working on ES3_1 (Contributed by PicaroonX) #jira UE-59685 PR #4761 Change 4124398 by Mi.Wang Add particle cutout support for feature level es31. Change 4129400 by Sorin.Gradinaru UE-60226 Web Browser widget is completely white on Android #jira UE-60226 #jira UE-53247 #Android #4.21 from Release-4.20 CL 4122319 The URL from the sample app is malformed (http:www.google.com). Since the phone's default browser is able to correct this problem for http and https URLs, I've added this exception to the code that checks the URL prefix, re-writing the fix for UE-53247. Change 4164212 by Nick.Shin minor fixes to merge from Main #jira none Change 4165606 by Nick.Shin #jira UE-57006 QA-Promotion WebGL1 HTML5 Launch On has numerous graphical errors in order for UNROLL to work -- break statement needs to be removed Change 4165823 by Nick.Shin HTML5 - split single large template file to smaller component (e.g. js & css) files custom template files are also supported on a per-project basis: copy .../Engine/Build/HTML5/GameX.*.template to <project>/Build/HTML5/. build will automatically pick it the project's path (otherwise fallback to the Engine's version) this is based on GitHub PR #4780 #jira UE-60136 GitHub 4780 : Proposed HTML5 Changes Change 4202481 by Sorin.Gradinaru UE-50492 OnUrlChanged does not fire on mobile #jira UE-50492 #iOS #4.21 Adding the events for load started & finished with errors Change 4202484 by Sorin.Gradinaru UEMOB-454 Move the virtual keyboard out of Experimental and make it enabled by default #jira UEMOB-454 #4.21 Change 4202583 by Bogdan.Vasilache [UE-53816] Allow texture sampling in vertex shaders for ES2 feature level #jira UE-53816 Change 4214064 by Nick.Shin Epic's GitHub policy is to treat "unknown" file extensions as "binary" changing filenames so that they will show up GitHub's repo this is in reference to GitHub PR #4780 #jira UE-60136 GitHub 4780 : Proposed HTML5 Changes Change 4224514 by Mi.Wang We should not Tick USceneCaptureComponent on DS by default. Change 4230192 by Nick.Shin HTML5 READMEs updating old ones - and putting new ones in these originally came from (mostly) onboarding the chrome team on UE4 emails. capturing most of that in markdown format. #jria UEMOB-255 HTML5 Multithreading Change 4232460 by Nick.Shin HTML5 - fix UE_MakeHTTPDataRequest() crash #jira UE-38351 ( Pri:1 - 4.21 ) Red and Blue color channels flipped on materials called from HTML5 server Change 4234647 by Nick.Shin HTML5 - ERGBFormat::RGBA vs ERGBFormat::BGRA - make use of the enums in UAsyncTaskDownloadImage::HandleImageRequest() - enable RGBA vs BGRA options for JPG decoder #jira UE-38351 ( Pri:1 - 4.21 ) Red and Blue color channels flipped on materials called from HTML5 server Change 4240086 by Sorin.Gradinaru UE-61345 Decals in Remote Session are not rendering on some iOS devices #jira UE-61345 #4.21 #iOS Changed the texture compression from DXT5 to RGBA Change 4240234 by Sorin.Gradinaru UE-61838 Android 'Launch On All' can't run during an existing launch on session on Windows #jira UE-61838 #4.21 Cancel previous sessions before launching the selected configuration. Change 4244686 by Nick.Shin HTML5 - syncing build scripts #jria UEMOB-255 HTML5 Multithreading Change 4246399 by Nick.Shin HTML5 - syncing PhysX build scripts #jria UEMOB-255 HTML5 Multithreading Change 4267990 by Bogdan.Vasilache [UEMOB-405] - Mobile PIE polishing - Bezel & Rotation + related subtasks #jira UEMOB-405 #jira UEMOB-458 #jira UEMOB-459 #jira UEMOB-460 Change 4280211 by Chris.Babcock Fix FD_SET macro invoke crash when Socket FD exceed 1023 (contributed by scahp) #jira UE-62290 #PR #4912 #ue4 #android Change 4300275 by Nick.Shin HTML5 - Unreal File Server - css response header fixes #jira UE-63009 HTML5 template page has non-centered viewport and loading banner stretches the entire screen Change 4302328 by Nick.Shin #jira UE-63108 HTML5 RunMacHTML5LauncherHelper.command files do not have appropriate permissions to run on Mac Change 4303428 by Jack.Porter Fixed crash during cooking for certain landscapes with collision data out of sync with render data. Change 4307517 by Jack.Porter Fix warning on Mac/Linux #jira UE-62993 Change 4311437 by Nick.Shin HTML5 : re-enabling [ -s BINARYEN_TRAP_MODE='clamp'; ] warning: this is technically slower performing -- but, this fixes a lot of 64-bit issues (HTML5 is "only" 32-bits) #jira UE-63049 HTML5 Quicklaunch to Chrome crashes with RuntimeError: float unrepresentable in integer range Change 4312602 by Chris.Babcock Allow some hardware buttons through if hardware keyboard disabled #jira UE-63260 #ue4 #android Change 4312711 by Chris.Babcock Fix string formatting for some locales in GetMetaDataString Method (contributed by IlinAleksey) #jira UE-63252 #PR #5026 #ue4 #android Change 4321719 by Bogdan.Vasilache UE-63378 - Fixed static analysis warnings #jira UE-63378 Change 4331224 by Jack.Porter Fixed Mobile PIE resolution for iPhone 8 Plus #jira UE-63191 Change 4339446 by Jack.Porter Modified foliage thumbnail color to better show when it is inactive #jira UE-30824 #5057 Change 4339458 by Dmitriy.Dyomin Fixed typos in glObjectPtrLabel type definitions (contributed by TheCodez) #4920 #jira UE-62368 Change 4339460 by Dmitriy.Dyomin Fixed: bRenderInMainPass on SkeletalMeshes doesn't work on Mobile #jira UE-59077 Change 4339523 by Sorin.Gradinaru UE-61351 Error: Failed to send -1 bytes of data to RemoteConnection spammed in the editor log when closing RemoteSession on device during connection #jira UE-61351 #4.21 Not an real issue. The message is issued whenever the host (or the client) tries to send messages through an inactive channel. There is a "/ping" message sent back and forth between the host and the client, with high frequency (hence the spam) - if this message is no longer received, the host (or the client) decides to terminate the connection. "Downgrading" the message from Error to Log, to avoid spamming the log on release builds. Change 4339590 by Sorin.Gradinaru UE-61554 Web Browser: No Transparency in 3D Widget Component on Mobile #jira UE-61554 #Android #4.21 Modified Web Texture Material's blend mode to "Translucent" Change 4339595 by Sorin.Gradinaru [Build] UE4 Dev-Mobile - CL 4339590 - Incremental Editor Win64 Change 4339597 by Jack.Porter Fix static analysis CIS This function should be moved to SceneUtils.h and the dependency in AsyncTaskDownloadImage resolved another way. #jira UE-63378 Change 4339599 by Sorin.Gradinaru UE-56076 Android Launch On "Running..." toast intermittently doesn't appear #jira UE-56076 #Android #4.21 wait before getting the process list with "adb shell ps" - on some devices the list is not yet ready Change 4339647 by Sorin.Gradinaru UE-54791 Planar Reflection gamma / brightness incorrect on Samsung Galaxy S5 #jira UE-54791 #Android #4.21 The planar texture contains encoded data: - decode it immediately after sampling the texture - alpha channel was inverted during the PrefilterPlanarReflectionPS step Change 4339654 by Sorin.Gradinaru UE-59697 WebBrowser SetVisibility not working on Android & iOS #jira UE-59697 #4.21 #iOS #Android SetVisibility implemented on iOS and Android's web browsers, by extending the implementation on Windows: use a list to store references to the webbrowsers in the scene , then in WebBrowserSingleton::Tick check if the cached web browsers windows or widgets ticked on the last frame Change 4339656 by Sorin.Gradinaru Remove unnecessary comment in IOSPlatformWebBrowser.cpp Change 4339666 by Bogdan.Vasilache [UEMOB-455] Make editor tool to dump out a device .json file for a connected Android device #jira UEMOB-455 Change 4339667 by Bogdan.Vasilache Mobile PIE bugfixes #jira UE-63288 #jira UE-63282 Change 4339700 by Bogdan.Vasilache [bugfix] Accidentally disabled SetPreviewPlatform() call for mobile PIE simulation. Change 4339733 by Sorin.Gradinaru UE-59381 Ios application default orientation #jira UE-59381 #iOS #4.21 - added Initial interface orientation in the generated Plist file (UIInterfaceOrientation key) - implemented preferredInterfaceOrientationForPresentation in the IOSViewController - re-arranged the orientation list in the Plist file Change 4339781 by Sorin.Gradinaru UE-60716 Show cursor in Editor text boxes when focused on Android #jira UE-60716 #Android #4.21 Updating the widget's cursor position from the native code. This also overrides the fix for UE49124 Cursor in virtual keyboard and UMG don't match - initially the solution was to hide the widget's cursor. Change 4340037 by Jack.Porter Added an Android Project Settings checkbox to enable detection of Vulkan device support by default. If unchecked, the -detectvulkan command line parameter can be used. Change 4340076 by Jack.Porter Fix warning seen by CIS #jira UE-63377 Change 4340212 by Sorin.Gradinaru UE-63224 Android DLC profile in Project Launcher fails if there is a space in the path for the destination directory #jira UE-63224 #4.21 #Android Avoid enclosing path arguments in double quotes (""<path>""). MakePathSafeToUseWithCommandLine(<path>) already adds quotes when needed. Change 4340721 by Andrew.Grant Fixed -vsmac argument not working with GenerateProjectFiles #jira nojira Change 4340822 by Andrew.Grant Replaced default iOS splashcreens with UE logo Added missing resolutions (iPhone 5 portrait, iPad 10.5") Removed custom splash images from RemoteSessionApp #jira UE-59864, UE-61939 Change 4340857 by Chris.Babcock Fix virtual keyboard crashes on Android #jira none Change 4341047 by Andrew.Grant Prevent Xcode upgrade warnings for >9.0 versions Change 4343797 by Cosmin.Sulea iOS - iPhonePackager ExportCertificate command failing 100% Change 4343823 by Sorin.Gradinaru UE-63334 Unreal Remote 2 does not send information about motion control #jira UE-63334 #iOS #Android The functionality was commented out. Tested it for performance and it seems OK (despite the high frequency of /motion signals) Change 4343824 by Sorin.Gradinaru UEMOB-185 Implement the equivalent of FAndroidJSScripting for iOS UE-59488 FWebBrowserWindow::UnbindUObject of IOSPlatformWebBrowser.cpp is not implemented yet #jira UEMOB-185 #jira UE-59488 #4.21 #iOS New methods (using WebKit, matching the Android implementation): - Go back/forward - HandlePageLoading (loading/didCommitNavigation, loaded/didFinishNavigation) - HandleReceivedError (didFailNavigation) - execute JS code - controlling the client using JS commands (WKWebViewConfiguration & WKUserContentController): - in Android we using shouldInterceptRequest to intercept a custom resource URL (JS: XMLHttpRequest.send, document.location) - iOS will register handlers (JS: window.webkit.messageHandlers.<FMobileJSScripting::JSMessageHandler>.postMessage) Change 4343845 by Sorin.Gradinaru Adding the signatures for FJavaWrapper's CallLongMethod, CallFloatMethod and CallDoubleMethod in the AndroidJNI.h #4.21 #Android Change 4343893 by Cosmin.Sulea UEMOB-465 - Add Device Output Log support for iOS #jira UEMOB-465 Change 4343895 by Dmitriy.Dyomin Fixed: DepthFade does not work in mobile emulation while MobileMSAA enabled #jira UE-60404 Change 4343899 by Dmitriy.Dyomin GitHub 4851 : Fix layer info property bNoWeightBlend not being saved after tiled landscape import (contributed by cmp-) #4851 #jira UE-61437 Change 4343906 by Bogdan.Vasilache Editor's feature level is now saved and restored between sessions #jira UE-55506 #jira UE-59688 Change 4346729 by Jack.Porter Fix CIS #jira UE-63716 Change 4347811 by Jack.Porter Fix dependency chain while including PIEPreviewDeviceSpecification #jira UE-63755 Change 4348580 by Jack.Porter Fix CIS issues in IOSPlatformWebBrowser #jira UE-63809 Change 4350092 by Jack.Porter Fix null pointer exception in iPhonePackager when a matching certificate cannot be found #jira UE-63821 Change 4350968 by Jack.Porter Update binaries for deployment server #jira UEMOB-332 Change 4353925 by Jack.Porter Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile) Rework PR 4912 from CL 4280211 #jira UE-62290 Change 4354034 by Jack.Porter Rebuilt deployment server after backing out changes #jira UE-63826 Change 4354338 by Ben.Marsh Attempted fix for incorrect certificate errors when compiling remotely. * Overloaded meaning of the -Certificate argument (ie. as the output path rather than as the desired certificate when selecting a provision) was causing certificate name check to fail. Now uses a different parameter to specify the output path. * TVOS argument was not being passed when exporting the certificate, also causing the wrong provision/certificate pair to be selected. * Add support for the -bundlename argument, though it shouldn't be necessary when invoked from UBT since the UUID discovered in a previous invocation of IPP is explicitly specified. Since the provision UUID is already being specified to IPP, it should be able to identify the correct provision on phase -1 using this info. #jira UE-63859 Change 4354459 by Chris.Babcock Fix issue with Android PCH include files #jira UE-63909 #ue4 #android Change 4255761 by Peter.Sauerbrei fix for space in manifest name #jira UE-63868 #ROBOMERGE-OWNER: jason.bestimt #ROBOMERGE-SOURCE: CL 4356719 in //UE4/Main/... #ROBOMERGE-BOT: DEVVR (Main -> Dev-VR) [CL 4356730 by chris babcock in Dev-VR branch]
2018-09-10 21:28:08 -04:00
virtual void ExportDeviceProfile(const FString& OutPath, const FString& DeviceName) = 0;
protected:
/**
* Virtual destructor
*/
virtual ~IAndroidDeviceDetection() { }
};