Commit Graph

407 Commits

Author SHA1 Message Date
se.osadchy 7eab0e1603 evas: fix compilation in the Evas 3D examples.
Summary: Fix compilation line.

Reviewers: Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2340

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-15 12:16:51 +02:00
Oleksandr Shcherbina 499e546ee9 [evas/evas_3D] Some fixes in evas-3d-shadows example
Summary:
Regard to this https://phab.enlightenment.org/D2250 improve view of 3D objects
Improve bug with incorect changing shade mode for billboard

Reviewers: Hermet, cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2299
2015-04-10 14:20:35 +09:00
Felipe Magno de Almeida b2cd3a1f60 evas-3d: Fix example compilation of evas_3d_blending 2015-04-09 17:41:34 -03:00
Bogdan Devichev 509304645a evas-3d: blending example uses spheres from primitives
Reviewers: Hermet, raster, cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2162
2015-04-07 09:17:24 +09:00
Bogdan Devichev 7fc3e1e3c2 evas-3d: fog example uses spheres from primitives
Reviewers: Hermet, raster, cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2166
2015-04-07 09:14:42 +09:00
Bogdan Devichev f8f118f058 evas-3d: T2226 (Evas Eet saver does out of range access) fixed.
Summary:
texcoord now is 2D vector

@fix

Reviewers: cedric, Hermet, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2233
2015-04-06 14:13:30 +09:00
Oleksandr Shcherbina bc8dfbb1ef [evas/evas_3D] Billboard mechanism
Summary:
Add pointer to target billboard node in Evas_3D_Node
Skip set flags change orientation for billboard node
Add method node_billboard_update to use it for change orientation during traverse
by nodes
Split API evas_3d_node_look_at_set to have possibility change orientation of node
without set flags

Reviewers: cedric, Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2245
2015-04-06 14:10:28 +09:00
Bogdan Devichev 5a5322706e evas-3D: primitives: cylinder is standardized now (normalized and z is a axis of symmetry)
Summary: {F13942}

Test Plan: D2248 gives app for testing.

Reviewers: cedric, Hermet, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2250
2015-04-06 13:58:22 +09:00
Bogdan Devichev 8c350554de evas-3d: parallax-occlusion example is fixed.
Summary: wrong pathes to resources are fixed

Reviewers: cedric, Hermet, raster, Sergeant_Whitespace

Reviewed By: Sergeant_Whitespace

Subscribers: Sergeant_Whitespace, Ievgen, cedric

Differential Revision: https://phab.enlightenment.org/D2235
2015-04-06 11:01:14 +09:00
Bogdan Devichev 7f128ec8d2 evas-3D: primitives: cone is standardized now (normalized and z is an axis of symmetry)
Summary: {F13944}

Test Plan: D2248 gives app for testing.

Reviewers: cedric, Hermet, raster, Sergeant_Whitespace

Reviewed By: Sergeant_Whitespace

Subscribers: Sergeant_Whitespace, cedric

Differential Revision: https://phab.enlightenment.org/D2251
2015-04-06 10:58:28 +09:00
Subhransu Mohanty 4ad8b3ab52 evas: update batman example with shape property interpolation
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:38:13 +02:00
Subhransu Mohanty 72967efd9d evas: update batman example with transformation and opengl.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:34:17 +02:00
Cedric BAIL 21ee9897bd evas: don't track generated content. 2015-04-03 16:34:12 +02:00
Cedric BAIL f8938fe5ce evas: use legacy API for VG example. 2015-04-03 16:34:01 +02:00
Subhransu Sekhar Mohanty ae3df1d225 evas: remove duplicated shape data and modified animation time in evas-vg-batman.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:33:46 +02:00
Cedric BAIL fbeb5dd618 evas: call batman to the rescue !
The animation is not pretty yet, but definitively a nice demo of a
changing shape with current Evas_VG API.
2015-04-03 16:33:43 +02:00
Cedric BAIL 05014235a3 evas: correct evas_vg_simple header description. 2015-04-03 16:33:32 +02:00
Cedric BAIL f603f5ed21 gitignore: don't track generated examples. 2015-04-03 16:33:11 +02:00
Cedric BAIL afc2b3b17a evas: fix example with new namespace. 2015-04-03 16:33:09 +02:00
Cedric BAIL ee955fbd98 evas: fix Evas_3D examples with new Efl interface API. 2015-04-03 16:33:06 +02:00
Cedric BAIL 69b64e948a evas: check rect and circle rendering with SVG specification in Evas_VG example. 2015-04-03 16:32:56 +02:00
Cedric BAIL abc64b7526 evas: migrate Efl.VG example to legacy API. 2015-04-03 16:31:27 +02:00
Cedric BAIL a104344d7e evas: fix Evas_VG examples to match new API. 2015-04-03 16:31:23 +02:00
ChunEon Park 99166ff5f6 evas: add evas_vg_simple example.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:31:20 +02:00
Cedric BAIL 3b97e3d9cd evas: fix example to follow new Efl.Gfx interface. 2015-04-03 16:30:47 +02:00
Cedric BAIL c1a189bf10 evas: fix examples dependencies as they don't use the rest of the infra to discover it. 2015-04-03 16:22:27 +02:00
ChunEon Park a051333806 Revert "evas-3d: materials in .mtl format are deleted"
This reverts commit 59271716ba.

This patch submitted twice.
2015-03-20 18:35:00 +09:00
Bogdan Devichev 59271716ba evas-3d: materials in .mtl format are deleted
Summary: Materials are not used in any loader and will not be used in nearest future.

Reviewers: raster, Hermet, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2080

Conflicts:

	src/examples/evas/Makefile.am
2015-03-20 14:57:11 +09:00
Cedric BAIL 4935582355 evas: use switch instead of a serie of if for cleaner example. 2015-03-19 17:34:46 +01:00
Cedric BAIL f44c1aaf7f evas: remove unused variable. 2015-03-19 17:20:56 +01:00
Cedric BAIL ceda7ad70a evas: remove useless line. 2015-03-19 17:19:48 +01:00
Bogdan Devichev 4c0f37b93c evas: Evas_3d proxy example uses cube primitives.
Reviewers: Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2172

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-18 15:22:21 +01:00
Bogdan Devichev db7d448ca2 evas: pick example uses sphere primitives.
Reviewers: cedric, Hermet, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2169

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-18 15:22:21 +01:00
Bogdan Devichev ca111165e9 evas: frustum example uses sphere and cube primitives.
Reviewers: cedric, Hermet, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2167

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-18 15:22:20 +01:00
Dmytro Dadyka 31651a8842 evas: Evas_3D - add alpha testing.
Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: Ievgen, cedric

