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
Merge "Enhance texteditor background drawing performance" into devel/master
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
visuals
/
gradient
/
gradient-visual.h
diff --git
a/dali-toolkit/internal/visuals/gradient/gradient-visual.h
b/dali-toolkit/internal/visuals/gradient/gradient-visual.h
index
0dde8b4
..
9a471d4
100644
(file)
--- a/
dali-toolkit/internal/visuals/gradient/gradient-visual.h
+++ b/
dali-toolkit/internal/visuals/gradient/gradient-visual.h
@@
-2,7
+2,7
@@
#define DALI_TOOLKIT_INTERNAL_GRADIENT_VISUAL_H
/*
#define DALI_TOOLKIT_INTERNAL_GRADIENT_VISUAL_H
/*
- * Copyright (c) 202
1
Samsung Electronics Co., Ltd.
+ * Copyright (c) 202
2
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.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-101,6
+101,11
@@
public: // from Visual
*/
void DoCreateInstancePropertyMap(Property::Map& map) const override;
*/
void DoCreateInstancePropertyMap(Property::Map& map) const override;
+ /**
+ * @copydoc Visual::Base::EnablePreMultipliedAlpha
+ */
+ void EnablePreMultipliedAlpha(bool preMultiplied) override;
+
protected:
/**
* @brief Constructor.
protected:
/**
* @brief Constructor.
@@
-139,6
+144,11
@@
protected:
*/
void UpdateShader() override;
*/
void UpdateShader() override;
+ /**
+ * @copydoc Visual::Base::GenerateShader
+ */
+ Shader GenerateShader() const override;
+
private:
/**
* New a gradient object with the given property map.
private:
/**
* New a gradient object with the given property map.
@@
-148,12
+158,6
@@
private:
bool NewGradient(Type gradientType, const Property::Map& propertyMap);
/**
bool NewGradient(Type gradientType, const Property::Map& propertyMap);
/**
- * @brief Get a shader for the current properties.
- * @return The shader for the current properties.
- */
- Shader GetShader();
-
- /**
* Get the stop-offsets from the property.
* The valid property type are ARRAY, VECTOR2, VECTOR3, VECTOR4.
*
* Get the stop-offsets from the property.
* The valid property type are ARRAY, VECTOR2, VECTOR3, VECTOR4.
*