Commit Graph

28132 Commits

Author SHA1 Message Date
Pierre Le Magourou 6a9cfbcfef ecore: update the doxygen groups to compile forgotten parts of the API.
Some parts of the API documentation where not compiled at all by doxygen
because of missing '@{' and '@}' tags. This commit adds the missing tags
in Ecore_Getopt.h, Ecore_Con_Eet.h, and Ecore_IMF.h headers.
2014-10-20 18:17:26 +02:00
Pierre Le Magourou 42a7d9b71c ecore_file: remove ecore_file_ls_iterator function from header.
It has no implementation in the ecore_file.c file.
This has been forgotten in commit d4059c7 when moving this function to
Eina library.
2014-10-20 18:17:26 +02:00
Pierre Le Magourou 4a71cb268f ecore_imf: update missing Ecore_IMF.h API documentation. 2014-10-20 18:17:26 +02:00
Pierre Le Magourou 55623537ea ecore_con: update missing Ecore_Con_Eet.h API documentation. 2014-10-20 18:17:26 +02:00
Pierre Le Magourou 8fdf3241b5 ecore_con: update missing Ecore_con.h API documentation. 2014-10-20 18:17:26 +02:00
Pierre Le Magourou a598e3db02 ecore: update missing Ecore_Getopt.h API documentation. 2014-10-20 18:17:26 +02:00
Pierre Le Magourou f59359d5be ecore: update missing Ecore_Common.h API documentation.
Add some new documentation when missing, and fix old documentation
warnings in Doxygen output.
2014-10-20 18:17:26 +02:00
Nicolas Aguirre 8b582dc0f5 evas: add more documentation in Evas_Common.h. 2014-10-20 18:17:26 +02:00
Nicolas Aguirre 0f6e45e2a0 evas: add documentation on missing types and return values of Evas_Common.h. 2014-10-20 18:17:26 +02:00
Ghislain Loaec 604d3ae8a2 eina: Eina_Cpu / Eina_Thread API documentation 2014-10-20 18:17:14 +02:00
Ghislain Loaec 0001e36d39 eina: Eina_Fp API + Eina_Mempool TODOS 2014-10-20 18:15:35 +02:00
Ghislain Loaec 7dd6c353e2 eina: Eina_List API documentation 2014-10-20 18:13:57 +02:00
Ghislain Loaec 55a1edbb78 eina: Eina_Rectangle API documentation 2014-10-20 18:13:38 +02:00
Nicolas Aguirre c65a1d17c2 evas: fix typo in documentation and document the return value of evas_device_add. 2014-10-20 18:02:22 +02:00
Nicolas Aguirre 1e64aed04a emotion: add documentation for Emotion_Version structure. 2014-10-20 18:02:18 +02:00
Nicolas Aguirre 020f501265 embryo: add documentation for Embryo_Version structure. 2014-10-20 18:02:14 +02:00
Nicolas Aguirre f15d462737 eldbus: add documentation for Eldbus_Version structure. 2014-10-20 18:02:10 +02:00
Nicolas Aguirre 251164ad72 ethumb: add documentation for Ethumb_Version structure. 2014-10-20 18:02:07 +02:00
Nicolas Aguirre f078d16391 efreet: add documentation for Efreet_Version structure. 2014-10-20 18:02:03 +02:00
Nicolas Aguirre ad41ba380e eeze: add documentation for Eeze_Version structure. 2014-10-20 18:01:59 +02:00
Nicolas Aguirre 3032ebc3e2 ecore_x: add documentation for Ecore_X_Version structure. 2014-10-20 18:01:54 +02:00
Nicolas Aguirre 0bbcef65ab ecore: add documentation for Ecore_Version structure. 2014-10-20 18:01:49 +02:00
Nicolas Aguirre 554efc015a evas: add documentation for Evas_Version structure. 2014-10-20 18:01:23 +02:00
Kateryna Fesyna f8db9a85fb edje: Edje_Edit - fix edje_edit_state_aspect_pref_set() function to setup Source and None aspect preferences
Summary:
This commit fixes check of passed value of aspect preference in edje_edit_state_aspect_pref_set() because it ignores None and Sorce values.
@fix

