Merge branch 'new_text' into tizen
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / text / rendering / shaders / text-bgra-shader.h
1
2 #ifndef __DALI_TOOLKIT_TEXT_BGRA_SHADER_H__
3 #define __DALI_TOOLKIT_TEXT_BGRA_SHADER_H__
4
5 /*
6  * Copyright (c) 2015 Samsung Electronics Co., Ltd.
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  *
20  */
21
22 // EXTERNAL INCLUDES
23 #include <dali/public-api/shader-effects/shader-effect.h>
24
25 namespace Dali
26 {
27
28 namespace Toolkit
29 {
30
31 namespace Text
32 {
33
34 /**
35  * @brief A BGRA shader for rendering glyphs.
36  */
37 namespace BgraShader
38 {
39
40 /**
41  * Create a basic text shader.
42  * @return A handle to a newly allocated ShaderEffect
43  */
44 Dali::ShaderEffect New();
45
46 } // namespace BGRAShader
47
48 } // namespace Text
49
50 } // namespace Toolkit
51
52 } // namespace Dali
53
54 #endif // __DALI_TOOLKIT_TEXT_BGRA_SHADER_H__