#define DALI_TEST_GRAPHICS_APPLICATION_H
/*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2023 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
mCallstack.PushCall("ActivateResourceContext()", namedParams.str(), namedParams);
}
+ void PostRender() override
+ {
+ mCallstack.PushCall("PostRender()", "");
+ }
+
/**
* Inform graphics interface that this is the first frame after a resume.
*/
}
/**
+ * @return true if multisampled render to texture is supported
+ */
+ bool IsMultisampledRenderToTextureSupported() override
+ {
+ return true;
+ }
+
+ /**
* @return true if graphics subsystem is initialized
*/
bool IsInitialized() override
return 32768u;
}
+ uint32_t GetMaxCombinedTextureUnits() override
+ {
+ return 96;
+ }
+
+ /**
+ * @return the maximum texture samples when we use multisampled texture
+ */
+ uint8_t GetMaxTextureSamples() override
+ {
+ return 8u;
+ }
+
/**
* @return the version number of the shader language
*/
return 320;
}
+ void FrameStart() override
+ {
+ }
+
+ void LogMemoryPools() override
+ {
+ }
+
/**
* Store cached configurations
*/
void InitializeCore();
~TestGraphicsApplication() override;
static void LogMessage(Dali::Integration::Log::DebugPriority level, std::string& message);
- static void LogContext(bool start, const char* tag);
+ static void LogContext(bool start, const char* tag, const char* message);
Dali::Integration::Core& GetCore();
TestPlatformAbstraction& GetPlatform();
TestRenderController& GetRenderController();