[dali_1.4.26] Merge branch 'devel/master'
[platform/core/uifw/dali-toolkit.git] / plugins / dali-script-v8 / src / render-tasks / render-task-api.h
1 #ifndef DALI_V8PLUGIN_RENDER_TASK_API_H
2 #define DALI_V8PLUGIN_RENDER_TASK_API_H
3
4 /*
5  * Copyright (c) 2019 Samsung Electronics Co., Ltd.
6  *
7  * Licensed under the Apache License, Version 2.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://www.apache.org/licenses/LICENSE-2.0
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
21 // EXTERNAL INCLUDES
22 #include <v8.h>
23
24 namespace Dali
25 {
26
27 namespace V8Plugin
28 {
29
30 namespace RenderTaskApi
31 {
32
33
34   /**
35    * RenderTask API see render-task.h for a description
36    */
37   void SetSourceActor( const v8::FunctionCallbackInfo< v8::Value >& args );
38   void GetSourceActor(const v8::FunctionCallbackInfo< v8::Value >& args );
39   void SetExclusive( const v8::FunctionCallbackInfo< v8::Value >& args );
40   void IsExclusive( const v8::FunctionCallbackInfo< v8::Value >& args );
41   void SetInputEnabled( const v8::FunctionCallbackInfo< v8::Value >& args );
42   void GetInputEnabled( const v8::FunctionCallbackInfo< v8::Value >& args );
43   void SetCameraActor( const v8::FunctionCallbackInfo< v8::Value >& args );
44   void GetCameraActor( const v8::FunctionCallbackInfo< v8::Value >& args );
45   void SetTargetFrameBuffer(const v8::FunctionCallbackInfo< v8::Value >& args );
46   void GetTargetFrameBuffer( const v8::FunctionCallbackInfo< v8::Value >& args );
47   void SetScreenToFrameBufferMappingActor( const v8::FunctionCallbackInfo< v8::Value >& args );
48   void GetScreenToFrameBufferMappingActor( const v8::FunctionCallbackInfo< v8::Value >& args );
49   void GetViewport( const v8::FunctionCallbackInfo< v8::Value >& args );
50   void SetViewport( const v8::FunctionCallbackInfo< v8::Value >& args );
51   void SetClearEnabled( const v8::FunctionCallbackInfo< v8::Value >& args );
52   void GetClearEnabled( const v8::FunctionCallbackInfo< v8::Value >& args );
53   void SetCullMode ( const v8::FunctionCallbackInfo< v8::Value >& args );
54   void GetCullMode( const v8::FunctionCallbackInfo< v8::Value >& args );
55   void SetRefreshRate( const v8::FunctionCallbackInfo< v8::Value >& args );
56   void GetRefreshRate( const v8::FunctionCallbackInfo< v8::Value >& args );
57
58 }; // namespace RenderTaskApi
59
60 } // namespace V8Plugin
61
62 } // namespace Dali
63
64 #endif // DALI_V8PLUGIN_RENDER_TASK_API_H