platform/upstream/efl.git
9 years agoevas-drm: Make evas drm engine use new ecore_drm functions
Chris Michael [Wed, 8 Apr 2015 18:01:18 +0000 (14:01 -0400)]
evas-drm: Make evas drm engine use new ecore_drm functions

Summary: As we already have Ecore_Drm which handles all things drm
related, let's make use of it in the Evas Drm Engine. This modifies
the 'meat' of the Evas Drm engine to use Ecore_Drm functions rather
than keeping private versions of the same code.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas-drm: Cleanup drm engine code
Chris Michael [Wed, 8 Apr 2015 17:59:24 +0000 (13:59 -0400)]
evas-drm: Cleanup drm engine code

Summary: With the evas drm engine refactor, some of the fields in the
Render_Engine structure are unused so remove them.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas-drm: Cleanup evas_engine header file
Chris Michael [Wed, 8 Apr 2015 17:57:58 +0000 (13:57 -0400)]
evas-drm: Cleanup evas_engine header file

Summary: With the evas drm engine refactor, a lot of these fields in
the Outbuf structure are unused so remove them. This also removes
unused private function declarations.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas-drm: Cleanup Engine Info structure
Chris Michael [Wed, 8 Apr 2015 17:56:15 +0000 (13:56 -0400)]
evas-drm: Cleanup Engine Info structure

Summary: A few of these engine fields are no longer needed or were
unused in the Evas Drm engine so remove them.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-evas-drm: Use new Ecore_Drm functions to get properties of the output
Chris Michael [Wed, 8 Apr 2015 17:54:48 +0000 (13:54 -0400)]
ecore-evas-drm: Use new Ecore_Drm functions to get properties of the output

Summary: This makes use of the newly added Ecore_Drm API functions to
get information about the output so we can setup the Evas engine
properly

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Change @since 1.15 to @since 1.14 for newly added APIs
Chris Michael [Wed, 8 Apr 2015 17:52:46 +0000 (13:52 -0400)]
ecore-drm: Change @since 1.15 to @since 1.14 for newly added APIs

Summary: As requested by stefan, change newly added APIs to be @since
1.15

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Modify device pageflip function to accept ecore_drm_fb callbacks
Chris Michael [Wed, 8 Apr 2015 17:50:50 +0000 (13:50 -0400)]
ecore-drm: Modify device pageflip function to accept ecore_drm_fb callbacks

Summary: This modifies the ecore_drm_device pageflip function to make
use of the ecore_drm_fb callbacks passed into the ecore_drm_fb_send
function

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add private structure used during pageflip calls
Chris Michael [Wed, 8 Apr 2015 17:41:57 +0000 (13:41 -0400)]
ecore-drm: Add private structure used during pageflip calls

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add 2 new API functions for setting and sending framebuffers
Chris Michael [Wed, 8 Apr 2015 17:41:35 +0000 (13:41 -0400)]
ecore-drm: Add 2 new API functions for setting and sending framebuffers

Summary: This adds 2 new API functions we can use from within the evas
drm engine to set framebuffers as current, and to call a pageflip on
given buffers.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add an API function to return the connector id of an output
Chris Michael [Wed, 8 Apr 2015 15:01:52 +0000 (11:01 -0400)]
ecore-drm: Add an API function to return the connector id of an output

Summary: This adds an API function to return the connector id of a
given output.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Whitespace removal
Chris Michael [Wed, 8 Apr 2015 15:00:10 +0000 (11:00 -0400)]
ecore-drm: Whitespace removal

Summary: No functional changes, just removing whitespace

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add API function to return an output's crtc id
Chris Michael [Wed, 8 Apr 2015 14:59:35 +0000 (10:59 -0400)]
ecore-drm: Add API function to return an output's crtc id

Summary: This adds an API function to return the crtc id of an output

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add API function to return an output crtc buffer id
Chris Michael [Wed, 8 Apr 2015 14:49:46 +0000 (10:49 -0400)]
ecore-drm: Add API function to return an output crtc buffer id

Summary: This adds an API function to return an output's crtc buffer id

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add API function to find an output at given coordinates
Chris Michael [Wed, 8 Apr 2015 14:41:26 +0000 (10:41 -0400)]
ecore-drm: Add API function to find an output at given coordinates

