Merge "Added sibling order property to the actor's property table" into devel/master
[platform/core/uifw/dali-core.git] / dali / internal / render / common / texture-uploaded-dispatcher.h
1 #ifndef __DALI_INTERNAL_SCENE_GRAPH_POST_PROCESS_RESOURCE_DISPATCHER_H__
2 #define __DALI_INTERNAL_SCENE_GRAPH_POST_PROCESS_RESOURCE_DISPATCHER_H__
3
4 /*
5  * Copyright (c) 2014 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 // INTERNAL INCLUDES
22 #include <dali/integration-api/resource-declarations.h>
23
24 namespace Dali
25 {
26 namespace Internal
27 {
28 typedef Integration::ResourceId ResourceId;
29
30 namespace SceneGraph
31 {
32
33 /**
34  * Interface which offers a dispatch mechanism for uploaded notifications on textures
35  * Should be offered by a Render Thread object
36  */
37 class TextureUploadedDispatcher
38 {
39 public:
40   /**
41    * Dispatch a post process resource uploaded request to the Update thread
42    * @param[in] resource A post process request
43    */
44   virtual void DispatchTextureUploaded( ResourceId resource ) = 0;
45
46 protected:
47   /**
48    * Virtual destructor
49    */
50   virtual ~TextureUploadedDispatcher(){}
51 };
52
53
54 } // namespaces
55 }
56 }
57
58
59 #endif // __DALI_INTERNAL_SCENE_GRAPH_POST_PROCESS_RESOURCE_DISPATCHER_H__