Merge branch 'main' into jckand/FoundationAuto
This commit is contained in:
+2
-2
@@ -6,8 +6,8 @@ AssetProcessorTemp/**
|
||||
[Cc]ache/
|
||||
Editor/EditorEventLog.xml
|
||||
Editor/EditorLayout.xml
|
||||
Tools/**/*egg-info/**
|
||||
Tools/**/*egg-link
|
||||
**/*egg-info/**
|
||||
**/*egg-link
|
||||
UserSettings.xml
|
||||
[Uu]ser/
|
||||
FrameCapture/**
|
||||
|
||||
@@ -33,9 +33,6 @@ Assuming CMake is already setup on your operating system, below are some sample
|
||||
mkdir windows_vs2019
|
||||
cd windows_vs2019
|
||||
cmake .. -G "Visual Studio 16 2019" -A x64 -T host=x64 -DLY_3RDPARTY_PATH="%3RDPARTYPATH%" -DLY_PROJECTS=AutomatedTesting
|
||||
NOTE:
|
||||
Using the above command also adds EditorPythonTestTools to the PYTHONPATH OS environment variable.
|
||||
Additionally, some CTest scripts will add the Python interpreter path to the PYTHON OS environment variable.
|
||||
|
||||
To manually install the project in development mode using your own installed Python interpreter:
|
||||
cd /path/to/od3e/AutomatedTesting/Gem/PythonTests/EditorPythonTestTools
|
||||
|
||||
-110
@@ -1,110 +0,0 @@
|
||||
Metadata-Version: 1.0
|
||||
Name: editor-python-test-tools
|
||||
Version: 1.0.0
|
||||
Summary: Lumberyard editor Python bindings test tools
|
||||
Home-page: UNKNOWN
|
||||
Author: UNKNOWN
|
||||
Author-email: UNKNOWN
|
||||
License: UNKNOWN
|
||||
Description: All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
|
||||
its licensors.
|
||||
|
||||
For complete copyright and license terms please see the LICENSE at the root of this
|
||||
distribution (the "License"). All use of this software is governed by the License,
|
||||
or, if provided, by the license below or the license accompanying this file. Do not
|
||||
remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
|
||||
|
||||
INTRODUCTION
|
||||
------------
|
||||
|
||||
EditorPythonBindings is a Python project that contains a collection of testing tools
|
||||
developed by the Lumberyard Test Tech team. The project contains
|
||||
the following tools:
|
||||
|
||||
* Workspace Manager:
|
||||
A library to manipulate Lumberyard installations
|
||||
* Launchers:
|
||||
A library to test the game in a variety of platforms
|
||||
|
||||
|
||||
REQUIREMENTS
|
||||
------------
|
||||
|
||||
* Python 3.7.5 (64-bit)
|
||||
|
||||
It is recommended that you completely remove any other versions of Python
|
||||
installed on your system.
|
||||
|
||||
|
||||
INSTALL
|
||||
-----------
|
||||
It is recommended to set up these these tools with Lumberyard's CMake build commands.
|
||||
Assuming CMake is already setup on your operating system, below are some sample build commands:
|
||||
cd /path/to/od3e/
|
||||
mkdir windows_vs2019
|
||||
cd windows_vs2019
|
||||
cmake .. -G "Visual Studio 16 2019" -A x64 -T host=x64 -DLY_3RDPARTY_PATH="%3RDPARTYPATH%" -DLY_PROJECTS=AutomatedTesting
|
||||
NOTE:
|
||||
Using the above command also adds LyTestTools to the PYTHONPATH OS environment variable.
|
||||
Additionally, some CTest scripts will add the Python interpreter path to the PYTHON OS environment variable.
|
||||
There is some LyTestTools functionality that will search for these, so feel free to populate them manually.
|
||||
|
||||
To manually install the project in development mode using your own installed Python interpreter:
|
||||
cd /path/to/lumberyard/dev/Tools/LyTestTools/
|
||||
/path/to/your/python -m pip install -e .
|
||||
|
||||
For console/mobile testing, update the following .ini file in your root user directory:
|
||||
i.e. C:/Users/myusername/ly_test_tools/devices.ini (a.k.a. %USERPROFILE%/ly_test_tools/devices.ini)
|
||||
|
||||
You will need to add a section for the device, and a key holding the device identifier value (usually an IP or ID).
|
||||
It should look similar to this for each device:
|
||||
[android]
|
||||
id = 988939353955305449
|
||||
|
||||
[gameconsole]
|
||||
ip = 192.168.1.1
|
||||
|
||||
[gameconsole2]
|
||||
ip = 192.168.1.2
|
||||
|
||||
|
||||
PACKAGE STRUCTURE
|
||||
-----------------
|
||||
|
||||
The project is organized into packages. Each package corresponds to a tool:
|
||||
|
||||
- LyTestTools.ly_test_tools._internal: contains logging setup, pytest fixture, and o3de workspace manager modules
|
||||
- LyTestTools.ly_test_tools.builtin: builtin helpers and fixtures for quickly writing tests
|
||||
- LyTestTools.ly_test_tools.console: modules used for consoles
|
||||
- LyTestTools.ly_test_tools.environment: functions related to file/process management and cleanup
|
||||
- LyTestTools.ly_test_tools.image: modules related to image capturing and processing
|
||||
- LyTestTools.ly_test_tools.launchers: game launchers library
|
||||
- LyTestTools.ly_test_tools.log: modules for interacting with generated or existing log files
|
||||
- LyTestTools.ly_test_tools.o3de: modules used to interact with Open 3D Engine
|
||||
- LyTestTools.ly_test_tools.mobile: modules used for android/ios
|
||||
- LyTestTools.ly_test_tools.report: modules used for reporting
|
||||
- LyTestTools.tests: LyTestTools integration, unit, and example usage tests
|
||||
|
||||
|
||||
DIRECTORY STRUCTURE
|
||||
-------------------
|
||||
|
||||
The directory structure corresponds to the package structure. For example, the
|
||||
ly_test_tools.builtin package is located in the ly_test_tools/builtin/ directory.
|
||||
|
||||
|
||||
ENTRY POINTS
|
||||
------------
|
||||
|
||||
Deploying the project in development mode installs only entry points for pytest fixtures.
|
||||
|
||||
|
||||
UNINSTALLATION
|
||||
--------------
|
||||
|
||||
The preferred way to uninstall the project is:
|
||||
/path/to/your/python -m pip uninstall ly_test_tools
|
||||
|
||||
Platform: UNKNOWN
|
||||
-7
@@ -1,7 +0,0 @@
|
||||
README.txt
|
||||
setup.py
|
||||
editor_python_test_tools.egg-info/PKG-INFO
|
||||
editor_python_test_tools.egg-info/SOURCES.txt
|
||||
editor_python_test_tools.egg-info/dependency_links.txt
|
||||
editor_python_test_tools.egg-info/requires.txt
|
||||
editor_python_test_tools.egg-info/top_level.txt
|
||||
-1
@@ -1 +0,0 @@
|
||||
|
||||
-1
@@ -1 +0,0 @@
|
||||
ly_test_tools
|
||||
-1
@@ -1 +0,0 @@
|
||||
|
||||
+1940
-3160
File diff suppressed because it is too large
Load Diff
+556
-869
File diff suppressed because it is too large
Load Diff
+525
-867
File diff suppressed because it is too large
Load Diff
+556
-869
File diff suppressed because it is too large
Load Diff
+520
-851
File diff suppressed because it is too large
Load Diff
+534
-870
File diff suppressed because it is too large
Load Diff
+2505
-3402
File diff suppressed because it is too large
Load Diff
+1936
-3400
File diff suppressed because it is too large
Load Diff
+2510
-3402
File diff suppressed because it is too large
Load Diff
+2510
-3402
File diff suppressed because it is too large
Load Diff
+1936
-3400
File diff suppressed because it is too large
Load Diff
+2510
-3402
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+6
-5
@@ -21,6 +21,7 @@ if(CMAKE_VERSION VERSION_EQUAL 3.19)
|
||||
cmake_policy(SET CMP0111 OLD)
|
||||
endif()
|
||||
|
||||
include(cmake/LySet.cmake)
|
||||
include(cmake/Version.cmake)
|
||||
include(cmake/OutputDirectory.cmake)
|
||||
|
||||
@@ -74,9 +75,6 @@ foreach(restricted_platform ${PAL_RESTRICTED_PLATFORMS})
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
# Recurse into directory of general python test scripts
|
||||
add_subdirectory(ctest_scripts)
|
||||
|
||||
add_subdirectory(scripts)
|
||||
|
||||
# SPEC-1417 will investigate and fix this
|
||||
@@ -122,7 +120,10 @@ endif()
|
||||
include(cmake/RuntimeDependencies.cmake)
|
||||
# 5. Perform test impact framework post steps once all of the targets have been enumerated
|
||||
ly_test_impact_post_step()
|
||||
# 6. Generate the O3DE find file and setup install locations for scripts, tools, assets etc., required by the engine
|
||||
# 6. Generate the O3DE find file and setup install locations for scripts, tools, assets etc., required by the engine
|
||||
if(NOT INSTALLED_ENGINE)
|
||||
ly_setup_o3de_install()
|
||||
endif()
|
||||
|
||||
# IMPORTANT: must be included last
|
||||
include(cmake/CPack.cmake)
|
||||
endif()
|
||||
|
||||
+1
-1
@@ -3,4 +3,4 @@ SDKs
|
||||
|
||||
#ColinB (8/26)- I know there are depot files that this will ignore... But these files should not be
|
||||
#here, they should all be in 3rdParty... so we will ignore them until I can move them, it should
|
||||
#be OK for now because they shouldn't change at all anyway.
|
||||
#be OK for now because they shouldn't change at all anyway.
|
||||
|
||||
@@ -396,4 +396,4 @@ void CFogVolumeRenderNode::GetVolumetricFogColorBox(const Vec3& worldPos, const
|
||||
resultColor = ColorF(m_cachedFogColor.r, m_cachedFogColor.g, m_cachedFogColor.b, min(fog, 1.0f));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -325,4 +325,4 @@ bool CGeomCacheMeshManager::ReadMeshColors(CGeomCacheStreamReader& reader, const
|
||||
return true;
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -1488,4 +1488,4 @@ void CGeomCacheRenderNode::OnGeomCacheStaticDataUnloaded()
|
||||
Clear(false);
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -14,4 +14,4 @@
|
||||
// Description : Draw static objects (vegetations)
|
||||
|
||||
|
||||
#include "Cry3DEngine_precompiled.h"
|
||||
#include "Cry3DEngine_precompiled.h"
|
||||
|
||||
@@ -94,4 +94,4 @@ void C3DEngine::DisablePostEffects()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,4 +22,4 @@ TEST(MockValidationTests, SystemMock_Compiles)
|
||||
TEST(MockValidationTests, LogMock_Compiles)
|
||||
{
|
||||
LogMock mockLog;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -71,4 +71,4 @@ namespace std17
|
||||
}
|
||||
}
|
||||
|
||||
#endif // CRYINCLUDE_CRYCOMMON_ALGORITHM_H
|
||||
#endif // CRYINCLUDE_CRYCOMMON_ALGORITHM_H
|
||||
|
||||
@@ -318,4 +318,4 @@ namespace Bezier
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -63,4 +63,4 @@ public:
|
||||
};
|
||||
|
||||
|
||||
#endif // #ifndef _CREFOGVOLUME_
|
||||
#endif // #ifndef _CREFOGVOLUME_
|
||||
|
||||
@@ -67,4 +67,4 @@ public:
|
||||
_smart_ptr<IRenderMesh> m_pHullMesh;
|
||||
};
|
||||
|
||||
#endif // #ifndef _CREVOLUMEOBJECT_
|
||||
#endif // #ifndef _CREVOLUMEOBJECT_
|
||||
|
||||
@@ -54,4 +54,4 @@ private:
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -35,4 +35,4 @@ namespace AZ
|
||||
};
|
||||
|
||||
typedef AZ::EBus<HeightmapUpdateNotification> HeightmapUpdateNotificationBus;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -83,4 +83,4 @@ void LocalizationManagerRequests::LocalizeAndSubstitute(const AZStd::string& loc
|
||||
|
||||
outLocalizedString = locString;
|
||||
LocalizationManagerRequestBus::Broadcast(&LocalizationManagerRequestBus::Events::LocalizeAndSubstituteInternal, outLocalizedString, keys, values);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -96,4 +96,4 @@ public: // member functions
|
||||
virtual void OnCheckboxStateChange([[maybe_unused]] bool checked) {}
|
||||
};
|
||||
|
||||
typedef AZ::EBus<UiCheckboxNotifications> UiCheckboxNotificationBus;
|
||||
typedef AZ::EBus<UiCheckboxNotifications> UiCheckboxNotificationBus;
|
||||
|
||||
@@ -124,4 +124,4 @@ public: // member functions
|
||||
virtual void OnDropdownValueChanged([[maybe_unused]] AZ::EntityId option) {}
|
||||
};
|
||||
|
||||
typedef AZ::EBus<UiDropdownNotifications> UiDropdownNotificationBus;
|
||||
typedef AZ::EBus<UiDropdownNotifications> UiDropdownNotificationBus;
|
||||
|
||||
@@ -63,4 +63,4 @@ public: // member functions
|
||||
virtual void OnDropdownOptionSelected() {}
|
||||
};
|
||||
|
||||
typedef AZ::EBus<UiDropdownOptionNotifications> UiDropdownOptionNotificationBus;
|
||||
typedef AZ::EBus<UiDropdownOptionNotifications> UiDropdownOptionNotificationBus;
|
||||
|
||||
@@ -83,4 +83,4 @@ public: // member functions
|
||||
virtual void OnRadioButtonStateChange([[maybe_unused]] bool checked) {}
|
||||
};
|
||||
|
||||
typedef AZ::EBus<UiRadioButtonNotifications> UiRadioButtonNotificationBus;
|
||||
typedef AZ::EBus<UiRadioButtonNotifications> UiRadioButtonNotificationBus;
|
||||
|
||||
@@ -38,4 +38,4 @@ public: // static member data
|
||||
static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Single;
|
||||
};
|
||||
|
||||
typedef AZ::EBus<UiRadioButtonCommunicationInterface> UiRadioButtonCommunicationBus;
|
||||
typedef AZ::EBus<UiRadioButtonCommunicationInterface> UiRadioButtonCommunicationBus;
|
||||
|
||||
@@ -75,4 +75,4 @@ public: // member functions
|
||||
virtual void OnRadioButtonGroupStateChange([[maybe_unused]] AZ::EntityId checkedRadioButton) {}
|
||||
};
|
||||
|
||||
typedef AZ::EBus<UiRadioButtonGroupNotifications> UiRadioButtonGroupNotificationBus;
|
||||
typedef AZ::EBus<UiRadioButtonGroupNotifications> UiRadioButtonGroupNotificationBus;
|
||||
|
||||
@@ -44,4 +44,4 @@ public: // static member data
|
||||
static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Single;
|
||||
};
|
||||
|
||||
typedef AZ::EBus<UiRadioButtonGroupCommunicationInterface> UiRadioButtonGroupCommunicationBus;
|
||||
typedef AZ::EBus<UiRadioButtonGroupCommunicationInterface> UiRadioButtonGroupCommunicationBus;
|
||||
|
||||
@@ -107,4 +107,4 @@ public: // member functions
|
||||
virtual void OnSliderValueChanged([[maybe_unused]] float value) {}
|
||||
};
|
||||
|
||||
typedef AZ::EBus<UiSliderNotifications> UiSliderNotificationBus;
|
||||
typedef AZ::EBus<UiSliderNotifications> UiSliderNotificationBus;
|
||||
|
||||
@@ -57,4 +57,4 @@ namespace Maestro
|
||||
// defined in the bus header so we can refer to it in the Editor code
|
||||
#define EditorSequenceComponentTypeId "{C02DC0E2-D0F3-488B-B9EE-98E28077EC56}"
|
||||
|
||||
} // namespace Maestro
|
||||
} // namespace Maestro
|
||||
|
||||
@@ -97,4 +97,4 @@ namespace AZStd
|
||||
return retVal;
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -52,4 +52,4 @@ enum class AnimNodeType
|
||||
Num
|
||||
};
|
||||
|
||||
#endif // CRYINCLUDE_CRYCOMMON_MAESTRO_TYPES_ANIMNODETYPE_H
|
||||
#endif // CRYINCLUDE_CRYCOMMON_MAESTRO_TYPES_ANIMNODETYPE_H
|
||||
|
||||
@@ -42,4 +42,4 @@ enum class AnimValue
|
||||
};
|
||||
|
||||
|
||||
#endif CRYINCLUDE_CRYCOMMON_MAESTRO_TYPES_ANIMVALUE_H
|
||||
#endif CRYINCLUDE_CRYCOMMON_MAESTRO_TYPES_ANIMVALUE_H
|
||||
|
||||
@@ -45,4 +45,4 @@ enum class AnimValueType
|
||||
};
|
||||
|
||||
|
||||
#endif // CRYINCLUDE_CRYCOMMON_MAESTRO_TYPES_ANIMVALUETYPE_H
|
||||
#endif // CRYINCLUDE_CRYCOMMON_MAESTRO_TYPES_ANIMVALUETYPE_H
|
||||
|
||||
@@ -35,4 +35,4 @@ struct IAssetBlendKey
|
||||
};
|
||||
|
||||
AZ_TYPE_INFO_SPECIALIZE(IAssetBlendKey, "{15B82C3A-6DB8-466F-AF7F-18298FCD25FD}");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -77,4 +77,4 @@ namespace Maestro
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace Maestro
|
||||
} // namespace Maestro
|
||||
|
||||
@@ -25,4 +25,4 @@ enum class SequenceType
|
||||
SequenceComponent = 1 // Sequence Component on an AZ::Entity
|
||||
};
|
||||
|
||||
#endif // CRYINCLUDE_CRYCOMMON_MAESTRO_TYPES_SEQUENCETYPE_H
|
||||
#endif // CRYINCLUDE_CRYCOMMON_MAESTRO_TYPES_SEQUENCETYPE_H
|
||||
|
||||
@@ -110,4 +110,4 @@ private:
|
||||
CTimeValue m_frameStartTime;
|
||||
float m_frameTime;
|
||||
float m_frameRate;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -12,4 +12,4 @@
|
||||
set(FILES
|
||||
../../EngineSettingsBackendApple.cpp
|
||||
../../EngineSettingsBackendApple.h
|
||||
)
|
||||
)
|
||||
|
||||
+1
-1
@@ -12,4 +12,4 @@
|
||||
set(FILES
|
||||
../../EngineSettingsBackendWin32.cpp
|
||||
../../EngineSettingsBackendWin32.h
|
||||
)
|
||||
)
|
||||
|
||||
@@ -10,4 +10,4 @@
|
||||
#
|
||||
|
||||
set(FILES
|
||||
)
|
||||
)
|
||||
|
||||
@@ -120,4 +120,4 @@ namespace AZ
|
||||
};
|
||||
|
||||
using RenderScreenshotNotificationBus = AZ::EBus<RenderScreenshotNotifications>;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -83,4 +83,4 @@ namespace AzRTT
|
||||
//! confirm if user wants to use texture size larger than MaxRecommendedRenderTargetSize
|
||||
bool ValidateTextureSize(void* newValue, const AZ::Uuid& valueType);
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,4 +64,4 @@ namespace Serialization
|
||||
using Serialization::ForceFeedbackIdName;
|
||||
}
|
||||
}
|
||||
#endif // CRYINCLUDE_CRYCOMMON_SERIALIZATION_DECORATORS_RESOURCES_H
|
||||
#endif // CRYINCLUDE_CRYCOMMON_SERIALIZATION_DECORATORS_RESOURCES_H
|
||||
|
||||
@@ -24,4 +24,4 @@ namespace Serialization
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -44,4 +44,4 @@ namespace AZ
|
||||
};
|
||||
|
||||
using StereoRendererRequestBus = EBus < StereoRendererBus >;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -85,4 +85,4 @@ public:
|
||||
PodArray<T*> m_lstUsed;
|
||||
T* m_pPool;
|
||||
int m_nPoolSize;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -256,4 +256,4 @@ namespace AZ
|
||||
|
||||
}//namespace VR
|
||||
AZ_TYPE_INFO_SPECIALIZE(VR::ControllerIndex, "{90D4C80E-A1CC-4DBF-A131-0082C75835E8}");
|
||||
}//namespace AZ
|
||||
}//namespace AZ
|
||||
|
||||
@@ -24,4 +24,4 @@ set(FILES
|
||||
# Remove files that cause #define collisions on Mac due to multiple inclusions of 'AppleSpecific.h' and include orders
|
||||
set(SKIP_UNITY_BUILD_INCLUSION_FILES
|
||||
SettingsManagerHelpers.cpp
|
||||
)
|
||||
)
|
||||
|
||||
@@ -23,4 +23,4 @@ set(FILES
|
||||
Mocks/ITextureMock.h
|
||||
Mocks/IRemoteConsoleMock.h
|
||||
Mocks/MockCGFContent.h
|
||||
)
|
||||
)
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
EXPORTS
|
||||
ModuleInitISystem @2
|
||||
CryModuleGetMemoryInfo @8
|
||||
CryModuleGetMemoryInfo @8
|
||||
|
||||
@@ -185,6 +185,7 @@ string CCmdLine::Next(char*& src)
|
||||
return string(org, src - 1);
|
||||
|
||||
case ' ':
|
||||
ch = *src++;
|
||||
continue;
|
||||
default:
|
||||
org = src - 1;
|
||||
|
||||
@@ -464,4 +464,4 @@ static void printModel(const HuffmanTreeNode* const pNodes, const HuffmanSymbolC
|
||||
printf("\n");
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}*/
|
||||
|
||||
@@ -91,4 +91,4 @@ void CIOSConsole::PutText( int x, int y, const char * msg )
|
||||
void CIOSConsole::EndDraw() {
|
||||
// Do Nothing
|
||||
}
|
||||
#endif // IOS
|
||||
#endif // IOS
|
||||
|
||||
@@ -26,4 +26,4 @@ bool CLZ4Decompressor::DecompressData(const char* pIn, char* pOut, const uint ou
|
||||
void CLZ4Decompressor::Release()
|
||||
{
|
||||
delete this;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -313,4 +313,4 @@ bool CMiniButton::SetConnectedCtrl(IMiniCtrl* pConnectedCtrl)
|
||||
return true;
|
||||
}
|
||||
|
||||
MINIGUI_END
|
||||
MINIGUI_END
|
||||
|
||||
@@ -171,4 +171,4 @@ void CMiniInfoBox::AutoResize()
|
||||
m_requiresResize = false;
|
||||
}
|
||||
|
||||
MINIGUI_END
|
||||
MINIGUI_END
|
||||
|
||||
@@ -361,4 +361,4 @@ void CMiniMenu::AddSubCtrl(IMiniCtrl* pCtrl)
|
||||
// Call parent
|
||||
CMiniButton::AddSubCtrl(pCtrl);
|
||||
}
|
||||
MINIGUI_END
|
||||
MINIGUI_END
|
||||
|
||||
@@ -182,4 +182,4 @@ void CRemoteConsole::RegisterListener(IRemoteConsoleListener* pListener, const c
|
||||
void CRemoteConsole::UnregisterListener(IRemoteConsoleListener* pListener)
|
||||
{
|
||||
m_listener.Remove(pListener);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -284,4 +284,4 @@ void CSampler::LogSampledData()
|
||||
}
|
||||
|
||||
|
||||
#endif // defined(WIN32)
|
||||
#endif // defined(WIN32)
|
||||
|
||||
@@ -356,4 +356,4 @@ void DebugCamera::MovePosition(const Vec3& offset)
|
||||
m_position += m_view.GetColumn2() * offset.z;
|
||||
}
|
||||
|
||||
} // namespace LegacyViewSystem
|
||||
} // namespace LegacyViewSystem
|
||||
|
||||
@@ -80,4 +80,4 @@ inline bool DebugCamera::IsFree()
|
||||
return m_cameraMode == DebugCamera::ModeFree;
|
||||
}
|
||||
|
||||
} // namespace LegacyViewSystem
|
||||
} // namespace LegacyViewSystem
|
||||
|
||||
@@ -39,4 +39,4 @@ private:
|
||||
static void SphereTessR(Vec3& v0, Vec3& v1, Vec3& v2, int depth, t_arrDeferredMeshIndBuff& indBuff, t_arrDeferredMeshVertBuff& vertBuff);
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -90,4 +90,4 @@ namespace Render
|
||||
} // namespace Render
|
||||
|
||||
#endif // CRYINCLUDE_CRYENGINE_RENDERDLL_COMMON_MEMORY_VRAMDRILLERBUS_H
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
@@ -685,4 +685,4 @@ Matrix44& SPostEffectsUtils::GetColorMatrix()
|
||||
return m_pColorMat;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -309,4 +309,4 @@ private:
|
||||
static CTexture* m_UpscaleTarget;
|
||||
};
|
||||
|
||||
#endif // CRYINCLUDE_CRYENGINE_RENDERDLL_COMMON_POSTPROCESS_POSTPROCESSUTILS_H
|
||||
#endif // CRYINCLUDE_CRYENGINE_RENDERDLL_COMMON_POSTPROCESS_POSTPROCESSUTILS_H
|
||||
|
||||
@@ -71,4 +71,4 @@ void AbstractMeshElement::DrawMeshWireframe()
|
||||
gcpRendD3D->FX_DrawIndexedPrimitive(eptTriangleList, 0, 0, nVertexBufferCount, 0, nIndexBufferCount);
|
||||
|
||||
gcpRendD3D->FX_SetState(nState);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -47,4 +47,4 @@ void CREDeferredShading::mfReset()
|
||||
|
||||
void CREDeferredShading::mfActivate([[maybe_unused]] int iProcess)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -240,4 +240,4 @@ bool CREGeomCache::GetGeometryInfo(SGeometryInfo &streams)
|
||||
return true;
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -47,4 +47,4 @@ void CREHDRProcess::mfReset()
|
||||
|
||||
void CREHDRProcess::mfActivate([[maybe_unused]] int iProcess)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -58,4 +58,4 @@ IOpticsElementBase* COpticsFactory::Create(EFlareType type) const
|
||||
default:
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -74,4 +74,4 @@ public:
|
||||
static OpticsPredef instance;
|
||||
return &instance;
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
@@ -850,4 +850,4 @@ EPolygonInCircle2D PolygonInCircle2D(const Vec2& center, const float radius, con
|
||||
}
|
||||
|
||||
return state;
|
||||
}//-------------------------------------------------------------------------------------------------
|
||||
}//-------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -150,4 +150,4 @@ enum EPolygonInCircle2D
|
||||
|
||||
EPolygonInCircle2D PolygonInCircle2D(const Vec2& center, const float radius, const Vec2* pPolygon, const int numPts);
|
||||
|
||||
#endif // _POLYGON_MATH_2D_
|
||||
#endif // _POLYGON_MATH_2D_
|
||||
|
||||
@@ -285,4 +285,4 @@ void CSpatialHashGrid<T, GridSize, BucketSize>::DebugDraw()
|
||||
#endif // !RELEASE
|
||||
|
||||
#endif // GLASSCFG_USE_HASH_GRID
|
||||
#endif // _SPATIAL_HASH_GRID_
|
||||
#endif // _SPATIAL_HASH_GRID_
|
||||
|
||||
@@ -19,4 +19,4 @@ FX_STATIC_FLAG(GMEM_RT_GREATER_FOUR)
|
||||
FX_STATIC_FLAG(NO_DEPTH_CLIPPING)
|
||||
FX_STATIC_FLAG(FEATURE_FETCH_DEPTHSTENCIL)
|
||||
FX_STATIC_FLAG(GMEM_VELOCITY_BUFFER)
|
||||
FX_STATIC_FLAG(GLES3_0)
|
||||
FX_STATIC_FLAG(GLES3_0)
|
||||
|
||||
@@ -51,4 +51,4 @@ struct PerFrameParameters
|
||||
Vec4 m_VolumetricFogDistanceParams;
|
||||
};
|
||||
|
||||
#endif // _PER_FRAME_RESOURCE_GROUP_
|
||||
#endif // _PER_FRAME_RESOURCE_GROUP_
|
||||
|
||||
@@ -228,4 +228,4 @@ void CPowerOf2BlockPacker::FreeContainers()
|
||||
Clear();
|
||||
stl::free_container(m_Blocks);
|
||||
stl::free_container(m_BlockBitmap);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -43,4 +43,4 @@ void CStereoTexture::Apply(int nTUnit, int nState, int nTexMatSlot, int nSUnit,
|
||||
{
|
||||
AZ_Assert(true, "Invalid eye provided for rendering");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,4 +37,4 @@ public:
|
||||
void Apply(int nTUnit, int nState = -1, int nTexMatSlot = EFTT_UNKNOWN, int nSUnit = -1, SResourceView::KeyType nResViewKey = SResourceView::DefaultView, EHWShaderClass eHWSC = eHWSC_Pixel) override;
|
||||
|
||||
AZStd::vector<CTexture*> m_textures;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -12,4 +12,4 @@
|
||||
// Original file Copyright Crytek GMBH or its affiliates, used under license.
|
||||
|
||||
#include "RenderDll_precompiled.h"
|
||||
|
||||
|
||||
|
||||
@@ -198,4 +198,4 @@ bool CRELensOptics::mfDraw(CShader* pShader, [[maybe_unused]] SShaderPass* pass)
|
||||
void CRELensOptics::ClearResources()
|
||||
{
|
||||
g_SoftOcclusionManager.ClearResources();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,4 +14,4 @@
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup />
|
||||
</Project>
|
||||
</Project>
|
||||
|
||||
@@ -14,4 +14,4 @@
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup />
|
||||
</Project>
|
||||
</Project>
|
||||
|
||||
@@ -116,4 +116,4 @@ class D3DHMDRenderer
|
||||
EyeRenderTarget m_eyes[STEREO_EYE_COUNT]; ///< Device render targets to be rendered to and submitted to the HMD for display.
|
||||
|
||||
bool m_framePrepared; ///< If true, PrepareFrame() and SubmitFrame() were called in the proper ordering (just for debugging purproses).
|
||||
};
|
||||
};
|
||||
|
||||
@@ -53,4 +53,4 @@ namespace RenderCapabilities
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user