platform/upstream/efl.git
10 years agoEvas filters: Minor fix for consistency (clip_to_target)
Jean-Philippe Andre [Tue, 4 Mar 2014 02:44:19 +0000 (11:44 +0900)]
Evas filters: Minor fix for consistency (clip_to_target)

Make sure sx and sy are properly set.
No need to backport as the function actually expect these values to
be initialized to 0 in the first place.

10 years agoEvas filters: fix clip to target calculation
Jean-Philippe Andre [Mon, 3 Mar 2014 08:45:15 +0000 (17:45 +0900)]
Evas filters: fix clip to target calculation

It was possible to keep negative values for dx,dy which would
then draw pixels out of bounds (= crash).

Make check crashed after the previous commit.

@fix

10 years agoEvas filters: Fallback to normal rendering in case of error
Jean-Philippe Andre [Mon, 3 Mar 2014 07:58:18 +0000 (16:58 +0900)]
Evas filters: Fallback to normal rendering in case of error

If the filters fail to render at runtime (that is, parsing went fine
but a command failed to run properly), fallback to normal rendering.
This should prevent text from disappearing when using proxies and
the OpenGL engine (for now).

10 years agoEvas filters: Avoid potential memory leaks
Jean-Philippe Andre [Mon, 3 Mar 2014 07:22:40 +0000 (16:22 +0900)]
Evas filters: Avoid potential memory leaks

Properly free the buffers when they are not in the current context list.

10 years agoEvas filters: fix random cases of 'dancing text'
Jean-Philippe ANDRE [Sun, 2 Mar 2014 09:39:08 +0000 (18:39 +0900)]
Evas filters: fix random cases of 'dancing text'

In some situations, text with filters would be rendered in an invalid
position (somewhere too high).
I am not entirely sure of the reason why the original code with BLEND
doesn't work, but this new version is simpler as GL and SW have more
similar behaviours:

- render text to our 'output' buffer
- draw this buffer as an image onto the set target

Thanks zmike for reporting the issue.
And thanks A LOT for using the filters :D

@fix

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
10 years agoEvas filters: fix black squares with the GL engine
Jean-Philippe ANDRE [Sun, 2 Mar 2014 10:08:22 +0000 (19:08 +0900)]
Evas filters: fix black squares with the GL engine

If a text object changes regularily, there might be cases where
the object will be rendered as a simple black rectangle for just
one frame.

It seems that the previous output buffer is deleted before being
actually rendered on screen. This patch will delay the deletion
of the previous buffer until the current one has been rendered
to the target surface.

And again, thanks zmike for reporting.

@fix

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
10 years agoEvas filters: Avoid CRI message when using the GL engine
Jean-Philippe ANDRE [Sun, 2 Mar 2014 05:55:42 +0000 (14:55 +0900)]
Evas filters: Avoid CRI message when using the GL engine

A CRItical message was always displayed when setting a filter
on a text object, saying that proxy rendering is not supported on GL.

Reduce CRI to ERR and skip proxy rendering altogether if there are
no proxy sources.

This @fix needs to be backported.

Thanks zmike for reporting this.

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
10 years agoEvas filters: Improve RGBA to alpha conversion (visual quality)
Jean-Philippe Andre [Mon, 24 Feb 2014 04:54:30 +0000 (13:54 +0900)]
Evas filters: Improve RGBA to alpha conversion (visual quality)

Add weights to the R,G,B components when converting to greyscale.
The weights are those used in the RGB to YCbCr conversion formula.

10 years agoEvas filters: Implement mapped blend for alpha buffers
Jean-Philippe Andre [Fri, 21 Feb 2014 07:46:04 +0000 (16:46 +0900)]
Evas filters: Implement mapped blend for alpha buffers

Allow repeat fillmode in blend() for:
alpha --> alpha
alpha --> rgba
rgba --> alpha

Alpha scaling is not implemented yet, but it is not actually
required. Indeed, only proxies can have a different size and
proxies are RGBA images, not alpha.

Alpha scaling may or may not become a requirement in the future,
or for other purposes, but not yet.

10 years agoEolian: Valgrind fixes
Daniel Zaoui [Mon, 3 Mar 2014 16:01:53 +0000 (18:01 +0200)]
Eolian: Valgrind fixes

10 years agoEolian: remove Ecore_File dependency
Daniel Zaoui [Mon, 3 Mar 2014 16:00:45 +0000 (18:00 +0200)]
Eolian: remove Ecore_File dependency

10 years agoevas-drm: Fix evas drawing delay for cedric
Chris Michael [Mon, 3 Mar 2014 16:07:18 +0000 (16:07 +0000)]
evas-drm: Fix evas drawing delay for cedric

@bugfix: Draw to the front buffer first, instead of the back buffer.

Frenchie says this improves the "initial rendering delay" of expedite
tests. Originally, we were drawing to the back buffer first, then
flipping it onto the crtc when drawing was done. This presented a
"perceived" rendering delay when running expedite tests as it would
wait for the back buffer to be drawn before presenting it. Personally,
I think it is not good to draw directly to the front buffer first as
it may get presented "incomplete" ... but cedric says it draws fine so
we'll leave it starting on the front buffer (for now).

Signed-off-by: Chris Michael <devilhorns@comcast.net>
10 years agoeina_list: Optimize eina_list_nth() call in case of index 0.
Daniel Juyung Seo [Mon, 3 Mar 2014 15:01:48 +0000 (00:01 +0900)]
eina_list: Optimize eina_list_nth() call in case of index 0.

Check null and return the list data directly if the index 'n' is 0.

10 years agoedje: add support of last input entered in password mode to be always visible in...
Amitesh Singh [Mon, 3 Mar 2014 12:29:34 +0000 (09:29 -0300)]
edje: add support of last input entered in password mode to be always visible in entry.

@feature

Requirement: Last input entered in password mode should be always visible in
entry. e.g. **a -> ***b.

Reviewers: cedric, raster, seoz

Reviewed By: cedric

CC: cedric
Differential Revision: https://phab.enlightenment.org/D589

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
10 years agoEolian: fix warnings.
Daniel Zaoui [Mon, 3 Mar 2014 12:28:30 +0000 (14:28 +0200)]
Eolian: fix warnings.

Don't want Stefan to be angry ;-)

10 years agoEolian: Merge of Eolian C generator
Daniel Zaoui [Mon, 3 Mar 2014 12:15:34 +0000 (14:15 +0200)]
Eolian: Merge of Eolian C generator

This patchset includes the parser for the meta-data (.eo) files and
the generator of C and H files.
.eo files are not included and will be added one after the other during
the splitting of the C files.
The APIs supplied by Eolian are beta APIs. Expect changes.

10 years agoEolian: New features/bugs fixes
Yossi Kantor [Tue, 25 Feb 2014 15:27:38 +0000 (17:27 +0200)]
Eolian: New features/bugs fixes

  1) Include files now have include guards
  2) --gh option generates legacy header with --legacy flag and eo header
  without --legacy flag
  3) EOLIAN keyword is introduced to mark functions used by generated
  file.
  4) * for comments when comment text is empty

10 years agoEolian: Updated Eolian_Helper.
Tom Hacohen [Wed, 26 Feb 2014 15:42:15 +0000 (15:42 +0000)]
Eolian: Updated Eolian_Helper.

In order to use, you need to do as follows:
Add
include /src/Makefile_Eolian_Helper.am
To the Makefile.am that uses it.
Put .eo files in extra dist, e.g:
EXTRA_DIST = elm_code.eo
Add all the files you'd like to generate in BUILT_SOURCES, e.g:
BUILT_SOURCES = elm_code.eo.c elm_code.eo.h elm_code.eo.legacy.h

10 years agoEolian: New generation feature tested and bugs fixed
Yossi Kantor [Thu, 20 Feb 2014 12:47:46 +0000 (14:47 +0200)]
Eolian: New generation feature tested and bugs fixed

  1) Underscore for static global names
  2) Escape special characters for in-code descriptions
  3) Proper spaces for generated lines

