Commit Graph

388 Commits

Author SHA1 Message Date
Cedric Bail f2e95b094a evas: take stride into account with swapbuf. 2013-04-23 16:48:50 +09:00
Stefan Schmidt c2da27328b eeze/sensor: Simplify object handling in async paths.
This follows the simplified handling of sensor object we are already
doing for the sync paths. Its a bit more complicated here as we need
to pass all data through the module specific async handling. But the
result should be the same.
2013-04-22 15:58:28 +01:00
Carsten Haitzler 36b1b06a60 note in comments som get visual info from fbconfig stuff to mach
depths. doesn't help though.
2013-04-23 00:06:47 +09:00
ChunEon Park 529e1d3569 evas/evas_gl - cast arguments properly according to the spec of the gles/gl APIs. 2013-04-21 22:31:58 +09:00
Stefan Schmidt 3c167a964b eeze/sensor/tizen: Fix start and stop from sensors during init and shutdown 2013-04-19 10:00:11 +01:00
Stefan Schmidt 27a711b83c eeze/sensor: Simplify sensor object handling.
We rely on the app to provide a sensible object pointer and we now longer
need to have a copy of the object around to operate on it.

Simplifies code, maintenance and reduces mem copies. Win-Win :)
2013-04-19 09:21:12 +01:00
Rafael Antognolli 34d4352055 ecore_evas/wayland: Actually, the frame object should be on LAYER_MIN.
Also set the layer on the wayland_egl backend.
2013-04-18 19:39:46 -03:00
Rafael Antognolli 89960340d7 ecore_evas/wayland: Put the default frame object in a lower layer.
The frame should not stay in the same layer as the other objects. If the
application wants to allow it to be on top of the content, then it must
provide a custom frame object and set it to that layer.

NOTE: Should we make Elementary's be on a lower layer too?
2013-04-18 19:04:07 -03:00
Tom Hacohen 8b6c9449fb Evas engine gl_x11: Fixed signed, unsigned comparison. 2013-04-18 12:42:06 +01:00
Carsten Haitzler e5065da29c fix nvidia texture from pixmap config depth match to be looser to
avoid non-matches.
2013-04-18 20:30:39 +09:00
Carsten Haitzler 6e90a37990 comments for sungwoo when he gets back... 2013-04-18 20:30:39 +09:00
Carsten Haitzler d0f1933923 clean up glx native surface (texture from pixmap code) to be more anal
about matching depth etc.
2013-04-18 17:16:41 +09:00
Carsten Haitzler 7cae29becd fix evas gl_x11 in 16bpp (and similar depths). 2013-04-18 15:17:10 +09:00
Carsten Haitzler 6ccae99bd1 let's fix eeze sensors to not segv on shutdown.. dup registered fake
(udev registered it as fake)... and in the process i found that we
probably double free as sensor is calloced in the module and AGAIN in
eeze sensor core... oh and symbols probably might lak from modules..
so static them up yo.
2013-04-18 00:30:04 +09:00
Stefan Schmidt f58ffeb7be eeze/sensor: Add small udev module to read temperature from sysfs
This module does only provide a temperature sensor. Some pieces
borrowed from the temget code.
2013-04-17 09:09:42 +01:00
Stefan Schmidt 763bdd1618 eeze/sensor: Switch timestamp to relative values coming.
Switch from absolut microseconds since epoch to a monotonic clock with
realtive values. Switch from unsigned long long to double.

This aligns it with how we present time in efl. ecore_time_get is used
when possible. For the tizen modules we convert the the epoch timestamp
we get into a double. This is still a working monotone clock source.

As this will be released the first time with 1.8 we don't have any API
break here.
2013-04-16 13:21:28 +01:00
Igor Murzov 1373f0ba4a Fix incorrect printf format usage 2013-04-16 12:07:36 +04:00
Jiyoun Park ccea9eca41 Evas: fix gif bug related with scale down decode. 2013-04-15 13:45:18 +09:00
Jiyoun Park 8aea52b847 remove tab 2013-04-15 13:25:50 +09:00
Jiyoun Park 5ba104b46e * Evas: fix gif decoding bug related with background color. 2013-04-14 20:49:45 +09:00
Carsten Haitzler 9ec8064638 Work around new intel Mesa/xorg bug where alpha
channel in NON-ARGB windows is not filled in with 0xff
even if all the code does things right.
2013-04-14 01:14:58 +09:00
Jihoon Kim 373fb30096 ecore_imf/scim: remove unused function declaration 2013-04-13 15:25:00 +09:00
Sung W. Park 34ce73badd [Evas] Updated eglMap/UnmapImageSEC extension definition
Recently Samsung specific eglMap/UnmapImageSEC has been updated to
support new features.  The extension definition was updated in evas
accordingly.
2013-04-12 17:34:13 +09:00
Sung W. Park 00cffc0585 [Evas GL] Initialize evas gl engine after evas stuff is initialized first. 2013-04-12 17:02:43 +09:00
Carsten Haitzler 7fd0cf1731 this is not a big change - not worth changelog, but allow gl partial
updates to be rounded up to specific tile sizes (and make it 16x16 by
default).
2013-04-11 21:24:06 +09:00
Stefan Schmidt 25843ac65e eeze/sensor/tizen: Fix bug where we set the wrong sensor type to the object.
Eeze sensor and Tizen types can't be in sync as the order have been changed
several times in Tizen already. We need to keep the order stable for ABI
compliance though after 1.8.

