Commit Graph

694 Commits

Author SHA1 Message Date
Christopher Michael 426b5518b6 Ecore_Evas (wayland): Don't return if we failed to get the frame smart
data. We can still set the shell surface title.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 78053
2012-10-16 11:57:16 +00:00
Christopher Michael a8f58dc90d Ecore_Evas (Wayland): Do not set the Smart_Data Frame rectangle as the
"frame object". The resulting smart object is set to the frame object.
Add the Smart_Data Frame Text to be part of the Smart Object.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 78048
2012-10-16 11:56:57 +00:00
Carsten Haitzler 6912aba9db remove 8bpp evas engine support from e3core-evas as its now gone from
evas.



SVN revision: 78027
2012-10-16 02:54:05 +00:00
Carsten Haitzler a2a51a28fa since mask is not being used by sw engine in alpha mode - dont make
one (even for input event mask).



SVN revision: 77999
2012-10-15 13:04:47 +00:00
Carsten Haitzler 890e35cb11 16bpp ecore-evas support gone now its gone in evas.
SVN revision: 77998
2012-10-15 13:02:39 +00:00
Eduardo Lima (Etrunko) 8a014153d4 Wayland_SHM: Add listener to frame callback
This is the method necessary to synchronize Wayland and Evas rendering, similar
to vblank sync that is used in X11. This solves the Wayland SHM render issues
(tearing effect) without the need to add double buffering to the engine.

In a near future, the SHM implementation will feature double (or triple)
buffering and this syncrhonization mechanism will be changed to be optional.

Patch based on the work started by Robert Bradford on ticket #1280
http://trac.enlightenment.org/e/ticket/1280

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 77580
2012-10-08 14:22:17 +00:00
Eduardo Lima (Etrunko) 352926829e Ecore_Evas: Share code between SHM and EGL
implementations

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 77579
2012-10-08 14:09:53 +00:00
Eduardo Lima (Etrunko) c76d15436b Wayland_SHM: Remove unecessary initialization
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 77375
2012-10-03 16:30:45 +00:00
Eduardo Lima (Etrunko) 4c750dfd37 Ecore_Evas: Cleanup unused function prototypes
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 77374
2012-10-03 16:30:37 +00:00
Eduardo Lima (Etrunko) 536114dd46 Ecore_Evas: Fix Wayland engine includes
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 77373
2012-10-03 16:30:28 +00:00
Carsten Haitzler 0f1366f323 oops use micro not minor
SVN revision: 77131
2012-09-27 07:13:15 +00:00
Carsten Haitzler 234a81b897 actualyl do option this way.
SVN revision: 77130
2012-09-27 07:00:28 +00:00
Carsten Haitzler 4645656f38 support new swap mode field.
SVN revision: 77129
2012-09-27 06:57:16 +00:00
Christopher Michael 1e3f4b329c Ecore_Evas (wayland): Add missing close.
SVN revision: 77100
2012-09-26 19:26:24 +00:00
Christopher Michael a37ddfb283 Ecore_Evas (wayland): Remove goto. (don't need them, don't want them)
;) Also, remove an extra blank line that got in there.



SVN revision: 77099
2012-09-26 19:01:04 +00:00
Eduardo Lima (Etrunko) 1750a5a144 Wayland_SHM: Simplify code for buffer creation
Removed unecessary ensure_pool_size function move the checks to _pool_create.

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 77097
2012-09-26 18:42:47 +00:00
Eduardo Lima (Etrunko) 617b6f62dc Wayland_SHM: new functions for freeing SHM buffer and
pool

_ecore_evas_wl_buffer_free() and _ecore_evas_wl_shm_pool_free() were added,
avoid repeating the same calls everywhere.

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 77096
2012-09-26 18:41:57 +00:00
Patryk Kaczmarek 23676f34fb From: Patryk Kaczmarek <patryk.k@samsung.com>
Subject: Re: [E-devel] [Patch] [Ecore] Patch with NULL checks to some
functions in ecore module

I had prepared patch for some Ecore functions which, in my opinion,
critically need NULL checks. I had tried to keep each file convention.



SVN revision: 76852
2012-09-19 10:39:27 +00:00
Carsten Haitzler 7075120c5d fix rotation issue with ecore-evas
SVN revision: 76596
2012-09-13 10:20:17 +00:00
Carsten Haitzler 853c851dd0 this is an IMPROVEMENT of null checking (so no backport). thanks
shungo kwak. :)



SVN revision: 76099
2012-09-04 02:40:12 +00:00
Carsten Haitzler 76fc983dc9 fmting.
:)



SVN revision: 75954
2012-09-03 06:51:31 +00:00
Jiyoun Park e7d316dbc2 add error check code. service name have to be given.
SVN revision: 75949
2012-09-03 06:09:34 +00:00
Jiyoun Park 59fa846c97 need NULL checks in EAPI function.
patched by Sungho Kwak   sungho.efl@gmail.com


SVN revision: 75946
2012-09-03 05:37:16 +00:00
Christopher Michael 897c5a6e46 Ecore_Evas (wayland_egl): Be sure to call buffer attach after we show
the window so that the allocated size gets updated.



SVN revision: 75828
2012-08-29 13:04:43 +00:00
Cedric BAIL e629c76ecd ecore: fix leak of evas_render_update list.
SVN revision: 75807
2012-08-29 05:18:27 +00:00
Carsten Haitzler 4800e571da fix segv with extn ee list gettign null extn2's :)
SVN revision: 75536
2012-08-22 10:14:08 +00:00
Mike Blumenkrantz 0d11049877 fix crashing in ecore_evas when x/y/w/h is not passed to screen_geometry_get
SVN revision: 75522
2012-08-22 08:27:06 +00:00
Christopher Michael f15bebd406 Ecore_Evas: Default the wayland engines to actually draw the "simple"
frame if the option has not been specified. This means that if we want
a more complex frame (think elm windows), then we need to set this
flag to 0.