10 years agoEolian: support non null parameters.
Daniel Zaoui [Sun, 23 Feb 2014 09:19:14 +0000 (11:19 +0200)]
Eolian: support non null parameters.

The generation is only needed in legacy headers.

10 years agoEolian: Fixed pc file to correctly generate.
Tom Hacohen [Fri, 21 Feb 2014 13:01:12 +0000 (13:01 +0000)]
Eolian: Fixed pc file to correctly generate.

First of all, it's now correctly generated, unlike before.
Second of all, it now lists eoincludedir, the directory for all
of the .eo include files.

10 years agoEolian/Generator: fix data type for implement function
Daniel Zaoui [Thu, 20 Feb 2014 14:46:23 +0000 (16:46 +0200)]
Eolian/Generator: fix data type for implement function

10 years agoEolian: support warn_unused variables.
Daniel Zaoui [Thu, 20 Feb 2014 14:18:49 +0000 (16:18 +0200)]
Eolian: support warn_unused variables.

10 years agoEolian: Valgrind cleaning
Daniel Zaoui [Thu, 20 Feb 2014 12:47:14 +0000 (14:47 +0200)]
Eolian: Valgrind cleaning

10 years agoEolian/Generator: errors handling improvement.
Daniel Zaoui [Thu, 20 Feb 2014 11:54:12 +0000 (13:54 +0200)]
Eolian/Generator: errors handling improvement.

Errors occuring during generation are now propagated to the main (i.e
exit code).
Logs have been ported to EINA_LOG instead of printf.

10 years agoEolian/Generator: implementation prototype change
Daniel Zaoui [Thu, 20 Feb 2014 11:08:34 +0000 (13:08 +0200)]
Eolian/Generator: implementation prototype change

Since we know the type of the private data given as parameter of the
implemented function, we can set it instead of void *.

10 years agoEolian/Generator: improve command line arguments and logging.
Daniel Zaoui [Thu, 20 Feb 2014 09:53:01 +0000 (11:53 +0200)]
Eolian/Generator: improve command line arguments and logging.

Now --gh/--gc don't require an additional argument.
If eolian_gen is called with --gc and some file.eo, the tool will
generate file.eo.c.
You can force another filename by using the -o with an argument.

Moreover, logging has been added to the generator.

10 years agoEolian: naming convention for implemented functions
Yossi Kantor [Wed, 19 Feb 2014 13:30:04 +0000 (15:30 +0200)]
Eolian: naming convention for implemented functions

The format is now _<current_class>_<inherited_class>_function_name.

10 years agoEolian/Generator: add private data to the prototypes of implementations
Daniel Zaoui [Wed, 19 Feb 2014 12:51:40 +0000 (14:51 +0200)]
Eolian/Generator: add private data to the prototypes of implementations

10 years agoEolian/Library: oops, use INF before log domain creation
Daniel Zaoui [Wed, 19 Feb 2014 12:20:04 +0000 (14:20 +0200)]
Eolian/Library: oops, use INF before log domain creation

10 years agoEolian: Class type and class constructor/destructor generation added
Yossi Kantor [Wed, 19 Feb 2014 08:40:52 +0000 (10:40 +0200)]
Eolian: Class type and class constructor/destructor generation added

10 years agoEolian/Library: add log domain and NULL checks
Daniel Zaoui [Wed, 19 Feb 2014 12:09:36 +0000 (14:09 +0200)]
Eolian/Library: add log domain and NULL checks

10 years agoEolian: Support of virtual pure functions.
Daniel Zaoui [Wed, 19 Feb 2014 08:30:02 +0000 (10:30 +0200)]
Eolian: Support of virtual pure functions.

Virtual pure can be defined in Eolian format by adding in the section
implements virtual::class_name::func_name[::func_type].

10 years agoEolian/Generator: update options and return value from main.
Daniel Zaoui [Tue, 18 Feb 2014 15:01:17 +0000 (17:01 +0200)]
Eolian/Generator: update options and return value from main.

-v is used instead of -V
returns 1 when an error occurred
useless print removed when scanning include directories

10 years agoEolian/Lexer: support class::constructor/destructor
Daniel Zaoui [Tue, 18 Feb 2014 13:16:51 +0000 (15:16 +0200)]
Eolian/Lexer: support class::constructor/destructor

10 years agoEolian: Format changes
Daniel Zaoui [Wed, 26 Feb 2014 18:02:10 +0000 (20:02 +0200)]
Eolian: Format changes

- Support keys/values for properties instead of params
- Direction for parameters syntax changed from in to @in...
- obj:const changed to const in .eo

10 years agoEolian: update .gitignore
Daniel Zaoui [Tue, 18 Feb 2014 07:47:13 +0000 (09:47 +0200)]
Eolian: update .gitignore

10 years agoEolian/Lexer: fix bug occuring during generation.
Daniel Zaoui [Tue, 18 Feb 2014 07:06:37 +0000 (09:06 +0200)]
Eolian/Lexer: fix bug occuring during generation.

A string set by the lexer and used by the generator was set to NULL
instead of "constructor"/"destructor".

10 years agoEolian/Generator: improve the files management.
Daniel Zaoui [Tue, 18 Feb 2014 07:01:23 +0000 (09:01 +0200)]
Eolian/Generator: improve the files management.

Now, the .eo file given as parameter doesn't have to be into the given
include paths.

10 years agoEolian/Lexer: inherits now is specified near the class name.
Daniel Zaoui [Mon, 17 Feb 2014 13:44:32 +0000 (15:44 +0200)]
Eolian/Lexer: inherits now is specified near the class name.

No more section inherits is supported.

10 years agoEolian/Lexer: remove default ctor/dtor.
Daniel Zaoui [Mon, 17 Feb 2014 13:16:01 +0000 (15:16 +0200)]
Eolian/Lexer: remove default ctor/dtor.

They are now supported inside the section implements.

10 years agoEolian/Lexer: support of class types.
Daniel Zaoui [Mon, 17 Feb 2014 12:05:52 +0000 (14:05 +0200)]
Eolian/Lexer: support of class types.

Now, .eo format has to supply the class type class, abstract, mixin or
interface.

Example: class Elm_Button {...

10 years agoEolian: remove --class option.
Daniel Zaoui [Sun, 16 Feb 2014 14:09:06 +0000 (16:09 +0200)]
Eolian: remove --class option.

Now, the .eo file needs to be supplied instead of the class.

10 years agoEolian: Code review fixes
Yossi Kantor [Sun, 16 Feb 2014 09:41:38 +0000 (11:41 +0200)]
Eolian: Code review fixes

1) API defined under EFL_BETA_API_SUPPORT
2) Init counters for init and shutdown
3) void for no-parameters functions

10 years agoEolian/Lexer: the ';' is now optional after '}'.
Daniel Zaoui [Sun, 16 Feb 2014 09:15:32 +0000 (11:15 +0200)]
Eolian/Lexer: the ';' is now optional after '}'.

10 years agoEolian/Generator: oups, didn't mean to push that.
Daniel Zaoui [Sun, 16 Feb 2014 08:24:08 +0000 (10:24 +0200)]
Eolian/Generator: oups, didn't mean to push that.

10 years agoEolian/Lexer: rename signals to events.
Daniel Zaoui [Sun, 16 Feb 2014 06:54:49 +0000 (08:54 +0200)]
Eolian/Lexer: rename signals to events.

10 years agoEolian-generator: fix crash during generation
Daniel Zaoui [Sat, 15 Feb 2014 07:16:02 +0000 (09:16 +0200)]
Eolian-generator: fix crash during generation

It happens when no description is supplied for an event.

10 years agoEolian: Split eolian build helper a different file.
Tom Hacohen [Fri, 14 Feb 2014 12:17:29 +0000 (12:17 +0000)]
Eolian: Split eolian build helper a different file.

