Commit Graph

21991 Commits

Author SHA1 Message Date
Chris Michael dee2262214 Remove hack for changed state.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-01 08:10:54 +01:00
Chris Michael 1c442867c4 Remove duplicated wdata variable.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-01 07:56:25 +01:00
Chris Michael 127bee584d Revert "Fix some formatting."
This reverts commit 809144780e.

Conflicts:

	src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-01 07:46:36 +01:00
Chris Michael 6f6a0951f2 Revert "Check for valid engine resize function before calling it."
This reverts commit 6e0075aa04.

This broke rotation (and some other things).
2013-05-01 07:32:54 +01:00
Chris Michael 9372a1e217 Revert "Reduce duplicated code and comment out region_add sections that are"
This reverts commit 279c5ac28e.

This broke rotation (and some other things).
2013-05-01 07:32:10 +01:00
Rafael Antognolli 1f58a59a61 ecore_evas/wayland: Remove hack for changed state.
Since we don't have a changed state callback on Wayland, just call the
changed_state callback of Ecore_Evas from the configure callback.
There's no need to add the Ecore_Job that will send the event later.

This makes the code cleaner, simpler, and will call the callback when
the configure event is received, which is a good place to check for the
changes.
2013-04-30 16:31:43 -03:00
Rafael Antognolli a9b500370a ecore/wayalnd: Add some getters to ecore_wl_window. 2013-04-30 16:31:35 -03:00
Daniel Juyung Seo f2d550f986 edc.vim: updated more label and constants for multisense. 2013-04-30 23:35:23 +09:00
Carsten Haitzler ab0fdf5916 it is possible with wchart_t to have it signed.. so unicode can be <
0... dont crash.
2013-04-30 23:11:01 +09:00
Chris Michael 809144780e Fix some formatting.
Reduce duplicated code in ecore_evas_wl_resize and just call the
_common_resize function
Fix segfault on elm app closing

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-30 14:55:55 +01:00
Chris Michael b9fa3b3089 We don't need evas_sync on resize here.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-30 14:55:54 +01:00
Chris Michael 6e0075aa04 Check for valid engine resize function before calling it.
In the window_configure callback, reduce duplicated/not needed code.
Account for rotation when getting new size during common_rotation_set.
Reduce duplicated code in ecore_evas_wl_resize function and just call
the _common_resize function (as that already has most of this code).

Fix issue of Segfault on elm app closing:
  - During hide we need to call evas_sync to make sure the async
    render has flushed out everything that is pending.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-30 14:55:54 +01:00
Chris Michael 279c5ac28e Reduce duplicated code and comment out region_add sections that are
not needed.
During buffer_attach, just call window_damage function which already
handles surface_damage & commit.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-30 14:55:54 +01:00
Chris Michael 53f9d6ce8c Check for a valid buffer before we free it (this fixes resize issues
when async_render).

