[Tizen] Revert "Support multiple window rendering"
[platform/core/uifw/dali-core.git] / dali / internal / render / renderers / render-geometry.h
index f08cbce..4e12e1c 100644 (file)
@@ -116,24 +116,19 @@ public:
   }
 
   /**
-   * Upload the geometry if it has changed
-   * @param[in] context The GL context
-   */
-  void Upload( Context& context );
-
-  /**
-   * Set up the attributes and perform the Draw call corresponding to the geometry type
+   * Upload the geometry if it has changed, set up the attributes and perform
+   * the Draw call corresponding to the geometry type
    * @param[in] context The GL context
    * @param[in] bufferIndex The current buffer index
    * @param[in] attributeLocation The location for the attributes in the shader
    * @param[in] elementBufferOffset The index of first element to draw if index buffer bound
    * @param[in] elementBufferCount Number of elements to draw if index buffer bound, uses whole buffer when 0
    */
-  void Draw(Context& context,
-            BufferIndex bufferIndex,
-            Vector<GLint>& attributeLocation,
-            uint32_t elementBufferOffset,
-            uint32_t elementBufferCount );
+  void UploadAndDraw(Context& context,
+                     BufferIndex bufferIndex,
+                     Vector<GLint>& attributeLocation,
+                     uint32_t elementBufferOffset,
+                     uint32_t elementBufferCount );
 
 private: