X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fevent%2Frendering%2Frenderer-impl.h;h=cb4ba5e4a20240ee7a273e5b5f37a4fd468e08b2;hb=be285a5aa0ba77ea635e8d8c2692d585ca30630e;hp=9e4dc45343f42482e6247ec94429dcad1c282432;hpb=e317f59daa2ce5577e08c07f515d607a2dbc34e1;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/event/rendering/renderer-impl.h b/dali/internal/event/rendering/renderer-impl.h index 9e4dc45..cb4ba5e 100644 --- a/dali/internal/event/rendering/renderer-impl.h +++ b/dali/internal/event/rendering/renderer-impl.h @@ -21,13 +21,14 @@ // INTERNAL INCLUDES #include // DALI_ASSERT_ALWAYS #include // Dali::IntrusivePtr -#include // Dali::Renderer +#include // Dali::Renderer #include #include // Dali::Internal::Connectable #include // Dali::Internal::ObjectConnector #include // Dali::Internal::Object #include // Dali::Internal::TextureSet #include // Dali::Internal::Geometry +#include // Dali::Render::Renderer::StencilParameters namespace Dali { @@ -38,7 +39,6 @@ namespace SceneGraph class Renderer; } - class Renderer; typedef IntrusivePtr RendererPtr; @@ -95,16 +95,6 @@ public: */ int GetDepthIndex() const; - /** - * @copydoc Dali::Renderer::SetFaceCullingMode() - */ - void SetFaceCullingMode( FaceCullingMode::Type cullingMode ); - - /** - * @copydoc Dali::Renderer::GetFaceCullingMode() - */ - FaceCullingMode::Type GetFaceCullingMode(); - /** * @copydoc Dali::Renderer::SetBlendMode() */ @@ -303,25 +293,26 @@ private: // unimplemented methods private: // data SceneGraph::Renderer* mSceneObject; - Vector4* mBlendColor; ///< Local copy of blend color, pointer only as its rarely used - GeometryPtr mGeometry; ///< Connector that holds the geometry used by this renderer - ObjectConnector mTextureSetConnector; ///< Connector that holds the texture set used by this renderer - IntrusivePtr mShader; ///< Connector that holds the shader used by this renderer + Vector4* mBlendColor; ///< Local copy of blend color, pointer only as its rarely used + GeometryPtr mGeometry; ///< Connector that holds the geometry used by this renderer + ObjectConnector mTextureSetConnector; ///< Connector that holds the texture set used by this renderer + IntrusivePtr mShader; ///< Connector that holds the shader used by this renderer int mDepthIndex; int mOnStageCount; - size_t mIndexedDrawFirstElement; ///< Offset of first element to draw from bound index buffer - size_t mIndexedDrawElementCount; ///< Number of elements to draw + size_t mIndexedDrawFirstElement; ///< Offset of first element to draw from bound index buffer + size_t mIndexedDrawElementCount; ///< Number of elements to draw - Dali::FaceCullingMode::Type mFaceCullingMode; ///< Local copy of face culling mode - BlendMode::Type mBlendMode; ///< Local copy of blending mode - BlendingOptions mBlendingOptions; ///< Local copy of blending options bitmask - Dali::DepthWriteMode::Type mDepthWriteMode; ///< Local copy of depth write mode - Dali::DepthFunction::Type mDepthFunction; ///< Local copy of depth function - Dali::DepthTestMode::Type mDepthTestMode; ///< Local copy of depth test mode + Render::Renderer::StencilParameters mStencilParameters; ///< Struct containing all stencil related options + BlendingOptions mBlendingOptions; ///< Local copy of blending options bitmask - bool mPremultipledAlphaEnabled : 1; ///< Flag indicating whether the Pre-multiplied Alpha Blending is required + DepthFunction::Type mDepthFunction:3; ///< Local copy of the depth function + FaceCullingMode::Type mFaceCullingMode:2; ///< Local copy of the mode of face culling + BlendMode::Type mBlendMode:2; ///< Local copy of the mode of blending + DepthWriteMode::Type mDepthWriteMode:2; ///< Local copy of the depth write mode + DepthTestMode::Type mDepthTestMode:2; ///< Local copy of the depth test mode + bool mPremultipledAlphaEnabled:1; ///< Flag indicating whether the Pre-multiplied Alpha Blending is required }; } // namespace Internal