platform/upstream/efl.git
9 years agoEvas GL: Make current to an Evas GL context before destroying surface buffers
Dongyeon Kim [Wed, 29 Apr 2015 03:28:08 +0000 (12:28 +0900)]
Evas GL: Make current to an Evas GL context before destroying surface buffers

Summary:
We should make current to an Evas GL context before calling _surface_buffers_destroy,
otherwise resources from GL backend will be removed.
@fix

9 years agoEvas GL: Add indirect surface fallback and yinvert callback
Dongyeon Kim [Tue, 21 Apr 2015 01:54:02 +0000 (10:54 +0900)]
Evas GL: Add indirect surface fallback and yinvert callback

Summary:
When either FBO or EGL image from texture extension is not supported,
we can use pixmap surface as indirect surface fallback.
Since native pixmaps have (0,0) in the upper left while
FBOs have (0,0) in the lower left, we should invert the y coordinates
when native pixmaps are used as the render target.
To accomodate run-time y-invert check we add a new callback for
EVAS_NATIVE_SURFACE_EVASGL type.

Reviewers: cedric, jpeg

Subscribers: wonsik, mer.kim, cedric

9 years agoEvas GL: Fix direct_mem_opt and direct_override
Dongyeon Kim [Thu, 16 Apr 2015 07:21:33 +0000 (16:21 +0900)]
Evas GL: Fix direct_mem_opt and direct_override

Summary:
Remove surface buffer create/allocate in pbuffer_surface_create.
In evgl_make_current, we should use direct_mem_opt, direct_override values
set in EVGL_Surface struct, not the global value set by env variables.
@fix

9 years agoEvas GL: destroy egl image when surface is destroyed
Dongyeon Kim [Tue, 21 Apr 2015 01:18:16 +0000 (10:18 +0900)]
Evas GL: destroy egl image when surface is destroyed

Summary:
We should destroy egl image when surface is destroyed
to avoid memory leak.
@fix

Test Plan: Evas GL test cases

Reviewers: jpeg

Subscribers: mer.kim, mythri, wonsik, cedric

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

9 years agoEvas GL: 1.x support for GLX
Dongyeon Kim [Tue, 14 Apr 2015 06:51:32 +0000 (15:51 +0900)]
Evas GL: 1.x support for GLX

Summary:
Now we can support EVAS_GL_GLES_1_X version for GLX backend
with both direct and indirect rendering.
Refactored api get functions to have similar code path for each version.
@feature

Test Plan: Evas GL test case

Reviewers: cedric, jpeg

Subscribers: cedric, mer.kim, mythri, wonsik

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

9 years agoEvas masking: Fix rare issue of invalid rendering (GL)
Jean-Philippe Andre [Wed, 3 Jun 2015 02:02:44 +0000 (11:02 +0900)]
Evas masking: Fix rare issue of invalid rendering (GL)

Thanks Dongyeon for finding out this solution. Now that was
one nasty bug :)

Somehow the currently bound texture id would not match what
Evas expected, so Evas would not call glBindTexture when
required. As a result it was drawing black (sampling from tex 0).

@fix

9 years agoeolian: Eolian_Object for docs
Daniel Kolesa [Tue, 2 Jun 2015 17:27:46 +0000 (18:27 +0100)]
eolian: Eolian_Object for docs

9 years agoeolian: initial lexing of documentation
Daniel Kolesa [Tue, 2 Jun 2015 17:12:09 +0000 (18:12 +0100)]
eolian: initial lexing of documentation

9 years agoevas-drm: Remove useless fields from Outbuf structure
Chris Michael [Tue, 2 Jun 2015 13:24:22 +0000 (09:24 -0400)]
evas-drm: Remove useless fields from Outbuf structure

Summary: These fields are not needed in the outbuf structure as they
are never used, so just remove them.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas-drm: Minor formatting fix
Chris Michael [Tue, 2 Jun 2015 13:17:57 +0000 (09:17 -0400)]
evas-drm: Minor formatting fix

NB: No functional changes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas-gl-drm: Fix formatting
Chris Michael [Mon, 1 Jun 2015 17:52:34 +0000 (13:52 -0400)]
evas-gl-drm: Fix formatting