Reviewers: reutskiy.v.v, Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-10-20 17:30:57 +02:00
artem.popov e6722b6ab3 evas: evas_map - fix cast from double to int with using lround()
Summary:
All points in map are double, when try to get point coordinates, there
are issues with rounding.

@fix

Reviewers: Hermet, raster, seoz, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-10-20 17:30:57 +02:00
Chris Michael 845dbaf7da ecore-drm: Remove useless return
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-20 10:17:08 -04:00
vivek 0fb11c15a1 ecore-drm: Added initial support to check if drm device is hotplug and update outputs
Summary:
Added watch to check if drm output device is hotplug and update the
outputs accordingly.

NB: This is only partially complete. The actual update of outputs
still needs to be implemented.

Signed-off-by: vivek <vivek.ellur@samsung.com>

Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1552
2014-10-20 10:16:32 -04:00
Chris Michael fc4b1982cc ecore-wayland: We should be dispatching pending events After we flush
clients

Summary: When flush_clients is called, those clients may add events to
the queue. We should be waiting to dispatch pending events until After
clients have been flushed.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-10-20 10:14:35 -04:00
Daniel Zaoui 4b47eff6e3 Eolian: fix generated Eo files installation.
make distcheck was failing on trying to write to a read only file.
2014-10-20 12:20:15 +03:00
Daniel Zaoui a0b305d853 Eolian: fix Makefile for distcheck.
Files have been added to test descriptions in H files and were missing
in the makefile for distcheck.
2014-10-20 12:20:15 +03:00
Cedric BAIL 7c92d4fa7b edje: correctly destroy reference to removed part.
NOTE: I do believe their is still the possibility that a wrong program
or part may reference a dead part. Would require to check that scenario
better later.
2014-10-20 10:47:41 +02:00
Jean-Philippe Andre 4858776205 Evas GL: Fix compilation on some platforms
Damn these OpenGL headers and their typedefs!
2014-10-20 15:42:22 +09:00
Jean-Philippe Andre fb3564304e Evas GL: Add support for OpenGL-ES 1.1 and some new APIs
This adds support for the following features:
- OpenGL-ES 1.1 (works only with EGL right now),
- PBuffer (basic support),
- Multithreading safety in gl_x11,
- EGL fence_sync extension,
- Improve direct rendering,
- And a few other evas_gl_ APIs.

Merge branch 'devs/jpeg/evasgl'
2014-10-20 13:25:10 +09:00
Jean-Philippe Andre 25aaee99af Evas GL: Fix gl_x11/GLX engine
Forgot to set the TLS value after creating a new context.
No problem would show up in most cases, even in my test app.
But elementary_test GLView would just not work at all, spitting
incomplete FBO errors at me. Damn this one line was hard to find.

But introduced in df66916cd22ec6c4.
2014-10-20 12:16:08 +09:00
Jean-Philippe Andre c17cfbd13e Evas GL: Add support for PBuffer surfaces with GLX
Not fully tested, but allows calling evas_gl_make_current, so
it works for dummy surfaces (eg. 1x1 for a render thread).
2014-10-20 12:16:08 +09:00
Jean-Philippe Andre 9a0e128f23 Evas GL: Enable direct rendering even with alpha images 2014-10-20 12:16:08 +09:00
Jean-Philippe Andre 47ddb889ad Evas GL: Add support for OpenGL-ES 1.1 (part 3)
This introduces XPixmap usage for indirect rendering.
Of course this works only for the gl_x11 engine... and for
now only when using EGL... and only on some drivers...
damn limitations.
Direct rendering should work on more platforms (eg. some desktop
nvidia cards with the EGL drivers).
2014-10-20 12:16:08 +09:00
Jean-Philippe Andre 4315537820 Evas GL: Add support for OpenGL-ES 1.1 (part 2)
Add version param to context_create.
Add support for 1.1 contexts in the GL_X11 engine, and checks
for version in all other engines (return NULL).
Add API wrappers for all OpenGL-ES 1.1 APIs (normal and debug
modes).
2014-10-20 12:16:08 +09:00
Jean-Philippe Andre 3f9caaf16d Evas GL: Add support for OpenGL-ES 1.1 (part 1)
This commit adds lots of required definitions (GL_ stuff),
new API entries in the Evas_GL_API struct, and basic new APIs
to create OpenGL-ES 1.1 contexts.