Differential Revision: https://phab.enlightenment.org/D2046
2015-03-18 15:22:20 +01:00
Bogdan Devichev 0f86d692e7 evas: cube-rotate example uses cube primitives.
Reviewers: Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2165

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-18 15:22:20 +01:00
Bogdan Devichev 1b534d5497 evas: cube2 example uses cube primitives.
Reviewers: Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2164

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-18 15:22:20 +01:00
Bogdan Devichev e1b4303df3 evas: aabb example uses cube primitives.
Reviewers: Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2161

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-18 15:22:20 +01:00
Bogdan Devichev a2065e3b10 evas: refactor colorpick examples.
Reviewers: cedric, Hermet, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2152

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-18 15:22:20 +01:00
Bogdan Devichev f4400a890c evas: fix shadows examples to see normalized primitives.
Reviewers: cedric, Hermet, raster

View and composition will be restored after refactoring of all primitives.

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2151

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-18 15:22:20 +01:00
Bogdan Devichev a12f1e5b81 evas: fix parallax-occlusion example camera to save view of example with normalized cube.
Reviewers: Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2150

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-18 15:22:20 +01:00
Cedric BAIL 9f7d14f664 evas: build Evas_3D examples with helper. 2015-03-18 15:22:20 +01:00
Bogdan Devichev 99fa9484a3 evas: Evas_3D primitives: square, sphere and cube are normalized.
Reviewers: cedric, Hermet, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2149

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-18 12:23:06 +01:00
Bogdan Devichev 10095b9df3 evas: shooter resources is recycled and added in right way.
Summary:
- little symbols in pathes
- new standard pathes for assets for big examples
- deleted the largest resources
- size of shooter folder less than 4 Mb now

Reviewers: cedric, Hermet, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2131
2015-03-18 12:18:30 +01:00
Bogdan Devichev 35773988e5 evas: add evas-common.h to dist and move resources of parallax-occlusion to comon directory.
Reviewers: Hermet, raster, cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2044

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-18 11:49:31 +01:00
Jean-Philippe Andre 7e92ab76b1 Fix a previous commit: remove binary files and garbage in src/
When rebasing the commits, I have been lazy and did a git add src/ that
actually added the files that were not ignored. My bad, sorry about that.
The original patch was fine.

Thanks sung.
2015-03-16 16:09:47 +09:00
Dongyeon Kim eae786917c Evas GL: change function naming and small bug fixes
Summary:
Remove gles1 prefixes for functions that are also used by gles3.
Refactor evgl_make_current a little bit.
Destroy indirect context properly.
Some log message changes and typo fixes.

Test Plan: Local tests on desktop PC

Reviewers: jpeg

Subscribers: mythri, mer.kim, wonsik, cedric

Differential Revision: https://phab.enlightenment.org/D2104
2015-03-16 15:56:48 +09:00
Stefan Schmidt 9afa762e54 examples/evas: Remove no longer existing resources from dist
These have been removed recently but forgotten in the distribution
of automake.
2015-03-11 08:57:25 +01:00
Jean-Philippe Andre 7b6f4820bc Evas GL example: Fix usage of the config struct
Also use depth24 as it's more commonly supported than 32 bits.
2015-03-09 21:15:46 +09:00
Avi Levin 92901e0939 examples: fix bad unref's in ecore and evas.
Summary:
recived Error that object already deleted in the following files:
In evas-object-manipulation-eo.c: d.clipper and d.bg where created with
eo_add ( 1 ref ) but where unrefd twice: once explicity and once when
d.ee were deleted.
In ecore_indler_example: ctxt->idler were again explicity unrefd and
again unrefd by ecore_shutdown.
@fix

Reviewers: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2093

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-06 20:19:22 +01:00
Bogdan Devichev ef694f0ed1 evas: recycling of resources (deleted mine and eagle) in Evas_3D examples.
Summary:
Unneccessary resources are deleted.
In example of frustum used sweet_home.
In example of colorpick used sphere primitive.
Possibility to set precision of spheres deletes need in high quality mesh.
For spheres used textures of wood and rock, so for good work of colorpick https://phab.enlightenment.org/D2044 should be merged firstly.

Reviewers: cedric, raster, Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2081

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-06 20:19:21 +01:00
Bogdan Devichev ad17806fb0 evas: materials in .mtl format are deleted
Summary: Materials are not used in any loader and will not be used in nearest future.

Reviewers: cedric, raster, Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2080

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-06 20:19:21 +01:00
kabeer khan fd7d0ca51b evas/examples: Resolved warning in evas-3d example
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: cedric, Hermet

Reviewed By: Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2088
2015-03-04 13:02:07 +09:00
Bogdan Devichev a8e79114db evas-3d: recycling of resources for .ply import/export example
Summary: Smaller resources for .ply example.

Test Plan: run evas-3d-ply.c

Reviewers: cedric, Hermet, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2069
2015-03-03 11:44:40 +09:00
Bogdan Devichev fcd354aa84 evas-3d: recycling of resources for mmap example
Summary: Models for mmap example are more than tan times smaller.

Test Plan: run evas-3d-mmap-set.c

Reviewers: cedric, raster, Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2073
2015-03-03 11:23:55 +09:00
Bogdan Devichev 6353e17f0b evas-3d: deleted some unneccesary resources and moon-space example
Summary: This example is deprecated. We have another (pick) to show functionality of it.

Test Plan: Need merged D2044 to run pick example.