Summary: This commit adds an API function that can be used to find an
output given an x/y coordinate pair.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Move doxygen documentation to main Ecore_Drm header
Chris Michael [Wed, 8 Apr 2015 14:29:29 +0000 (10:29 -0400)]
ecore-drm: Move doxygen documentation to main Ecore_Drm header

Summary: This moves all doxygen to the main Ecore_Drm header to match
rest of efl.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Remove unused API function that should not have been committed
Chris Michael [Wed, 8 Apr 2015 14:20:07 +0000 (10:20 -0400)]
ecore-drm: Remove unused API function that should not have been committed

Summary: This API was added in the header while testing a theory, and
should not have been committed.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Move drm headers to Ecore_Drm
Chris Michael [Tue, 7 Apr 2015 19:18:30 +0000 (15:18 -0400)]
ecore-drm: Move drm headers to Ecore_Drm

Summary: Since we only create one drm context in the drm_device
structure now, we need the drm headers to be included in Ecore_Drm.h

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Create drmEventContext Once during device open
Chris Michael [Tue, 7 Apr 2015 18:30:43 +0000 (14:30 -0400)]
ecore-drm: Create drmEventContext Once during device open

Summary: This changes allows us to reuse the same drmEventContext once
so that when we get drm events, we are not constantly recreating the
drmEventContext.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Skip repaints if we are VT switched away
Chris Michael [Tue, 7 Apr 2015 18:24:46 +0000 (14:24 -0400)]
ecore-drm: Skip repaints if we are VT switched away

Summary: This allows us to skip output rendering if we are VT switched
away.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Update device active state on VT switch and use new output_disable function
Chris Michael [Tue, 7 Apr 2015 18:22:59 +0000 (14:22 -0400)]
ecore-drm: Update device active state on VT switch and use new output_disable function

Summary: This marks an Ecore_Drm_Device as active or not when we VT
switch. We do this so we can skip rendering if we are not active.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add API function to disable an output
Chris Michael [Tue, 7 Apr 2015 18:21:30 +0000 (14:21 -0400)]
ecore-drm: Add API function to disable an output

Summary: This adds a new API function we can call to disable an Ecore_Drm_Output

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-evas-drm: Setup Ecore_Drm_Device for software rendering
Chris Michael [Tue, 7 Apr 2015 18:10:41 +0000 (14:10 -0400)]
ecore-evas-drm: Setup Ecore_Drm_Device for software rendering

Summary: If we are using the software version of ecore_evas_drm, then
make API call to setup the Ecore_Drm_Device for software rendering.
This creates the dumb buffers on the Ecore_Drm_Device.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Update drm device & output code to remove per-output dumb buffers
Chris Michael [Tue, 7 Apr 2015 18:07:12 +0000 (14:07 -0400)]
ecore-drm: Update drm device & output code to remove per-output dumb buffers

Summary: Since we now create the dumb buffers in the ecore_drm_device
structure, we don't need them on a per-output basis. This commit fixes
the output & device code to adjust to this.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add API to setup the drm device for software rendering
Chris Michael [Tue, 7 Apr 2015 18:06:07 +0000 (14:06 -0400)]
ecore-drm: Add API to setup the drm device for software rendering

Summary: This adds an API we can call from ecore_evas to setup the
device for software rendering which will cause dumb buffers to be
created in the Ecore_Drm_Device structure.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Remove per-output framebuffers
Chris Michael [Tue, 7 Apr 2015 18:05:10 +0000 (14:05 -0400)]
ecore-drm: Remove per-output framebuffers

Summary: No real need for each output to have its own framebuffers as
we can just create dumb buffers in the drm device structure

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Fix issue of outputs_geometry_get not skipping cloned outputs
Chris Michael [Tue, 7 Apr 2015 17:10:35 +0000 (13:10 -0400)]
ecore-drm: Fix issue of outputs_geometry_get not skipping cloned outputs

Summary: When we make the call to outputs_geometry_get, we should NOT
include cloned outputs in the final size.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Delay destroy of output if there is a pending flip
Chris Michael [Tue, 7 Apr 2015 17:03:28 +0000 (13:03 -0400)]
ecore-drm: Delay destroy of output if there is a pending flip

Summary: If an output has a pending page flip, we cannot destroy it
until the page flip has completed. This commit adds support to delay
destroying an output until the page flip is completed.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas-drm: Use ecore_drm_fb_dirty function to mark framebuffer as dirty
Chris Michael [Tue, 7 Apr 2015 16:41:43 +0000 (12:41 -0400)]
evas-drm: Use ecore_drm_fb_dirty function to mark framebuffer as dirty

