X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fgraphics%2Fcommon%2Fgraphics-interface.h;h=53fa46216b6265006262f64a1e8d5c8d11edf1e8;hb=815490375bbb42ef8454fa5f474268084e08b62f;hp=6575a0ced36aa3c9ebffe67a99da3fe90c349e7c;hpb=177e1023cdb7fb21f9a9cfad861c1688c179eecd;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/graphics/common/graphics-interface.h b/dali/internal/graphics/common/graphics-interface.h index 6575a0c..53fa462 100644 --- a/dali/internal/graphics/common/graphics-interface.h +++ b/dali/internal/graphics/common/graphics-interface.h @@ -2,7 +2,7 @@ #define DALI_INTERNAL_BASE_GRAPHICS_INTERFACE_H /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd. + * Copyright (c) 2022 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. @@ -147,6 +147,11 @@ public: virtual bool IsAdvancedBlendEquationSupported() = 0; /** + * @return true if multisampled render to texture is supported + */ + virtual bool IsMultisampledRenderToTextureSupported() = 0; + + /** * @return true if graphics subsystem is initialized */ virtual bool IsInitialized() = 0; @@ -162,6 +167,11 @@ public: virtual uint32_t GetMaxTextureSize() = 0; /** + * @return the maximum texture samples when we use multisampled texture + */ + virtual uint8_t GetMaxTextureSamples() = 0; + + /** * @return the version number of the shader language */ virtual uint32_t GetShaderLanguageVersion() = 0; @@ -171,6 +181,16 @@ public: */ virtual void CacheConfigurations(ConfigurationManager& configurationManager) = 0; + /** + * Initialize data for logging frame info + */ + virtual void FrameStart() = 0; + + /** + * Log total capacity of memory pools during this frame + */ + virtual void LogMemoryPools() = 0; + protected: Integration::DepthBufferAvailable mDepthBufferRequired; ///< Whether the depth buffer is required Integration::StencilBufferAvailable mStencilBufferRequired; ///< Whether the stencil buffer is required