This will let other modules use it more easily, and also make it easier
to borrow it to other repos.

10 years agoEolian/Generator: support legacy as option.
Daniel Zaoui [Thu, 13 Feb 2014 15:12:19 +0000 (17:12 +0200)]
Eolian/Generator: support legacy as option.

For the moment, the option works for C files. Have to add support for H
files.

10 years agoEolian/Generator: port options to getopt
Daniel Zaoui [Thu, 13 Feb 2014 14:21:25 +0000 (16:21 +0200)]
Eolian/Generator: port options to getopt

Even if we want to remove the appending options, we still support them.
We will remove them later.

10 years agoEolian: Added an helper to call eolian_gen from within the project.
Tom Hacohen [Tue, 11 Feb 2014 15:25:41 +0000 (15:25 +0000)]
Eolian: Added an helper to call eolian_gen from within the project.

10 years agoEolian: Renamed the eolian tool to eolian_gen.
Tom Hacohen [Tue, 11 Feb 2014 15:25:03 +0000 (15:25 +0000)]
Eolian: Renamed the eolian tool to eolian_gen.

10 years agoEolian: Fixed EXTRA_DIST.
Tom Hacohen [Tue, 11 Feb 2014 14:53:09 +0000 (14:53 +0000)]
Eolian: Fixed EXTRA_DIST.

10 years agoEolian: Added eolian to the build system.
Tom Hacohen [Tue, 11 Feb 2014 14:31:21 +0000 (14:31 +0000)]
Eolian: Added eolian to the build system.

10 years agoEolian: Add EAPI to API calls.
Tom Hacohen [Tue, 11 Feb 2014 14:42:47 +0000 (14:42 +0000)]
Eolian: Add EAPI to API calls.

10 years agoEolian: first import.
Daniel Zaoui [Tue, 11 Feb 2014 13:42:59 +0000 (13:42 +0000)]
Eolian: first import.

Imported by Tom, from the eolian repo which was written by:
Daniel Zaoui <daniel.zaoui@samsung.com>
Yakov Goldberg <yakov.g@samsung.com>
Yossi Kantor <yossi.kantor@samsung.com>
Savio Sena <savio@expertisesolutions.com.br>
Jérémy Zurcher <jeremy@asynk.ch>

Signed-off-by: Tom Hacohen <tom@stosb.com>
10 years agoedje: @feature to include license in edje file.
Cedric Bail [Mon, 3 Mar 2014 11:39:53 +0000 (08:39 -0300)]
edje: @feature to include license in edje file.

This will close T1027.

10 years agoecore_avahi: remove useless printf.
Cedric Bail [Fri, 28 Feb 2014 22:58:25 +0000 (19:58 -0300)]
ecore_avahi: remove useless printf.

10 years agoecore_avahi: @fix timeout to avoid pitfall of forever frozen timer.
Cedric Bail [Fri, 28 Feb 2014 22:57:44 +0000 (19:57 -0300)]
ecore_avahi: @fix timeout to avoid pitfall of forever frozen timer.

@backport.

10 years agoevas: add libdrm as a dependency.
Cedric Bail [Fri, 28 Feb 2014 19:21:00 +0000 (16:21 -0300)]
evas: add libdrm as a dependency.

10 years agoEvas: Fix build issue when building without drm
Chris Michael [Fri, 28 Feb 2014 14:44:18 +0000 (14:44 +0000)]
Evas: Fix build issue when building without drm

@bugfix: Fix issue of building efl without drm or drm hw accel options

By default drm & drm hw acceleration is off as an option. This caused
a problem when passing no options to autogen due to a missing define.
This commit fixes that mess by only defining HAVE_DRM_HW_ACCEL If we
actually have the deps for it, rather than using an AM_CONDITIONAL as
it did previously.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoexamples/eina: Check return value of eina_iterator_next
Stefan Schmidt [Fri, 28 Feb 2014 13:30:14 +0000 (14:30 +0100)]
examples/eina: Check return value of eina_iterator_next

