summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_canvas3d_mesh.c
diff options
context:
space:
mode:
authorOleksandr Shcherbina <o.shcherbina@samsung.com>2016-04-14 20:28:20 +0900
committerHermet Park <hermet@hermet.pe.kr>2016-04-14 20:28:20 +0900
commit172cfa0f0496f95cc78752c0c498a87711347df3 (patch)
tree40cb2a2c81823ec4a1bdfe93f32db827b213f122 /src/lib/evas/canvas/evas_canvas3d_mesh.c
parent35941c4ad18b4a320b56e2c6596132a7eca0d482 (diff)
evas.canvas3d: Change shade_mode to shader_mode
Summary: enum Evas.Canvas3D.Shade_Mode are using for choose relevant shader source code. So renaming have a sence. Rename evas_canvas3d_shade_mode_set/get property to evas_canvas3d_shader_mode_set/get Rename internal fields and functions Reviewers: cedric, Hermet, raster Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D3882
Diffstat (limited to 'src/lib/evas/canvas/evas_canvas3d_mesh.c')
-rw-r--r--src/lib/evas/canvas/evas_canvas3d_mesh.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/evas/canvas/evas_canvas3d_mesh.c b/src/lib/evas/canvas/evas_canvas3d_mesh.c
index 091a8bf..9cfc637 100644
--- a/src/lib/evas/canvas/evas_canvas3d_mesh.c
+++ b/src/lib/evas/canvas/evas_canvas3d_mesh.c
@@ -278,19 +278,19 @@ _evas_canvas3d_mesh_eo_base_destructor(Eo *obj, Evas_Canvas3D_Mesh_Data *pd)
278} 278}
279 279
280EOLIAN static void 280EOLIAN static void
281_evas_canvas3d_mesh_shade_mode_set(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd, Evas_Canvas3D_Shade_Mode mode) 281_evas_canvas3d_mesh_shader_mode_set(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd, Evas_Canvas3D_Shader_Mode mode)
282{ 282{
283 if (pd->shade_mode != mode) 283 if (pd->shader_mode != mode)
284 { 284 {
285 pd->shade_mode = mode; 285 pd->shader_mode = mode;
286 evas_canvas3d_object_change(obj, EVAS_CANVAS3D_STATE_MESH_SHADE_MODE, NULL); 286 evas_canvas3d_object_change(obj, EVAS_CANVAS3D_STATE_MESH_SHADER_MODE, NULL);
287 } 287 }
288} 288}
289 289
290EOLIAN static Evas_Canvas3D_Shade_Mode 290EOLIAN static Evas_Canvas3D_Shader_Mode
291_evas_canvas3d_mesh_shade_mode_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd) 291_evas_canvas3d_mesh_shader_mode_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd)
292{ 292{
293 return pd->shade_mode; 293 return pd->shader_mode;
294} 294}
295 295
296EOLIAN static void 296EOLIAN static void