NB: No functional changes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-evas: Fix issue of gl_drm engine not being able to load
Chris Michael [Mon, 1 Jun 2015 17:45:20 +0000 (13:45 -0400)]
ecore-evas: Fix issue of gl_drm engine not being able to load

Summary: The engine for OpenGL with drm is actually called "gl_drm".
There was an issue where the engine_get function would return false
because the #ifdef was testing the wrong thing.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoautotools: provide smaller EOLIAN_FLAGS for customization
Daniel Kolesa [Mon, 1 Jun 2015 16:34:52 +0000 (17:34 +0100)]
autotools: provide smaller EOLIAN_FLAGS for customization

9 years agoautotools: remove EOLIAN_FLAGS
Daniel Kolesa [Mon, 1 Jun 2015 15:59:00 +0000 (16:59 +0100)]
autotools: remove EOLIAN_FLAGS

We don't need to specify each dir separately as Eolian
has been searching recursively for quite a while.

9 years agoedje: remove left over copy&paste that triggered warning.
Cedric BAIL [Mon, 1 Jun 2015 15:49:17 +0000 (17:49 +0200)]
edje: remove left over copy&paste that triggered warning.

9 years agoedje: add ability to change the language on one specific edje object.
katpavalli [Mon, 1 Jun 2015 15:38:04 +0000 (17:38 +0200)]
edje: add ability to change the language on one specific edje object.

Summary:
   Add a new property to edje_object.eo for setting the language on one Edje_Object.

Test Plan:
Test Code to test this implementation is done as part of efl/src/examples/edje/edje-text.c and efl/src/examples/edje/text.edc
   edje_cc -md <dir path>/efl/src/examples/edje/ text.edc && gcc -o edje-text edje-text.c `pkg-config --libs --cflags ecore-evas edje evas ecore eo`
   ./edje-text

   1) Click On the text "Click here"
      The language gets changed as per the specific edje object.

   2) Click on the text object at bottom. "Click here"
      The system language gets changed and the below two edje objects language are changed globally.

Reviewers: cedric, shilpasingh

Subscribers: poornima.srinivasan, govi, rajeshps, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agopkg-config: fix portability issue on Windows.
Cedric BAIL [Mon, 1 Jun 2015 15:19:46 +0000 (17:19 +0200)]
pkg-config: fix portability issue on Windows.

@fix T2458

9 years agoeolian: tests for declaration api
Daniel Kolesa [Mon, 1 Jun 2015 14:24:00 +0000 (15:24 +0100)]
eolian: tests for declaration api

9 years agoeolian/generator: generate types in their original decl order
Daniel Kolesa [Mon, 1 Jun 2015 14:06:25 +0000 (15:06 +0100)]
eolian/generator: generate types in their original decl order

9 years agoeolian: add actual useful declaration APIs
Daniel Kolesa [Mon, 1 Jun 2015 13:48:50 +0000 (14:48 +0100)]
eolian: add actual useful declaration APIs

9 years agoeolian: initial exposed declaration API - not yet very useful
Daniel Kolesa [Mon, 1 Jun 2015 13:32:19 +0000 (14:32 +0100)]
eolian: initial exposed declaration API - not yet very useful

This API allows you to retrieve a list of declarations in the file
(classes, types, vars) in the order they were declared in.

@feature

9 years agoEfl File: Add Eina.File eolian type and use it.
Tom Hacohen [Mon, 1 Jun 2015 13:05:31 +0000 (14:05 +0100)]
Efl File: Add Eina.File eolian type and use it.

9 years agoEo types: Fix Eina.Rectangle's namespace.
Tom Hacohen [Mon, 1 Jun 2015 13:04:09 +0000 (14:04 +0100)]
Eo types: Fix Eina.Rectangle's namespace.

9 years agoEo types: Fix Eina.Stringshare's namespace.
Tom Hacohen [Mon, 1 Jun 2015 13:03:04 +0000 (14:03 +0100)]
Eo types: Fix Eina.Stringshare's namespace.