If we define an API with warn_unused_result we should actually
check the result in our examples.

10 years agoexamples: Use EINA_UNUSED in examples to silence a ton of warning
Stefan Schmidt [Fri, 28 Feb 2014 12:32:04 +0000 (13:32 +0100)]
examples: Use EINA_UNUSED in examples to silence a ton of warning

First step to get the examples compiling output in a useful state.
With all the warning noise one would never see the important messages.

If you add new code please make sure its warning free.

10 years agoevas-drm: Ddd support for setting vsync with env variable.
Chris Michael [Fri, 28 Feb 2014 12:38:33 +0000 (12:38 +0000)]
evas-drm: Ddd support for setting vsync with env variable.

@feature: Add support for EVAS_DRM_VSYNC environment variable to
@feature: Add support for marking a Framebuffer as dirty.
@bugfix: Fix color mask values for evas conversion functions.
@bugfix: Start with using the Backbuffer for drawing.
@bugfix: Fix previous Slowness with evas_cache image data.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoevas-drm: Add vsync/non-vsync support to evas_drm code
Chris Michael [Fri, 28 Feb 2014 12:36:11 +0000 (12:36 +0000)]
evas-drm: Add vsync/non-vsync support to evas_drm code

@feature: Add ability to render software buffers using vsync or not
@bugfix: Fix drmModeAddFB to use proper depth & bpp when adding FB
@bugfix: Fix mmap to use NULL (not 0) so that kernel assigns memory
address.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoevas-drm: cleanup evas_engine code for drm sw engine
Chris Michael [Fri, 28 Feb 2014 12:34:13 +0000 (12:34 +0000)]
evas-drm: cleanup evas_engine code for drm sw engine

@bugfix: clear the tilebuffer when we get the next redraw update.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoevas-drm: cleanup outbuf structure and functions
Chris Michael [Fri, 28 Feb 2014 12:32:38 +0000 (12:32 +0000)]
evas-drm: cleanup outbuf structure and functions

@bugfix: this cleans up the Outbuf structure by removing unused
fields, Fixing some function declarations, and defaulting the number
of buffers to 2 (double-buffering)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoevas-drm: Add flag for setting vsync to engine structure
Chris Michael [Fri, 28 Feb 2014 12:32:15 +0000 (12:32 +0000)]
evas-drm: Add flag for setting vsync to engine structure

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoevas-drm: Forgot to install the evas drm engine pkgconfig file
Chris Michael [Wed, 12 Feb 2014 16:42:56 +0000 (16:42 +0000)]
evas-drm: Forgot to install the evas drm engine pkgconfig file

@bugfix: Fix install of evas drm engine pkgconfig file

Signed-off-by: Chris Michael <devilhorns@comcast.net>
10 years agoevas-drm: Break out plane creation code into it's own function for cleaner code
Chris Michael [Wed, 12 Feb 2014 14:29:01 +0000 (14:29 +0000)]
evas-drm: Break out plane creation code into it's own function for cleaner code

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoevas-drm: Start on hardware Plane support
Chris Michael [Wed, 12 Feb 2014 14:28:00 +0000 (14:28 +0000)]
evas-drm: Start on hardware Plane support

@feature: Start on hardware Plane support
 - Add Plane structure
 - Store list of Planes in the Output buffer

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoevas-drm: Add field to engine info for storing the buffer manager
Chris Michael [Wed, 12 Feb 2014 14:26:31 +0000 (14:26 +0000)]
evas-drm: Add field to engine info for storing the buffer manager

 - Typically this will come from ecore_evas and be used by evas to