Summary: This removes an internal evas drm engine function and instead
uses the new ecore_drm_fb_dirty function call to mark the framebuffer
as dirty

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add API function to mark a Framebuffer as dirty
Chris Michael [Tue, 7 Apr 2015 16:41:07 +0000 (12:41 -0400)]
ecore-drm: Add API function to mark a Framebuffer as dirty

Summary: This adds an API function used to mark a framebuffer as dirty

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add API function to set output gamma
Chris Michael [Tue, 7 Apr 2015 16:24:07 +0000 (12:24 -0400)]
ecore-drm: Add API function to set output gamma

Summary: This commit adds new API for setting gamma of an Ecore_Drm_Output

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Improve drm output creation, mode detection, and cloning support
Chris Michael [Tue, 7 Apr 2015 16:13:32 +0000 (12:13 -0400)]
ecore-drm: Improve drm output creation, mode detection, and cloning support

Summary: This refactors the output creation code to support better
mode detection, cloning of hotplugged outputs, and initial support for
setting of output gamma (API to follow)

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add support for DPMS on an output
Chris Michael [Tue, 7 Apr 2015 15:41:21 +0000 (11:41 -0400)]
ecore-drm: Add support for DPMS on an output

Summary: This commit adds support for setting DPMS level of an output.
This adds a new API function 'ecore_drm_output_dpms_set' to set the
level.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoEvas image: Return proper path even with mmap
Jean-Philippe Andre [Fri, 10 Apr 2015 07:18:54 +0000 (16:18 +0900)]
Evas image: Return proper path even with mmap

Since we're using a union (u.{f,file} we can't just
return u.file when the file was set as an mmap source.

@fix

9 years agoEvas GL: Add missing dlopen for GLX 1.x version
Dongyeon Kim [Fri, 10 Apr 2015 07:13:31 +0000 (16:13 +0900)]
Evas GL: Add missing dlopen for GLX 1.x version

Summary:
For GLX backend, we should dlopen libGL.so*
@fix

Test Plan: Evas GL 1.x test cases

Reviewers: cedric, jpeg

Reviewed By: jpeg

Subscribers: mythri, mer.kim, wonsik, cedric

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

9 years agoEvas GL: remove direct surfaces hash
Dongyeon Kim [Fri, 10 Apr 2015 07:13:22 +0000 (16:13 +0900)]
Evas GL: remove direct surfaces hash

Summary:
Evas GL surface buffers are allocated at make current time now
rather than surface creation time, and since we pass evas gl surface handle
to the backend, we do not need direct surfaces hash anymore.

Test Plan: elementary test and evas gl test cases

Reviewers: cedric, jpeg

Reviewed By: jpeg

Subscribers: cedric, mythri, mer.kim, wonsik

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

9 years agoEvas GL: reset current surface to NULL when it is destroyed
Dongyeon Kim [Fri, 10 Apr 2015 07:13:04 +0000 (16:13 +0900)]
Evas GL: reset current surface to NULL when it is destroyed

Summary:
Hopefully this will fix some of the multiple windows issues for elm glview but not all.
@fix

Test Plan: elementary glview tests

Reviewers: cedric, jpeg

Reviewed By: jpeg

Subscribers: cedric

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

9 years ago[evas/evas_3D] Uninitialized component of vector gl_FragColor in shadow_map shader
Oleksandr Shcherbina [Fri, 10 Apr 2015 05:26:55 +0000 (14:26 +0900)]
[evas/evas_3D] Uninitialized component of vector gl_FragColor in shadow_map shader

Summary:
@fix
During execution example evas-3d-obj, part of 3D objects showed with red ripple.
The reason is not completely initialize component vector gl_FragColor

Reviewers: cedric, Hermet

Reviewed By: Hermet

Subscribers: cedric

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

9 years ago[evas/evas_3D] Some fixes in evas-3d-shadows example
Oleksandr Shcherbina [Fri, 10 Apr 2015 05:20:34 +0000 (14:20 +0900)]
[evas/evas_3D] Some fixes in evas-3d-shadows example

Summary:
Regard to this https://phab.enlightenment.org/D2250 improve view of 3D objects
Improve bug with incorect changing shade mode for billboard