9 years agoEvas object: Migrate (some) types to .eo files.
Tom Hacohen [Mon, 1 Jun 2015 13:01:11 +0000 (14:01 +0100)]
Evas object: Migrate (some) types to .eo files.

9 years agoEvas table: Migrate types to .eo files.
Tom Hacohen [Mon, 1 Jun 2015 11:12:03 +0000 (12:12 +0100)]
Evas table: Migrate types to .eo files.

9 years agoEvas box: Migrate (some) types to .eo files.
Tom Hacohen [Mon, 1 Jun 2015 10:47:37 +0000 (11:47 +0100)]
Evas box: Migrate (some) types to .eo files.

9 years agoEvas textgrid: Migrate types to .eo files.
Tom Hacohen [Mon, 1 Jun 2015 10:33:59 +0000 (11:33 +0100)]
Evas textgrid: Migrate types to .eo files.

9 years agoEvas grid: Migrate types to .eo files.
Tom Hacohen [Mon, 1 Jun 2015 10:17:22 +0000 (11:17 +0100)]
Evas grid: Migrate types to .eo files.

9 years agoEvas smart: Migrate types to .eo files.
Tom Hacohen [Mon, 1 Jun 2015 10:16:22 +0000 (11:16 +0100)]
Evas smart: Migrate types to .eo files.

9 years agoEvas polygon: Migrate types to .eo files.
Tom Hacohen [Mon, 1 Jun 2015 10:06:48 +0000 (11:06 +0100)]
Evas polygon: Migrate types to .eo files.

9 years agoEvas textblock: Migrate types to .eo.
Tom Hacohen [Mon, 1 Jun 2015 10:00:51 +0000 (11:00 +0100)]
Evas textblock: Migrate types to .eo.

9 years agoEvas text: Migrate types to .eo.
Tom Hacohen [Mon, 1 Jun 2015 09:44:45 +0000 (10:44 +0100)]
Evas text: Migrate types to .eo.

9 years agoevil: deprecate evil_tmpdir_get() and evil_homedir_get().
Vincent Torri [Wed, 20 May 2015 04:18:43 +0000 (06:18 +0200)]
evil: deprecate evil_tmpdir_get() and evil_homedir_get().

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoEvas common interface: Add a workaround for Eolian issue.
Tom Hacohen [Mon, 1 Jun 2015 09:30:16 +0000 (10:30 +0100)]
Evas common interface: Add a workaround for Eolian issue.

This should be fixed properly once Eolian supports forward class
declarations.

9 years agoEvas: Migrate more types to Eolian.
Tom Hacohen [Mon, 1 Jun 2015 09:16:01 +0000 (10:16 +0100)]
Evas: Migrate more types to Eolian.

9 years agoevas: forgotten header needed for make dist.
Cedric BAIL [Sun, 31 May 2015 12:57:48 +0000 (14:57 +0200)]
evas: forgotten header needed for make dist.

9 years agoevas: Evas_3D examples use new API for creating primitives.
Bogdan Devichev [Fri, 29 May 2015 16:14:08 +0000 (18:14 +0200)]
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>
9 years agoecore_con: add eo_event handler to efl_networ_url.
Srivardhan Hebbar [Fri, 29 May 2015 16:12:50 +0000 (18:12 +0200)]
ecore_con: add eo_event handler to efl_networ_url.

Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje: edje_cc_parse should check pair of parens.
Nak-Gyeong Kim [Fri, 29 May 2015 16:11:49 +0000 (18:11 +0200)]
edje: edje_cc_parse should check pair of parens.

Summary:
Fix parens bug.
((x + y)-z) is OK.
((x + y) - z) is NOT OK. This patch can cover this case.

@fix

Signed-off-by: Nak-Gyeong Kim <nakkyong.kim@samsung.com>
Test Plan:
Test in edc.

((x + y)-z) is OK.
((x + y) - z) is NOT OK. This patch can cover this case.
If parens are not paired, it will notify.

Reviewers: raster, Hermet, cedric

Subscribers: kimcinoo, jaehwan

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agogitignore++
Daniel Kolesa [Fri, 29 May 2015 15:48:21 +0000 (16:48 +0100)]
gitignore++

