projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rendering API clean-up
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
controls
/
renderers
/
border
/
border-renderer.h
diff --git
a/dali-toolkit/internal/controls/renderers/border/border-renderer.h
b/dali-toolkit/internal/controls/renderers/border/border-renderer.h
index
63160fb
..
56ff901
100644
(file)
--- a/
dali-toolkit/internal/controls/renderers/border/border-renderer.h
+++ b/
dali-toolkit/internal/controls/renderers/border/border-renderer.h
@@
-41,6
+41,7
@@
namespace Internal
* |-----------------|-------------|
* | borderColor | VECTOR4 |
* | borderSize | FLOAT |
* |-----------------|-------------|
* | borderColor | VECTOR4 |
* | borderSize | FLOAT |
+ * | antiAliasing | BOOLEAN |
*/
class BorderRenderer : public ControlRenderer
*/
class BorderRenderer : public ControlRenderer
@@
-97,6
+98,12
@@
public:
*/
void SetBorderSize( float size );
*/
void SetBorderSize( float size );
+ /**
+ * Enable/Disable the anti-aliasing.
+ * @param[in] enable Whether the anti-aliasing be enabled or not.
+ */
+ void RequireAntiAliasing( bool antiAliasing );
+
private:
/**
private:
/**
@@
-105,6
+112,12
@@
private:
void InitializeRenderer();
/**
void InitializeRenderer();
/**
+ * Request the border shader from the factory cache. If fail, create tha shader and add it to cache.
+ * @return The border shader.
+ */
+ Shader GetBorderShader();
+
+ /**
* Create the geometry which presents the border.
* @return The border geometry
*/
* Create the geometry which presents the border.
* @return The border geometry
*/
@@
-123,6
+136,8
@@
private:
Property::Index mBorderColorIndex;
Property::Index mBorderSizeIndex;
Property::Index mBorderColorIndex;
Property::Index mBorderSizeIndex;
+
+ bool mAntiAliasing;
};
} // namespace Internal
};
} // namespace Internal