Reviewers: cedric, raster, Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2074
2015-03-03 10:58:59 +09:00
Dmytro Dadyka d602597ac1 evas: Evas_3D - add terrain mesh.
Reviewers: Hermet, Oleksander, cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2042

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-26 21:06:38 +01:00
Dmytro Dadyka 179acbdd9b evas: Evas_3D - fix coding style
Reviewers: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2050

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-26 21:06:38 +01:00
Stefan Schmidt c5879dab4d build: Unify use of $(MKDIR_P) for creating a dir within the build system
While we used different variation of mkdir -p all over we also had spots
where we did not use the option. This is one step in trying to make our
build system ready for parallel install. Using something like -j 10 even
for the install should help to speed up our jenkins jobs as well as distcheck.
2015-02-25 16:43:35 +01:00
Bogdan Devichev d9c9ea1f2a evas: textures are standardized 256*256.
Summary:
Textures for evas-3d are standardized 256*256.
.tga for parallax occlusion aren't changed to save alpha channel.
-50Mb for efl without obvious lost of quality

Reviewers: cedric, Hermet, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2032

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-23 19:24:32 +01:00
Cedric BAIL 5c22ae86ac eo: fix examples to follow new eo_do syntax. 2015-02-23 18:46:11 +01:00
Bogdan Devichev 1f9ac72b8e evas: refactoring evas examples descriptions.
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: https://phab.enlightenment.org/D2031

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-23 18:31:43 +01:00
Cedric BAIL e5eea68ead gitignore: don't track generated example. 2015-02-23 15:46:55 +01:00
Cedric BAIL 772e9bee2f evas: build evas_3d_parallax_occlusion. 2015-02-23 15:46:54 +01:00
Bogdan Devichev ccfbb521cd evas: some fixes to evas examples.
Summary:
Fixed : errors (connected with eo and new resources path) in evas-object-manipulation-eo.c
Fixed : warning: format not a string literal and no format arguments [-Wformat-security]
FIxed : unused variables in evas-images3.c are deleted

Reviewers: raster, Hermet, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2025

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-23 15:46:54 +01:00
Dmytro Dadyka 1b142d09d9 evas: Evas_3D - add parallax occlusion shading.
Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2018
2015-02-23 15:46:25 +01:00
Bogdan Devichev 4cd50a447f evas: resources for evas-2d examples are added to resource folder.
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: https://phab.enlightenment.org/D2013

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-20 18:37:03 +01:00
Dmytro Dadyka f377770cc1 evas: Evas_3D - add common code for primitive shape.
Reviewers: Hermet, cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2012

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-20 18:36:56 +01:00
Bogdan Devichev 175c8cbd63 evas: Evas_3D - add creation of folder for saving and usage of PACKAGE_DATA_DIR to every example of Evas_3D.
Reviewers: cedric, Hermet, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2003

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-20 12:19:30 +01:00
Bogdan Devichev 145093a32b evas: Evas_3D - Makefile updated for resources ordering in evas examples.
Reviewers: cedric, Hermet, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1989

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-18 22:42:41 +01:00
Bogdan Devichev 303a6a87d0 evas: Evas_3D - regularize resource for 3D examples.
Summary: This commit makes folder of examples for evas more ordered.

Reviewers: raster, Hermet, cedric

Subscribers: artem.popov, cedric

Differential Revision: https://phab.enlightenment.org/D1985

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-18 22:42:20 +01:00
Cedric BAIL d6f2dd4dd0 evas: remove compilation warning. 2015-02-18 22:42:17 +01:00
perepelits.m 2e2145b594 evas: Evas_3D - improve Shooter example.
Summary: This example includes some previous developments to create 3d-world mechanics.

Reviewers: cedric, raster, Hermet

Subscribers: cedric, artem.popov

Differential Revision: https://phab.enlightenment.org/D1991

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-18 22:42:17 +01:00
Oleksandr Shcherbina d28b82be45 evas: Evas_3D - callbacks for Evas 3D.
Summary:
Add class and type Evas_3D_Callback like wrapper under smart object
Incapsulate Evas_3D_Callback in Evas_3D_Object
Add virtual function register and unregister in Evas_3D_Object
Add function evas_3d_callback_call
Add callbacks clicked and collision for Evas_3D_Node

@feature

Reviewers: raster, Hermet, cedric

Reviewed By: cedric

Subscribers: artem.popov, cedric

Differential Revision: https://phab.enlightenment.org/D1914

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-18 22:42:07 +01:00
kabeer khan 88932d3645 evas: updated .gitignore to not track evas_3d_colorpick example.
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: cedric, Oleksander

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1968

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-16 12:11:28 +01:00
Bogdan Devichev 1506130866 evas: Evas_3D - iport/export of Obj format can be read even if obj-file does not have normals or tex-coords.
Summary:
This commit fixed several bugs, and show what was be fixed.

Bugs:
- When designer save obj file in Blender, he/she can set flags (fig 1). Normals and UV coords flags was necessary  for obj loader. Loader crushed when they are not set as true. It fixed by this commit.
- Another loaders set default values to data which aren't in loading file, so mesh need more memory for unused data. It fixed by this commit for obj and will be fixed for another formats in future.
- Saver saved incorrect data if normals or tex_coords was not set in mesh in evas. Now it fixed.
- Saver failed if it save mesh without material. It fixed and in this case material file is not created now.
- Also fixed some leaks and undefined behavior which valgrind shows.

Example:
- Example shows cases described above. Example use files saved with different flags for it.

Resources:
- man_mesh is replaced by several smaller file, to use them for showing new features and fixes. For example, similar to that models can be added when implement work with material for obj, work with different flags for obj loader/saver etc. (big count of man_meshes is to much memory).
- texture for home is flipped, because of bug with texture in efl to see if tex_coords is incorrect.

Test:
- test should be rewritten in future, because another formats still use default values for normals and tex_coords. And test can not pass for all types of obj file because of standardization for any format in him.

Test Plan: Test suit will be rewritten after correcting of other formats (they will set NULL to file when save an empty data (like mesh without normals))

Reviewers: Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1957

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-11 18:31:53 +01:00
Oleksandr Shcherbina c6c6233b50 evas: example for Evas_3D color pick
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-11 18:05:54 +01:00
kabeer khan 46b9b23144 evas: add image orient set/get API in software backend for now.
Summary:
Added API's to rotate(0, 90, 180, 270), flip(horizontal, vertical, transpose, transverse)
evas image object. Also added example to demonstrate this.

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: raster, stephenmhouston, cedric

Subscribers: stephenmhouston, cedric

