summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorBogdan Devichev <b.devichev@samsung.com>2014-11-27 15:16:03 +0200
committerCedric BAIL <cedric@osg.samsung.com>2014-12-23 21:14:52 +0100
commit02c85b9fe8d9acb2802210eb65bca450f21c5712 (patch)
tree989af3a1feba97487d6bd305f1a03ef581db0d6f /src/modules
parent9b7e22f5a5a2ee734264265267e2186cbebce65c (diff)
evas: add lib/evas/common/evas_model_<action>.c. Functions are renamed similar to functions in image_save_load process.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/evas/model_loaders/eet/evas_model_load_eet.c2
-rw-r--r--src/modules/evas/model_loaders/md2/evas_model_load_md2.c2
-rw-r--r--src/modules/evas/model_loaders/obj/evas_model_load_obj.c2
-rw-r--r--src/modules/evas/model_loaders/ply/evas_model_load_ply.c2
-rw-r--r--src/modules/evas/model_savers/eet/evas_model_save_eet.c6
-rw-r--r--src/modules/evas/model_savers/obj/evas_model_save_obj.c2
-rw-r--r--src/modules/evas/model_savers/ply/evas_model_save_ply.c2
7 files changed, 9 insertions, 9 deletions
diff --git a/src/modules/evas/model_loaders/eet/evas_model_load_eet.c b/src/modules/evas/model_loaders/eet/evas_model_load_eet.c
index 26c3569e04..fadd6aacd9 100644
--- a/src/modules/evas/model_loaders/eet/evas_model_load_eet.c
+++ b/src/modules/evas/model_loaders/eet/evas_model_load_eet.c
@@ -104,7 +104,7 @@ _set_material_to_mesh_from_eet_file(Evas_3D_Mesh *mesh,
104} 104}
105 105
106void 106void
107evas_3d_mesh_file_eet_set(Evas_3D_Mesh *mesh, const char *file) 107evas_model_load_file_eet(Evas_3D_Mesh *mesh, const char *file)
108{ 108{
109 Eet_File *ef; 109 Eet_File *ef;
110 110
diff --git a/src/modules/evas/model_loaders/md2/evas_model_load_md2.c b/src/modules/evas/model_loaders/md2/evas_model_load_md2.c
index 4a356b75c3..11d28451f5 100644
--- a/src/modules/evas/model_loaders/md2/evas_model_load_md2.c
+++ b/src/modules/evas/model_loaders/md2/evas_model_load_md2.c
@@ -343,7 +343,7 @@ error:
343} 343}
344 344
345void 345void
346evas_3d_mesh_file_md2_set(Evas_3D_Mesh *mesh, const char *file) 346evas_model_load_file_md2(Evas_3D_Mesh *mesh, const char *file)
347{ 347{
348 MD2_Loader loader; 348 MD2_Loader loader;
349 int i, j, k; 349 int i, j, k;
diff --git a/src/modules/evas/model_loaders/obj/evas_model_load_obj.c b/src/modules/evas/model_loaders/obj/evas_model_load_obj.c
index c6733a7c3a..36977464ba 100644
--- a/src/modules/evas/model_loaders/obj/evas_model_load_obj.c
+++ b/src/modules/evas/model_loaders/obj/evas_model_load_obj.c
@@ -202,7 +202,7 @@ _count_elements(char *start, long length)//count elements of mesh in .obj
202} 202}
203 203
204void 204void
205evas_3d_mesh_file_obj_set(Evas_3D_Mesh *mesh, const char *file) 205evas_model_load_file_obj(Evas_3D_Mesh *mesh, const char *file)
206{ 206{
207 long length, i; 207 long length, i;
208 char * start = _file_to_buf(file, &length); 208 char * start = _file_to_buf(file, &length);
diff --git a/src/modules/evas/model_loaders/ply/evas_model_load_ply.c b/src/modules/evas/model_loaders/ply/evas_model_load_ply.c
index b4bbe18c28..a294f6eb0a 100644
--- a/src/modules/evas/model_loaders/ply/evas_model_load_ply.c
+++ b/src/modules/evas/model_loaders/ply/evas_model_load_ply.c
@@ -198,7 +198,7 @@ _read_header(char *start)//Check properties of mesh in .ply file.
198} 198}
199 199
200void 200void
201evas_3d_mesh_file_ply_set(Evas_3D_Mesh *mesh, const char *file) 201evas_model_load_file_ply(Evas_3D_Mesh *mesh, const char *file)
202{ 202{
203 long length; 203 long length;
204 Evas_3D_Mesh_Data *pd; 204 Evas_3D_Mesh_Data *pd;
diff --git a/src/modules/evas/model_savers/eet/evas_model_save_eet.c b/src/modules/evas/model_savers/eet/evas_model_save_eet.c
index c801ac1025..e445dca249 100644
--- a/src/modules/evas/model_savers/eet/evas_model_save_eet.c
+++ b/src/modules/evas/model_savers/eet/evas_model_save_eet.c
@@ -148,9 +148,9 @@ _set_frame_to_eet_file_from_mesh(Evas_3D_Mesh_Eet *eet_mesh)
148} 148}
149 149
150void 150void
151evas_3d_mesh_save_eet(Evas_3D_Mesh *mesh, 151evas_model_save_file_eet(Evas_3D_Mesh *mesh,
152 const char *file, 152 const char *file,
153 Evas_3D_Mesh_Frame *f) 153 Evas_3D_Mesh_Frame *f)
154{ 154{
155 Evas_3D_Mesh_Data *pd = eo_data_scope_get(mesh, EVAS_3D_MESH_CLASS); 155 Evas_3D_Mesh_Data *pd = eo_data_scope_get(mesh, EVAS_3D_MESH_CLASS);
156 Eet_File *ef = eet_open(file, EET_FILE_MODE_WRITE); 156 Eet_File *ef = eet_open(file, EET_FILE_MODE_WRITE);
diff --git a/src/modules/evas/model_savers/obj/evas_model_save_obj.c b/src/modules/evas/model_savers/obj/evas_model_save_obj.c
index c7699b3292..35773e304f 100644
--- a/src/modules/evas/model_savers/obj/evas_model_save_obj.c
+++ b/src/modules/evas/model_savers/obj/evas_model_save_obj.c
@@ -129,7 +129,7 @@ _save_material(Evas_3D_Mesh_Data *pd EINA_UNUSED, const char *file, Evas_3D_Mesh
129} 129}
130 130
131void 131void
132evas_3d_mesh_save_obj(Evas_3D_Mesh *mesh, const char *file, Evas_3D_Mesh_Frame *f) 132evas_model_save_file_obj(Evas_3D_Mesh *mesh, const char *file, Evas_3D_Mesh_Frame *f)
133{ 133{
134 Evas_3D_Mesh_Data *pd = eo_data_scope_get(mesh, EVAS_3D_MESH_CLASS); 134 Evas_3D_Mesh_Data *pd = eo_data_scope_get(mesh, EVAS_3D_MESH_CLASS);
135 _save_mesh(pd, file, f); 135 _save_mesh(pd, file, f);
diff --git a/src/modules/evas/model_savers/ply/evas_model_save_ply.c b/src/modules/evas/model_savers/ply/evas_model_save_ply.c
index a0ba9457d3..b99f080eec 100644
--- a/src/modules/evas/model_savers/ply/evas_model_save_ply.c
+++ b/src/modules/evas/model_savers/ply/evas_model_save_ply.c
@@ -10,7 +10,7 @@
10#include "evas_private.h" 10#include "evas_private.h"
11 11
12void 12void
13evas_3d_mesh_save_ply(Evas_3D_Mesh *mesh, const char *file, Evas_3D_Mesh_Frame *f) 13evas_model_save_file_ply(Evas_3D_Mesh *mesh, const char *file, Evas_3D_Mesh_Frame *f)
14{ 14{
15 float *src_pos, *src_nor, *src_tex, *src_col; 15 float *src_pos, *src_nor, *src_tex, *src_col;
16 int i; 16 int i;