9 years agoeolian/generator: clean up comment gen
Daniel Kolesa [Fri, 29 May 2015 15:44:10 +0000 (16:44 +0100)]
eolian/generator: clean up comment gen

9 years agoEvas types: Fix inclusion of evas types from the right location.
Tom Hacohen [Fri, 29 May 2015 15:42:24 +0000 (16:42 +0100)]
Evas types: Fix inclusion of evas types from the right location.

My system was dirty and it was already installed in the right place.
Now it works as expected.

Reported on IRC by batden.

9 years agoeina: beginning of a generic quaternion API.
Cedric BAIL [Fri, 29 May 2015 15:18:23 +0000 (17:18 +0200)]
eina: beginning of a generic quaternion API.

9 years agoeina: include dependency header cleanly.
Cedric BAIL [Thu, 28 May 2015 14:13:25 +0000 (16:13 +0200)]
eina: include dependency header cleanly.

9 years agoeina: add the beginning of an Eina_Matrix4 API.
Cedric BAIL [Thu, 28 May 2015 12:35:55 +0000 (14:35 +0200)]
eina: add the beginning of an Eina_Matrix4 API.

9 years agoeolian: more advanced comment parsing (properly skip asterisks etc)
Daniel Kolesa [Fri, 29 May 2015 15:10:40 +0000 (16:10 +0100)]
eolian: more advanced comment parsing (properly skip asterisks etc)

9 years agoEvas map: Move opaque type definition to .eo.
Tom Hacohen [Fri, 29 May 2015 14:00:10 +0000 (15:00 +0100)]
Evas map: Move opaque type definition to .eo.

9 years agoeolian: use fprintf(stderr) instead of logging where it makes sense
Daniel Kolesa [Fri, 29 May 2015 13:57:14 +0000 (14:57 +0100)]
eolian: use fprintf(stderr) instead of logging where it makes sense

9 years agoEvas: Move evas aspect control to eolian and start using it.
Tom Hacohen [Fri, 29 May 2015 13:52:33 +0000 (14:52 +0100)]
Evas: Move evas aspect control to eolian and start using it.

9 years agoEvas: Move evas coord to eolian and start using it.
Tom Hacohen [Fri, 29 May 2015 13:49:28 +0000 (14:49 +0100)]
Evas: Move evas coord to eolian and start using it.

9 years agoEvas: Add a general evas types header.
Tom Hacohen [Fri, 29 May 2015 13:46:02 +0000 (14:46 +0100)]
Evas: Add a general evas types header.

9 years agoEfl gfx shape: Use correct class names in .eo file.
Tom Hacohen [Fri, 29 May 2015 13:20:11 +0000 (14:20 +0100)]
Efl gfx shape: Use correct class names in .eo file.

9 years agoEfl gfx stack: Fix eolian warnings.
Tom Hacohen [Fri, 29 May 2015 13:16:04 +0000 (14:16 +0100)]
Efl gfx stack: Fix eolian warnings.

9 years agoeolian: "generic_value" builtin type
Daniel Kolesa [Fri, 29 May 2015 11:03:57 +0000 (12:03 +0100)]
eolian: "generic_value" builtin type

9 years agoEo: Add eina_types.eot for general types.
Tom Hacohen [Fri, 29 May 2015 10:31:05 +0000 (11:31 +0100)]
Eo: Add eina_types.eot for general types.

9 years agoEvas object: Use correct type in .eo file.
Tom Hacohen [Fri, 29 May 2015 10:07:12 +0000 (11:07 +0100)]
Evas object: Use correct type in .eo file.

When we want an Evas_Object in Eo files, we should use Evas.Object.

9 years agoEo base: move type definitions into eo_base.eo.
Tom Hacohen [Fri, 29 May 2015 09:32:48 +0000 (10:32 +0100)]
Eo base: move type definitions into eo_base.eo.

9 years agoeolian: restrict the complex-type condition
Daniel Kolesa [Fri, 29 May 2015 10:38:54 +0000 (11:38 +0100)]
eolian: restrict the complex-type condition

