X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-adaptor%2Fdali-test-suite-utils%2Ftest-graphics-application.h;h=aef657afc37423702da868232828badab63cbdc2;hb=299781da2924963459b7f13cfb8b39f2374db55d;hp=b51bbda5043d5804c7e45644b384b477ea6a6b3f;hpb=4196aa2061de354373c78a29a2dbaae3ab0099e6;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/automated-tests/src/dali-adaptor/dali-test-suite-utils/test-graphics-application.h b/automated-tests/src/dali-adaptor/dali-test-suite-utils/test-graphics-application.h index b51bbda..aef657a 100644 --- a/automated-tests/src/dali-adaptor/dali-test-suite-utils/test-graphics-application.h +++ b/automated-tests/src/dali-adaptor/dali-test-suite-utils/test-graphics-application.h @@ -2,7 +2,7 @@ #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. @@ -111,6 +111,11 @@ public: mCallstack.PushCall("ActivateResourceContext()", namedParams.str(), namedParams); } + void PostRender() override + { + mCallstack.PushCall("PostRender()", ""); + } + /** * Inform graphics interface that this is the first frame after a resume. */ @@ -143,6 +148,14 @@ public: } /** + * @return true if multisampled render to texture is supported + */ + bool IsMultisampledRenderToTextureSupported() override + { + return true; + } + + /** * @return true if graphics subsystem is initialized */ bool IsInitialized() override @@ -166,6 +179,19 @@ public: 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 */ @@ -174,6 +200,14 @@ public: return 320; } + void FrameStart() override + { + } + + void LogMemoryPools() override + { + } + /** * Store cached configurations */ @@ -212,7 +246,7 @@ public: 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();