Differential Revision: https://phab.enlightenment.org/D1950

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-11 17:30:54 +01:00
ChunEon Park 8ee679cb6e evas/examples: just change file name. 2015-02-03 10:50:03 +09:00
Dmytro Dadyka 77d6f8aa17 [Evas: Evas_3D] Improve shadows example.
Reviewers: cedric, raster, Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1891
2015-02-03 10:44:44 +09:00
Stefan Schmidt 04805fc6a1 examples/evas: Add evas_3d_shadows binary to .gitignore 2015-01-19 10:41:47 +01:00
Stefan Schmidt 4bbac653e7 examples/evas-3d-blending: Remove unused global variable.
This got shadowed in one of the functions and is not used at all.
2015-01-09 18:25:41 +01:00
Stefan Schmidt c8ce785970 examples/evas-3d-shadows: Avoid shadowing a global variable. 2015-01-09 18:25:41 +01:00
Stefan Schmidt b4898dbd1f examples/evas-3d-frustum: Remove unused variables. 2015-01-09 18:25:41 +01:00
Jean-Philippe Andre 61d76136de Evas examples: Fix comment also in evas-map-aa.c
i'm dumb and didn't even read the line above the one i changed...
2015-01-07 17:56:40 +09:00
Jean-Philippe Andre 62b5fc180e Evas examples: Fix command line in evas-map-aa.c 2015-01-07 17:50:33 +09:00
Dmytro Dadyka 38b3d5a857 [Evas: Evas_3D] Fixed bug with bounding shapes update.
Reviewers: cedric, Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1851
2015-01-07 12:58:51 +09:00
ChunEon Park 5cfb266431 evas/examples: do build evas_3d_shadows 2015-01-07 12:04:21 +09:00
Dmytro Dadyka e7752ff7d7 [Evas: Evas_3D]Fixed bug with shadows and blending of vertex position
Reviewers: cedric, Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1850
2015-01-07 12:00:47 +09:00
Cedric BAIL bb74ded8c8 gitignore: don't track generated file. 2014-12-23 22:37:23 +01:00
Cedric BAIL 0153e782c1 autotools: build new evas_3d_mmap examples. 2014-12-23 22:36:36 +01:00
Bogdan Devichev c471665ac8 evas: make Evas 3d mesh is inherited from Efl.File (functions file_set and save) 2014-12-23 21:20:21 +01:00
Bogdan Devichev ce36f8f5ad evas: better example of _mmap_set and resources for it are added. 2014-12-23 21:20:21 +01:00
Bogdan Devichev dd60525798 evas: a _mmap version of the file_set is added. 2014-12-23 21:20:21 +01:00
Bogdan Devichev 4acbae6947 evas: test cases are changed according to changes of API in step 4. Specific logic in obj_saver is removed for standardization of API. 2014-12-23 21:16:19 +01:00
Bogdan Devichev aaddf1a963 evas: Evas_3D_Mesh_File_Type sank into oblivion. Changing entry point to model_save_load. Changing API in examples. 2014-12-23 21:16:07 +01:00
Cedric BAIL f3e342b5ba .gitignore: ignore generated files. 2014-12-12 03:48:32 +01:00
ChunEon Park 5c79b5d38f evas/examples: fix warnings.
removed unused.
2014-12-04 19:47:41 +09:00
ChunEon Park 0a12352c3d evas/examples: fix build break
add dependency libefl to call efl_file_set().
2014-12-04 19:44:00 +09:00
Dmytro Dadyka 6762af0beb evas: Evas_3D - add mesh blending mode.
Reviewers: Hermet, raster, cedric

Subscribers: Oleksander, cedric

@feature

Differential Revision: https://phab.enlightenment.org/D1548

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-12-01 08:09:29 +01:00
Oleksandr Shcherbina 30a44d9100 evas: Evas_3D - example which show frustum culing feature
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-12-01 06:27:40 +01:00
ChunEon Park f6a5ada4a2 evas/example - fix wrong image size. 2014-11-26 19:18:57 +09:00
ChunEon Park 22344211ca evas/examples: add map anti aliasing example. 2014-11-26 19:12:09 +09:00
Jason Gerecke 26c943bac0 Expose device (e.g. pen) axis information to applications
Summary:
This patch set adds the necessary code to expose device axis state to applications. This was primarily written with graphics tablets in mind, which -- in addition to acting like a mouse -- also provide information about pen pressure, tilt, etc. Other devices could potentially benefit from this API as well: touchscreens, joysticks, knob controllers, "spaceballs", etc.

Whenever an update to the device state is recieved, an "Axis update" event is synthesized. This event contains the updated information, typically scaled and normalized to a particular logical range (e.g. zero to one for pressure, -pi to pi radians for angles, etc.). Information about the tool which generated the event is also stored so that applications can disambiguate events from multiple devices (or in the case of multitouch screens, individual fingers).

This API is only wired up for use with X11 at the moment. Support for other backends (e.g. Wayland) should be easy to add for those familiar them.

**Note**: The following is a list of changes from the "v2" patches originally sent to the mailinglist

//Define and implement new Ecore_Event_Axis_Update events//
 * Harcode axis labels instead of including xserver-properties.h
 * Use C89-style comments
 * Use doxygen comments
 * Update comment text to note axes with unbounded/undefined ranges/units
 * Create "Ecore_Axis" and "Ecore_Axis_Label" typedefs
 * Reference typedef'd instead of raw types
 * Adjust how we count through valuators to support tilt/az
 * Add support for tilt and azimuth
 * Tweak memory management in case number of valuators differ
 * Expand TWIST axis normalization to declared range
 * Only normalize TWIST axis if resolution == 1 (wacom bug)
 * Cache label atoms on first use to minimize round-trips

//Implement EVAS_CALLBACK_AXIS_UPDATE event and friends//
 * Update to doxygen comments
 * Update comment text to note axes with unbounded/undefined ranges/units
 * Typedef 'Evas_Axis_Label', 'Evas_Axis'
 * Move typedef for 'Evas_Event_Axis_Update'
 * Reference typedef'd instead of raw types

//Wire the Ecore and Evas implementations of axis update events together//
 * Expose ecore_event_evas_axis_update in Ecore_Input_Evas.h
 * Move ecore_event_evas_axis_update to more logical position

//DEBUG: Add axis update logging to evas-multi-touch.c//
 * Removed from patch set

