[3.0] remove Uniform name cache as its no longer used
[platform/core/uifw/dali-core.git] / dali / internal / render / renderers / render-renderer.h
index 8011c31..628b078 100644 (file)
@@ -53,7 +53,6 @@ class NodeDataProvider;
 
 namespace Render
 {
-class UniformNameCache;
 
 /**
  * Renderers are used to render meshes
@@ -166,24 +165,13 @@ public:
    * @param[in] geometry The new geometry
    */
   void SetGeometry( Render::Geometry* geometry );
-
-  /**
-   * Retrieves the geometry used by the renderer
-   * @return The geometry used by the renderer
-   */
-  Render::Geometry* GetGeometry() const
-  {
-    return mGeometry;
-  }
-
   /**
    * Second-phase construction.
    * This is called when the renderer is inside render thread
    * @param[in] context Context used by the renderer
    * @param[in] textureCache The texture cache to use
-   * @param[in] uniformNameCache Cache of uniform names to use
    */
-  void Initialize( Context& context, SceneGraph::TextureCache& textureCache, Render::UniformNameCache& uniformNameCache );
+  void Initialize( Context& context, SceneGraph::TextureCache& textureCache );
 
   /**
    * Destructor
@@ -372,12 +360,6 @@ public:
   bool GetWriteToColorBuffer() const;
 
   /**
-   * Sets batching mode on the renderer
-   * @param[in] batchingEnabled batching state
-   */
-  void SetBatchingEnabled( bool batchingEnabled );
-
-  /**
    * Called to render during RenderManager::Render().
    * @param[in] context The context used for rendering
    * @param[in] textureCache The texture cache used to get textures
@@ -387,9 +369,6 @@ public:
    * @param[in] modelViewMatrix The model-view matrix.
    * @param[in] viewMatrix The view matrix.
    * @param[in] projectionMatrix The projection matrix.
-   * @param[in] size Size of the render item
-   * @param[in] externalGeometry Optional external geometry, if set the original geometry is ignored. If NULL, original geometry will be drawn as normal.
-   * @param[in] blend If true, blending is enabled
    */
   void Render( Context& context,
                SceneGraph::TextureCache& textureCache,
@@ -401,7 +380,6 @@ public:
                const Matrix& viewMatrix,
                const Matrix& projectionMatrix,
                const Vector3& size,
-               Render::Geometry* externalGeometry,
                bool blend);
 
   /**
@@ -461,7 +439,6 @@ private:
 
   Context*                     mContext;
   SceneGraph::TextureCache*    mTextureCache;
-  Render::UniformNameCache*    mUniformNameCache;
   Render::Geometry*            mGeometry;
 
   struct UniformIndexMap
@@ -488,7 +465,6 @@ private:
   bool                         mWriteToColorBuffer:1;       ///< True if we are writing to the color buffer
   bool                         mUpdateAttributesLocation:1; ///< Indicates attribute locations have changed
   bool                         mPremultipledAlphaEnabled:1; ///< Flag indicating whether the Pre-multiplied Alpha Blending is required
-  bool mBatchingEnabled:1;                ///< Flag indicating if the renderer is batchable
 };
 
 } // namespace SceneGraph