Removing Control::OnAccessibilityTouch
[platform/core/uifw/dali-toolkit.git] / automated-tests / src / dali-toolkit / dali-toolkit-test-utils / mesh-builder.cpp
index 5b127c7..2e8f724 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 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.
@@ -14,6 +14,8 @@
  * limitations under the License.
  *
  */
+
+// CLASS HEADER
 #include "mesh-builder.h"
 
 namespace Dali
@@ -28,10 +30,11 @@ TextureSet CreateTextureSet()
 {
   return TextureSet::New();
 }
-TextureSet CreateTextureSet( Image image )
+
+TextureSet CreateTextureSet( Texture texture )
 {
   TextureSet textureSet = TextureSet::New();
-  textureSet.SetImage( 0u, image );
+  textureSet.SetTexture(0u, texture);
   return textureSet;
 }
 
@@ -48,11 +51,6 @@ PropertyBuffer CreatePropertyBuffer()
 Geometry CreateQuadGeometry(void)
 {
   PropertyBuffer vertexData = CreatePropertyBuffer();
-  return CreateQuadGeometryFromBuffer( vertexData );
-}
-
-Geometry CreateQuadGeometryFromBuffer( PropertyBuffer vertexData )
-{
   const float halfQuadSize = .5f;
   struct TexturedQuadVertex { Vector2 position; Vector2 textureCoordinates; };
   TexturedQuadVertex texturedQuadVertexData[4] = {