While we did the translation in one direction we did not in the other. Fix
this bug that shows now.
2013-04-11 13:11:08 +01:00
Carsten Haitzler 9dffb4eed8 and further work on buffer age support in evas... after more testing
on nvidia...
2013-04-11 09:21:42 +09:00
Carsten Haitzler 8f73a2bd0e add environemnt vars to switch bounding box to full region list calcs
and an env var to show debug for partial updates.
2013-04-10 18:47:44 +09:00
Carsten Haitzler 9a649bc07a fix valgrind complaint in evas gl caching of surface caps... bad code
bad!
2013-04-10 18:47:44 +09:00
Carsten Haitzler 92398f4f47 add mesa buffer release support to evas gl engine. 2013-04-10 18:47:44 +09:00
Carsten Haitzler 3cdd10e070 add gl buffer age support fully now for default automatic mode: query
extensions correctly in egl and glx too. need to hunt a partial swap
for glx now...
2013-04-10 18:47:44 +09:00
Cedric Bail fa8c469453 eina: align allocated memory to 4096. 2013-04-04 23:50:14 +09:00
Stefan Schmidt 98806b17e2 eeze/sensor/tizen: Big update to support all new tizen sensor types.
This needs quite soem testing but it should copver all new sensors now.
2013-04-03 17:14:20 +01:00
Stefan Schmidt f5b322a824 eeze/sensor/tizen: USe enum sentinel to iterate over sensor types.
With the newer version we now have a sentinel that marks the last item of the enum.
2013-04-03 17:14:20 +01:00
Stefan Schmidt 9d47faa761 eeze/sensor: Add more sensor types used in Tizen.
Just setting up the sensor types in the lib and fake module.
2013-04-03 17:14:20 +01:00
Cedric BAIL f11dc2f184 evas: fix crash with Evas buffer when target colorspace has no alpha. 2013-04-03 19:18:58 +09:00
Rafael Antognolli b73786814c ecore_evas/wayland: Ecore_Evas geometry should report the client size.
The real canvas size contains enough space for rendering the frame, but
ecore_evas_geometry_get() should be consistent accross all the engines
and report only the client area.
2013-04-02 14:39:59 -03:00
Stefan Schmidt bc93fd6aa7 eeze/sensor/fake: Finally fix fake module to send out correct ecore events.
Sensor type is completely different from event type.
2013-03-28 14:38:12 +00:00
Stefan Schmidt 85d7dddbde eeze/sensor: Make sure we send out ecore events for all async reads in fake module 2013-03-27 13:23:53 +00:00
Stefan Schmidt d0483d3dde evas_extn: Tag parameter as unused.
Maybe we should switch to use -Wno-unused-parameter in our default cflags?
I mean unused parameters are really common and I do not see their harm.

Using -Wno-unused-parameter would let us remove all the cluttered EINA_UNUSED
and __UNUSED__ and also be safe when a paramter gets is use later as the
compiler could optimize it out when tagged with unused. Still we would avoid
the warnings to find the important ones.
2013-03-26 09:36:09 +00:00
Stefan Schmidt 394fa35356 eeze: Make eeze sensor log domain private and use different ones for the modules
The main eeze sensor log domain was EAPI as it was used in the modules as well.
(Gives some nice runtime error when loading the shared object). Switch to different
domains for the module and make the main domain private.

Spotted by zmike.
2013-03-26 09:33:59 +00:00
Stefan Schmidt 948d7e3743 eeze/fake/module: Correct error message and fix typo. 2013-03-26 08:36:37 +00:00
Cedric BAIL d583d08814 evas: no need for a callback per async call.
Let's not multiply our callback infrastructure without any serious need. We
already have to many of them.
2013-03-26 11:59:27 +09:00
Carsten Haitzler 5bb45cecbf imrpovement in ethumb video generation - wait a few frames so we have
something rendered at new pos... :)
2013-03-25 18:46:51 +09:00
Stefan Schmidt a9c543c73f evas_extn: Rename data variable to avoid local shadowing.
Jenkins as well as klocwork complained here as data is already used for
the parameter of the function and we shadow it here locally. Does not look
like it would really harm us here but better avoid it.
2013-03-25 09:40:36 +00:00
Carsten Haitzler 1117cb938a update po's ... :/ 2013-03-23 13:31:22 +09:00
Rafael Antognolli f9fbafae58 ecore_evas/wayland: Don't need to show and hide children of the frame.
The frame smart object inherits from clipped smart object now, so it
doesn't need to show and hide its children, as the clipper takes care of
that.
2013-03-22 15:31:21 -03:00
Daniel Willmann 0bbd944672 eeze_sensor: Don't free the object we want to return asynchronously
The event callback will take care of freeing the object.
This issue was found thanks to clangs -fsanitize=address option - coming
to a CI job near you.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-03-22 17:50:26 +00:00
Jiyoun Park 8653a45cb1 * Ecore_x: fix alpha set function not clear sync counter 2013-03-22 18:49:46 +09:00
Carsten Haitzler fba8124fc5 in evas gl engine if age changes then be conservative and assume backbuffer was
invalidated.
2013-03-22 11:35:05 +09:00