Reviewers: Hermet, cedric

Subscribers: cedric

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

9 years agoDelete whitespaces for header and eo files
woochan lee [Fri, 10 Apr 2015 05:13:11 +0000 (14:13 +0900)]
Delete whitespaces for header and eo files

Summary: Fix whitespaces, indentation, wrap in eina headers.

Reviewers: cedric, jeffrey.w.grimshaw, Hermet

Reviewed By: Hermet

Subscribers: cedric

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

Conflicts:

src/lib/eina/eina_thread_queue.h

9 years agoDelete whitespaces, fix indentation in header, eo files
woochan lee [Fri, 10 Apr 2015 05:01:08 +0000 (14:01 +0900)]
Delete whitespaces, fix indentation in header, eo files

Summary: Delete whitespaces, fix indentation in header, eo files

Reviewers: cedric, raster, Hermet

Subscribers: cedric

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

9 years agoeina: Add NULL check for eina_threadqueue_free
Jean-Philippe Andre [Fri, 10 Apr 2015 01:49:02 +0000 (10:49 +0900)]
eina: Add NULL check for eina_threadqueue_free

@fix

9 years agoEvas: Fix use of uninitialized values
Jean-Philippe Andre [Fri, 10 Apr 2015 01:49:39 +0000 (10:49 +0900)]
Evas: Fix use of uninitialized values

Not a meaningful issue, but let's make Coverity happy.
Fixes:
 - CID 1293522
 - CID 1293521

9 years agoeio-model: Fix Eio model races in tests
Felipe Magno de Almeida [Fri, 10 Apr 2015 01:46:24 +0000 (22:46 -0300)]
eio-model: Fix Eio model races in tests

Removed sleep and implemented a deterministic way to test if the test has really finished.

9 years agoefreetd: temporarily blacklist saving and monitoring root directory
Mike Blumenkrantz [Fri, 10 Apr 2015 00:08:17 +0000 (20:08 -0400)]
efreetd: temporarily blacklist saving and monitoring root directory

ref T2280

9 years agoecore-file: use hash for finding monitors
Mike Blumenkrantz [Thu, 9 Apr 2015 23:52:08 +0000 (19:52 -0400)]
ecore-file: use hash for finding monitors

this should hugely improve the speed of file monitor event processing;
in my test case, 800,000+ monitors were present and the application was
entirely unable to process them

9 years agoEctor: clean up makefile a bit.
Tom Hacohen [Thu, 9 Apr 2015 22:11:18 +0000 (23:11 +0100)]
Ector: clean up makefile a bit.

9 years agoeio model: Removed non-existent emodel.la library linking
Felipe Magno de Almeida [Thu, 9 Apr 2015 20:43:05 +0000 (17:43 -0300)]
eio model: Removed non-existent emodel.la library linking

The library emodel.la doesn't exist. Emodel is now efl model interface. No need to link to it.

9 years agoevas-3d: Fix example compilation of evas_3d_blending
Felipe Magno de Almeida [Thu, 9 Apr 2015 20:41:34 +0000 (17:41 -0300)]
evas-3d: Fix example compilation of evas_3d_blending

9 years agoemile: Fix eina examples compilation when using a different build directory
Felipe Magno de Almeida [Thu, 9 Apr 2015 20:25:20 +0000 (17:25 -0300)]
emile: Fix eina examples compilation when using a different build directory

The Makefile.am added only include dirs for top_builddir. Added for top_srcdir as well so it can find the headers.

9 years agoecore-drm: Fix output_geometry_get function
Chris Michael [Tue, 7 Apr 2015 16:32:15 +0000 (12:32 -0400)]
ecore-drm: Fix output_geometry_get function

Summary: This fixes an issue where heights of all outputs would get
added, thus causing the ecore_evas to be created at the wrong size.
Now, the height will be whichever output is larger.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Remove debug line from launcher
Chris Michael [Tue, 7 Apr 2015 16:31:25 +0000 (12:31 -0400)]
ecore-drm: Remove debug line from launcher

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Set mode flag for preferred if this is the preferred mode
Chris Michael [Tue, 7 Apr 2015 16:26:19 +0000 (12:26 -0400)]
ecore-drm: Set mode flag for preferred if this is the preferred mode

