Xavi Artigas
55bd097a3d
Efl.Gfx.Entity (from Efl.Gfx)
...
Ref https://phab.enlightenment.org/T6847
Reviewed-by: Cedric Bail <cedric@osg.samsung.com>
2018-04-24 09:03:32 -07:00
Mike Blumenkrantz
27ae060633
evas3d: use a type setter function with finalize instead of a custom constructor
...
resolves a conflict with the 'constructor' method name
2018-02-12 16:47:41 -05:00
Jean-Philippe Andre
2df8ad36b4
evas: Use Eina.Slice on the stack (gfx.buffer)
2017-09-19 10:51:48 +09:00
Jean-Philippe Andre
1f242afdef
evas: Use Eina.Size2D for gfx.buffer
...
For consistency.
2017-09-19 10:51:48 +09:00
Jean-Philippe Andre
4c634ed78e
efl: Use Eina.Size2D for Efl.Gfx.size
...
Big patch as a lot of things call or reimplement size_set. Hopefully I
got it right... fingers crossed.
2017-09-18 13:34:50 +09:00
Jean-Philippe Andre
8fb194d969
efl: Use Eina.Position2D for Efl.Gfx.position
...
Note: This is a little bit more cumbersome in some places but in most
it's more convenient than (x,y).
2017-09-18 13:22:54 +09:00
Bryce Harrington
57fdaae824
examples: Fix grammar - 'forcely' is not a word
...
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D5077
2017-08-08 15:28:20 +09:00
Bryce Harrington
cee4d928cf
examples/evas: streamline the intro description statement for examples
...
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 <bryce@osg.samsung.com>
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: https://phab.enlightenment.org/D4861
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-05-08 15:26:07 -07:00
Bryce Harrington
9a9dcd5e44
examples/evas: fix spelling
...
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4807
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-04-25 16:28:44 -07:00
Jean-Philippe Andre
8ee431572d
evas: Switch EO APIs to Eina_Slice for gfx buffers (map)
...
This adds a plane and eina slice argument to the map/unmap
functions, instead of void_ptr + length.
2016-09-06 16:54:53 +09:00
Tom Hacohen
9c779dca90
Rename efl_self to efl_added
...
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-09-05 16:59:56 +01:00
Tom Hacohen
e65aae994e
Eo: Finish the renaming of Eo to the EFL.
...
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-15 15:07:42 +01:00
Stefan Schmidt
24ee3e4d12
examples: evas3d: uniform use of config.h include or manual defines
...
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-21 17:07:13 +02:00
Stefan Schmidt
a8fc73159f
examples: evas-3d: these three examples still need EFL_EO_API_SUPPORT as well
...
EFL_CANVAS_RECTANGLE_CLASS is needed here which is still covered by the EO_API
define.
2016-06-15 11:29:28 +02:00
Stefan Schmidt
d6dd63f762
examples: remove now longer needed EFL_EO_API_SUPPORT define in canvas3d and vg
...
These examples already had the BETA flag defined so we just need to remove the
EO_API one.
2016-06-14 16:39:03 +02:00
Jean-Philippe Andre
915e09aed3
Evas: Rename Evas.Rectangle as Efl.Canvas.Rectangle
2016-06-02 18:57:30 +09:00
Oleksandr Shcherbina
172cfa0f04
evas.canvas3d: Change shade_mode to shader_mode
...
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: https://phab.enlightenment.org/D3882
2016-04-14 20:28:20 +09:00
Jean-Philippe Andre
caa999c5f9
examples: Fix evas_canvas3d_proxy (temporary solution)
...
It was broken after all the changes in Evas.Image.
Since buffer map/unmap is not fully completed (GL support is
still to do), I added a quick #ifdef to switch between EO and
Legacy APIs.
Thanks @jackdanielz for the report.
2016-03-29 15:19:55 +09:00
Jean-Philippe Andre
8367f497b8
Evas.Image: Create Efl.Canvas.Image for file & data images
...
This replaces standard Evas_Object_Image when it is used "normally",
ie. it's an image from a file or from a pixel buffer. All other APIs
(proxy, snapshot, 3d, gl, ...) are disabled on this object.
Also, reduce number of failing calls when the object is not a legacy
object, but a legacy function is called. This is because a lot of
image APIs are called internally using the legacy APIs, often in
order to reset the state of the image object (eg. set file to NULL,
etc...)
2016-03-17 13:10:35 +09:00
Tom Hacohen
8706d03b43
Change the EFL according to the renaming of the eo_add() current object.
2016-03-15 15:25:54 +00:00
Jean-Philippe Andre
7ddb73b177
Evas: Move 3d to Efl.Canvas.Scene3d
...
This still seems a bit redondant with the underlying
Evas.Canvas3d.Scene class.
2016-03-15 11:11:59 +09:00
Tom Hacohen
f24210caac
Revert "Automatic migration to the new eo_add syntax."
...
This reverts commit 4f949a2757
.
2016-03-11 12:29:03 +00:00
Tom Hacohen
4f949a2757
Automatic migration to the new eo_add syntax.
2016-03-09 16:09:14 +00:00
Tom Hacohen
f21ade6123
Automatic migration to Eo4.
...
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-03-03 09:58:08 +00:00
Oleksandr Shcherbina
60b16be772
Evas canvas3d: Move evas 3d types to evas_types.eot
...
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: https://phab.enlightenment.org/D2734
2015-08-04 10:57:14 +01:00
Oleksandr Shcherbina
d409df1caa
evas: change interface evas_3d to evas_canvas3d
...
Summary:
Regard to https://phab.enlightenment.org/T2479 it is need for right generation
Eolian files
Reviewers: cedric
Subscribers: cedric, tasn
Differential Revision: https://phab.enlightenment.org/D2711
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-17 17:52:17 +02:00
Bogdan Devichev
0972211144
evas: Evas_3D examples use new API for creating primitives.
...
Summary: Examples changed due to D2516
Reviewers: Oleksander, Hermet, raster, cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2517
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-29 18:22:09 +02:00
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
Cedric BAIL
3b97e3d9cd
evas: fix example to follow new Efl.Gfx interface.
2015-04-03 16:30:47 +02: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
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
c59546a100
evas: let's fix all Tasn borkage.
2014-10-08 17:10:28 +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
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
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
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
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
Cedric Bail
bcfae42b3c
evas: fix Evas_3D examples to use Eo API.
2014-05-01 12:05:32 +02: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
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
578413e103
Evas: 3D: Example: Proxy texture example
2014-04-25 16:18:58 +09:00