path: root/src/examples/evas/evas-3d-cube2.c (follow)
AgeCommit message (Collapse)Author
2019-07-28examples - use putenv, not setenv for porting reasonsCarsten Haitzler (Rasterman)
putenv is more portable than setenv, so usethat instead. this nukes warnings on windows as evil is meant to go private and you thus have no setenv anymore.
2019-03-18efl: remove EFL_EO_API_SUPPORT macroDaniel Kolesa
Summary: Since we're now going to be shipping some eo classes as stable, there is no point in keeping the eo api behind a macro, and it should be enabled by default. Another case is beta classes, but those are behind the EFL_BETA_API_SUPPORT guard. This also changes includes around the place where things are clearly broken (such as an included header needing something from another header but that other header being guarded, notably efl_ui_widget.h needing focus manager but focus manager being behind beta in Elementary.h) Reviewers: zmike, cedric, bu5hm4n, stefan_schmidt, segfaultxavi Reviewed By: cedric, segfaultxavi Subscribers: segfaultxavi, #reviewers, #committers Tags: #efl 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:
2018-04-24Efl.Gfx.Entity (from Efl.Gfx)Xavi Artigas
Ref Reviewed-by: Cedric Bail <>
2018-02-12evas3d: use a type setter function with finalize instead of a custom constructorMike Blumenkrantz
resolves a conflict with the 'constructor' method name
2017-10-05evas: remove evas_canvas3d_texture_file_set and efl_file_set instead.Cedric BAIL
2017-09-18efl: Use Eina.Size2D for Efl.Gfx.sizeJean-Philippe Andre
Big patch as a lot of things call or reimplement size_set. Hopefully I got it right... fingers crossed.
2017-08-08examples: Fix grammar - 'forcely' is not a wordBryce Harrington
Subscribers: cedric, jpeg Differential Revision:
2017-05-08examples/evas: streamline the intro description statement for examplesBryce Harrington
Summary: For people browing through the examples, having the opening statement be concise and consistent will help them more quickly find what they're looking for. Signed-off-by: Bryce Harrington <> Test Plan: Some of the examples had identical opening statements (e.g. the image object examples). I've tried to give each a unique description defining what they are demonstrating, but you may want to doublecheck I got these correct. Of particular note, to me evas-images5.c looks like just a fixup to evas-images4.c, so I'm not sure what makes these two distinct. Subscribers: cedric, jpeg Differential Revision: Signed-off-by: Cedric BAIL <>
2017-04-25examples/evas: fix spellingBryce Harrington
Subscribers: cedric, jpeg Differential Revision: Signed-off-by: Cedric BAIL <>
2016-09-05Rename efl_self to efl_addedTom Hacohen
It has been discussed on the ML (thread: "[RFC] rename efl_self") and IRC, and has been decided we should rename it to this in order to avoid confusion with the already established meaning of self which is very similar to what we were using it for, but didn't have complete overlap. Kudos to Marcel Hollerbach for initiating the discussion and fighting for it until he convinced a significant mass. :) This commit breaks API, and depending on compiler potentially ABI. @feature
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-06-21examples: evas3d: uniform use of config.h include or manual definesStefan Schmidt
My recent removal of the EFL_EO_API_SUPPORT define brought some trouble to the evas 3d examples. The problem was that there was no uniform usage of including config.h and thus it worked fine in some constellations abut not in others. This patch should fix the known problems and brings back EFL_EO_API_SUPPORT until we are removing it from the whole code base.
2016-06-14examples: remove now longer needed EFL_EO_API_SUPPORT define in canvas3d and vgStefan Schmidt
These examples already had the BETA flag defined so we just need to remove the EO_API one.
2016-06-02Evas: Rename Evas.Rectangle as Efl.Canvas.RectangleJean-Philippe Andre
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-03-15Change the EFL according to the renaming of the eo_add() current object.Tom Hacohen
2016-03-15Evas: Move 3d to Efl.Canvas.Scene3dJean-Philippe Andre
This still seems a bit redondant with the underlying Evas.Canvas3d.Scene class.
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.
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-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 <>
2015-05-29evas: Evas_3D examples use new API for creating primitives.Bogdan Devichev
Summary: Examples changed due to D2516 Reviewers: Oleksander, Hermet, raster, cedric Subscribers: cedric Differential Revision: Signed-off-by: Cedric BAIL <>
2015-05-10evas: fixing examples after change on Evas_3D.Cedric BAIL
2015-04-15evas: fix compilation in the Evas 3D
Summary: Fix compilation line. Reviewers: Hermet, raster, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: Signed-off-by: Cedric BAIL <>
2015-04-03evas: fix example to follow new Efl.Gfx interface.Cedric BAIL
2015-03-18evas: cube2 example uses cube primitives.Bogdan Devichev
Reviewers: Hermet, raster, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: Signed-off-by: Cedric BAIL <>
2015-02-23evas: refactoring evas examples descriptions.Bogdan Devichev
Summary: Descriptions of evas examples are standardized. Added missing descriptions to examples. Deleted copy of description in evas-init-shutdown.c. Reviewers: Hermet, raster, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: Signed-off-by: Cedric BAIL <>
2015-02-20evas: resources for evas-2d examples are added to resource folder.Bogdan Devichev
Summary: Process of loading is standard now. TODOs which are added here will be done in one of the next commits soon. Reviewers: cedric, Hermet, raster Subscribers: cedric Differential Revision: Signed-off-by: Cedric BAIL <>
2015-02-20evas: Evas_3D - add creation of folder for saving and usage of ↵Bogdan Devichev
PACKAGE_DATA_DIR to every example of Evas_3D. Reviewers: cedric, Hermet, raster Subscribers: cedric Differential Revision: Signed-off-by: Cedric BAIL <>
2015-02-18evas: Evas_3D - regularize resource for 3D examples.Bogdan Devichev
Summary: This commit makes folder of examples for evas more ordered. Reviewers: raster, Hermet, cedric Subscribers: artem.popov, cedric Differential Revision: Signed-off-by: Cedric BAIL <>
2014-10-08evas: let's fix all Tasn borkage.Cedric BAIL
2014-09-25Eo: Get rid of eo_add_custom.Tom Hacohen
We decided to deprecate this one in favour of setting thing in the construction between the constructor and the finalizer.
2014-06-04evas: Examples - fix Evsa3D Eo classnames.Savio Sena
Summary: Renamed EVAS_OBJ_.+_CLASS to EVAS_.+_CLASS so that "make examples" works. @fix Reviewers: cedric, tasn, Hermet CC: felipealmeida, smohanty, raster, cedric Differential Revision: Signed-off-by: Cedric BAIL <>
2014-05-12evas/evas3d: applied eo intensively and fix indentation.ChunEon Park
2014-05-07evas/evas3d: removed export of evas_3d_node_add() and apply eo to examples.ChunEon Park
but still i don't like eo apis used in app side (if it's only way) we should export legacy apis for convenience. lets decide this policy later.
2014-05-07evas/evas3d: call eo_unref() after eo_add().ChunEon Park
since eo default ref count is 1 and increased by canvas parent again, they should be unref() called if they wanna deleted automatically. I wonder if evas unref the objects while it removes the objects from it's list, then user don't need to call eo_unref() manually which may cause a mistake in usage.
2014-05-07evas/evas3d: set gl backened forcely in the examplesChunEon Park
Right now, evas 3d doesn't support software renderer, we set the gl backened forcely.
2014-05-01evas: fix Evas_3D examples to use Eo API.Cedric Bail
2014-04-30evas/evas3d: rewrite evas-3d-cube2 example with eo based.ChunEon Park
2014-04-25evas/evas3d: rename 3d_scene_set()/get() to scene_set()/get()ChunEon Park
if eolian generates c++ apis, the method name will be started with numberic character that wont' be accepted by c++ language. so renamed.
2014-04-25evas3d: forget evas_3d.h. it's merged to evas.hChunEon Park
Conflicts: src/lib/evas/Evas_3D.h
2014-04-25Evas: 3D: Change the api name from t3d_scene to 3d_scene as the eolian issue ↵Subhransu Sekhar Mohanty
got fixed.
2014-04-25Evas: 3D: Refined proxy texture implementationTaekyun Kim
Added new APIs for controlling source object's visibility. Fixed bugs related to updating proxy textures.
2014-04-25Evas: 3D: Example: Rotating Cube 2Taekyun Kim
Demonstrating key frame material animation and normal mapping.