X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Frenderers%2Fcontrol-renderer-impl.h;h=a1e91e675a7b04b2bc10a4a7190b19d6ca77a495;hb=d00a250741411c386d988e7ac34525cf94a1918e;hp=5e19bc2fb4c4f297746f00d2cd7562844c85bdb0;hpb=638cc5c949cd2a31ddfd189c30b9a4b37e3e0a29;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/controls/renderers/control-renderer-impl.h b/dali-toolkit/internal/controls/renderers/control-renderer-impl.h index 5e19bc2..a1e91e6 100644 --- a/dali-toolkit/internal/controls/renderers/control-renderer-impl.h +++ b/dali-toolkit/internal/controls/renderers/control-renderer-impl.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_INTERNAL_CONTROL_RENDERER_H__ -#define __DALI_TOOLKIT_INTERNAL_CONTROL_RENDERER_H__ +#ifndef DALI_TOOLKIT_INTERNAL_CONTROL_RENDERER_H +#define DALI_TOOLKIT_INTERNAL_CONTROL_RENDERER_H /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2016 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. @@ -18,15 +18,14 @@ * */ - // EXTERNAL INCLUDES -#include #include -#include +#include +#include // INTERNAL INCLUDES -#include #include +#include #include namespace Dali @@ -132,6 +131,26 @@ public: */ void CreatePropertyMap( Property::Map& map ) const; + /** + * @brief Set whether the Pre-multiplied Alpha Blending is required + * + * @param[in] preMultipled whether alpha is pre-multiplied. + */ + void EnablePreMultipliedAlpha( bool preMultipled ); + + /** + * @brief Query whether alpha is pre-multiplied. + * + * @return True is alpha is pre-multiplied, false otherwise. + */ + bool IsPreMultipliedAlphaEnabled() const; + + /** + * @brief Sets properties of custom shader + * @param[in] propertyMap Property map containing the custom shader data + */ + void SetCustomShader( const Property::Map& propertyMap ); + protected: /** @@ -231,4 +250,4 @@ inline Internal::ControlRenderer& GetImplementation(Toolkit::ControlRenderer& re } // namespace Dali -#endif /* __DALI_TOOLKIT_INTERNAL_CONTROL_RENDERER_H___ */ +#endif // DALI_TOOLKIT_INTERNAL_CONTROL_RENDERER_H