Summary: This fixes a minor oversight in ecore_drm_output_mode_add
which was not setting the mode->flag to preferred if this is a
preferred mode.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Send ECORE_DRM_EVENT_OUTPUT on unplug also
Chris Michael [Tue, 7 Apr 2015 15:50:35 +0000 (11:50 -0400)]
ecore-drm: Send ECORE_DRM_EVENT_OUTPUT on unplug also

Summary: If we unplug an output, we should still be sending this event
so that the compositor can remove any unplugged outputs

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Better output name format
Chris Michael [Tue, 7 Apr 2015 15:26:06 +0000 (11:26 -0400)]
ecore-drm: Better output name format

Summary: Make output names match format reported from kernel

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Fix formatting
Chris Michael [Tue, 7 Apr 2015 15:24:17 +0000 (11:24 -0400)]
ecore-drm: Fix formatting

Summary: NO functional changes, just formatting

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Fix issue with edid_parse_string truncating strings
Chris Michael [Tue, 7 Apr 2015 15:22:54 +0000 (11:22 -0400)]
ecore-drm: Fix issue with edid_parse_string truncating strings

Summary: We should only truncate the string if it's greater than 4

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add more connector types
Chris Michael [Tue, 7 Apr 2015 15:22:12 +0000 (11:22 -0400)]
ecore-drm: Add more connector types

Summary: libdrm has support for Virtual and DSI connector types, so
add those to the connector types

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Fix formatting
Chris Michael [Tue, 7 Apr 2015 15:18:18 +0000 (11:18 -0400)]
ecore-drm: Fix formatting

Summary: NO functional changes, just formatting.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Move Eeze Udev Watch to Drm Device
Chris Michael [Tue, 7 Apr 2015 15:08:19 +0000 (11:08 -0400)]
ecore-drm: Move Eeze Udev Watch to Drm Device

Summary: Move the Eeze udev watch to inside the ecore_drm_device. This
allows us to only create One watch to catch all output changes. No
need for more than one watch (one per output) as was done previously

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas-drm: Use Ecore_Drm_Fb for framebuffers
Chris Michael [Tue, 7 Apr 2015 14:51:13 +0000 (10:51 -0400)]
evas-drm: Use Ecore_Drm_Fb for framebuffers

Summary: This commit changes the evas drm engine to use Ecore_Drm_Fb
for framebuffers. We remove the old 'Buffer' structure from the evas
engine and replace it in Outbuf with Ecore_Drm_Fb. This also removes
unused functions from the evas_drm.c file as we can now use
ecore_drm_fb calls

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add width & height to Ecore_Drm_Fb structure
Chris Michael [Tue, 7 Apr 2015 14:49:45 +0000 (10:49 -0400)]
ecore-drm: Add width & height to Ecore_Drm_Fb structure

Summary: This adds a w & h field to the Ecore_Drm_Fb structure so it
can be used from within the Evas engine

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas-drm: Remove evas_bufmgr.c from the Evas Drm engine
Chris Michael [Tue, 7 Apr 2015 14:48:11 +0000 (10:48 -0400)]
evas-drm: Remove evas_bufmgr.c from the Evas Drm engine

Summary: This file is not needed for the software drm engine. This was
added (initially) for combining the drm software & hardware engines
into one. As that is not the case, this file is unused.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Create all framebuffers using XRGB8888 by default
Chris Michael [Tue, 7 Apr 2015 14:23:41 +0000 (10:23 -0400)]
ecore-drm: Create all framebuffers using XRGB8888 by default

Summary: By default, we should be creating dumb buffers using XRGB8888
that way it does not matter if we have an alpha channel or not in the
buffer.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoefl interfaces: Fix conditional for generation for pkgconfig for C++
Felipe Magno de Almeida [Thu, 9 Apr 2015 14:16:51 +0000 (11:16 -0300)]
efl interfaces: Fix conditional for generation for pkgconfig for C++

Do not generate efl-cxx.pc when C++ is disabled.

9 years agoeian threadqueue - be clearer on the message struct/format limitations
Carsten Haitzler (Rasterman) [Thu, 9 Apr 2015 08:21:25 +0000 (17:21 +0900)]
eian threadqueue - be clearer on the message struct/format limitations

this makes the send func docs also be clear on the
Eina_Thread_Queue_Msg limitations like the wait func

9 years agoedje_cc - handle image sets that are empty by skipping them
Carsten Haitzler (Rasterman) [Thu, 9 Apr 2015 04:33:41 +0000 (13:33 +0900)]
edje_cc - handle image sets that are empty by skipping them

