Friendly janitor cleaning up unnecessary header dependencies
[platform/core/uifw/dali-core.git] / dali / internal / render / common / render-manager.h
index 22575c8..a807f9a 100644 (file)
  */
 
 // INTERNAL INCLUDES
-#include <dali/internal/common/message.h>
+#include <dali/public-api/math/rect.h>
 #include <dali/internal/render/common/post-process-resource-dispatcher.h>
-#include <dali/internal/render/gl-resources/bitmap-texture.h>
-#include <dali/internal/update/common/double-buffered.h>
 #include <dali/internal/update/resources/resource-manager-declarations.h>
-#include <dali/public-api/math/rect.h>
 
 namespace Dali
 {
@@ -40,6 +37,7 @@ struct Vector4;
 namespace Internal
 {
 class Context;
+class ProgramCache;
 
 namespace SceneGraph
 {
@@ -86,13 +84,6 @@ public:
   TextureCache& GetTextureCache();
 
   /**
-   * Retrieves the context. Can only be called inside render thread
-   * TODO remove this when programs are initialized in render thread
-   * @return reference to the context
-   */
-  Context& GetContext();
-
-  /**
    * @copydoc Dali::Integration::Core::ContextCreated()
    */
   void ContextCreated();
@@ -185,6 +176,12 @@ public:
    */
   void SetDefaultShader( Shader* shader );
 
+  /**
+   * returns the Program controller for sending program messages
+   * @return the ProgramController
+   */
+  ProgramCache* GetProgramCache();
+
   // This method should be called from Core::Render()
 
   /**