Commit Graph

1260 Commits

Author SHA1 Message Date
ChunEon Park adce5c9f43 evas/evas_3d - build evas_3d_obj example. 2014-06-09 15:25:55 +09:00
Cedric BAIL edf47fb988 .gitignore: don't track generated file. 2014-06-07 02:47:12 +02:00
se.osadchy 1414a33c68 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 6971a3fe61 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 7a9f1e2552 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 1dfc9fd269 gitignore: let's ignore generated binary. 2014-06-04 19:16:44 +02:00
Savio Sena dca043612b 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
MinJeong Kim 936242a4f2 eina-tiler:add union, subtract, intersection, equal apis for tilers
Summary:
Support union, subtract, intersection, equal(comparison) between tilers.
@feature

Test Plan: Test with added test case(src/tests/eina/eina_test_tiler.c) and the example(src/examples/eina/eina_tiler_02.c)

Reviewers: gwanglim, devilhorns, raster, zmike, cedric

CC: cedric

Differential Revision: https://phab.enlightenment.org/D880
2014-05-28 16:51:30 +09:00
ChunEon Park d8e9f57686 evas/evas3d - fixed incorrect usage in evas-3d-aabb example. 2014-05-27 22:41:40 +09:00
Oleksandr Shcherbina b0d18c35c3 [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 5e471fd9e4 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 cf1fd2efb6 evas/examples - revised evas-3d-proxy 2014-05-12 16:50:15 +09:00
ChunEon Park fff7f694ea evas/evas3d: applied eo intensively and fix indentation. 2014-05-12 13:30:50 +09:00
Savio Sena 20162de2d2 eolian-cxx: remove annoying compilation warnings and messages
Summary:
- remove an automake warning caused by a variable redefinition
- remove unnecessary verbosity during debug compilation

Reviewers: cedric, smohanty

CC: felipealmeida, cedric

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

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-05-10 10:15:37 +02:00
Savio Sena 8709d9a99f examples: fix eolian_cxx Makefile.am to work with --with-eolian-cxx.
Summary:
Includes Makefile_Eolian*_Helper.am and -- since
_EOLIAN_GEN_DEP and _EOLIAN_CXX_DEP can't be resolved from
src/examples -- redefine the generation rules locally.

Reviewers: cedric, stefan, stefan_schmidt

CC: felipealmeida, cedric

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

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-05-09 15:35:51 +02:00
Felipe Magno de Almeida 7d2465be02 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 64cbfa3ea5 eina-cxx: remove unused parameter names and fix function without return in examples.
Summary:
Fix function with return type and not returning any value and
remove warnings about unused identifiers in examples for eina C++.

Reviewers: cedric, stefan, stefan_schmidt

CC: savio, cedric

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

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-05-09 12:46:48 +02:00
Felipe Magno de Almeida 186f89c09e 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 4cbc120247 Evas doc: Add example for padding_set (filters)
With preview and all.
2014-05-09 16:57:39 +09:00
Jean-Philippe Andre 3608a03818 Evas doc: Move filters examples to Lua
Part 1: auto-generated examples with previews
2014-05-09 16:57:39 +09:00
WooHyun Jung c04b28d9de ecore/example: Modify the explanation of ecore evas extn plug example. 2014-05-09 13:34:38 +09:00
Savio Sena 69017b2e3b eolian_cxx: fix install-examples and (post-install) compilation.
Summary:
This patch fixes T1226 by adding a Makefile.examples to
examples/eolian_cxx. It also fixes a bug in bin/eolian_cxx: the
include paths were not being correctly generated for directories
outside EFL tree.

Reviewers: cedric, smohanty, stefan_schmidt, stefan

CC: uartie, wayland-efl, felipealmeida, raster, woohyun, cedric

Maniphest Tasks: T1226

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

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-05-07 23:40:46 +02:00
Felipe Magno de Almeida a4cdc43c03 eolian_cxx: fix compilation of examples out-of-tree
Summary: Changed erroneous top_builddir for include paths for eolian_gen tool.

Reviewers: cedric, stefan_schmidt, stefan

CC: cedric

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

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-05-07 23:37:47 +02:00
ChunEon Park 394aa81e5c 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 6582c3539b 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 c27ffaf8dc 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 2758b20556 evas/evas3d - adjust examples window size. 2014-05-07 16:55:50 +09:00
ChunEon Park 58d87b53ab 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 96c2844b54 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
Stefan Schmidt 47724c5bd4 examples: Fix install for eolian_cxx examples
Remove reference to non existing Makefile.example to let the install
succeed.

Fixes T1226
2014-05-06 09:56:46 +02:00
Savio Sena 8af864eb65 eolian-cxx: Fixed the generation .eo.h path.
Summary: This patch fixes T1225

Reviewers: uartie

CC: uartie, wayland-efl, felipealmeida, cedric, smohanty, raster, stefan_schmidt, stefan, woohyun

Maniphest Tasks: T1225

Differential Revision: https://phab.enlightenment.org/D821
2014-05-05 13:09:28 -07:00
Felipe Magno de Almeida 8c78a0c320 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 c4dba109db 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 aa6f23f508 evas: don't track Evas_3D examples. 2014-05-01 12:05:37 +02:00
Cedric Bail 53260b8037 evas: fix Evas_3D examples to use Eo API. 2014-05-01 12:05:32 +02:00
ChunEon Park 756fce31dc evas/evas3d: rewrite evas-3d-md2 example with eo based. 2014-04-30 22:02:23 +09:00
ChunEon Park c8488f46bb evas/evas3d: rewrite evas-3d-cube2 example with eo based. 2014-04-30 21:40:47 +09:00
ChunEon Park f2d0858680 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 b466aea498 evas/evas3d: removed unnecessary header include. 2014-04-30 21:11:48 +09:00
ChunEon Park c2868c6af2 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 ffa810a8a7 ecore/example: --warning.
use scanf() return value for removing compiling warning.
2014-04-29 14:04:10 +09:00
ChunEon Park eaab033561 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 62778c8935 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 5a82a1ed36 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 aa477c628d Evas: 3D: Add missing image file for example evas-3d-proxy 2014-04-25 16:47:12 +09:00
Taekyun Kim 8d5bfa26e3 Evas: 3D: Updated proxy texture example 2014-04-25 16:42:03 +09:00
Taekyun Kim 0fdd31b981 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 b61ceab457 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 d4f32b9874 Evas: 3D: Example: Picking example 2014-04-25 16:19:05 +09:00
Taekyun Kim fb67bba733 Evas: 3D: Example: Proxy texture example 2014-04-25 16:18:58 +09:00