//Make evas-multi-touch demo use new axis functionality//
 * Have pressure adjust rectangle brightness instead of size
 * Use more available axis data when rendering rectangle (azimuth, tilt, twist)

Test Plan: The evas-multi-touch demo was updated to support axis update events. A graphics tablet was then used to verify that the pressure, azimuth, tilt, and twist data was coming through correctly.

Reviewers: cedric, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1514

Conflicts:
	src/lib/ecore_input/Ecore_Input.h

Carsten Haitzler -

** fixed forward enum typedefs (make things unhappy)
** fixed conflict above
** fixed wrong param type for _evas_canvas_event_feed_axis_update()
** fixed @sinces to be 1.13
** fixed formatting/indeting
** fixed order of operation reliance in if's with ()'s to be clear
** fixed functions to be static that should have been
2014-11-25 12:43:15 +09:00
Stefan Schmidt 72caa0013c examples/evas: Ignore evas_3d_ply example binary 2014-11-21 11:48:59 +01:00
Stefan Schmidt f059aa2497 examples/evas-3d-shooter: Rename varibales to avopid shadowing
Scene is used as local variable in a lot places so we rename the global
scene here.
2014-11-17 16:47:15 +01:00
Bogdan Devichev d896dfb342 evas: Evas_3D - add .ply export/import.
Summary:
.ply format is important for relation blender and EFl, because in blender exist only two mesh export API: bpy.ops.import_mesh.ply and bpy.ops.import_mesh.stl. One of them is necessary for .edc 3D generator. Which I writing now.
Sorry, it isn't like image loader. Refactoring of import/export will be soon.

Reviewers: Oleksander, artem.popov, Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1544

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-11-14 07:11:15 +01:00
Daniel Zaoui bd745c9677 3D Warnings-- 2014-10-21 08:46:23 +03:00
Shinwoo Kim ed90b79dbb [example][evas] add error message, you cannot use this example without the image. 2014-10-21 02:12:25 +09:00
Cedric BAIL 332e8f8a3e gitignore: let's ignore some more generated files. 2014-10-08 17:10:28 +02:00
Cedric BAIL c59546a100 evas: let's fix all Tasn borkage. 2014-10-08 17:10:28 +02:00
Tom Hacohen 1a83fc51a4 Evas examples: Fix 3d aabb example.
This fixes evas-3d-aabb.c after the changes to eo_add.

Fixes T1719.
2014-10-08 09:14:48 +01:00
Bogdan Devichev 5d004c80f7 evas: Evas_3D - add .eet export/import
Summary: The first version of .eet format is added. All changes due to discussion in D1307 are done.

Reviewers: artem.popov, se.osadchy, reutskiy.v.v, Hermet, raster, cedric, Oleksander

@feature

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1477

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-10-06 16:47:25 +02:00
Tom Hacohen 6846978ebd Eo: Get rid of eo_add_custom.
We decided to deprecate this one in favour of setting thing in the
construction between the constructor and the finalizer.
2014-09-25 10:30:56 +01:00
Savio Sena 007a4934cc autotools: Add -I$(srcdir)/lib/efl/ to the examples.
This fixes 'make examples'.
2014-09-12 15:28:23 -03:00
ChunEon Park 3e8ddb1bfb Revert "evas: Evas_3D - add .eet export/import"
This reverts commit 9ebb28e3d6.

I didn't mean pushing this patch...
sorry.
2014-09-03 21:30:17 +09:00
Dmytro Dadyka 0d2f4dbc11 [Evas/evas-3d] Add shadow maps. Added two scene-API functions for enable and disable shadows on the scene. Added 6 light-API function for set and get the light projection.
Reviewers: raster, cedric, Hermet

Subscribers: raster, cedric

Differential Revision: https://phab.enlightenment.org/D1330
2014-09-03 21:19:16 +09:00
ChunEon Park bf1ac534d3 Merge branch 'master' of ssh://git.enlightenment.org/core/efl 2014-09-03 10:57:38 +09:00
Stefan Schmidt 82b2ed7a40 examples: Add latest example binaries to .gitignore
These are build and should be ignored by git.
2014-09-02 17:11:38 +02:00
Bogdan Devichev 9ebb28e3d6 evas: Evas_3D - add .eet export/import
Summary: The first version of .eet format is added.

Reviewers: Hermet, raster, cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1307
2014-09-01 22:43:16 +09:00
Cedric BAIL 623638c65b evas: fix examples with latest eo change. 2014-08-21 17:52:54 +02:00
Julien Isorce 23892343cc evas: add example to test transparent background
Summary:

Reviewers: raster, devilhorns, cedric

Subscribers: capOM, cedric

Differential Revision: https://phab.enlightenment.org/D1228

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-08-21 12:04:53 +02:00
Cedric BAIL b91012f62c autotools: try to simplify our Makefile.am to reduce warnings. 2014-08-12 11:19:57 +02:00
Cedric BAIL 048d52f086 autotools: shutup stupid warning. 2014-07-30 03:42:04 +02:00
perepelits.m 0ea04a4870 [Evas\evas-3d\example] Add example of 3d-shooter
Reviewers: cedric, raster, Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1215
2014-07-29 17:23:54 +09:00
Savio Sena 7e1f131286 examples: Removed compilation warnings. 2014-07-18 18:55:56 -03:00
ChunEon Park 958e57f8ae evas/evas3d - removed unused warnings in the example. 2014-07-15 12:01:24 +09:00
perepelits.m 7058bade6d [Evas\evas-3d\example] Add example of cube rotation
Summary: This example shows mechanism of 3d object rotation

Reviewers: cedric, Hermet, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1114
2014-07-15 11:59:58 +09:00
taehyub f86b05386c evas sample code - remove makefile.am
Summary: evas gl sample

Test Plan: cd efl/ > make examples > cd examples/evas > ./evas_gl

Reviewers: Hermet

Reviewed By: Hermet

CC: cedric

Differential Revision: https://phab.enlightenment.org/D1130
2014-07-08 16:16:32 +09:00
Dmytro Dadyka 8e496570a7 evas: Evas_3D - add fog effect. add two API function for enable and disable fog effect for given mesh.
Reviewers: Hermet, raster, cedric

CC: cedric

