X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Frender%2Fcommon%2Frender-instruction.h;h=3157f85edf3b52f6b7c8531863e54f13f8da83c2;hb=cc17e51c101f23c848fa2348f6097473fff41f33;hp=70bba45a6a52e30b6a8b32dc1974ddc4e5ad82bf;hpb=9399f25c2385050a3477900e76208a61bb124e07;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/render/common/render-instruction.h b/dali/internal/render/common/render-instruction.h index 70bba45..3157f85 100644 --- a/dali/internal/render/common/render-instruction.h +++ b/dali/internal/render/common/render-instruction.h @@ -1,8 +1,8 @@ -#ifndef __DALI_INTERNAL_SCENE_GRAPH_RENDER_INSTRUCTION_H__ -#define __DALI_INTERNAL_SCENE_GRAPH_RENDER_INSTRUCTION_H__ +#ifndef DALI_INTERNAL_SCENE_GRAPH_RENDER_INSTRUCTION_H +#define DALI_INTERNAL_SCENE_GRAPH_RENDER_INSTRUCTION_H /* - * Copyright (c) 2016 Samsung Electronics Co., Ltd. + * Copyright (c) 2017 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. @@ -23,6 +23,7 @@ #include #include #include +#include namespace Dali { @@ -97,7 +98,7 @@ public: * @param[in] clearColor A pointer to a color to clear with, or NULL if no clear is required. */ void Reset( Camera* camera, - unsigned int offscreenId, + Render::FrameBuffer* frameBuffer, const Viewport* viewport, const Vector4* clearColor ); @@ -138,8 +139,9 @@ public: // Data Vector4 mClearColor; ///< Optional color to clear with bool mIsViewportSet:1; ///< Flag to determine whether the viewport is set bool mIsClearColorSet:1; ///< Flag to determine whether the clearColor is set + bool mIgnoreRenderToFbo:1; ///< Whether to ignore the render to FBO option (used to measure the performance above 60 fps) - unsigned int mOffscreenTextureId; ///< Optional offscreen target + Render::FrameBuffer* mFrameBuffer; private: // Data @@ -155,4 +157,4 @@ private: // Data } // namespace Dali -#endif // __DALI_INTERNAL_SCENE_GRAPH_RENDER_INSTRUCTION_H__ +#endif // DALI_INTERNAL_SCENE_GRAPH_RENDER_INSTRUCTION_H