9 years agoeolian: tests for extern struct/typedef not-generation
Daniel Kolesa [Fri, 29 May 2015 10:24:55 +0000 (11:24 +0100)]
eolian: tests for extern struct/typedef not-generation

9 years agoeolian: reserve __builtin_event_cb
Daniel Kolesa [Fri, 29 May 2015 10:19:27 +0000 (11:19 +0100)]
eolian: reserve __builtin_event_cb

9 years agoeolian/generator: don't generate extern types
Daniel Kolesa [Fri, 29 May 2015 10:15:28 +0000 (11:15 +0100)]
eolian/generator: don't generate extern types

9 years agoeo_cxx: remove unused parameter
Daniel Kolesa [Fri, 29 May 2015 10:10:41 +0000 (11:10 +0100)]
eo_cxx: remove unused parameter

9 years agoFix issue wrong surrounding text returns when there is selection area
Jihoon Kim [Fri, 29 May 2015 04:16:49 +0000 (13:16 +0900)]
Fix issue wrong surrounding text returns when there is selection area

@fix

Change-Id: Iff89b396c1a69d2879b9f710eb41e58e9d377b87

9 years agoEo base: Remove the free_func parameter from key_data_set.
Tom Hacohen [Thu, 28 May 2015 16:47:33 +0000 (17:47 +0100)]
Eo base: Remove the free_func parameter from key_data_set.

This was not really useful and against the Eolian guidelines.
While I promised I won't break things until the 27th, I was ill
(still am), so I'm giving myself a 1 day pass. :P

9 years agoEo base: Fix Eolian files to use Eo.Base instead of Eo.
Tom Hacohen [Thu, 28 May 2015 16:03:49 +0000 (17:03 +0100)]
Eo base: Fix Eolian files to use Eo.Base instead of Eo.

Eo is not a known Eolian type, we should only be using the class names.

9 years agoEo: rename conflicting internal Eo_Base to Eo_Header
Tom Hacohen [Thu, 28 May 2015 15:49:13 +0000 (16:49 +0100)]
Eo: rename conflicting internal Eo_Base to Eo_Header

This name conflicts with the class Eo.Base and should have
been called Eo_Header from the start anyway.

9 years agoelua: make eo bindings work with the new generated format
Daniel Kolesa [Thu, 28 May 2015 14:54:35 +0000 (15:54 +0100)]
elua: make eo bindings work with the new generated format

9 years agoelua: generate separate key/value numbers for getters/setters
Daniel Kolesa [Thu, 28 May 2015 14:41:30 +0000 (15:41 +0100)]
elua: generate separate key/value numbers for getters/setters

9 years agoecore_imf/wayland: support input language mode in wayland text input
Jihoon Kim [Thu, 28 May 2015 04:13:25 +0000 (13:13 +0900)]
ecore_imf/wayland: support input language mode in wayland text input

@feature

9 years agoecore_imf/wayland: support input hint in wayland text input
Jihoon Kim [Thu, 28 May 2015 02:00:20 +0000 (11:00 +0900)]
ecore_imf/wayland: support input hint in wayland text input

@feature

9 years agoevas: make image_size_get() return the actual image size
Mike Blumenkrantz [Thu, 28 May 2015 02:11:56 +0000 (22:11 -0400)]
evas: make image_size_get() return the actual image size

proxy/3d/etc images would previously return 0x0, breaking size calcs

@fix

@jpeg

9 years agoecore_imf/wayland: support password mode in wayland text input
Jihoon Kim [Thu, 28 May 2015 01:05:11 +0000 (10:05 +0900)]
ecore_imf/wayland: support password mode in wayland text input

@feature

9 years agoemotion gstreamer1 module - support 709 color matrix properly now
Carsten Haitzler (Rasterman) [Wed, 27 May 2015 14:31:28 +0000 (23:31 +0900)]
emotion gstreamer1 module - support 709 color matrix properly now