@feature
2014-10-20 12:16:08 +09:00
Jean-Philippe Andre 38aa72d139 Evas GL: Fix sigsegv with recent Nvidia EGL driver
Welp, glGetString() crashes if called before eglInit... And this
piece of code is now useless because "safe native" mode is not
used anymore (safe_native is never read).

Remove all safe native-related code.
2014-10-20 12:16:08 +09:00
Jean-Philippe Andre f30f55f9f4 Evas GL: Fix compilation for EGL/GLES
Configure with --with-opengl=es --enable-egl
Fixes runtime link dependencies
2014-10-20 12:16:08 +09:00
Jean-Philippe Andre a0712e25e1 Evas GL: Add support for pbuffer surfaces
Supports only EGL for now :(

These pbuffer surfaces can be used to create dummy surfaces for
make_current and render threads.

@feature
2014-10-20 12:16:08 +09:00
Jean-Philippe Andre 6cd0aa17da Evas GL: Some documentation fixups 2014-10-20 12:16:08 +09:00
Jean-Philippe Andre 29e7f54ea0 Evas GL: Add evas_gl_surface_query
When using EGL, this function should return the properties of
a surface. Limited to a subset of known attributes.

Right now, this function will only work fine with EGL.
GLX support or any other engine is not implemented.

@feature
2014-10-20 12:16:08 +09:00
Jean-Philippe Andre 81bf993c6c Evas GL: Add support for fence_sync and similar extensions
This should add support for the following EGL extensions:
- EGL_KHR_fence_sync
- EGL_KHR_reusable_sync (eglSignalSyncKHR)
- EGL_KHR_wait_sync (eglWaitSyncKHR)

@feature
2014-10-20 12:16:08 +09:00
Jean-Philippe Andre 6848cf40b6 Evas GL: Add evasglCreateImageForContext + import defs
evas gl CreateImage function was assuming the current context
should be used to create an image, while the equivalent EGL function
specifically requires the context to be specified.

This also imports some definitions for CreateImage.

And fixes typo in glEGLImageTargetRenderbufferStorageOES.

This adds new functions in Evas_GL_API struct. The version
number will be bumped to 2 in a later commit.

@feature
2014-10-20 12:16:08 +09:00
Jean-Philippe Andre 29e572cdfb Evas GL: Add support for client-side rotation
This is a new feature allowing direct rendering even when
the view is rotated. In that case, the application is responsible
for rotating its view and rendering it properly given the object
geometry.

This implements support for the flag
EVAS_GL_OPTIONS_CLIENT_SIDE_ROTATION

@feature
2014-10-20 12:16:08 +09:00
Jean-Philippe Andre 90b07fc42a Evas GL: Fix rotation angle get to check for DR first
direct_enabled() is not visible from the engines... but it is from
evas_gl_core which calls the engine.
2014-10-20 12:16:07 +09:00
Jean-Philippe Andre f351aad8bf Evas GL: Return safe empty string "" instead of NULL
This is so dumb.
2014-10-20 12:16:07 +09:00
Jean-Philippe Andre de7a8a3dab Evas GL: Add API evas_gl_rotation_get
This will be used to increase the chances of having direct
rendering (no fallback to FBO) even if the window is rotated.

The client is then responsible for handling the view rotation.

@feature
2014-10-20 12:16:07 +09:00