Differential Revision: https://phab.enlightenment.org/D936

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-07-07 19:26:48 +02:00
Savio Sena 073b666022 autotools: Fixed 'make examples' and 'make examples-install'
It was broken in set-ups with ($(builddir) != $(srcdir)) && ($(builddir) !=
$(srcdir)/build)
2014-07-02 20:01:09 -03:00
Savio Sena ce63b16f40 eolian-cxx: Make proper handling of namespaces.
Summary:
The generation of class prefixes was not taking into account the full
classname -- the namespace was not being prepended to it. Fixed that and
also re-organized the code a bit, removed some Wshadow warnings also.

This commit fixes 'make examples' and 'make check'.

Reviewers: tasn, cedric, q66

CC: felipealmeida, smohanty, cedric

Differential Revision: https://phab.enlightenment.org/D1100
2014-07-01 10:55:45 +01:00
Savio Sena 9ac266c78e autotools: Fix elua 'make examples'.
Summary: Also added evas_3d_object to .gitignore.

Reviewers: q66, cedric

Reviewed By: q66

CC: smohanty, felipealmeida, raster, cedric

Differential Revision: https://phab.enlightenment.org/D1019
2014-06-12 23:31:16 +01:00
ChunEon Park cbee652621 evas/evas_3d - build evas_3d_obj example. 2014-06-09 15:25:55 +09:00
Cedric BAIL 8383bd3db1 .gitignore: don't track generated file. 2014-06-07 02:47:12 +02:00
se.osadchy f3ed65d225 examples: add new example for Evas_3D.
Summary: This example need for demonstration work of the propagate events.

Reviewers: Hermet, cedric, raster

CC: cedric

Differential Revision: https://phab.enlightenment.org/D890

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-06 19:11:21 +02:00
Bogdan Devichev 700f4396e1 evas: Evas_3D - add .obj export/import.
@feature

Reviewers: raster, Hermet, cedric

Reviewed By: cedric

CC: cedric

Differential Revision: https://phab.enlightenment.org/D954

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-05 20:49:26 +02:00
Oleksandr Shcherbina a25aa1aa1a evas: Evas_3D - Revision frustum culling.
Summary:
Add API that checks OBB's points of node are inside frustum of camera.
Add example with frustum culling.

@feature

Reviewers: Hermet, cedric, raster

CC: cedric

Differential Revision: https://phab.enlightenment.org/D942

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-04 19:55:34 +02:00
Cedric BAIL 6489c89e09 gitignore: let's ignore generated binary. 2014-06-04 19:16:44 +02:00
Savio Sena ec28b13c09 evas: Examples - fix Evsa3D Eo classnames.
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: https://phab.enlightenment.org/D935

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-04 00:51:57 +02:00
ChunEon Park 1d0330f9b1 evas/evas3d - fixed incorrect usage in evas-3d-aabb example. 2014-05-27 22:41:40 +09:00
Oleksandr Shcherbina e47373aee1 [evas/evas-3d] Add OBB and AABB.
Summary: Add axis-aligned bounding box (AABB) to frame. Set and update AABB and oriented bounding box (OBB) in node.

Reviewers: Hermet, cedric, raster

CC: cedric

Differential Revision: https://phab.enlightenment.org/D881
2014-05-27 22:07:29 +09:00
Savio Sena 72ee78b929 efl: remove some warnings.
Summary:
Mainly from the examples but also from libunibreak and tests/eet.

I'm not sure if it's really worth to remove warnings from the examples
-- because it adds pedantic-ness to something supposed to be didatic,
but I leave for you guys to judge.

Reviewers: tasn, cedric

CC: felipealmeida, raster, smohanty, cedric

Differential Revision: https://phab.enlightenment.org/D896

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-05-24 02:27:15 +02:00
ChunEon Park b8413c880a evas/examples - revised evas-3d-proxy 2014-05-12 16:50:15 +09:00
ChunEon Park 022ab7f2e6 evas/evas3d: applied eo intensively and fix indentation. 2014-05-12 13:30:50 +09:00
Felipe Magno de Almeida aad9a66182 eina-cxx: add EFL_PTHREAD_CFLAGS to EINA_CXX_CFLAGS and EFL_PTHREAD_LIBS and -lm to examples
Summary:
EFL_PTHREAD_CFLAGS are needed for tests and users that use
efl::eina::thread's and EFL_PTHREAD_LIBS to eina_cxx, eo and evas examples.

Reviewers: cedric, stefan, stefan_schmidt

CC: cedric, savio

Differential Revision: https://phab.enlightenment.org/D832

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-05-09 13:03:05 +02:00
Felipe Magno de Almeida 0a6a3deaee eolian_cxx: removes C++ examples when C++11 isn't supported
Summary:
Added HAVE_CXX11 guards to Makefile*.am files for C++ binding to avoid
compilation errors for examples when C++11 isn't supported. This also
disable installation of all EFL CXX pkgconfig files.

Reviewers: cedric, stefan, stefan_schmidt

CC: cedric, savio

Differential Revision: https://phab.enlightenment.org/D831

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-05-09 12:43:43 +02:00
Jean-Philippe Andre 139f7bc178 Evas doc: Add example for padding_set (filters)
With preview and all.
2014-05-09 16:57:39 +09:00
Jean-Philippe Andre 8a1b335bb1 Evas doc: Move filters examples to Lua
Part 1: auto-generated examples with previews
2014-05-09 16:57:39 +09:00
ChunEon Park 5a1c7f6d9b evas/evas3d: removed export of evas_3d_node_add() and apply eo to examples.
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-07 22:36:34 +09:00
ChunEon Park c84668d2c3 evas/evas3d: call eo_unref() after eo_add().
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-07 19:36:45 +09:00
Jaehyun Cho 69c9df439e evas-3d: Fix typo in evas-3d-pick.c
Summary: Fix typo with eo_do in evas-3d-pick.c

Reviewers: Hermet

Reviewed By: Hermet

CC: cedric

Differential Revision: https://phab.enlightenment.org/D828
2014-05-07 19:22:52 +09:00
ChunEon Park a6328dd42c evas/evas3d - adjust examples window size. 2014-05-07 16:55:50 +09:00
ChunEon Park 2bbba9bec9 evas/evas3d: set gl backened forcely in the examples
Right now, evas 3d doesn't support software renderer,
we set the gl backened forcely.
2014-05-07 15:35:36 +09:00
Savio Sena 14d4700c32 examples: fix the include paths of eina example.
Summary:
"make examples" was failing for parallel build set-ups (i.e.,
top_builddir != top_srcdir).

