path: root/src/lib/evas/canvas/evas_canvas3d_mesh.c (follow)
AgeCommit message (Collapse)Author
2019-09-05canvas 3d: remove potential dangling pointer.Hermet Park
2019-08-29efl: implement efl.file::unload for classes that implement loadMike Blumenkrantz
unload is a crucial method for classes that implement load, as this is the method which is called during e.g., efl_file_simple_load() when a new file is specified in order to destroy the previous object data Reviewed-by: Marcel Hollerbach <> Differential Revision:
2019-02-27efl.file_save: rework save flagsMike Blumenkrantz
Summary: instead of passing a string which requires reading docs to know which arbitrary string key=value sets can be passed, use an extensible struct which contains more easily referenced values ref T7672 Depends on D8035 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7672 Differential Revision:
2019-02-27efl.file: improve api a bitMike Blumenkrantz
Summary: the previous implementation/api had a number of issues: * "file" property contained both "file" and "key" values - also performed file loading operation * "load_error" property which was specific to image objects * no methods for controlling file loading/unloading this patch attempts the following changes: * split "file" property into "file" and "key" properties - also remove "key" from existing "mmap" property * remove "load_error" * directly return error codes from operations * add "load" and "unload" methods for directly controlling load state * add implicit file loading if file/mmap is set during construction * rewrite all efl.file implementations to move file loading into load() method * rewrite all usage of efl.file api based on these changes * add C extension functions to mimic previous behavior ref T7577 Reviewers: segfaultxavi, bu5hm4n, cedric Reviewed By: segfaultxavi Subscribers: vitor.sousa, #reviewers, #committers Tags: #efl_api Maniphest Tasks: T7577 Differential Revision:
2019-01-30efl.file: move 'save' method into separate efl.file_save interfaceMike Blumenkrantz
the save method is implemented very rarely, and most objects which use efl.file will not be able to use a save method ref T5719 Reviewed-by: Cedric BAIL <> Reviewed-by: Marcel Hollerbach <> Differential Revision:
2019-01-26evas_canvas3d_mesh: implement get methods for efl.file file and mmap propsMike Blumenkrantz
also add unit tests for new methods ref T5719 Reviewed-by: Cedric BAIL <> Reviewed-by: Marcel Hollerbach <> Differential Revision:
2018-04-17eolian gen: enable constness generation on property getter implsDaniel Kolesa
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.
2017-11-23evas: fix typos for canvasPawel Aksiutowicz
Reviewers: stanluk, lukasz.stanislawski Subscribers: cedric, jpeg Differential Revision: Signed-off-by: Cedric Bail <>
2017-07-07evas,edje,elm: Mark all legacy objects as suchJean-Philippe Andre
2017-01-06eina: rename EINA_{FLT,DBL}_CMP to EINA_{FLT,DBL}_EQ.Cedric BAIL
2016-12-21evas: don't use float comparison for integersChris Michael
As derek pointed out, 'stride' here is an integer so does not need a float comparison, so just use a simple integer comparison. Signed-off-by: Chris Michael <>
2016-12-20evas: remove float comparison warnings for evas_canvas3d_meshChris Michael
Signed-off-by: Chris Michael <>
2016-08-15Eo: Finish the renaming of Eo to the EFL.Tom Hacohen
This renames all the rest of the API to the EFL namespace except for Eo_Event that will follow soon. Obviously breaks both API and ABI.
2016-08-11Change the EFL to follow the new Eo rename.Tom Hacohen
2016-04-14evas.canvas3d: Change shade_mode to shader_modeOleksandr Shcherbina
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:
2016-04-08Evas 3d: Fix compilation for WindowsJean-Philippe Andre
near and far are #defined in windows.h. Old legacy stuff. To be sure the code compiles, rename the variables. Fixes T3423
2016-03-15evas.canvas3d: support static LOD technicOleksandr Shcherbina
Summary: Main flow: add several meshes(with different number of polygons) in one node, enable LOD for node, set boundary distances to choose need mesh depend on distance to the camera node, render only need mesh. Add API's enable lod in evas_canvas3d_node module and set boundary distance to module evas_canvas3d_mesh module Refactored function evas_canvas3d_node_mesh_collect to calculate distance. Refactored _scene_render to have possibility pass to the render only need LOD mesh. Reviewers: cedric, Hermet, raster Subscribers: jpeg Differential Revision: Signed-off-by: Cedric Bail <>
2016-03-11Revert "Automatic migration to the new eo_add syntax."Tom Hacohen
This reverts commit 4f949a2757b6332306264d7f126b15ba7bfd37d4.
2016-03-09Automatic migration to the new eo_add syntax.Tom Hacohen
2016-03-03Automatic migration to Eo4.Tom Hacohen
I just ran my script (email to follow) to migrate all of the EFL automatically. This commit is *only* the automatic conversion, so it can be easily reverted and re-run.
2016-02-17evas: Update evas_3d_utils, replace
Summary: Change Evas_Vec2(3) to Eina_Vector2(3). Reviewers: cedric, Hermet, jpeg Subscribers: jpeg Differential Revision:
2015-11-23evas: fix possible accsess to NULL pointer in Evas.Canvas3d.Oleksandr Shcherbina
Summary: @fix CID:1339784 Reviewers: raster, cedric Reviewed By: cedric Differential Revision: Signed-off-by: Cedric BAIL <>
2015-11-09evas: unification of color pick mechanism.Oleksandr Shcherbina
Summary: Use same way using color pick under GLES and not: Use GL_RGBA texture insted of GL_RED Generate and pass to engine 3 components color of mesh See T2761 Reviewers: cedric, Hermet Subscribers: cedric Differential Revision: Signed-off-by: Cedric BAIL <>
2015-11-09evas: API for Convex Hull in Evas.Canvas3dperepelits.m
Summary: This API builds vertex and index data of convex hull around the given mesh. Reviewers: raster, perepelits.m, Hermet, cedric Reviewed By: cedric Subscribers: cedric, artem.popov Differential Revision: Signed-off-by: Cedric BAIL <>
2015-10-04evas-3d: fix primitivesperepelits.m
Summary: There were warnings after adding primitive in the same frame more then once, the check was added to avoid it @fix Reviewers: cedric, raster, Hermet Subscribers: cedric, artem.popov Differential Revision: Signed-off-by: Cedric BAIL <>
2015-09-21evas_canvas3d: sets for shadow renderingOleksandr Shcherbina
Summary: Add possibility change quality and offsets for shadow. Add mesh API's to sets size, step and bias constant. Add scene API to sets depth values. Reviewers: Hermet, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: Signed-off-by: Cedric BAIL <>
2015-08-04Evas canvas3d: Move evas 3d types to evas_types.eotOleksandr Shcherbina
Summary: Move evas_canvas3d types from Evas_Eo.h to evas_types.eot Change enum constatnt for vertex_arrtib, material_attrib, blend_func Correct namespace for Evas.Real type Reviewers: cedric, tasn Reviewed By: tasn Subscribers: cedric Differential Revision:
2015-06-25eolian/generator: constify all prototypes for @const functionsDaniel Kolesa
Otherwise there would be conflicts in certain circumstances. This also requires adding const on many existing functions, and similar work is necessary in Elementary. @fix
2015-06-17evas: change interface evas_3d to evas_canvas3dOleksandr Shcherbina
Summary: Regard to it is need for right generation Eolian files Reviewers: cedric Subscribers: cedric, tasn Differential Revision: Signed-off-by: Cedric BAIL <>