SVN revision: 75498
2012-08-21 10:33:15 +00:00
Carsten Haitzler 764c68a330 use e17 zone property first before using randr to find screen - more
correct.



SVN revision: 75491
2012-08-21 08:06:53 +00:00
Christopher Michael be452d83c9 Ecore_Evas (wayland): Do not allow windows to be resized below their
desired min/max properties. Fixes ticket #1244



SVN revision: 75308
2012-08-16 08:03:20 +00:00
Christopher Michael fb2819c4fd Ecore_Evas (wayland_shm): Fix toggling alpha and transparent state on and off.
When we are using alpha, we need to create the buffer using ARGB so we
will destroy the old buffer and recreate with the new alpha format
because currently all windows are created using XRGB8888 by default.



SVN revision: 75307
2012-08-16 07:29:37 +00:00
Christopher Michael 1e3e3a3985 Ecore_Evas (wayland_egl): Add fullscreen support for wayland_egl
engine (same changes as previous fullscreen support for wayland_shm).



SVN revision: 75306
2012-08-16 07:21:38 +00:00
Christopher Michael eb016fe9ad Ecore_Evas (wayland_shm): Fullscreen mode bug fixes
Only take min & max properties into account if the window is not fullscreen. 

Be sure to call update_size before we attach the buffer, as the buffer attach 
code makes use of the allocated size to damage the surface.

Add trapping for fullscreen window in the configure callback. This
(along with coming commits) allows us to actually do fullscreen now :)

During window configure, when we check for maximized, we should check
to be sure it is not fullscreen also before adjusting window size.



SVN revision: 75293
2012-08-15 10:55:35 +00:00
Carsten Haitzler a86dcabd5e avoid potential deadlock if the same canvas has the 2 plugs pointing
to the SAME socket. :) nasteeeeh.



SVN revision: 75234
2012-08-14 06:29:17 +00:00
Carsten Haitzler 61ba84e86d small theoretical oopsie waiting to happen - won't ever, but guar
against it anyway.



SVN revision: 75232
2012-08-14 06:11:32 +00:00
Christopher Michael a5df8468b0 Ecore_Evas (wayland): Fix ecore_evas egl windows to properly resize
from the top when asked too (this is akin to the wayland_shm resize
fix). Also, when we update the ecore_wl_window size, we
should be sure to call the buffer attach function so that server size
allocation can be kept in sync with the window allocation.



SVN revision: 75214
2012-08-13 14:33:05 +00:00
Carsten Haitzler fe00bc661a extend ecore fork infra to handle pipe re-create afetr fork for
ecore-evas.



SVN revision: 75194
2012-08-13 08:52:45 +00:00
Carsten Haitzler c0d4732927 rever part of stefan's coverage patch - not related to the other bits
and yes.. wrong :)



SVN revision: 75158
2012-08-12 02:40:49 +00:00
Mike Blumenkrantz f0fa3b400e simplify unsetting/setting damage flag in ecore evas rendering to avoid altering previously set event mask flags
SVN revision: 75072
2012-08-10 08:45:28 +00:00
Mike Blumenkrantz ef46a62d14 only need to avoid exposures when we're shaped
SVN revision: 75071
2012-08-10 08:41:10 +00:00
Stefan Schmidt 0037cc3f7d ecore: Enable coverage builds for exsisting tests
SVN revision: 75055
2012-08-09 16:19:30 +00:00
Christopher Michael cfe7431256 Ecore_Evas (wayland): When we maximize windows, account for framespace
width and height so the window does not draw outside the output
dimensions. Fixes ticket #1281




SVN revision: 75005
2012-08-08 10:09:49 +00:00
Jiyoun Park 1d1c51d258 using DYNAMIC HINT in ecore extn make problem.
it maybe because of get/set pair or other bug in extn.
until fixing this, I'll block dynamic hint  


SVN revision: 74887
2012-08-05 13:07:28 +00:00
Carsten Haitzler c6b4a6b911 fix ecore-evas to not ignore maximized requests in x11.
SVN revision: 74883
2012-08-05 09:00:08 +00:00
Christopher Michael baa604b736 Ecore_Evas (wayland): Patch from Robert Bradford to fix a small bug in
the ecore_evas fullscreen code.

Previously, fullscreening was only done if the ecore_evas was visible.
This patch allows to specify an ecore_evas be fullscreen before it is
displayed.



SVN revision: 74774
2012-08-02 06:24:47 +00:00
Christopher Michael ac66f47334 Ecore_Evas (wayland): Account for framespace width & height when
resizing the Ecore_Evas.



SVN revision: 74566
2012-07-30 09:53:43 +00:00
Jihoon Kim 00da35f8ba ecore_evas: fix typo in ecore_evas.c
SVN revision: 74527
2012-07-28 09:26:06 +00:00
Jiyoun Park ea0c836338 fix ecore extn not call pre/post render function.
SVN revision: 73786
2012-07-13 06:16:55 +00:00
Rafael Antognolli b771724512 ecore/doc: Better description for ecore_evas_avoid_damage_set().
SVN revision: 73619
2012-07-12 14:55:09 +00:00
Vincent Torri 90d8ad0337 Add comment
SVN revision: 73538
2012-07-10 16:33:06 +00:00