this fixes an edje_cc crash on compile for "invalid" edc that has
empty image sets.

9 years agoeina_matrix: Add since tags to all new functions in 1.14
Stefan Schmidt [Wed, 8 Apr 2015 12:36:17 +0000 (14:36 +0200)]
eina_matrix: Add since tags to all new functions in 1.14

9 years agoeina_quad: Add since tags for new eina_quad*()
Stefan Schmidt [Wed, 8 Apr 2015 12:20:27 +0000 (14:20 +0200)]
eina_quad: Add since tags for new eina_quad*()

This needs documentation for the new functions.

9 years agoeina: eina_unicode_utf8_next_get should return 0
Jaeun Choi [Wed, 8 Apr 2015 12:29:13 +0000 (21:29 +0900)]
eina: eina_unicode_utf8_next_get should return 0
when one of the parameters is NULL to avoid null pointer access.
it also corresponds to the description in doc.

@fix

9 years agoeina: Add since tag for new eina_simple_xml_attribute_w3c_parse()
Stefan Schmidt [Wed, 8 Apr 2015 12:13:57 +0000 (14:13 +0200)]
eina: Add since tag for new eina_simple_xml_attribute_w3c_parse()

9 years agoeina: Add since tag for new eina_list_data_idx()
Stefan Schmidt [Wed, 8 Apr 2015 12:11:44 +0000 (14:11 +0200)]
eina: Add since tag for new eina_list_data_idx()

Also fix some whitespaces while being there.

9 years agoedje: Add since tag for new edje_file_iterator_new()
Stefan Schmidt [Wed, 8 Apr 2015 12:06:42 +0000 (14:06 +0200)]
edje: Add since tag for new edje_file_iterator_new()

9 years agoedje: Add since tag for new edje_mmap_color_class_iterator_new()
Stefan Schmidt [Wed, 8 Apr 2015 12:06:30 +0000 (14:06 +0200)]
edje: Add since tag for new edje_mmap_color_class_iterator_new()

9 years agoedje: Add since for new edje_color_class_active_iterator_new()
Stefan Schmidt [Wed, 8 Apr 2015 12:03:26 +0000 (14:03 +0200)]
edje: Add since for new edje_color_class_active_iterator_new()

9 years agoEvas masking: Avoid potential crashes (SW)
Jean-Philippe Andre [Wed, 8 Apr 2015 08:21:42 +0000 (17:21 +0900)]
Evas masking: Avoid potential crashes (SW)

Make sure not to sample the mask image outside its boundaries.
This is a series of last resort checks. I can not reproduce the
crashes but know they have happened.

I used EINA_UNLIKELY more for clarity than for compiler optimizations.

9 years agoecore_main.c: Refactor purely duplicate ecore_main_fd_handler_file_add()
Conrad Meyer [Wed, 8 Apr 2015 03:06:58 +0000 (12:06 +0900)]
ecore_main.c: Refactor purely duplicate ecore_main_fd_handler_file_add()

Summary:
... to simply invoke `_ecore_main_fd_handler_add()`. The only difference appears to be the former sets `->file` to `EINA_TRUE`. So, we add that as a parameter.

You can consider this patch, and any other contributions I make to enlightenment, to be under the terms of whatever open source license governs that particular project, or at your option, the MIT license. Basically, if I'm uploading patches here, it's because I want them to be useful.

Test Plan: Should be pretty straightforward. I am in the process of doing a compile check.

Reviewers: #efl

Projects: #efl

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

9 years agoEvas GL: Add missed GLES 3.0 functions in evgl_load_gles3_api.
mythri.venugopal [Wed, 8 Apr 2015 06:14:43 +0000 (15:14 +0900)]
Evas GL: Add missed GLES 3.0 functions in evgl_load_gles3_api.

Reviewers: wonsik, spacegrapher, jpeg

Subscribers: cedric

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

9 years agoEdje: Remove excessive casts and use type Edje_Object
Conrad Meyer [Wed, 8 Apr 2015 05:34:46 +0000 (14:34 +0900)]
Edje: Remove excessive casts and use type Edje_Object

Use type Edje_Object instead of Eo in legacy EAPI's.

Spotted in TAsn's ABI report, under "Problems with Symbols".
I believe this will actually add two changes (Eo -> Edje_Object),
but I like the typing better ;)

