X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=automated-tests%2Fsrc%2Fdali-toolkit%2Fdali-toolkit-test-utils%2Ftest-graphics-texture.h;h=58f7738b2cc378c8b749a079b750194a8becc0e6;hb=862dfd28532f834238394c7ec0a15069c9bd2188;hp=3eb54d33760a98dae0693f46ef8fe9af71d3827c;hpb=bed9d1fafb2def9ec59d67277a4935a9f7fcbdd1;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git 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 --- 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(); /** + * 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);