NB: If buffer is still valid, that means compositor is not finished
with it yet, so don't release it.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-30 14:55:54 +01:00
Chris Michael 036454746b Fix update_region to use bpl from the buffer
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-30 14:55:54 +01:00
Daniel Zaoui 2ac4cdce76 Eo: Fix for warning on 64 bits. 2013-04-30 15:41:05 +03:00
ChunEon Park 29ef0f71ba evas - fix the wrong compare. thanks JackDanielZ for spotting it. 2013-04-30 19:51:24 +09:00
Chris Michael c71edd740c Add some initial code to create the Outbuf and to free it.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-30 07:27:20 +01:00
Chris Michael 79b65ab184 Override the output_free engine function.
Add code to cleanup on engine shutdown.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-30 07:23:40 +01:00
Chris Michael 6a369b2a2a If we have an existing outbuf, then free the old one and try to create
a new one.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-30 07:20:52 +01:00
Chris Michael e701a13e86 Add outbuf file to drm build.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-30 07:16:55 +01:00
Chris Michael 021e76aa25 Try to create the Outbuf during initial engine setup.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-30 07:16:33 +01:00
Chris Michael 248c2f8233 Add initial file for Outbuf
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-30 07:12:47 +01:00
Chris Michael a67894a5a7 Add Render_Engine structure
Start on code to setup the output buffer.
Add code to init evas_common functions
Add override for engine setup.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-30 07:10:05 +01:00
Chris Michael b607e66f68 Add Outbuf structure and some function prototypes
NB: These are not finalized yet and may change.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-30 07:10:05 +01:00
Chris Michael 8ef46df20d Add rotation, depth, alpha to the engine info structure.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-30 07:10:05 +01:00
maxerba 84b86d2d89 adding serbian translation 2013-04-29 23:52:16 +02:00
Daniel Willmann 0c0ff01930 ecore_audio test: Change the volume of the output instead of the input
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-29 19:57:16 +01:00
Daniel Willmann 72e65872d5 ecore_audio: Add test to check correct cleanup when removing input
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-29 19:57:16 +01:00
Daniel Willmann 014c6176b3 ecore_audio: Test sndfile/tone format and source methods better
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-29 19:57:16 +01:00
Daniel Willmann ed011b10cc ecore_audio: Test pulseaudio output if it is enabled
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-29 19:57:16 +01:00
Daniel Willmann bafa8f0ae6 ecore_audio: Test VIO unsetting and freeing
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-29 19:57:16 +01:00
Daniel Willmann 108509c3f8 ecore_audio: Remember previous seekable state in vio_set
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-04-29 19:57:16 +01:00
Rafael Antognolli de0d0dce2e evas/smart: Directly access object geometry to improve performance.
There's no need to get the object geometry through
evas_object_geometry_get(), since it is not converted anymore (there's
no offset).
2013-04-29 12:52:50 -03:00
maxerba dbe41f7d56 updating french translation 2013-04-29 17:23:12 +02:00
Rafael Antognolli a1914368a7 evas/framespace: Use more framespace offset on evas events.
The framespace offset must be taken into account when searching the list
of objects which received events, since the objects now have their
original position.
2013-04-29 11:29:43 -03:00
Rafael Antognolli 59c37d1c7b evas/framespace: Add support for framespace offset rendering translation.
Instead of moving the objects by adding the framespace offset to them,
use this offset when rendering them. This way there's no change in the
object's geometry/position, it works correctly with map, and will be
automatically updated in case that the framespace values change (for
instance if one sets a window to borderless).

There are 2 main places where changes were needed:
 - output redraws, when they come from an object being changed, must be
   add the framespace offset to their damaged area;
 - checks to see if the object is inside a given rendering area, must
   also add this offset, since the object is actually being rendered on
   a different position;
2013-04-29 11:29:43 -03:00
Rafael Antognolli 550bc6ca48 evas/framespace: Remove framespace offset from position set/get.
Objects won't be moved by the framespace offset anymore.
2013-04-29 11:29:43 -03:00
Rafael Antognolli 4268bf9961 Revert "evas/map: Consider framespace offset when populating map points."
This reverts commit 3e43ad338d.
2013-04-29 11:29:43 -03:00
ChunEon Park 2e699fbab9 evas - and apply proxy_src_clip only when object and proxy is same in render_mapped 2013-04-29 21:05:33 +09:00
Chris Michael 57052b92e1 Add start of drm engine
NB: Nothing to see here, just basic evas_engine setup.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-29 13:02:00 +01:00
Chris Michael 53fd97fd08 Add missing braces
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-29 12:58:02 +01:00
Chris Michael d3c79b813e Fix engine_info_get function call being in the wrong place.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-29 12:56:08 +01:00
Chris Michael 64a598d053 Add logging macros to drm engine.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-29 12:40:24 +01:00
Chris Michael e8b7fa49ca Add start of Drm Engine header.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-29 12:37:58 +01:00
Chris Michael 54b0a112a4 Add drm engine build infrastructure.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-29 12:35:08 +01:00
Chris Michael da0fd5c671 Add "--enable-drm" for drm engine.
Add evas engine check for drm

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-29 12:34:39 +01:00
Chris Michael 27c593afa9 Add EVAS_CHECK_ENGINE_DEP_DRM to m4
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-29 11:54:26 +01:00
Chris Michael b8c6d19748 When we free the swap buffer, do Not munmap the buffer data.
Buffer data (in this instance) is from the swapper (ie: the creation
of the swapper allocates & mmaps the data). As such, we should not
unmap it when we free buffer(s), just when we free the swapper.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-29 11:32:18 +01:00
Chris Michael 672a2e36e3 Use the width & height from the buffer (actual image size) when
calling evas cache image data.
When we push an updated region, be sure to account for the rectangle
position during the conversion function.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-29 11:32:18 +01:00