allocate hardware accelerated buffers (gbm, tbm, etc)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoevas-drm: Add Evas_Engine_Drm header to source files
Chris Michael [Wed, 12 Feb 2014 13:52:10 +0000 (13:52 +0000)]
evas-drm: Add Evas_Engine_Drm header to source files

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoevas-drm: Add support for checking what GL library to use for drm hardware acceleration
Chris Michael [Wed, 12 Feb 2014 13:51:29 +0000 (13:51 +0000)]
evas-drm: Add support for checking what GL library to use for drm hardware acceleration

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoevas-drm: Rename drm hardware acceleration option
Chris Michael [Wed, 12 Feb 2014 13:50:54 +0000 (13:50 +0000)]
evas-drm: Rename drm hardware acceleration option

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoevas-drm: Fix opening of drm card
Chris Michael [Wed, 12 Feb 2014 07:32:01 +0000 (07:32 +0000)]
evas-drm: Fix opening of drm card

@feature: Add code to check if async page flipping is supported by the driver.
@bugfix: Add code to get the proper drm driver name when we init the card.
@bugfix: Use drmOpen when opening the card so that any sub-driver gets initialized.
@bugfix: Add some debug/testing code to enumerate planes.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoevas-drm: Call framebuffer_set earlier in the process so that the screen gets
Chris Michael [Wed, 12 Feb 2014 07:30:58 +0000 (07:30 +0000)]
evas-drm: Call framebuffer_set earlier in the process so that the screen gets
updated sooner.

@bugfix: set framebuffer on crtc earlier in process
@bugfix: Set the rendered image's alpha flag to be equal to the output buffer's

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoevas-drm: Triple buffer by default.
Chris Michael [Wed, 12 Feb 2014 07:30:20 +0000 (07:30 +0000)]
evas-drm: Triple buffer by default.

@feature: Triple buffer by default on drm engine

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoevas-drm: Start on hardware-accel support for drm
Chris Michael [Wed, 12 Feb 2014 07:29:40 +0000 (07:29 +0000)]
evas-drm: Start on hardware-accel support for drm

@feature: Start on hardware acceleration support by adding EGL
structure to engine info

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoevas-drm: Fix up some m4 formatting
Chris Michael [Wed, 12 Feb 2014 07:29:16 +0000 (07:29 +0000)]
evas-drm: Fix up some m4 formatting

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoevas-drm: Fix configure.ac typo for drm hw accel argument
Chris Michael [Tue, 11 Feb 2014 08:07:56 +0000 (08:07 +0000)]
evas-drm: Fix configure.ac typo for drm hw accel argument

@bugfix: Fix typo in configure.ac file for drm hardware acceleration

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoevas-drm: Check for drm hw accel support in the drm engine
Chris Michael [Tue, 11 Feb 2014 08:07:38 +0000 (08:07 +0000)]
evas-drm: Check for drm hw accel support in the drm engine

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoevas-drm: Add option to enable drm hardware acceleration
Chris Michael [Tue, 11 Feb 2014 07:13:49 +0000 (07:13 +0000)]
evas-drm: Add option to enable drm hardware acceleration

@feature: Start on drm hardware acceleration

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoevas-drm: Set Magic on the Ecore_Evas
Chris Michael [Tue, 11 Feb 2014 07:10:15 +0000 (07:10 +0000)]
evas-drm: Set Magic on the Ecore_Evas

@bugfix: Set magic on the ecore_evas

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoevas-drm: Add Evas Drm Engine (software only currently)
Chris Michael [Tue, 11 Feb 2014 07:09:39 +0000 (07:09 +0000)]
evas-drm: Add Evas Drm Engine (software only currently)

@feature: Add working Evas_Drm Engine (software only currently)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoevas-drm: Add evas_drm to build order for Evas drm engine
Chris Michael [Tue, 11 Feb 2014 07:08:59 +0000 (07:08 +0000)]
evas-drm: Add evas_drm to build order for Evas drm engine

@feature: Add evas-drm engine to Evas

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoexamples/evas: Set a proper format string for fprintf
Stefan Schmidt [Fri, 28 Feb 2014 11:13:46 +0000 (12:13 +0100)]
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

10 years agoEvas textblock: Implemented mid-contextualization formatting.
Tom Hacohen [Thu, 27 Feb 2014 16:25:06 +0000 (16:25 +0000)]
Evas textblock: Implemented mid-contextualization formatting.

