summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_canvas3d_mesh.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2018-04-17 20:09:44 +0200
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2018-04-17 20:31:55 +0200
commitfcae7cab276c2d3b19bb913ad908b67b7dd33089 (patch)
tree7008ebc815184309ccc284c9e7e1b05abbb55028 /src/lib/evas/canvas/evas_canvas3d_mesh.c
parente50b43d02fdb0b608f2c99014357c95a1a746c43 (diff)
eolian gen: enable constness generation on property getter impls
This changes a lot of things all across the EFL. Previously, methods tagged @const had both their external prototype and internal impl generated with const on object, while property getters only had const on the external API. This is now changed and it all has const everywhere. Ref T6859.
Diffstat (limited to 'src/lib/evas/canvas/evas_canvas3d_mesh.c')
-rw-r--r--src/lib/evas/canvas/evas_canvas3d_mesh.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/lib/evas/canvas/evas_canvas3d_mesh.c b/src/lib/evas/canvas/evas_canvas3d_mesh.c
index ad5b3fd..5f3d6a0 100644
--- a/src/lib/evas/canvas/evas_canvas3d_mesh.c
+++ b/src/lib/evas/canvas/evas_canvas3d_mesh.c
@@ -287,7 +287,7 @@ _evas_canvas3d_mesh_shader_mode_set(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data
287} 287}
288 288
289EOLIAN static Evas_Canvas3D_Shader_Mode 289EOLIAN static Evas_Canvas3D_Shader_Mode
290_evas_canvas3d_mesh_shader_mode_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd) 290_evas_canvas3d_mesh_shader_mode_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd)
291{ 291{
292 return pd->shader_mode; 292 return pd->shader_mode;
293} 293}
@@ -300,7 +300,7 @@ _evas_canvas3d_mesh_vertex_count_set(Eo *obj, Evas_Canvas3D_Mesh_Data *pd, unsig
300} 300}
301 301
302EOLIAN static unsigned int 302EOLIAN static unsigned int
303_evas_canvas3d_mesh_vertex_count_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd) 303_evas_canvas3d_mesh_vertex_count_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd)
304{ 304{
305 return pd->vertex_count; 305 return pd->vertex_count;
306} 306}
@@ -380,7 +380,7 @@ _evas_canvas3d_mesh_frame_material_set(Eo *obj, Evas_Canvas3D_Mesh_Data *pd, int
380} 380}
381 381
382EOLIAN static Evas_Canvas3D_Material * 382EOLIAN static Evas_Canvas3D_Material *
383_evas_canvas3d_mesh_frame_material_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd, int frame) 383_evas_canvas3d_mesh_frame_material_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd, int frame)
384{ 384{
385 Evas_Canvas3D_Mesh_Frame *f = evas_canvas3d_mesh_frame_find(pd, frame); 385 Evas_Canvas3D_Mesh_Frame *f = evas_canvas3d_mesh_frame_find(pd, frame);
386 386
@@ -763,7 +763,7 @@ _evas_canvas3d_mesh_vertex_assembly_set(Eo *obj, Evas_Canvas3D_Mesh_Data *pd, Ev
763} 763}
764 764
765EOLIAN static Evas_Canvas3D_Vertex_Assembly 765EOLIAN static Evas_Canvas3D_Vertex_Assembly
766_evas_canvas3d_mesh_vertex_assembly_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd) 766_evas_canvas3d_mesh_vertex_assembly_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd)
767{ 767{
768 return pd->assembly; 768 return pd->assembly;
769} 769}
@@ -793,7 +793,7 @@ _evas_canvas3d_mesh_fog_enable_set(Eo *obj, Evas_Canvas3D_Mesh_Data *pd, Eina_Bo
793} 793}
794 794
795EOLIAN static Eina_Bool 795EOLIAN static Eina_Bool
796_evas_canvas3d_mesh_fog_enable_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd) 796_evas_canvas3d_mesh_fog_enable_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd)
797{ 797{
798 return pd->fog_enabled; 798 return pd->fog_enabled;
799} 799}
@@ -806,7 +806,7 @@ _evas_canvas3d_mesh_blending_enable_set(Eo *obj, Evas_Canvas3D_Mesh_Data *pd, Ei
806} 806}
807 807
808EOLIAN static Eina_Bool 808EOLIAN static Eina_Bool
809_evas_canvas3d_mesh_blending_enable_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd) 809_evas_canvas3d_mesh_blending_enable_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd)
810{ 810{
811 return pd->blending; 811 return pd->blending;
812} 812}
@@ -840,7 +840,7 @@ _evas_canvas3d_mesh_alpha_func_set(Eo *obj, Evas_Canvas3D_Mesh_Data *pd, Evas_Ca
840} 840}
841 841
842EOLIAN static void 842EOLIAN static void
843_evas_canvas3d_mesh_alpha_func_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd, 843_evas_canvas3d_mesh_alpha_func_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd,
844 Evas_Canvas3D_Comparison *comparison, 844 Evas_Canvas3D_Comparison *comparison,
845 Evas_Real *ref_value) 845 Evas_Real *ref_value)
846{ 846{
@@ -856,7 +856,7 @@ _evas_canvas3d_mesh_alpha_test_enable_set(Eo *obj, Evas_Canvas3D_Mesh_Data *pd,
856} 856}
857 857
858EOLIAN static Eina_Bool 858EOLIAN static Eina_Bool
859_evas_canvas3d_mesh_alpha_test_enable_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd) 859_evas_canvas3d_mesh_alpha_test_enable_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd)
860{ 860{
861 return pd->alpha_test_enabled; 861 return pd->alpha_test_enabled;
862} 862}
@@ -1080,7 +1080,7 @@ evas_canvas3d_mesh_interpolate_vertex_buffer_get(Evas_Canvas3D_Mesh *mesh, int f
1080} 1080}
1081 1081
1082EOLIAN static Eina_Bool 1082EOLIAN static Eina_Bool
1083_evas_canvas3d_mesh_color_pick_enable_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd) 1083_evas_canvas3d_mesh_color_pick_enable_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd)
1084{ 1084{
1085 return pd->color_pick_enabled; 1085 return pd->color_pick_enabled;
1086} 1086}
@@ -1104,7 +1104,7 @@ _evas_canvas3d_mesh_shadows_edges_filtering_set(Eo *obj, Evas_Canvas3D_Mesh_Data
1104} 1104}
1105 1105
1106EOLIAN static void 1106EOLIAN static void
1107_evas_canvas3d_mesh_shadows_edges_filtering_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd, 1107_evas_canvas3d_mesh_shadows_edges_filtering_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd,
1108 int *blur_level, Evas_Real *edges_size) 1108 int *blur_level, Evas_Real *edges_size)
1109{ 1109{
1110 if (blur_level) *blur_level = pd->shadows_edges_filtering_level; 1110 if (blur_level) *blur_level = pd->shadows_edges_filtering_level;
@@ -1123,7 +1123,7 @@ _evas_canvas3d_mesh_shadows_constant_bias_set(Eo *obj EINA_UNUSED, Evas_Canvas3D
1123} 1123}
1124 1124
1125EOLIAN static Evas_Real 1125EOLIAN static Evas_Real
1126_evas_canvas3d_mesh_shadows_constant_bias_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd) 1126_evas_canvas3d_mesh_shadows_constant_bias_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd)
1127{ 1127{
1128 return pd->shadows_constant_bias; 1128 return pd->shadows_constant_bias;
1129} 1129}
@@ -1162,7 +1162,7 @@ _evas_canvas3d_mesh_lod_boundary_set(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Dat
1162} 1162}
1163 1163
1164EOLIAN static void 1164EOLIAN static void
1165_evas_canvas3d_mesh_lod_boundary_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd, 1165_evas_canvas3d_mesh_lod_boundary_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd,
1166 Evas_Real *near_lod, Evas_Real *far_lod) 1166 Evas_Real *near_lod, Evas_Real *far_lod)
1167{ 1167{
1168 *near_lod = pd->near_lod_boundary; 1168 *near_lod = pd->near_lod_boundary;