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 "Added pixel format to fix bug with ktx loader" into devel/graphics
[platform/core/uifw/dali-toolkit.git]
/
automated-tests
/
src
/
dali-toolkit
/
dali-toolkit-test-utils
/
test-graphics-texture.h
diff --git
a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-graphics-texture.h
b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-graphics-texture.h
index
3eb54d3
..
58f7738
100644
(file)
--- a/
automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-graphics-texture.h
+++ b/
automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-graphics-texture.h
@@
-49,6
+49,22
@@
public:
GLuint GetTarget();
/**
GLuint GetTarget();
/**
+ * Get the texture type
+ */
+ Graphics::TextureType GetType()
+ {
+ return mCreateInfo.textureType;
+ }
+
+ /**
+ * Get the texture format
+ */
+ Graphics::Format GetFormat()
+ {
+ return mCreateInfo.format;
+ }
+
+ /**
* Bind this texture, ensure Native image is initialized if necessary.
*/
void Bind(uint32_t textureUnit);
* Bind this texture, ensure Native image is initialized if necessary.
*/
void Bind(uint32_t textureUnit);