add virtual phone

This commit is contained in:
2026-01-18 00:20:36 +01:00
parent 9cf3ffdbaf
commit fb58c2d959
22 changed files with 65 additions and 16 deletions

View File

@@ -19,7 +19,7 @@ public static final XAPKFile[] xAPKS = {
new XAPKFile(
true, // true signifies a main file
"1", // the version of the APK that the file was uploaded against
97538444L // the length of the file in bytes
98985607L // the length of the file in bytes
)
};
};

File diff suppressed because one or more lines are too long

View File

@@ -85,7 +85,7 @@ bAllowClientSideNavigation=True
+ActiveGameNameRedirects=(OldGameName="/Script/TP_VirtualRealityBP",NewGameName="/Script/MosisUnreal")
[/Script/AndroidFileServerEditor.AndroidFileServerRuntimeSettings]
bEnablePlugin=True
bEnablePlugin=False
bAllowNetworkConnection=True
SecurityToken=40AD4D57409C43F8A8ADC6BE2AFF4735
bIncludeInShipping=False

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -59,9 +59,11 @@ void UMosisPhoneTexture::UpdateFromHardwareBuffer(AHardwareBuffer* Buffer)
for (uint32 y = 0; y < Desc.height; y++)
{
uint32 SrcRow = y;
uint32 DstRow = Desc.height - 1 - y; // Flip Y for Vulkan
FMemory::Memcpy(
TextureData.GetData() + y * Desc.width * 4,
PixelData + y * StridePixels * 4,
TextureData.GetData() + DstRow * Desc.width * 4,
PixelData + SrcRow * StridePixels * 4,
Desc.width * 4
);
}
@@ -118,9 +120,11 @@ void UMosisPhoneTexture::NotifyFrameAvailable()
for (uint32 y = 0; y < Desc.height; y++)
{
uint32 SrcRow = y;
uint32 DstRow = Desc.height - 1 - y; // Flip Y for Vulkan
FMemory::Memcpy(
TextureData.GetData() + y * Desc.width * 4,
PixelData + y * StridePixels * 4,
TextureData.GetData() + DstRow * Desc.width * 4,
PixelData + SrcRow * StridePixels * 4,
Desc.width * 4
);
}