Reviewers: cedric, smohanty, stefan_schmidt, stefan

CC: felipealmeida, cedric

Differential Revision: https://phab.enlightenment.org/D825

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-05-06 23:41:12 +02:00
Felipe Magno de Almeida 8149823897 eolian-cxx: fix make distcheck and automake files for Eolian C++
Summary:
Fixed distcheck for Eolian C++. Made the generated files as
nodist so it doesn't get picked up for generation way too
early.

Reviewers: cedric, seoz

CC: cedric

Maniphest Tasks: T1220

Differential Revision: https://phab.enlightenment.org/D820

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-05-04 12:21:30 +02:00
Savio Sena 46b6e8a563 eolian_cxx: initial version of the EFL C++ Bindings Generator.
Summary:
This patch adds 'eolian_cxx' -- a C++ bindings generator --
to the EFL tree. Eolian Cxx uses Eolian API to read .eo files and generate
.eo.hh. It relies/depends on Eo Cxx and Eina Cxx (both non-generated
bindings).

src/bin/eolian_cxx: The eolian_cxx program.
src/lib/eolian_cxx: A header-only library that implements the C++ code
generation that binds the .eo classes.

=Examples=

src/examples/eolian_cxx/eolian_cxx_simple_01.cc: The simplest example,
it just uses some "dummy" generated C++ classes.

src/examples/eolian_cxx/eolian_cxx_inherit_01.cc: Illustrates how
pure C++ classes inherit from .eo generated classes.

src/examples/evas/evas_cxx_rectangle.cc: More realistic example using
the generated bindings Evas Cxx. Still a bit shallow because we don't
have full fledged .eo descriptions yet, but will be improved.

=Important=

The generated code is not supported and not a stable API/ABI. It is
here to gather people interest and get review before we set things in
stone for release 1.11.

@feature

Reviewers: cedric, smohanty, raster, stefan_schmidt

CC: felipealmeida, JackDanielZ, cedric, stefan

Differential Revision: https://phab.enlightenment.org/D805

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-05-03 00:56:32 +02:00
Cedric Bail 3f46fe2742 evas: don't track Evas_3D examples. 2014-05-01 12:05:37 +02:00
Cedric Bail bcfae42b3c evas: fix Evas_3D examples to use Eo API. 2014-05-01 12:05:32 +02:00
ChunEon Park a238e091d6 evas/evas3d: rewrite evas-3d-md2 example with eo based. 2014-04-30 22:02:23 +09:00
ChunEon Park 4c35b22c2a evas/evas3d: rewrite evas-3d-cube2 example with eo based. 2014-04-30 21:40:47 +09:00
ChunEon Park 862488083b evas/evas3d: cleanup cube example code.
fixed eo grammar error.
added static keywords for internal variables.
include eo header explicitly.
fixed indentation.
2014-04-30 21:36:04 +09:00
ChunEon Park 387bd78921 evas/evas3d: removed unnecessary header include. 2014-04-30 21:11:48 +09:00
ChunEon Park 4a70c3aea8 evas/evas_3d: rewrite evas_3d_cube eo based.
still evas_3d_node_add() call should be changed to eo_add().
2014-04-30 20:37:20 +09:00
ChunEon Park 60cfdc4b4f evas/evas3d: rename 3d_scene_set()/get() to scene_set()/get()
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-25 19:53:18 +09:00
ChunEon Park 3914193a0a evas3d: forget evas_3d.h. it's merged to evas.h
Conflicts:

	src/lib/evas/Evas_3D.h
2014-04-25 17:16:16 +09:00
Subhransu Sekhar Mohanty f7503e61ac Evas: 3D: Change the api name from t3d_scene to 3d_scene as the eolian issue got fixed. 2014-04-25 16:47:32 +09:00
Taekyun Kim 9014f50e97 Evas: 3D: Add missing image file for example evas-3d-proxy 2014-04-25 16:47:12 +09:00
Taekyun Kim 013f3da966 Evas: 3D: Updated proxy texture example 2014-04-25 16:42:03 +09:00
Taekyun Kim 6856e562ca Evas: 3D: Refined proxy texture implementation
Added new APIs for controlling source object's visibility.
Fixed bugs related to updating proxy textures.
2014-04-25 16:20:24 +09:00
Taekyun Kim 44a9f924ee Evas: 3D: Example: MD2 mesh file example
MD2 model file is from http://mb.srb2.org/showthread.php?t=34800
Thanks to Jeck Jim.
2014-04-25 16:19:10 +09:00
Taekyun Kim 0899e30be6 Evas: 3D: Example: Picking example 2014-04-25 16:19:05 +09:00
Taekyun Kim 578413e103 Evas: 3D: Example: Proxy texture example 2014-04-25 16:18:58 +09:00
Taekyun Kim 6daa0537df Evas: 3D: Example: Rotating Cube 2
Demonstrating key frame material animation and normal mapping.
2014-04-25 16:18:50 +09:00
Taekyun Kim c15c162016 Evas: 3D: Example: Rotating cube 2014-04-25 16:18:39 +09:00
Daniel Zaoui 9122f603f9 Eo: adapt examples to Eo2.
It includes Eo and Evas porting to Eo2.
2014-04-23 07:56:20 +03:00
Stefan Schmidt 0ca191a6f0 examples/evas: Set a proper format string for fprintf
Instead of abusing the format string we should set it.
Was made aware of this problme by chinmaya061 in
https://phab.enlightenment.org/D585

@fix
2014-02-28 12:17:52 +01:00
Cedric Bail 4ecc4eb615 Revert "evas example: fix warning in compilation of evas-box.c."
This reverts commit 442d880cf6.

Sorry mixed command of pull/push here.
2014-02-27 11:10:35 -03:00
chinmaya 442d880cf6 evas example: fix warning in compilation of evas-box.c.
Summary: The warning was "format not a string literal and no format arguments [-Wformat-security]".

Test Plan: gcc -o evas-box evas-box.c `pkg-config --libs --cflags evas ecore ecore-evas eina`

