Added pixel padding to image upload through Atlas manager
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / atlas-manager / atlas-manager-impl.h
index 14f6c72..6393762 100644 (file)
@@ -65,6 +65,8 @@ public:
     SizeType mBlockWidth;                                               // width of a block in atlas
     SizeType mBlockHeight;                                              // height of a block in atlas
     Pixel::Format mPixelFormat;                                         // pixel format used by atlas
+    BufferImage mEdgeX;                                                 // Image used to pad upload
+    BufferImage mEdgeY;                                                 // Image used to pad upload
     Material mMaterial;                                                 // material used for atlas texture
     SizeType mNextFreeBlock;                                            // next free block will be placed here ( actually +1 )
     Dali::Vector< SizeType > mFreeBlocksList;                           // unless there are any previously freed blocks
@@ -204,6 +206,8 @@ private:
   Vector2 mNewAtlasSize;
   Vector2 mNewBlockSize;
   Toolkit::AtlasManager::AddFailPolicy mAddFailPolicy;
+  PixelBuffer* mEdgeBuffer;
+  uint32_t mEdgeBufferSize;
 };
 
 } // namespace Internal