Format all C++ and Java code via clang-format

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin
2025-08-17 14:32:37 +07:00
parent 9f0290c0ec
commit bfffa1fff4
2169 changed files with 56441 additions and 64188 deletions

View File

@@ -9,6 +9,7 @@ namespace dp
class StaticTexture : public Texture
{
using Base = Texture;
public:
class StaticKey : public Key
{
@@ -21,14 +22,12 @@ public:
StaticTexture();
/// @todo All xxxName can be std::string_view after Platform::GetReader (StyleReader) refactoring.
StaticTexture(ref_ptr<dp::GraphicsContext> context, std::string const & textureName,
std::string const & skinPathName, dp::TextureFormat format,
ref_ptr<HWTextureAllocator> allocator, bool allowOptional = false);
StaticTexture(ref_ptr<dp::GraphicsContext> context, std::string const & textureName, std::string const & skinPathName,
dp::TextureFormat format, ref_ptr<HWTextureAllocator> allocator, bool allowOptional = false);
ref_ptr<ResourceInfo> FindResource(Key const & key, bool & newResource) override;
void Create(ref_ptr<dp::GraphicsContext> context, Params const & params) override;
void Create(ref_ptr<dp::GraphicsContext> context, Params const & params,
ref_ptr<void> data) override;
void Create(ref_ptr<dp::GraphicsContext> context, Params const & params, ref_ptr<void> data) override;
bool IsLoadingCorrect() const { return m_isLoadingCorrect; }