Reviewers: singh.amitesh, seoz, stefan_schmidt

CC: cedric, stefan_schmidt

Differential Revision: https://phab.enlightenment.org/D585

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-02-27 11:09:20 -03:00
Jean-Philippe Andre 6dce77fbea Doc: Fix colors in the filter examples
Since the bg color changed from dark grey to white, the
colors don't match so much anymore... This is just like theme
work.
2014-02-24 11:17:42 +09:00
Jean-Philippe Andre 511049e20d Evas filters: Improve doc automatization
Include example filter codes from src/examples in Doxygen.
Use these examples for the generation as well.
2014-02-13 17:37:33 +09:00
Vincent Torri c3d5ff9252 examples: fix pointer <-> int conversion (windows 64 bits) in ecore and evas examples.
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2014-01-10 16:36:39 +09:00
Vincent Torri 3f3f652535 examples: do not do void* arithmetics in evas examples.
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2014-01-10 16:36:12 +09:00
Vincent Torri e86a89aa52 examples: remove unused variables and label
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2014-01-10 16:35:47 +09:00
Vincent Torri 6871f93e2f examples: remove unused param warnings
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2014-01-10 16:35:32 +09:00
Jihoon Kim 3ebc18731f Use key instead of keyname for considering setxkbmap 2014-01-04 13:25:21 +09:00
Carsten Haitzler 53e27458f6 evas - examples - fix broken evas stacking example
this fixes a broken example that assumes getting name always succeeds.
this fixes T559
2013-11-23 23:07:54 +09:00
U. Artie Eoff 9c1466e193 evas/examples: fix clipper colors in evas-object-manipulation
This makes the clipper colors correct and also gets rid of the
following error message spam:

ERR..._color_set() Evas only handles pre multiplied colors!

Fixes T557

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
2013-11-22 15:35:03 -08:00
Eduardo Lima (Etrunko) d3292a7ae9 Split .gitignore into multiple files
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-11 18:18:50 -03:00
Rafael Antognolli 2ec4078456 evas/examples: Adding an example for multi-touch. 2013-05-08 16:56:11 -03:00
Daniel Willmann 777d511814 eina/evas: Fix includes for examples
Some examples are still missing includes
2013-04-25 00:11:06 +01:00
Carsten Haitzler f2b1039e05 fix examples makefiles to find Efl_Config.h 2013-04-25 02:08:49 +09:00
Cedric Bail 1737dab7ec edje: work also when not cross compiling. 2013-03-24 23:44:04 +09:00
Cedric Bail 0fbe8161ba edje: add option to enable theme compilation when cross compiling 2013-03-24 22:59:44 +09:00
Rafael Antognolli 46be79a206 evas/examples: Fix clipped smart object show/hide example.
Make the children get clipped to its smart object's clipper, so there's
no need to reimplement smart_show() and smart_hide() methods.
2013-03-22 15:31:21 -03:00
Ricardo de Almeida Gonzaga 512c759081 efl: add makefile.examples to each lib
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 83795
2013-02-08 17:35:24 +00:00
Ricardo de Almeida Gonzaga e379743c95 efl: add and fix some gcc lines and fix some examples. Its not possible to build from outside the directory with eina_prefix, the build still depends on PACKAGE_DATA_DIR
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 83794
2013-02-08 17:35:17 +00:00
Gustavo Sverzut Barbieri ad046ea66b fix examples builds with recent module split.
ecore examples should be split... but I'm not in the mood to do so.



SVN revision: 82839
2013-01-15 19:27:48 +00:00
Gustavo Sverzut Barbieri 00f59eaf54 turn on automake warnings and fix them.
using their recommended way to implement silent rules.


SVN revision: 82686
2013-01-12 06:50:35 +00:00
Gustavo Sverzut Barbieri 7499e9dee0 efl: distcheck will run tests and compile all examples.
Tests are disabled by default, but they should be mandatory for
distcheck. So should be examples, we should have them to at least
compile.

As there is no way to force "make distcheck" to run "make examples",
I've created --enable-always-build-examples to make examples regular
noinst_PROGRAMS, being always compiled. distcheck will use that
option.



SVN revision: 82276
2013-01-05 14:41:14 +00:00
Gustavo Sverzut Barbieri 2b29626d8d efl: fix make dist.
Carefully compared 'svn export' and 'make dist' results and couple of
files were missing.

Changes:

 * Makefile.am: removed all .pc from EXTRA_DIST, we shouldn't
   distribute them here as they will contain ./configure data such as
   install location.
 * src/Makefile.am: moved all if-endif to files, otherwise EXTRA_DIST
   won't work properly. We must EXTRA_DIST outside of the if-endif
   block.
 * static_libs/liblinebreak: removed couple of unused files.




SVN revision: 82241
2013-01-04 20:55:12 +00:00
Gustavo Sverzut Barbieri 4e6ce9277f efl/evas: add ecore-evas dependent examples.
nice feature of single tree efl is that evas examples can use ecore-evas :-)



SVN revision: 81919
2012-12-31 01:40:50 +00:00
Gustavo Sverzut Barbieri df1b3d30c4 efl: refactor CFLAGS, LIBS, LIBADD and LDADD usage.
- remove EFL_LIBS and EFL_CFLAGS, use per-lib values that inherit
   from EFL (general)

 - add NAME_LDFLAGS and EFL_LDFLAGS for linker flags.

 - LDADD (binaries) now use NAME_LDFLAGS instead of NAME_LIBS, as they
   link to libname.la and that will pull in the libtool dependencies



SVN revision: 81915
2012-12-31 00:46:14 +00:00
Yakov Goldberg fa11a3507d evas: fixing example
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>

SVN revision: 81359
2012-12-19 13:45:02 +00:00
Yakov Goldberg 3032a8554c evas: Eo-styled Evas example added.
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>

SVN revision: 81328
2012-12-19 09:13:08 +00:00
Daniel Willmann c0840226b0 Remove binary character in Makefile.am
This caused automake to generate a faulty Makefile, which in turn caused
compilation to fail.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 79345
2012-11-15 13:28:14 +00:00
Vincent Torri 80910393d6 merge: add evas tests and examples
SVN revision: 79300
2012-11-14 20:12:53 +00:00