(VectorBlobAtlas) Use Texture instead of BufferImage
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / text / rendering / vector-based / vector-blob-atlas.h
index 13b226d..592d4e0 100644 (file)
@@ -1,8 +1,8 @@
-#ifndef __DALI_TOOLKIT_TEXT_VECTOR_BLOB_ATLAS_H__
-#define __DALI_TOOLKIT_TEXT_VECTOR_BLOB_ATLAS_H__
+#ifndef DALI_TOOLKIT_TEXT_VECTOR_BLOB_ATLAS_H
+#define DALI_TOOLKIT_TEXT_VECTOR_BLOB_ATLAS_H
 
 /*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 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.
@@ -19,9 +19,9 @@
 
 // EXTERNAL INCLUDES
 #include <dali/public-api/object/ref-object.h>
-#include <dali/public-api/images/buffer-image.h>
-#include <dali/devel-api/rendering/texture-set.h>
-#include <dali/devel-api/rendering/shader.h>
+#include <dali/public-api/rendering/shader.h>
+#include <dali/public-api/rendering/texture.h>
+#include <dali/public-api/rendering/texture-set.h>
 #include <dali/devel-api/text-abstraction/text-abstraction-definitions.h>
 
 // INTERNAL INCLUDES
@@ -154,7 +154,7 @@ private:
   unsigned int mCursorX;
   unsigned int mCursorY;
 
-  BufferImage mAtlasTexture;
+  Texture mAtlasTexture;
 
   TextureSet mTextureSet;
 
@@ -182,4 +182,4 @@ private:
 
 } // namespace Dali
 
-#endif //  __DALI_TOOLKIT_TEXT_VECTOR_BLOB_ATLAS_H__
+#endif // DALI_TOOLKIT_TEXT_VECTOR_BLOB_ATLAS_H