summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-03-05 17:00:37 -0500
committerCedric BAIL <cedric.bail@free.fr>2019-03-07 14:15:24 -0800
commit3a1c4229f4fb811e78333ba3e53a3abb6b4e8aed (patch)
tree378f0d4291e8071ca3b9c47109bfcd3219eb2631 /src
parent0886ff0b7d72ca2dbbef7c3ccddf0ea25b1dce6b (diff)
elm_glview: remove all legacy usage from eo files
this takes the current generated output from eolian for legacy code in efl and adds it to the tree, then removes legacy references from the corresponding eo files. in the case where the entire eo file was for a legacy object, that eo file has been removed from the tree ref T7724 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8173
Diffstat (limited to 'src')
-rw-r--r--src/Makefile_Efl_Mono.am2
-rw-r--r--src/Makefile_Elementary.am5
-rw-r--r--src/bindings/mono/meson.build2
-rw-r--r--src/lib/elementary/elm_glview.c2
-rw-r--r--src/lib/elementary/elm_glview.eo234
-rw-r--r--src/lib/elementary/elm_glview_eo.c105
-rw-r--r--src/lib/elementary/elm_glview_eo.h294
-rw-r--r--src/lib/elementary/elm_glview_eo.legacy.c36
-rw-r--r--src/lib/elementary/elm_glview_eo.legacy.h216
-rw-r--r--src/lib/elementary/elm_glview_legacy.h2
-rw-r--r--src/lib/elementary/elm_widget_glview.h2
-rw-r--r--src/lib/elementary/meson.build3
12 files changed, 662 insertions, 241 deletions
diff --git a/src/Makefile_Efl_Mono.am b/src/Makefile_Efl_Mono.am
index 1028edd..54f950d 100644
--- a/src/Makefile_Efl_Mono.am
+++ b/src/Makefile_Efl_Mono.am
@@ -177,7 +177,7 @@ lib/elementary/elm_genlist_eo.cs \
177lib/elementary/elm_view_list.eo.cs \ 177lib/elementary/elm_view_list.eo.cs \
178lib/elementary/elm_genlist_item_eo.cs \ 178lib/elementary/elm_genlist_item_eo.cs \
179lib/elementary/elm_gengrid_eo.cs \ 179lib/elementary/elm_gengrid_eo.cs \
180lib/elementary/elm_glview.eo.cs 180lib/elementary/elm_glview_eo.cs
181 181
182efl_mono_blacklisted_files = \ 182efl_mono_blacklisted_files = \
183$(evas_eolian_blacklisted_files) \ 183$(evas_eolian_blacklisted_files) \
diff --git a/src/Makefile_Elementary.am b/src/Makefile_Elementary.am
index 19180e0..68eabc0 100644
--- a/src/Makefile_Elementary.am
+++ b/src/Makefile_Elementary.am
@@ -187,7 +187,6 @@ elm_private_eolian_files = \
187elm_legacy_eolian_files = \ 187elm_legacy_eolian_files = \
188 lib/elementary/efl_ui_clock_legacy.eo \ 188 lib/elementary/efl_ui_clock_legacy.eo \
189 lib/elementary/elm_interface_fileselector.eo \ 189 lib/elementary/elm_interface_fileselector.eo \
190 lib/elementary/elm_glview.eo \
191 lib/elementary/elm_hover.eo \ 190 lib/elementary/elm_hover.eo \
192 lib/elementary/elm_index.eo \ 191 lib/elementary/elm_index.eo \
193 lib/elementary/elm_label.eo \ 192 lib/elementary/elm_label.eo \
@@ -354,6 +353,8 @@ lib/elementary/elm_genlist_item_eo.c \
354lib/elementary/elm_genlist_pan_eo.c \ 353lib/elementary/elm_genlist_pan_eo.c \
355lib/elementary/elm_gesture_layer_eo.legacy.c \ 354lib/elementary/elm_gesture_layer_eo.legacy.c \
356lib/elementary/elm_gesture_layer_eo.c \ 355lib/elementary/elm_gesture_layer_eo.c \
356lib/elementary/elm_glview_eo.legacy.c \
357lib/elementary/elm_glview_eo.c \
357lib/elementary/elm_hoversel_eo.c \ 358lib/elementary/elm_hoversel_eo.c \
358lib/elementary/elm_hoversel_item_eo.c \ 359lib/elementary/elm_hoversel_item_eo.c \
359lib/elementary/elm_hoversel_item_eo.legacy.c 360lib/elementary/elm_hoversel_item_eo.legacy.c
@@ -465,6 +466,8 @@ lib/elementary/elm_genlist_pan_eo.h \
465lib/elementary/elm_genlist_pan_eo.legacy.h \ 466lib/elementary/elm_genlist_pan_eo.legacy.h \
466lib/elementary/elm_gesture_layer_eo.h \ 467lib/elementary/elm_gesture_layer_eo.h \
467lib/elementary/elm_gesture_layer_eo.legacy.h \ 468lib/elementary/elm_gesture_layer_eo.legacy.h \
469lib/elementary/elm_glview_eo.h \
470lib/elementary/elm_glview_eo.legacy.h \
468lib/elementary/elm_hoversel_eo.h \ 471lib/elementary/elm_hoversel_eo.h \
469lib/elementary/elm_hoversel_eo.legacy.h \ 472lib/elementary/elm_hoversel_eo.legacy.h \
470lib/elementary/elm_hoversel_item_eo.h \ 473lib/elementary/elm_hoversel_item_eo.h \
diff --git a/src/bindings/mono/meson.build b/src/bindings/mono/meson.build
index 60401dc..4f04a01 100644
--- a/src/bindings/mono/meson.build
+++ b/src/bindings/mono/meson.build
@@ -85,7 +85,7 @@ blacklisted_files = [
85 'elm_view_list.eo', 85 'elm_view_list.eo',
86 'elm_genlist_item.eo', 86 'elm_genlist_item.eo',
87 'elm_gengrid.eo', 87 'elm_gengrid.eo',
88 'elm_glview.eo.cs' 88 'elm_glview_eo.cs'
89] 89]
90 90
91efl_mono_lib = library('eflcustomexportsmono', 91efl_mono_lib = library('eflcustomexportsmono',
diff --git a/src/lib/elementary/elm_glview.c b/src/lib/elementary/elm_glview.c
index 8230847..1210416 100644
--- a/src/lib/elementary/elm_glview.c
+++ b/src/lib/elementary/elm_glview.c
@@ -627,4 +627,4 @@ elm_glview_render_func_set(Elm_Glview *obj, Elm_GLView_Func_Cb func)
627#define ELM_GLVIEW_EXTRA_OPS \ 627#define ELM_GLVIEW_EXTRA_OPS \
628 EFL_CANVAS_GROUP_ADD_DEL_OPS(elm_glview) 628 EFL_CANVAS_GROUP_ADD_DEL_OPS(elm_glview)
629 629
630#include "elm_glview.eo.c" 630#include "elm_glview_eo.c"
diff --git a/src/lib/elementary/elm_glview.eo b/src/lib/elementary/elm_glview.eo
deleted file mode 100644
index 73b8bf8..0000000
--- a/src/lib/elementary/elm_glview.eo
+++ /dev/null
@@ -1,234 +0,0 @@
1type Evas_GL: __undefined_type; [[Evas GL type]]
2type Evas_GL_API: __undefined_type; [[Evas GL API type]]
3type Evas_GL_Context_Version: __undefined_type; [[Evas GL context version type]]
4
5enum Elm.GLView.Mode
6{
7 [[
8 Selects the target surface properties
9
10 An OR combination of Elm_GLView_Mode values should be passed to
11 elm_glview_mode_set when setting up a GL widget. These flags will
12 specify the properties of the rendering target surface; in particular,
13 the mode can request the surface to support alpha, depth and stencil buffers.
14
15 ELM_GLVIEW_CLIENT_SIDE_ROTATION is a special value that indicates
16 to EFL that the application will handle the view rotation when the
17 device is rotated. This is needed only when the application requests
18 direct rendering. Please refer to Evas_GL
19 for more information about direct rendering.
20
21 See @Elm.Glview.mode.set
22 See elm_opengl_page
23 ]]
24 legacy: elm_glview;
25 none = 0, [[Default mode]]
26 // 0x1 is reserved for future use
27 alpha = (1<<1), [[Alpha channel enabled rendering mode]]
28 depth = (1<<2), [[Depth buffer enabled rendering mode (24 bits by default)]]
29 stencil = (1<<3), [[Stencil buffer enabled rendering mode (8 bits by default)]]
30 direct = (1<<4), [[Request direct rendering, unless there must be a fallback]]
31 client_side_rotation = (1<<5), [[Client will handle GL view rotation if direct rendering is enabled]]
32 // Depth buffer sizes (3 bits)
33 depth_8 = Elm.GLView.Mode.depth | (1 << 6), [[Request min. 8 bits for the depth buffer]]
34 depth_16 = Elm.GLView.Mode.depth | (2 << 6), [[Request min. 16 bits for the depth buffer]]
35 depth_24 = Elm.GLView.Mode.depth | (3 << 6), [[Request min. 24 bits for the depth buffer (default)]]
36 depth_32 = Elm.GLView.Mode.depth | (4 << 6), [[Request min. 32 bits for the depth buffer]]
37 // Stencil buffer sizes (3 bits)
38 stencil_1 = Elm.GLView.Mode.stencil | (1 << 9), [[Request min. 1 bits for the stencil buffer]]
39 stencil_2 = Elm.GLView.Mode.stencil | (2 << 9), [[Request min. 2 bits for the stencil buffer]]
40 stencil_4 = Elm.GLView.Mode.stencil | (3 << 9), [[Request min. 4 bits for the stencil buffer]]
41 stencil_8 = Elm.GLView.Mode.stencil | (4 << 9), [[Request min. 8 bits for the stencil buffer (default)]]
42 stencil_16 = Elm.GLView.Mode.stencil | (5 << 9), [[Request min. 16 bits for the stencil buffer]]
43 // MSAA params (2 bits)
44 multisample_low = (1 << 12), [[MSAA with minimum number of samples]]
45 multisample_med = (2 << 12), [[MSAA with half the number of maximum samples]]
46 multisample_high = (3 << 12) [[MSAA with maximum number of samples]]
47
48}
49
50enum Elm.GLView.Resize.Policy
51{
52 [[
53 Defines a policy for the glview resizing.
54
55 The resizing policy tells glview what to do with the underlying
56 surface when resize happens. ELM_GLVIEW_RESIZE_POLICY_RECREATE
57 will destroy the current surface and recreate the surface to the
58 new size. ELM_GLVIEW_RESIZE_POLICY_SCALE will instead keep the
59 current surface but only display the result at the desired size scaled.
60
61 Default is @Elm.GLView.Resize.Policy.recreate
62 ]]
63 recreate = 1, [[Resize the internal surface along with the image]]
64 scale = 2 [[Only resize the internal image and not the surface]]
65}
66
67enum Elm.GLView.Render.Policy
68{
69 [[
70 Defines a policy for gl rendering.
71
72 The rendering policy tells glview where to run the gl rendering code.
73 ELM_GLVIEW_RENDER_POLICY_ON_DEMAND tells glview to call the rendering
74 calls on demand, which means that the rendering code gets called
75 only when it is visible.
76
77 Default is @Elm.GLView.Render.Policy.on_demand
78 ]]
79 on_demand = 1, [[Render only when there is a need for redrawing]]
80 always = 2 [[Render always even when it is not visible]]
81}
82
83class Elm.Glview extends Efl.Ui.Widget implements Efl.Gfx.View, Efl.Ui.Legacy
84{
85 [[Elementary GL view class]]
86 legacy_prefix: elm_glview;
87 eo_prefix: elm_obj_glview;
88 event_prefix: elm_glview;
89 methods {
90 version_constructor {
91 [[Constructor with context version number.]]
92 legacy: null;
93 params {
94 @in version: Evas_GL_Context_Version; [[GL context version]]
95 }
96 }
97 @property resize_policy {
98 set {
99 [[Set the resize policy for the glview object.
100
101 By default, the resize policy is set to
102 #ELM_GLVIEW_RESIZE_POLICY_RECREATE. When resize is called
103 it destroys the previous surface and recreates the newly
104 specified size. If the policy is set to
105 #ELM_GLVIEW_RESIZE_POLICY_SCALE, however, glview only
106 scales the image object and not the underlying GL Surface.
107 ]]
108 return: bool; [[$true on success, $false otherwise]]
109 }
110 values {
111 policy: Elm.GLView.Resize.Policy; [[The scaling policy.]]
112 }
113 }
114 @property render_policy {
115 set {
116 [[Set the render policy for the glview object.
117
118 By default, the render policy is set to
119 #ELM_GLVIEW_RENDER_POLICY_ON_DEMAND. This policy is set
120 such that during the render loop, glview is only redrawn
121 if it needs to be redrawn. (i.e. when it is visible) If the
122 policy is set to #ELM_GLVIEWW_RENDER_POLICY_ALWAYS, it
123 redraws regardless of whether it is visible or needs
124 redrawing.
125 ]]
126 return: bool; [[$true on success, $false otherwise]]
127 }
128 values {
129 policy: Elm.GLView.Render.Policy; [[The render policy.]]
130 }
131 }
132 @property mode {
133 set {
134 [[Set the mode of the GLView. Supports alpha, depth, stencil.
135
136 Direct is a hint for the elm_glview to render directly to
137 the window given that the right conditions are met. Otherwise
138 it falls back to rendering to an offscreen buffer before it
139 gets composited to the window.
140 ]]
141 return: bool; [[$true on success, $false otherwise]]
142 }
143 values {
144 mode: Elm.GLView.Mode; [[The mode Options OR'ed enabling Alpha, Depth, Stencil, Direct.]]
145 }
146 }
147 @property gl_api {
148 get {
149 [[Get the gl api struct for gl rendering.]]
150 return: ptr(Evas_GL_API); [[GL API]]
151 }
152 }
153 @property evas_gl {
154 get {
155 [[Get the internal Evas GL attached to this view.
156
157 Note: The returned Evas_GL must not be destroyed as it is
158 still owned by the view. But this pointer can be used then
159 to call all the evas_gl_ functions.
160
161 @since 1.12
162 ]]
163 return: ptr(Evas_GL); [[Evas GL]]
164 }
165 }
166 @property rotation {
167 get {
168 [[Get the current GL view's rotation when using direct rendering
169
170 Note: This rotation can be different from the device
171 orientation. This rotation value must be used in case of
172 direct rendering and should be taken into account by the
173 application when setting the internal rotation matrix for
174 the view.
175
176 @since 1.12
177 ]]
178 return: int; [[A window rotation in degrees (0, 90, 180 or 270).]]
179 }
180 }
181 draw_request {
182 [[Notifies that there has been changes in the GLView.
183
184 @since 1.18
185 ]]
186 legacy: null;
187 }
188 }
189 implements {
190 class.constructor;
191 Efl.Object.constructor;
192 Efl.Object.finalize;
193 Efl.Gfx.Entity.size { set; }
194 Efl.Ui.Focus.Object.on_focus_update;
195 Efl.Gfx.View.view_size { get; set; }
196 }
197 events {
198 created: void;
199 [[Event dispatched when first render happens.
200
201 The callback function gets called once during the
202 render loop. Callback function allows glview to hide all the
203 rendering context/surface details and have the user just
204 call GL calls that they desire for initialization GL calls.
205 ]]
206 destroyed: void;
207 [[Event dispatched when GLView object is deleted.
208
209 The registered destroyed function gets called when GLView object
210 is deleted. Callback function allows glview to hide all the
211 rendering context/surface details and have the user just
212 call GL calls that they desire when delete happens.
213 ]]
214 resized: void;
215 [[Event dispatched when resize happens.
216
217 The resized event callback functions gets called
218 during the render loop. The callback function allows
219 glview to hide all the rendering context/surface
220 details and have the user just call GL alls that
221 they desire when resize happens.
222 ]]
223 render: void;
224 [[Event dispatched when GLView is rendered.
225
226 The callback function gets called in the main loop but whether
227 it runs depends on the rendering policy and whether
228 @.draw_request gets called.
229 ]]
230 }
231 constructors {
232 .version_constructor @optional;
233 }
234}
diff --git a/src/lib/elementary/elm_glview_eo.c b/src/lib/elementary/elm_glview_eo.c
new file mode 100644
index 0000000..2a6f9a3
--- /dev/null
+++ b/src/lib/elementary/elm_glview_eo.c
@@ -0,0 +1,105 @@
1EWAPI const Efl_Event_Description _ELM_GLVIEW_EVENT_CREATED =
2 EFL_EVENT_DESCRIPTION("created");
3EWAPI const Efl_Event_Description _ELM_GLVIEW_EVENT_DESTROYED =
4 EFL_EVENT_DESCRIPTION("destroyed");
5EWAPI const Efl_Event_Description _ELM_GLVIEW_EVENT_RESIZED =
6 EFL_EVENT_DESCRIPTION("resized");
7EWAPI const Efl_Event_Description _ELM_GLVIEW_EVENT_RENDER =
8 EFL_EVENT_DESCRIPTION("render");
9
10void _elm_glview_version_constructor(Eo *obj, Elm_Glview_Data *pd, Evas_GL_Context_Version version);
11
12EOAPI EFL_VOID_FUNC_BODYV(elm_obj_glview_version_constructor, EFL_FUNC_CALL(version), Evas_GL_Context_Version version);
13
14Eina_Bool _elm_glview_resize_policy_set(Eo *obj, Elm_Glview_Data *pd, Elm_GLView_Resize_Policy policy);
15
16EOAPI EFL_FUNC_BODYV(elm_obj_glview_resize_policy_set, Eina_Bool, 0, EFL_FUNC_CALL(policy), Elm_GLView_Resize_Policy policy);
17
18Eina_Bool _elm_glview_render_policy_set(Eo *obj, Elm_Glview_Data *pd, Elm_GLView_Render_Policy policy);
19
20EOAPI EFL_FUNC_BODYV(elm_obj_glview_render_policy_set, Eina_Bool, 0, EFL_FUNC_CALL(policy), Elm_GLView_Render_Policy policy);
21
22Eina_Bool _elm_glview_mode_set(Eo *obj, Elm_Glview_Data *pd, Elm_GLView_Mode mode);
23
24EOAPI EFL_FUNC_BODYV(elm_obj_glview_mode_set, Eina_Bool, 0, EFL_FUNC_CALL(mode), Elm_GLView_Mode mode);
25
26Evas_GL_API *_elm_glview_gl_api_get(const Eo *obj, Elm_Glview_Data *pd);
27
28EOAPI EFL_FUNC_BODY_CONST(elm_obj_glview_gl_api_get, Evas_GL_API *, NULL);
29
30Evas_GL *_elm_glview_evas_gl_get(const Eo *obj, Elm_Glview_Data *pd);
31
32EOAPI EFL_FUNC_BODY_CONST(elm_obj_glview_evas_gl_get, Evas_GL *, NULL);
33
34int _elm_glview_rotation_get(const Eo *obj, Elm_Glview_Data *pd);
35
36EOAPI EFL_FUNC_BODY_CONST(elm_obj_glview_rotation_get, int, 0);
37
38void _elm_glview_draw_request(Eo *obj, Elm_Glview_Data *pd);
39
40EOAPI EFL_VOID_FUNC_BODY(elm_obj_glview_draw_request);
41
42Efl_Object *_elm_glview_efl_object_constructor(Eo *obj, Elm_Glview_Data *pd);
43
44
45Efl_Object *_elm_glview_efl_object_finalize(Eo *obj, Elm_Glview_Data *pd);
46
47
48void _elm_glview_efl_gfx_entity_size_set(Eo *obj, Elm_Glview_Data *pd, Eina_Size2D size);
49
50
51Eina_Bool _elm_glview_efl_ui_focus_object_on_focus_update(Eo *obj, Elm_Glview_Data *pd);
52
53
54void _elm_glview_efl_gfx_view_view_size_set(Eo *obj, Elm_Glview_Data *pd, Eina_Size2D size);
55
56
57Eina_Size2D _elm_glview_efl_gfx_view_view_size_get(const Eo *obj, Elm_Glview_Data *pd);
58
59
60static Eina_Bool
61_elm_glview_class_initializer(Efl_Class *klass)
62{
63 const Efl_Object_Ops *opsp = NULL;
64
65 const Efl_Object_Property_Reflection_Ops *ropsp = NULL;
66
67#ifndef ELM_GLVIEW_EXTRA_OPS
68#define ELM_GLVIEW_EXTRA_OPS
69#endif
70
71 EFL_OPS_DEFINE(ops,
72 EFL_OBJECT_OP_FUNC(elm_obj_glview_version_constructor, _elm_glview_version_constructor),
73 EFL_OBJECT_OP_FUNC(elm_obj_glview_resize_policy_set, _elm_glview_resize_policy_set),
74 EFL_OBJECT_OP_FUNC(elm_obj_glview_render_policy_set, _elm_glview_render_policy_set),
75 EFL_OBJECT_OP_FUNC(elm_obj_glview_mode_set, _elm_glview_mode_set),
76 EFL_OBJECT_OP_FUNC(elm_obj_glview_gl_api_get, _elm_glview_gl_api_get),
77 EFL_OBJECT_OP_FUNC(elm_obj_glview_evas_gl_get, _elm_glview_evas_gl_get),
78 EFL_OBJECT_OP_FUNC(elm_obj_glview_rotation_get, _elm_glview_rotation_get),
79 EFL_OBJECT_OP_FUNC(elm_obj_glview_draw_request, _elm_glview_draw_request),
80 EFL_OBJECT_OP_FUNC(efl_constructor, _elm_glview_efl_object_constructor),
81 EFL_OBJECT_OP_FUNC(efl_finalize, _elm_glview_efl_object_finalize),
82 EFL_OBJECT_OP_FUNC(efl_gfx_entity_size_set, _elm_glview_efl_gfx_entity_size_set),
83 EFL_OBJECT_OP_FUNC(efl_ui_focus_object_on_focus_update, _elm_glview_efl_ui_focus_object_on_focus_update),
84 EFL_OBJECT_OP_FUNC(efl_gfx_view_size_set, _elm_glview_efl_gfx_view_view_size_set),
85 EFL_OBJECT_OP_FUNC(efl_gfx_view_size_get, _elm_glview_efl_gfx_view_view_size_get),
86 ELM_GLVIEW_EXTRA_OPS
87 );
88 opsp = &ops;
89
90 return efl_class_functions_set(klass, opsp, ropsp);
91}
92
93static const Efl_Class_Description _elm_glview_class_desc = {
94 EO_VERSION,
95 "Elm.Glview",
96 EFL_CLASS_TYPE_REGULAR,
97 sizeof(Elm_Glview_Data),
98 _elm_glview_class_initializer,
99 _elm_glview_class_constructor,
100 NULL
101};
102
103EFL_DEFINE_CLASS(elm_glview_class_get, &_elm_glview_class_desc, EFL_UI_WIDGET_CLASS, EFL_GFX_VIEW_INTERFACE, EFL_UI_LEGACY_INTERFACE, NULL);
104
105#include "elm_glview_eo.legacy.c"
diff --git a/src/lib/elementary/elm_glview_eo.h b/src/lib/elementary/elm_glview_eo.h
new file mode 100644
index 0000000..9e8879b
--- /dev/null
+++ b/src/lib/elementary/elm_glview_eo.h
@@ -0,0 +1,294 @@
1#ifndef _ELM_GLVIEW_EO_H_
2#define _ELM_GLVIEW_EO_H_
3
4#ifndef _ELM_GLVIEW_EO_CLASS_TYPE
5#define _ELM_GLVIEW_EO_CLASS_TYPE
6
7typedef Eo Elm_Glview;
8
9#endif
10
11#ifndef _ELM_GLVIEW_EO_TYPES
12#define _ELM_GLVIEW_EO_TYPES
13
14/**
15 * @brief Selects the target surface properties
16 *
17 * An OR combination of Elm_GLView_Mode values should be passed to
18 * elm_glview_mode_set when setting up a GL widget. These flags will specify
19 * the properties of the rendering target surface; in particular, the mode can
20 * request the surface to support alpha, depth and stencil buffers.
21 *
22 * ELM_GLVIEW_CLIENT_SIDE_ROTATION is a special value that indicates to EFL
23 * that the application will handle the view rotation when the device is
24 * rotated. This is needed only when the application requests direct rendering.
25 * Please refer to Evas_GL for more information about direct rendering.
26 *
27 * See @ref elm_obj_glview_mode_set See elm_opengl_page
28 *
29 * @ingroup Elm_GLView
30 */
31typedef enum
32{
33 ELM_GLVIEW_NONE = 0, /**< Default mode */
34 ELM_GLVIEW_ALPHA = 2 /* 1 >> 1 */, /**< Alpha channel enabled rendering mode
35 */
36 ELM_GLVIEW_DEPTH = 4 /* 1 >> 2 */, /**< Depth buffer enabled rendering mode
37 * (24 bits by default) */
38 ELM_GLVIEW_STENCIL = 8 /* 1 >> 3 */, /**< Stencil buffer enabled rendering
39 * mode (8 bits by default) */
40 ELM_GLVIEW_DIRECT = 16 /* 1 >> 4 */, /**< Request direct rendering, unless
41 * there must be a fallback */
42 ELM_GLVIEW_CLIENT_SIDE_ROTATION = 32 /* 1 >> 5 */, /**< Client will handle GL
43 * view rotation if direct
44 * rendering is enabled */
45 ELM_GLVIEW_DEPTH_8 = 68 /* Elm.GLView.Mode.depth ^ (1 >> 6) */, /**< Request min. 8 bits for the depth
46 * buffer */
47 ELM_GLVIEW_DEPTH_16 = 132 /* Elm.GLView.Mode.depth ^ (2 >> 6) */, /**< Request min. 16 bits for the depth
48 * buffer */
49 ELM_GLVIEW_DEPTH_24 = 196 /* Elm.GLView.Mode.depth ^ (3 >> 6) */, /**< Request min. 24 bits for the depth
50 * buffer (default) */
51 ELM_GLVIEW_DEPTH_32 = 260 /* Elm.GLView.Mode.depth ^ (4 >> 6) */, /**< Request min. 32 bits for the depth
52 * buffer */
53 ELM_GLVIEW_STENCIL_1 = 520 /* Elm.GLView.Mode.stencil ^ (1 >> 9) */, /**< Request min. 1 bits for the stencil
54 * buffer */
55 ELM_GLVIEW_STENCIL_2 = 1032 /* Elm.GLView.Mode.stencil ^ (2 >> 9) */, /**< Request min. 2 bits for the stencil
56 * buffer */
57 ELM_GLVIEW_STENCIL_4 = 1544 /* Elm.GLView.Mode.stencil ^ (3 >> 9) */, /**< Request min. 4 bits for the stencil
58 * buffer */
59 ELM_GLVIEW_STENCIL_8 = 2056 /* Elm.GLView.Mode.stencil ^ (4 >> 9) */, /**< Request min. 8 bits for the stencil
60 * buffer (default) */
61 ELM_GLVIEW_STENCIL_16 = 2568 /* Elm.GLView.Mode.stencil ^ (5 >> 9) */, /**< Request min. 16 bits for the
62 * stencil buffer */
63 ELM_GLVIEW_MULTISAMPLE_LOW = 4096 /* 1 >> 12 */, /**< MSAA with minimum number
64 * of samples */
65 ELM_GLVIEW_MULTISAMPLE_MED = 8192 /* 2 >> 12 */, /**< MSAA with half the
66 * number of maximum samples
67 */
68 ELM_GLVIEW_MULTISAMPLE_HIGH = 12288 /* 3 >> 12 */ /**< MSAA with maximum
69 * number of samples */
70} Elm_GLView_Mode;
71
72/**
73 * @brief Defines a policy for the glview resizing.
74 *
75 * The resizing policy tells glview what to do with the underlying surface when
76 * resize happens. ELM_GLVIEW_RESIZE_POLICY_RECREATE will destroy the current
77 * surface and recreate the surface to the new size.
78 * ELM_GLVIEW_RESIZE_POLICY_SCALE will instead keep the current surface but
79 * only display the result at the desired size scaled.
80 *
81 * Default is @ref ELM_GLVIEW_RESIZE_POLICY_RECREATE
82 *
83 * @ingroup Elm_GLView_Resize
84 */
85typedef enum
86{
87 ELM_GLVIEW_RESIZE_POLICY_RECREATE = 1, /**< Resize the internal surface along
88 * with the image */
89 ELM_GLVIEW_RESIZE_POLICY_SCALE = 2 /**< Only resize the internal image and not
90 * the surface */
91} Elm_GLView_Resize_Policy;
92
93/**
94 * @brief Defines a policy for gl rendering.
95 *
96 * The rendering policy tells glview where to run the gl rendering code.
97 * ELM_GLVIEW_RENDER_POLICY_ON_DEMAND tells glview to call the rendering calls
98 * on demand, which means that the rendering code gets called only when it is
99 * visible.
100 *
101 * Default is @ref ELM_GLVIEW_RENDER_POLICY_ON_DEMAND
102 *
103 * @ingroup Elm_GLView_Render
104 */
105typedef enum
106{
107 ELM_GLVIEW_RENDER_POLICY_ON_DEMAND = 1, /**< Render only when there is a need
108 * for redrawing */
109 ELM_GLVIEW_RENDER_POLICY_ALWAYS = 2 /**< Render always even when it is not
110 * visible */
111} Elm_GLView_Render_Policy;
112
113
114#endif
115/** Elementary GL view class
116 *
117 * @ingroup Elm_Glview
118 */
119#define ELM_GLVIEW_CLASS elm_glview_class_get()
120
121EWAPI const Efl_Class *elm_glview_class_get(void);
122
123/**
124 * @brief Constructor with context version number.
125 *
126 * @param[in] obj The object.
127 * @param[in] version GL context version
128 *
129 * @ingroup Elm_Glview
130 */
131EOAPI void elm_obj_glview_version_constructor(Eo *obj, Evas_GL_Context_Version version);
132
133/**
134 * @brief Set the resize policy for the glview object.
135 *
136 * By default, the resize policy is set to #ELM_GLVIEW_RESIZE_POLICY_RECREATE.
137 * When resize is called it destroys the previous surface and recreates the
138 * newly specified size. If the policy is set to
139 * #ELM_GLVIEW_RESIZE_POLICY_SCALE, however, glview only scales the image
140 * object and not the underlying GL Surface.
141 *
142 * @param[in] obj The object.
143 * @param[in] policy The scaling policy.
144 *
145 * @return @c true on success, @c false otherwise
146 *
147 * @ingroup Elm_Glview
148 */
149EOAPI Eina_Bool elm_obj_glview_resize_policy_set(Eo *obj, Elm_GLView_Resize_Policy policy);
150
151/**
152 * @brief Set the render policy for the glview object.
153 *
154 * By default, the render policy is set to #ELM_GLVIEW_RENDER_POLICY_ON_DEMAND.
155 * This policy is set such that during the render loop, glview is only redrawn
156 * if it needs to be redrawn. (i.e. when it is visible) If the policy is set to
157 * #ELM_GLVIEWW_RENDER_POLICY_ALWAYS, it redraws regardless of whether it is
158 * visible or needs redrawing.
159 *
160 * @param[in] obj The object.
161 * @param[in] policy The render policy.
162 *
163 * @return @c true on success, @c false otherwise
164 *
165 * @ingroup Elm_Glview
166 */
167EOAPI Eina_Bool elm_obj_glview_render_policy_set(Eo *obj, Elm_GLView_Render_Policy policy);
168
169/**
170 * @brief Set the mode of the GLView. Supports alpha, depth, stencil.
171 *
172 * Direct is a hint for the elm_glview to render directly to the window given
173 * that the right conditions are met. Otherwise it falls back to rendering to
174 * an offscreen buffer before it gets composited to the window.
175 *
176 * @param[in] obj The object.
177 * @param[in] mode The mode Options OR'ed enabling Alpha, Depth, Stencil,
178 * Direct.
179 *
180 * @return @c true on success, @c false otherwise
181 *
182 * @ingroup Elm_Glview
183 */
184EOAPI Eina_Bool elm_obj_glview_mode_set(Eo *obj, Elm_GLView_Mode mode);
185
186/**
187 * @brief Get the gl api struct for gl rendering.
188 *
189 * @param[in] obj The object.
190 *
191 * @return GL API
192 *
193 * @ingroup Elm_Glview
194 */
195EOAPI Evas_GL_API *elm_obj_glview_gl_api_get(const Eo *obj);
196
197/**
198 * @brief Get the internal Evas GL attached to this view.
199 *
200 * @note The returned Evas_GL must not be destroyed as it is still owned by the
201 * view. But this pointer can be used then to call all the evas_gl_ functions.
202 *
203 * @param[in] obj The object.
204 *
205 * @return Evas GL
206 *
207 * @since 1.12
208 *
209 * @ingroup Elm_Glview
210 */
211EOAPI Evas_GL *elm_obj_glview_evas_gl_get(const Eo *obj);
212
213/**
214 * @brief Get the current GL view's rotation when using direct rendering
215 *
216 * @note This rotation can be different from the device orientation. This
217 * rotation value must be used in case of direct rendering and should be taken
218 * into account by the application when setting the internal rotation matrix
219 * for the view.
220 *
221 * @param[in] obj The object.
222 *
223 * @return A window rotation in degrees (0, 90, 180 or 270).
224 *
225 * @since 1.12
226 *
227 * @ingroup Elm_Glview
228 */
229EOAPI int elm_obj_glview_rotation_get(const Eo *obj);
230
231/** Notifies that there has been changes in the GLView.
232 *
233 * @since 1.18
234 *
235 * @ingroup Elm_Glview
236 */
237EOAPI void elm_obj_glview_draw_request(Eo *obj);
238
239EWAPI extern const Efl_Event_Description _ELM_GLVIEW_EVENT_CREATED;
240
241/**
242 * @brief Event dispatched when first render happens.
243 *
244 * The callback function gets called once during the render loop. Callback
245 * function allows glview to hide all the rendering context/surface details and
246 * have the user just call GL calls that they desire for initialization GL
247 * calls.
248 *
249 * @ingroup Elm_Glview
250 */
251#define ELM_GLVIEW_EVENT_CREATED (&(_ELM_GLVIEW_EVENT_CREATED))
252
253EWAPI extern const Efl_Event_Description _ELM_GLVIEW_EVENT_DESTROYED;
254
255/**
256 * @brief Event dispatched when GLView object is deleted.
257 *
258 * The registered destroyed function gets called when GLView object is deleted.
259 * Callback function allows glview to hide all the rendering context/surface
260 * details and have the user just call GL calls that they desire when delete
261 * happens.
262 *
263 * @ingroup Elm_Glview
264 */
265#define ELM_GLVIEW_EVENT_DESTROYED (&(_ELM_GLVIEW_EVENT_DESTROYED))
266
267EWAPI extern const Efl_Event_Description _ELM_GLVIEW_EVENT_RESIZED;
268
269/**
270 * @brief Event dispatched when resize happens.
271 *
272 * The resized event callback functions gets called during the render loop. The
273 * callback function allows glview to hide all the rendering context/surface
274 * details and have the user just call GL alls that they desire when resize
275 * happens.
276 *
277 * @ingroup Elm_Glview
278 */
279#define ELM_GLVIEW_EVENT_RESIZED (&(_ELM_GLVIEW_EVENT_RESIZED))
280
281EWAPI extern const Efl_Event_Description _ELM_GLVIEW_EVENT_RENDER;
282
283/**
284 * @brief Event dispatched when GLView is rendered.
285 *
286 * The callback function gets called in the main loop but whether it runs
287 * depends on the rendering policy and whether @ref elm_obj_glview_draw_request
288 * gets called.
289 *
290 * @ingroup Elm_Glview
291 */
292#define ELM_GLVIEW_EVENT_RENDER (&(_ELM_GLVIEW_EVENT_RENDER))
293
294#endif
diff --git a/src/lib/elementary/elm_glview_eo.legacy.c b/src/lib/elementary/elm_glview_eo.legacy.c
new file mode 100644
index 0000000..5275f6d
--- /dev/null
+++ b/src/lib/elementary/elm_glview_eo.legacy.c
@@ -0,0 +1,36 @@
1
2EAPI Eina_Bool
3elm_glview_resize_policy_set(Elm_Glview *obj, Elm_GLView_Resize_Policy policy)
4{
5 return elm_obj_glview_resize_policy_set(obj, policy);
6}
7
8EAPI Eina_Bool
9elm_glview_render_policy_set(Elm_Glview *obj, Elm_GLView_Render_Policy policy)
10{
11 return elm_obj_glview_render_policy_set(obj, policy);
12}
13
14EAPI Eina_Bool
15elm_glview_mode_set(Elm_Glview *obj, Elm_GLView_Mode mode)
16{
17 return elm_obj_glview_mode_set(obj, mode);
18}
19
20EAPI Evas_GL_API *
21elm_glview_gl_api_get(const Elm_Glview *obj)
22{
23 return elm_obj_glview_gl_api_get(obj);
24}
25
26EAPI Evas_GL *
27elm_glview_evas_gl_get(const Elm_Glview *obj)
28{
29 return elm_obj_glview_evas_gl_get(obj);
30}
31
32EAPI int
33elm_glview_rotation_get(const Elm_Glview *obj)
34{
35 return elm_obj_glview_rotation_get(obj);
36}
diff --git a/src/lib/elementary/elm_glview_eo.legacy.h b/src/lib/elementary/elm_glview_eo.legacy.h
new file mode 100644
index 0000000..562b312
--- /dev/null
+++ b/src/lib/elementary/elm_glview_eo.legacy.h
@@ -0,0 +1,216 @@
1#ifndef _ELM_GLVIEW_EO_LEGACY_H_
2#define _ELM_GLVIEW_EO_LEGACY_H_
3
4#ifndef _ELM_GLVIEW_EO_CLASS_TYPE
5#define _ELM_GLVIEW_EO_CLASS_TYPE
6
7typedef Eo Elm_Glview;
8
9#endif
10
11#ifndef _ELM_GLVIEW_EO_TYPES
12#define _ELM_GLVIEW_EO_TYPES
13
14/**
15 * @brief Selects the target surface properties
16 *
17 * An OR combination of Elm_GLView_Mode values should be passed to
18 * elm_glview_mode_set when setting up a GL widget. These flags will specify
19 * the properties of the rendering target surface; in particular, the mode can
20 * request the surface to support alpha, depth and stencil buffers.
21 *
22 * ELM_GLVIEW_CLIENT_SIDE_ROTATION is a special value that indicates to EFL
23 * that the application will handle the view rotation when the device is
24 * rotated. This is needed only when the application requests direct rendering.
25 * Please refer to Evas_GL for more information about direct rendering.
26 *
27 * See @ref elm_glview_mode_set See elm_opengl_page
28 *
29 * @ingroup Elm_GLView
30 */
31typedef enum
32{
33 ELM_GLVIEW_NONE = 0, /**< Default mode */
34 ELM_GLVIEW_ALPHA = 2 /* 1 >> 1 */, /**< Alpha channel enabled rendering mode
35 */
36 ELM_GLVIEW_DEPTH = 4 /* 1 >> 2 */, /**< Depth buffer enabled rendering mode
37 * (24 bits by default) */
38 ELM_GLVIEW_STENCIL = 8 /* 1 >> 3 */, /**< Stencil buffer enabled rendering
39 * mode (8 bits by default) */
40 ELM_GLVIEW_DIRECT = 16 /* 1 >> 4 */, /**< Request direct rendering, unless
41 * there must be a fallback */
42 ELM_GLVIEW_CLIENT_SIDE_ROTATION = 32 /* 1 >> 5 */, /**< Client will handle GL
43 * view rotation if direct
44 * rendering is enabled */
45 ELM_GLVIEW_DEPTH_8 = 68 /* Elm.GLView.Mode.depth ^ (1 >> 6) */, /**< Request min. 8 bits for the depth
46 * buffer */
47 ELM_GLVIEW_DEPTH_16 = 132 /* Elm.GLView.Mode.depth ^ (2 >> 6) */, /**< Request min. 16 bits for the depth
48 * buffer */
49 ELM_GLVIEW_DEPTH_24 = 196 /* Elm.GLView.Mode.depth ^ (3 >> 6) */, /**< Request min. 24 bits for the depth
50 * buffer (default) */
51 ELM_GLVIEW_DEPTH_32 = 260 /* Elm.GLView.Mode.depth ^ (4 >> 6) */, /**< Request min. 32 bits for the depth
52 * buffer */
53 ELM_GLVIEW_STENCIL_1 = 520 /* Elm.GLView.Mode.stencil ^ (1 >> 9) */, /**< Request min. 1 bits for the stencil
54 * buffer */
55 ELM_GLVIEW_STENCIL_2 = 1032 /* Elm.GLView.Mode.stencil ^ (2 >> 9) */, /**< Request min. 2 bits for the stencil
56 * buffer */
57 ELM_GLVIEW_STENCIL_4 = 1544 /* Elm.GLView.Mode.stencil ^ (3 >> 9) */, /**< Request min. 4 bits for the stencil
58 * buffer */
59 ELM_GLVIEW_STENCIL_8 = 2056 /* Elm.GLView.Mode.stencil ^ (4 >> 9) */, /**< Request min. 8 bits for the stencil
60 * buffer (default) */
61 ELM_GLVIEW_STENCIL_16 = 2568 /* Elm.GLView.Mode.stencil ^ (5 >> 9) */, /**< Request min. 16 bits for the
62 * stencil buffer */
63 ELM_GLVIEW_MULTISAMPLE_LOW = 4096 /* 1 >> 12 */, /**< MSAA with minimum number
64 * of samples */
65 ELM_GLVIEW_MULTISAMPLE_MED = 8192 /* 2 >> 12 */, /**< MSAA with half the
66 * number of maximum samples
67 */
68 ELM_GLVIEW_MULTISAMPLE_HIGH = 12288 /* 3 >> 12 */ /**< MSAA with maximum
69 * number of samples */
70} Elm_GLView_Mode;
71
72/**
73 * @brief Defines a policy for the glview resizing.
74 *
75 * The resizing policy tells glview what to do with the underlying surface when
76 * resize happens. ELM_GLVIEW_RESIZE_POLICY_RECREATE will destroy the current
77 * surface and recreate the surface to the new size.
78 * ELM_GLVIEW_RESIZE_POLICY_SCALE will instead keep the current surface but
79 * only display the result at the desired size scaled.
80 *
81 * Default is @ref ELM_GLVIEW_RESIZE_POLICY_RECREATE
82 *
83 * @ingroup Elm_GLView_Resize
84 */
85typedef enum
86{
87 ELM_GLVIEW_RESIZE_POLICY_RECREATE = 1, /**< Resize the internal surface along
88 * with the image */
89 ELM_GLVIEW_RESIZE_POLICY_SCALE = 2 /**< Only resize the internal image and not
90 * the surface */
91} Elm_GLView_Resize_Policy;
92
93/**
94 * @brief Defines a policy for gl rendering.
95 *
96 * The rendering policy tells glview where to run the gl rendering code.
97 * ELM_GLVIEW_RENDER_POLICY_ON_DEMAND tells glview to call the rendering calls
98 * on demand, which means that the rendering code gets called only when it is
99 * visible.
100 *
101 * Default is @ref ELM_GLVIEW_RENDER_POLICY_ON_DEMAND
102 *
103 * @ingroup Elm_GLView_Render
104 */
105typedef enum
106{
107 ELM_GLVIEW_RENDER_POLICY_ON_DEMAND = 1, /**< Render only when there is a need
108 * for redrawing */
109 ELM_GLVIEW_RENDER_POLICY_ALWAYS = 2 /**< Render always even when it is not
110 * visible */
111} Elm_GLView_Render_Policy;
112
113
114#endif
115
116
117/**
118 * @brief Set the resize policy for the glview object.
119 *
120 * By default, the resize policy is set to #ELM_GLVIEW_RESIZE_POLICY_RECREATE.
121 * When resize is called it destroys the previous surface and recreates the
122 * newly specified size. If the policy is set to
123 * #ELM_GLVIEW_RESIZE_POLICY_SCALE, however, glview only scales the image
124 * object and not the underlying GL Surface.
125 *
126 * @param[in] obj The object.
127 * @param[in] policy The scaling policy.
128 *
129 * @return @c true on success, @c false otherwise
130 *
131 * @ingroup Elm_Glview_Group
132 */
133EAPI Eina_Bool elm_glview_resize_policy_set(Elm_Glview *obj, Elm_GLView_Resize_Policy policy);
134
135/**
136 * @brief Set the render policy for the glview object.
137 *
138 * By default, the render policy is set to #ELM_GLVIEW_RENDER_POLICY_ON_DEMAND.
139 * This policy is set such that during the render loop, glview is only redrawn
140 * if it needs to be redrawn. (i.e. when it is visible) If the policy is set to
141 * #ELM_GLVIEWW_RENDER_POLICY_ALWAYS, it redraws regardless of whether it is
142 * visible or needs redrawing.
143 *
144 * @param[in] obj The object.
145 * @param[in] policy The render policy.
146 *
147 * @return @c true on success, @c false otherwise
148 *
149 * @ingroup Elm_Glview_Group
150 */
151EAPI Eina_Bool elm_glview_render_policy_set(Elm_Glview *obj, Elm_GLView_Render_Policy policy);
152
153/**
154 * @brief Set the mode of the GLView. Supports alpha, depth, stencil.
155 *
156 * Direct is a hint for the elm_glview to render directly to the window given
157 * that the right conditions are met. Otherwise it falls back to rendering to
158 * an offscreen buffer before it gets composited to the window.
159 *
160 * @param[in] obj The object.
161 * @param[in] mode The mode Options OR'ed enabling Alpha, Depth, Stencil,
162 * Direct.
163 *
164 * @return @c true on success, @c false otherwise
165 *
166 * @ingroup Elm_Glview_Group
167 */
168EAPI Eina_Bool elm_glview_mode_set(Elm_Glview *obj, Elm_GLView_Mode mode);
169
170/**
171 * @brief Get the gl api struct for gl rendering.
172 *
173 * @param[in] obj The object.
174 *
175 * @return GL API
176 *
177 * @ingroup Elm_Glview_Group
178 */
179EAPI Evas_GL_API *elm_glview_gl_api_get(const Elm_Glview *obj);
180
181/**
182 * @brief Get the internal Evas GL attached to this view.
183 *
184 * @note The returned Evas_GL must not be destroyed as it is still owned by the
185 * view. But this pointer can be used then to call all the evas_gl_ functions.
186 *
187 * @param[in] obj The object.
188 *
189 * @return Evas GL
190 *
191 * @since 1.12
192 *
193 * @ingroup Elm_Glview_Group
194 */
195EAPI Evas_GL *elm_glview_evas_gl_get(const Elm_Glview *obj);
196
197/**
198 * @brief Get the current GL view's rotation when using direct rendering
199 *
200 * @note This rotation can be different from the device orientation. This
201 * rotation value must be used in case of direct rendering and should be taken
202 * into account by the application when setting the internal rotation matrix
203 * for the view.
204 *
205 * @param[in] obj The object.
206 *
207 * @return A window rotation in degrees (0, 90, 180 or 270).
208 *
209 * @since 1.12
210 *
211 * @ingroup Elm_Glview_Group
212 */
213EAPI int elm_glview_rotation_get(const Elm_Glview *obj);
214
215
216#endif
diff --git a/src/lib/elementary/elm_glview_legacy.h b/src/lib/elementary/elm_glview_legacy.h
index 1f0bea4..84e148c 100644
--- a/src/lib/elementary/elm_glview_legacy.h
+++ b/src/lib/elementary/elm_glview_legacy.h
@@ -89,4 +89,4 @@ EAPI void elm_glview_resize_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func);
89 * @ingroup Elm_GLView 89 * @ingroup Elm_GLView
90 */ 90 */
91EAPI void elm_glview_render_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func); 91EAPI void elm_glview_render_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func);
92#include "elm_glview.eo.legacy.h" 92#include "elm_glview_eo.legacy.h"
diff --git a/src/lib/elementary/elm_widget_glview.h b/src/lib/elementary/elm_widget_glview.h
index d561c09..2ce9144 100644
--- a/src/lib/elementary/elm_widget_glview.h
+++ b/src/lib/elementary/elm_widget_glview.h
@@ -2,7 +2,7 @@
2#define ELM_WIDGET_GLVIEW_H 2#define ELM_WIDGET_GLVIEW_H
3 3
4#include "Elementary.h" 4#include "Elementary.h"
5#include "elm_glview.eo.h" 5#include "elm_glview_eo.h"
6 6
7/* DO NOT USE THIS HEADER UNLESS YOU ARE PREPARED FOR BREAKING OF YOUR 7/* DO NOT USE THIS HEADER UNLESS YOU ARE PREPARED FOR BREAKING OF YOUR
8 * CODE. THIS IS ELEMENTARY'S INTERNAL WIDGET API (for now) AND IS NOT 8 * CODE. THIS IS ELEMENTARY'S INTERNAL WIDGET API (for now) AND IS NOT
diff --git a/src/lib/elementary/meson.build b/src/lib/elementary/meson.build
index c7e5ba4..9691f54 100644
--- a/src/lib/elementary/meson.build
+++ b/src/lib/elementary/meson.build
@@ -1,7 +1,6 @@
1pub_legacy_eo_files = [ 1pub_legacy_eo_files = [
2 'efl_ui_clock_legacy.eo', 2 'efl_ui_clock_legacy.eo',
3 'elm_interface_fileselector.eo', 3 'elm_interface_fileselector.eo',
4 'elm_glview.eo',
5 'elm_hover.eo', 4 'elm_hover.eo',
6 'elm_index.eo', 5 'elm_index.eo',
7 'elm_label.eo', 6 'elm_label.eo',
@@ -753,6 +752,8 @@ elementary_pub_headers = [
753 'elm_genlist_pan_eo.legacy.h', 752 'elm_genlist_pan_eo.legacy.h',
754 'elm_gesture_layer_eo.h', 753 'elm_gesture_layer_eo.h',
755 'elm_gesture_layer_eo.legacy.h', 754 'elm_gesture_layer_eo.legacy.h',
755 'elm_glview_eo.h',
756 'elm_glview_eo.legacy.h',
756 'elm_hoversel_eo.h', 757 'elm_hoversel_eo.h',
757 'elm_hoversel_eo.legacy.h', 758 'elm_hoversel_eo.legacy.h',
758 'elm_hoversel_item_eo.h', 759 'elm_hoversel_item_eo.h',