now that 709 colorsp[ace works in evas, use it properly in gst1 module
if possible

9 years agoeolian: allow a filename (rather than path) to be given to eolian_file_parse
Daniel Kolesa [Wed, 27 May 2015 13:32:03 +0000 (14:32 +0100)]
eolian: allow a filename (rather than path) to be given to eolian_file_parse

9 years agoevas - fix yuv support to no longer ignore 709 colorspace params
Carsten Haitzler (Rasterman) [Wed, 27 May 2015 11:17:20 +0000 (20:17 +0900)]
evas - fix yuv support to no longer ignore 709 colorspace params

if yuou use 709 instead of 601 yuv (ycbcr) evas will just be wrong and
use 601. this fixes that and implements 709. it also fixes a scaling
bug for yuv in the gl engine. no one noticed but me, so i won't call
this a bug fix, and it can go into the next efl release - no need to
backport unless it actually bothers peolpe (which it seemingly doesn't)

9 years agoeolian: better error reporting (include correct token info)
Daniel Kolesa [Wed, 27 May 2015 10:25:04 +0000 (11:25 +0100)]
eolian: better error reporting (include correct token info)

9 years agoEvas textblock: Add underline height support
Subodh Kumar [Wed, 27 May 2015 10:14:59 +0000 (11:14 +0100)]
Evas textblock: Add underline height support

Summary:
For showing text error like spell error thick underline is used hence added the underline height support.

@feature

Test Plan: test case added in evas textblock test.

Reviewers: raster, shilpasingh, tasn

Subscribers: govi, rajeshps, cedric

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

TAsn comment: I wonder if the format should be renamed to
underline_relheight instead of height. If you have any thoughts, please
let me know.

9 years agoeolian: make sure CLASS/COMPLEX type is always pointer backed
Daniel Kolesa [Wed, 27 May 2015 10:00:08 +0000 (11:00 +0100)]
eolian: make sure CLASS/COMPLEX type is always pointer backed

9 years agoecore_imf/wayland: support autocapital mode in wayland text input
Jihoon Kim [Wed, 27 May 2015 05:39:37 +0000 (14:39 +0900)]
ecore_imf/wayland: support autocapital mode in wayland text input

@feature

9 years agoevas: fix color pick compatibility of Evas_3D with GLES.
se.osadchy [Tue, 26 May 2015 17:12:24 +0000 (19:12 +0200)]
evas: fix color pick compatibility of Evas_3D with GLES.

Summary:
Use fourth component texture. Update mechanism generation pixels, scene renderer
to texture and geting color pixels from texture. Update shader for color pick.

Reviewers: Hermet, raster, cedric

Reviewed By: cedric

Subscribers: Oleksander, cedric

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

9 years agoedje: add of descriptors for Evas_3d integration.
perepelits.m [Tue, 26 May 2015 17:05:39 +0000 (19:05 +0200)]
edje: add of descriptors for Evas_3d integration.

Summary: Creates descriptors for all structures

Reviewers: cedric, Hermet, raster

Subscribers: cedric, artem.popov

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: add API for creation Evas_3D node primitives.
Bogdan Devichev [Tue, 26 May 2015 16:49:15 +0000 (18:49 +0200)]
evas: add API for creation Evas_3D node primitives.

Summary: Now mechanism of creation of primitives is similar to model loading.

Reviewers: Oleksander, Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: fix compatibility with GLES2.0. Shadow effect
Oleksandr Shcherbina [Tue, 26 May 2015 16:40:03 +0000 (18:40 +0200)]
evas: fix compatibility with GLES2.0. Shadow effect

Summary:
Use RGBA texture unit for generation shadow. Use separate framebuffer and
renderbuffer for shadow map.
Refactor shadow map shader to use position of shadow and pack depth value in
RGBA texture.
Refactor shader function for generation shadow factor to unpack depth value from
RGBA shadow map.

Reviewers: cedric, Hermet

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje: fix memory leak detected by prevent static analyser.
jiin.moon [Tue, 26 May 2015 16:34:32 +0000 (18:34 +0200)]
edje: fix memory leak detected by prevent static analyser.

Summary:
Modified codes according to prevent result
The im will be freed by data_image_preload_done api.
But if image load error happen, never call that api

@fix

Test Plan: prevent tool

Reviewers: Jaehyun, Hermet, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina: add test cases for various APIs in eina_quad module.
Vivek Ellur [Tue, 26 May 2015 16:31:55 +0000 (18:31 +0200)]
eina: add test cases for various APIs in eina_quad module.

Summary:
Added test cases for all the APIs in einq_quad module

Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>
Reviewers: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoembryo_cc: prevent memory curruption
jiin.moon [Tue, 26 May 2015 16:31:12 +0000 (18:31 +0200)]
embryo_cc: prevent memory curruption

Summary:
modified codes according to prevent result,
@fix

Reviewers: Jaehyun, Hermet, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: fix errors when updating the bounding box of Evas_3d_Node.
Ivan Furs [Tue, 26 May 2015 16:29:18 +0000 (18:29 +0200)]
evas: fix errors when updating the bounding box of Evas_3d_Node.

Summary:
For calculation 'aabb' need  to know how mesh was transformed.
So for  primary data of mesh was calculate all transformation.

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeolian/generator: fix memory leak
Daniel Kolesa [Tue, 26 May 2015 16:25:11 +0000 (17:25 +0100)]
eolian/generator: fix memory leak

9 years agoevas: define EGL_OPENGL_ES3_BIT_KHR in all case for better portability.
Cedric BAIL [Tue, 26 May 2015 07:17:50 +0000 (09:17 +0200)]
evas: define EGL_OPENGL_ES3_BIT_KHR in all case for better portability.

9 years agoautotools: ecore_con_legacy.c is not compiled directly, but must be in dist tarball
Daniel Kolesa [Sat, 23 May 2015 00:20:46 +0000 (01:20 +0100)]
autotools: ecore_con_legacy.c is not compiled directly, but must be in dist tarball

9 years agoeina: change module init error message to an info message
Mike Blumenkrantz [Fri, 22 May 2015 17:20:56 +0000 (13:20 -0400)]
eina: change module init error message to an info message

a module deciding to return false is a valid non-error case for many modules.
the module can print an error if an error occurs

9 years agoeolian: merge eo_file_parse and eot_file_parse
Daniel Kolesa [Fri, 22 May 2015 16:32:21 +0000 (17:32 +0100)]
eolian: merge eo_file_parse and eot_file_parse

9 years agoeolian: reuse the parsed eot hash for eo too (simplify code)
Daniel Kolesa [Fri, 22 May 2015 16:14:38 +0000 (17:14 +0100)]
eolian: reuse the parsed eot hash for eo too (simplify code)

9 years agoeolian: use eo_parser_database_fill for import
Daniel Kolesa [Fri, 22 May 2015 16:09:14 +0000 (17:09 +0100)]
eolian: use eo_parser_database_fill for import

9 years agoeolian: simplify eolian_eo_file_parse
Daniel Kolesa [Fri, 22 May 2015 15:53:21 +0000 (16:53 +0100)]
eolian: simplify eolian_eo_file_parse

This also moves the ctor stuff into database_fill,
saving some loops when a class is already parsed.

9 years agoeolian: remove obsolete code dealing with multiple classes per file
Daniel Kolesa [Fri, 22 May 2015 15:46:07 +0000 (16:46 +0100)]
eolian: remove obsolete code dealing with multiple classes per file

9 years agoeolian: initial support for importing eo files
Daniel Kolesa [Fri, 22 May 2015 15:34:48 +0000 (16:34 +0100)]
eolian: initial support for importing eo files

9 years agoeolian: disallow cyclic dependencies between .eo files
Daniel Kolesa [Fri, 22 May 2015 14:03:38 +0000 (15:03 +0100)]
eolian: disallow cyclic dependencies between .eo files

Eo files will now fail to compile if a cycle is detected.

This required some temporary changes in existing eo files
(we had 2 cycles) for which I added a FIXME (they do not
affect C generation).

@feature

9 years agoeolian: silence static analysis false positive
Daniel Kolesa [Fri, 22 May 2015 10:26:28 +0000 (11:26 +0100)]
eolian: silence static analysis false positive

Fixes CID 1299412.