9 years agoEvas GL: Add @since 1.14 flags to Evas_Native_Surface
Conrad Meyer [Wed, 8 Apr 2015 03:31:06 +0000 (12:31 +0900)]
Evas GL: Add @since 1.14 flags to Evas_Native_Surface

And enum

9 years agoEcore IMF: Add @since tags to new fields
Conrad Meyer [Wed, 8 Apr 2015 03:28:34 +0000 (12:28 +0900)]
Ecore IMF: Add @since tags to new fields

9 years agoecore_cocoa: fix scrollwheel behavior
pierre lamot [Thu, 2 Apr 2015 13:44:45 +0000 (15:44 +0200)]
ecore_cocoa: fix scrollwheel behavior

  - prioritize vertical scroll over horizontal
  - set amount to either -1 or 1, since EFL doesn't handle other value properly
  - fix wheel bouncing with some devices (X:0,Y:0 scrolling events)

  @fix

9 years agoAUTHORS: update
pierre lamot [Tue, 17 Mar 2015 10:27:37 +0000 (11:27 +0100)]
AUTHORS: update

9 years agoEctor: Ship missing headers.
Tom Hacohen [Tue, 7 Apr 2015 14:56:35 +0000 (15:56 +0100)]
Ector: Ship missing headers.

These headers are being included from public headers (Ector.h),
so they need to be available.

That's what happens when you push in code that's not actually used
by anyone.

@fix

9 years agoevas common: make logic same to c code version.
ChunEon Park [Tue, 7 Apr 2015 14:06:43 +0000 (23:06 +0900)]
evas common: make logic same to c code version.

As C version,
It increase alpha value by 1 to avoid loosing of the remains while it divides
values. Neon version does same technique to make same results.

9 years agoevas common: NEON version of evas_common_convert_argb_premul.
ChunEon Park [Tue, 7 Apr 2015 14:02:15 +0000 (23:02 +0900)]
evas common: NEON version of evas_common_convert_argb_premul.

This patch reduces power consumption by around 18mA in certain scenarios
(music player list scroll, my files sound list scroll), making
evas_common_convert_argb_premul() ~60% faster (6.2msec->2.6msec).

Take music-player application, make 100 copies of the standard
Over the Horizon” song, scroll up and down to see those
downscaled-from-720x720 thumbnails enter and leave the screen.
Every time a list item enters the screen, the image is re-read
(as evas image cache is not large enough to store more than two
pictures of that size), and one call of _common_convert_argb_premul()
occurs, taking ~6.2msec (which is not much compared to ~60msec
spent in libpng->libz (the biggest bottleneck here),
but still noticeable).

A similar power consumption improvement is observed during
scrolling sounds list of the same files in My Files application
(just with idle level ~100mA lower).

We also checked the new code to be correct on random input data.

all tests are performed based on tizen device.

Signed-Off-By: Artem Dergachev <dergachev.a@samsung.com>
9 years agorelease: Update NEWS and bump version for 1.14.0-alpha1 release v1.14.0-alpha1
Stefan Schmidt [Tue, 7 Apr 2015 11:50:38 +0000 (13:50 +0200)]
release: Update NEWS and bump version for 1.14.0-alpha1 release

9 years agoecore_con: Make sure the server.key and pem are distributed in the tarball
Stefan Schmidt [Tue, 7 Apr 2015 11:17:25 +0000 (13:17 +0200)]
ecore_con: Make sure the server.key and pem are distributed in the tarball

Pull them out of the if EFL_ENABLE_TESTS test as we need them to be put into
the tarball in all cases.

9 years agoevas: make all of Evas_Object_VG API part of BETA
Cedric BAIL [Tue, 7 Apr 2015 11:06:59 +0000 (13:06 +0200)]
evas: make all of Evas_Object_VG API part of BETA

As JP pointed out there is no point of having an API if the only way to use
it is through a BETA API.

9 years agoecore_evas_convert: Implement hacky solution for Ctrl+C
Jean-Philippe Andre [Tue, 7 Apr 2015 07:48:49 +0000 (16:48 +0900)]
ecore_evas_convert: Implement hacky solution for Ctrl+C

Problem: evas_object_image_save() can't be interrupted.
But, with ETC1/ETC2 encoding, it might be terribly long and
the user has no way to cancel encoding (except SIGKILL).

