X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit%2Fdali-toolkit-test-utils%2Ftest-gl-context-helper-abstraction.h;h=1a5a54c0bc0b85e4991d2640f8e5a7cc9834a45d;hp=0442f0db253eb370de4e6fc65ba5e7d216ce24a2;hb=34acf01671928c22fe260fe8aa365ec2d0e05525;hpb=acd889e1216f09643136902ba7a115c2e5589418 diff --git a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-gl-context-helper-abstraction.h b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-gl-context-helper-abstraction.h index 0442f0d..1a5a54c 100644 --- a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-gl-context-helper-abstraction.h +++ b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-gl-context-helper-abstraction.h @@ -2,7 +2,7 @@ #define TEST_GL_CONTEXT_HELPER_ABSTRACTION_H /* - * Copyright (c) 2019 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 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. @@ -23,49 +23,42 @@ namespace Dali { - /** * Class to emulate the GL context helper */ -class DALI_CORE_API TestGlContextHelperAbstraction: public Integration::GlContextHelperAbstraction +class DALI_CORE_API TestGlContextHelperAbstraction : public Integration::GlContextHelperAbstraction { public: /** * Constructor */ - TestGlContextHelperAbstraction() {}; + TestGlContextHelperAbstraction(){}; /** * Destructor */ - ~TestGlContextHelperAbstraction() {}; + ~TestGlContextHelperAbstraction() override{}; /** * @brief Switch to the surfaceless GL context */ - virtual void MakeSurfacelessContextCurrent() {}; - - /** - * @brief Switch to the GL context of the specific render surface - * @param[in] surface The render surface - */ - virtual void MakeContextCurrent( Integration::RenderSurface* surface ) {}; + void MakeSurfacelessContextCurrent() override{}; /** * @brief Clear the GL context */ - virtual void MakeContextNull() {}; + void MakeContextNull() override{}; /** * @brief Wait until all GL rendering calls for the current GL context are executed */ - virtual void WaitClient() {}; -private: + void WaitClient() override{}; - TestGlContextHelperAbstraction( const TestGlContextHelperAbstraction& ); ///< Undefined - TestGlContextHelperAbstraction& operator=( const TestGlContextHelperAbstraction& ); ///< Undefined +private: + TestGlContextHelperAbstraction(const TestGlContextHelperAbstraction&); ///< Undefined + TestGlContextHelperAbstraction& operator=(const TestGlContextHelperAbstraction&); ///< Undefined }; -} // Dali +} // namespace Dali #endif // TEST_GL_CONTEXT_HELPER_ABSTRACTION_H