There are many situations (e.g all the time with Arabic text) in which
characters change their appearance depending on the context they lie
within. Before this patch, we didn't support changing font appearance
mid-context. So for example one couldn't do "a<color=#f00>b" without
messing up 'a' and 'b's change to their contextual forms.

Although Arabic is a very good example, this also applies to Latin text
in many cases, and should fix some wrong spacing that might have
appeared when changing styles.

@feature

10 years agoecore_evas: fix version of APIs to support for window auxiliary hint recently
Jihoon Kim [Thu, 27 Feb 2014 23:43:31 +0000 (08:43 +0900)]
ecore_evas: fix version of APIs to support for window auxiliary hint recently

EFL 1.9 was already out, it's 1.10 phase now.

10 years agoecore_avahi: add an avahi browse example (that doesn't work yet).
Cedric Bail [Thu, 27 Feb 2014 23:08:17 +0000 (20:08 -0300)]
ecore_avahi: add an avahi browse example (that doesn't work yet).

10 years agoecore_avahi: fix timeout to be relative from now.
Cedric Bail [Thu, 27 Feb 2014 23:07:22 +0000 (20:07 -0300)]
ecore_avahi: fix timeout to be relative from now.

10 years agoecore_evas: Added support for window auxiliary hint
Gwanglim Lee [Thu, 27 Feb 2014 22:20:01 +0000 (07:20 +0900)]
ecore_evas: Added support for window auxiliary hint

Summary:
The window auxiliary hint is the value which is used to decide
which actions should be made available to the user by the WM. If you
want to set specific hint to your window, then you should check whether
it exists in the supported auxiliary hints that are registered in the
root window by the window manager.

Once you've added an auxiliary hint, you can get a new ID which is used
to change value and delete hint. The window manager sends the response
message to the application on receiving auxiliary hint change event.

A list of auxiliary hint within the Ecore_Evas has this format:

  ID:HINT:VALUE,ID:HINT:VALUE,...

Reviewers: raster, cedric, seoz, Hermet

Reviewed By: raster

CC: cedric
Differential Revision: https://phab.enlightenment.org/D543

10 years ago@feature - Apply NEON intrisics improvement to rotation
Snacker (Vladimir) [Thu, 27 Feb 2014 22:04:52 +0000 (07:04 +0900)]
@feature - Apply NEON intrisics improvement to rotation

10 years agoecore: @fix race condition when using ecore_main_loop_thread_safe_call_sync.
Cedric Bail [Thu, 27 Feb 2014 15:24:28 +0000 (12:24 -0300)]
ecore: @fix race condition when using ecore_main_loop_thread_safe_call_sync.

10 years agoRevert "evas example: fix warning in compilation of evas-box.c."
Cedric Bail [Thu, 27 Feb 2014 14:10:35 +0000 (11:10 -0300)]
Revert "evas example: fix warning in compilation of evas-box.c."

This reverts commit 442d880cf6168cb5f13ce7dd566de6bb7bd987d6.

Sorry mixed command of pull/push here.

10 years agoevas example: fix warning in compilation of evas-box.c.
chinmaya [Thu, 27 Feb 2014 14:08:20 +0000 (11:08 -0300)]
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>
10 years agoeo: revert 13502a1 and 7821df1
Jérémy Zurcher [Thu, 27 Feb 2014 14:02:45 +0000 (15:02 +0100)]
eo: revert 13502a1 and 7821df1

I'm running out of time, will look at it later

10 years agoedje: Add emoticon input panel layout
Jihoon Kim [Thu, 27 Feb 2014 05:08:18 +0000 (14:08 +0900)]
edje: Add emoticon input panel layout

10 years agoecore_imf: Add ECORE_IMF_INPUT_PANEL_LAYOUT_EMOTICON
Jihoon Kim [Thu, 27 Feb 2014 04:46:16 +0000 (13:46 +0900)]
ecore_imf: Add ECORE_IMF_INPUT_PANEL_LAYOUT_EMOTICON