The proper solution would be to tell evas that the save
operation has been cancelled. And run that in a thread,
in a non-blocking way. I guess Efl.File.async could be
used for that, which means maybe also introduce
Efl.File.async_cancel? This will have to wait for
EFL 1.15 I'm afraid.

Note: edje_cc still can't be cancelled during ETC encoding.

9 years agoEmile image: Fix TGV (ETC1,2) loader
Jean-Philippe Andre [Tue, 7 Apr 2015 05:40:00 +0000 (14:40 +0900)]
Emile image: Fix TGV (ETC1,2) loader

The error was not reset to NONE even in case of success.

9 years agoEvas: Fix build for cserve2
Jean-Philippe Andre [Tue, 7 Apr 2015 04:49:48 +0000 (13:49 +0900)]
Evas: Fix build for cserve2

This should fix a strange build error for gentoo, reported by Branko.
Dunno why it didn't fail with the default flags.

9 years agoEvas gl_x11: Fix runtime switching of GL window configurations
Jean-Philippe Andre [Mon, 6 Apr 2015 12:57:32 +0000 (21:57 +0900)]
Evas gl_x11: Fix runtime switching of GL window configurations

Test case:
- Elementary Test
-- GLView
--- Direct rendering

Direct rendering would never happen in reality, because Evas GL
had to fallback. The reason being that DR requires the window
to have a depth buffer, but this depth buffer was no present
in the default config.

From elm, the solution is to set a special accel_preference,
for instance "gl:depth". But setting this value right before
calling elm_win_add() for the GLView test was already too late.
Indeed, evas_x would keep the default configurations and reuse
them no matter what was requested (ie. only RGB and RGBA would
work).

Solution:
Implement a slightly more complex cache based on a hash map instead
of just two static variables. Always request a new config if it's
not found in the current hash. Store that config, and reuse it for
the same config requests.

Tons of line changes because of the name changes and the whitespace
adjustments. Also some variables disappeared into the magic hash table.

9 years agoeetpack: Fix shadow variable warning
Jean-Philippe Andre [Mon, 6 Apr 2015 13:12:24 +0000 (22:12 +0900)]
eetpack: Fix shadow variable warning

9 years agoedje: allow empty part.desc.inherit; statements to autoinherit default desc
Mike Blumenkrantz [Tue, 7 Apr 2015 00:42:47 +0000 (20:42 -0400)]
edje: allow empty part.desc.inherit; statements to autoinherit default desc

typing inherit: "default"; constantly is annoying and unnecessary.

@feature

9 years agoedje: add part.desc.rel.{to,to_x,to_y} keywords
Mike Blumenkrantz [Tue, 7 Apr 2015 00:24:19 +0000 (20:24 -0400)]
edje: add part.desc.rel.{to,to_x,to_y} keywords

it was annoying to have to type two lines for setting parts relative to
each other, so now only one is needed

@feature

9 years agoevas-3d: blending example uses spheres from primitives
Bogdan Devichev [Tue, 7 Apr 2015 00:17:23 +0000 (09:17 +0900)]
evas-3d: blending example uses spheres from primitives

Reviewers: Hermet, raster, cedric

Subscribers: cedric

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

9 years agoevas-3d: fog example uses spheres from primitives
Bogdan Devichev [Tue, 7 Apr 2015 00:14:41 +0000 (09:14 +0900)]
evas-3d: fog example uses spheres from primitives

Reviewers: Hermet, raster, cedric

Subscribers: cedric

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

9 years agoedje: fix edje_mmap_color_class_iterator_new() iterator
Mike Blumenkrantz [Mon, 6 Apr 2015 19:11:06 +0000 (15:11 -0400)]
edje: fix edje_mmap_color_class_iterator_new() iterator

not actually the same iterator as a certain frenchman originally wrote

 #cedric

9 years agoedje: remove recalc when unswallowing objects
Mike Blumenkrantz [Mon, 6 Apr 2015 16:56:58 +0000 (12:56 -0400)]
edje: remove recalc when unswallowing objects

I can't test this as thoroughly as I'd like due to ref T2272, but
it appears that this calc was also unnecessary

9 years agoedje: add color_class.desc lazedc synonym
Mike Blumenkrantz [Mon, 6 Apr 2015 15:51:54 +0000 (11:51 -0400)]
edje: add color_class.desc lazedc synonym

I hate typing.