projects
/
platform
/
core
/
uifw
/
dali-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change setting background color for Scene.
[platform/core/uifw/dali-core.git]
/
automated-tests
/
src
/
dali
/
dali-test-suite-utils
/
test-gl-abstraction.h
diff --git
a/automated-tests/src/dali/dali-test-suite-utils/test-gl-abstraction.h
b/automated-tests/src/dali/dali-test-suite-utils/test-gl-abstraction.h
index
3fae461
..
3edad10
100644
(file)
--- a/
automated-tests/src/dali/dali-test-suite-utils/test-gl-abstraction.h
+++ b/
automated-tests/src/dali/dali-test-suite-utils/test-gl-abstraction.h
@@
-275,6
+275,15
@@
public:
inline void ClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
{
inline void ClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
{
+ mLastClearColor.r = red;
+ mLastClearColor.g = green;
+ mLastClearColor.b = blue;
+ mLastClearColor.a = alpha;
+ }
+
+ inline const Vector4& GetLastClearColor() const
+ {
+ return mLastClearColor;
}
inline void ClearDepthf(GLclampf depth)
}
inline void ClearDepthf(GLclampf depth)
@@
-2182,6
+2191,7
@@
private:
ShaderSourceMap mShaderSources;
GLuint mLastShaderCompiled;
GLbitfield mLastClearBitMask;
ShaderSourceMap mShaderSources;
GLuint mLastShaderCompiled;
GLbitfield mLastClearBitMask;
+ Vector4 mLastClearColor;
unsigned int mClearCount;
Vector4 mLastBlendColor;
unsigned int mClearCount;
Vector4 mLastBlendColor;