Revert "License conversion from Flora to Apache 2.0"
[platform/core/uifw/dali-core.git] / dali / internal / render / common / render-algorithms.h
1 #ifndef __DALI_INTERNAL_RENDER_ALGORITHMS_H__
2 #define __DALI_INTERNAL_RENDER_ALGORITHMS_H__
3
4 //
5 // Copyright (c) 2014 Samsung Electronics Co., Ltd.
6 //
7 // Licensed under the Flora License, Version 1.0 (the License);
8 // you may not use this file except in compliance with the License.
9 // You may obtain a copy of the License at
10 //
11 //     http://floralicense.org/license/
12 //
13 // Unless required by applicable law or agreed to in writing, software
14 // distributed under the License is distributed on an AS IS BASIS,
15 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 // See the License for the specific language governing permissions and
17 // limitations under the License.
18 //
19
20 // INTERNAL INCLUDES
21 #include <dali/internal/common/buffer-index.h>
22
23 namespace Dali
24 {
25
26 namespace Internal
27 {
28
29 class Context;
30
31 namespace SceneGraph
32 {
33 class RenderInstruction;
34 }
35
36 namespace Render
37 {
38
39 /**
40  * Process a render-instruction.
41  * @param[in] instruction The render-instruction to process.
42  * @param[in] context The GL context.
43  * @param[in] buffer The current render buffer index (previous update buffer)
44  * @param[in] frameTime The elapsed time between the last two updates.
45  */
46 void ProcessRenderInstruction( const SceneGraph::RenderInstruction& instruction,
47                                Context& context,
48                                BufferIndex bufferIndex,
49                                float frameTime );
50
51 } // namespace Render
52
53 } // namespace Internal
54
55 } // namespace Dali
56
57 #endif // __DALI_INTERNAL_RENDER_ALGORITHMS_H__
58