Mike Blumenkrantz
e2ba21e266
use sizeof for eldbus-codegen internal define lengths
2013-06-19 11:18:47 +01:00
Mike Blumenkrantz
b8ea27d53c
s/LENGHT/LENGTH
2013-06-19 11:18:46 +01:00
Cedric Bail
694e8a7d09
evas: fix clang compilation.
2013-06-18 13:32:00 +09:00
Cedric Bail
1609055579
evas: reduce memory footprint taken by Evas_Object_Table callbacks setup.
...
This reduce by 50K elemines memory use on 32bits system.
2013-06-18 11:44:29 +09:00
Cedric Bail
91aea489c3
evas: reduce memory usage by using Eo array of callbacks.
...
Reduce usage by 100K on my test on Elementary test, likely better with 64bits system.
2013-06-18 11:44:29 +09:00
Chris Michael
f6349ef9f9
Ooops, missing on "get_pixles" --> "pixels_get" conversion
...
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-17 23:37:18 +01:00
Chris Michael
0700e9dcc0
Fix render engine function "get_pixels" to be "pixels_get" (EFL
...
prefers verbs to be last for function declarations).
Also, remove unnecessary if block which was checking for the
Render_Engine pixels_get function as it was previously checked for in
the 'if' above.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-17 23:33:49 +01:00
Chris Michael
dba0a5ea1f
Formatting fixes
...
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-17 23:32:20 +01:00
Chris Michael
01ed63f4bd
Remove 'hack' which worked around a Weson bug wrt pointer setting
...
during dnd operations (by setting surface_user_data to buffer)
NB: This bug was fixed in Weston, so this workaround is not needed
anymore
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-17 23:22:19 +01:00
Chris Michael
2942696111
Don't crash when window is null (for mouse_down comparison)
...
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-17 23:22:19 +01:00
Chris Michael
db37405ef8
Debug--
...
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-17 23:22:19 +01:00
Chris Michael
09376dae70
Fix formatting
...
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-17 23:22:19 +01:00
Jérémy Zurcher
8619bf1323
eo_class_new: reorder last operations in class creation
2013-06-18 00:08:58 +02:00
Jérémy Zurcher
2350f1fb30
eo_class_new: pack ext data offsets at the end of _Eo_Class
2013-06-17 23:48:22 +02:00
Jérémy Zurcher
841b46fc90
eo_class_new: speed up mixins offset table creation
2013-06-17 23:47:15 +02:00
Jérémy Zurcher
5f83d1a80b
eo_class_new: check parent and desc before doing anything
2013-06-17 23:41:45 +02:00
Jérémy Zurcher
4eb2fb0bb6
eo_class_new: pack mro at the end of _Eo_Class
2013-06-17 23:41:02 +02:00
Jérémy Zurcher
e0293a421f
eo_class_new: remove duplicates in extensions as well as in mro
2013-06-17 23:38:04 +02:00
Jérémy Zurcher
2f79056078
eo_class_new: pack extensions at the end of _Eo_Class
2013-06-17 23:35:48 +02:00
Jérémy Zurcher
0c4c7ecd3a
eo_class_new: add and use _eo_class_sz
2013-06-17 23:33:19 +02:00
Jérémy Zurcher
4d2f4a1ae5
eo_class_new: replace class field extn_data_size with obj_size
2013-06-17 23:32:50 +02:00
Sung W. Park
8e6f0aa11c
Evas: add partial rendering support for evasgl direct rendering
...
Evas_GL Direct rendering is an optimization path that renders
directly to the window if conditions are met. Because evas gl
backend used to re-render the entire screen, evas_gl direct
rendering didin't have to concern with partial region rendering.
Now that partial rendering/swapping has been applied to evas gl-
backend, evas_gl direct rendering also had to take into account
clip regions. in order to properly apply it, some adjustments
were made to the engine functions and etc.
2013-06-17 18:32:00 +09:00
Sung W. Park
316be3e6c7
Revert "Saving evasgl direct partial rendering fix temporarily"
...
This reverts commit e6359132de
.
2013-06-17 18:22:15 +09:00
Sung W. Park
62e146f2fc
Revert "Touch for evas gl direct rendering partial rendering/swap fix."
...
This reverts commit 382ffbb4f5
.
2013-06-17 18:22:04 +09:00
Sung W. Park
d5d5a0125d
Revert "Added Wayland fix for evas_gl direct fix"
...
This reverts commit e1c238b1be
.
2013-06-17 18:21:55 +09:00
Sung W. Park
e1c238b1be
Added Wayland fix for evas_gl direct fix
2013-06-17 17:52:16 +09:00
Sung W. Park
382ffbb4f5
Touch for evas gl direct rendering partial rendering/swap fix.
2013-06-17 17:52:16 +09:00
Sung W. Park
e6359132de
Saving evasgl direct partial rendering fix temporarily
2013-06-17 17:52:16 +09:00
Cedric Bail
669e40fbce
edje: reduce memory footprint of edje callbacks.
...
Divide by two the amount of memory used by callbacks in elementary_test.
2013-06-17 16:55:22 +09:00
ChunEon Park
550c9fffc2
edje - fix typo
2013-06-16 22:13:50 +09:00
Daniel Juyung Seo
d5800af9cd
Evas_Common_Header.h: added textgrid to primitive evas object list.
2013-06-16 22:06:33 +09:00
Carsten Haitzler
1914148446
evas: optimization - handle if c1 == c2 for map interplated lines
2013-06-14 21:32:56 +09:00
Chris Michael
509090bafc
Port wayland_egl changes for swapbufferswithdamage to gl_x11
...
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-14 12:30:17 +01:00
Chris Michael
0926ed612f
eglSwapBuffersWithDamage actually returns an EGLBoolean (unsigned
...
int), so fix.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-14 12:26:11 +01:00
Carsten Haitzler
ae2f824413
evas: fix possible seg with font glyphs from font instance in glyph array with no refcounting.
2013-06-14 19:57:18 +09:00
Chris Michael
4d86f508ae
Formatting fix for 80 columns...Spankies !! ;)
...
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-14 11:41:55 +01:00
Stefan Schmidt
90aee3addd
edje-codegen: Now really fix the mem leak without running into a double free.
...
The missing free was only for one of the paths to the end label. The other one
freed it before already. Take this into account to avoid the double free.
2013-06-14 10:54:19 +01:00
Stefan Schmidt
64c7bd14df
eina/mp/one_big: Add a comment to clarify why we do not memset the complete memory.
...
To avoid people getting confused over this code, like myself, add a comment
to clarify that only the elements need to be set to zero while the payload
does not matter here.
2013-06-14 09:56:55 +01:00
Jean-Philippe Andre
16c8ab3b18
evas/cserve2: remove garbage shm files during server init
...
If server crashes or is forcefully killed, it will not
properly cleanup its shm files. So, some memory will be leaked pretty
badly.
2013-06-14 17:09:03 +09:00
Jean-Philippe Andre
42309042c6
evas/cserve2: fix crash when shutting down cserve2
...
If a slave is still alive during shutdown, then it will be killed
and the dead callback should be called. This would then trigger
a request failed callback on invalid data.
But there's no point in calling the dead_cb since we're shutting
down already.
2013-06-14 16:38:18 +09:00
Jean-Philippe Andre
681c8cda4c
evas/cserve2: (shutdown) fix double free issue
...
glibc double free happens when shutting down cserve, while
requests are being processed. this is because the entry is
being deleted from the hash but the cancel request fails
(so it should be deleted again from the hash)
Another patch going to fix the double free.
2013-06-14 16:38:18 +09:00
Jean-Philippe Andre
a3b3b5bd8e
evas/cserve2: Handle SIGINT properly
2013-06-14 16:38:18 +09:00
Jean-Philippe Andre
338218109b
evas/cserve2: catch more signals and exit nicely
...
Also, ignore USR1 and USR2.
2013-06-14 16:38:18 +09:00
Jean-Philippe Andre
07ef0fdd93
evas/cserve2: Add UID to shm file path
...
+ Improve debug for corner case (never happened)
2013-06-14 16:38:18 +09:00
Jean-Philippe Andre
82584a85fb
evas/cserve2: Check for errors in evas sw engine
2013-06-14 16:38:18 +09:00
Jean-Philippe Andre
19fb35d657
evas/cserve2: Close scaled images after drawing
2013-06-14 16:38:18 +09:00
Jean-Philippe Andre
6f548d59af
evas/cserve2: Fix crash in expedite test 23
...
Test 23: load lots of scaled images and draw them
Problem: cs2 fails to load more images at some point. (root cause to be fixed!)
After that, client expects some data, but there is none, so it segfaults.
2013-06-14 16:38:18 +09:00
Cedric Bail
1403b3a9ad
evas: preliminary work on texture destruction for async preload of texture.
2013-06-14 16:38:18 +09:00
Cedric Bail
1073084807
evas: change cache API to forward Eo object.
2013-06-14 16:38:18 +09:00
Cedric Bail
ab9c734b7f
evas: cleanup GL texture allocation with some code refactoring.
2013-06-14 16:38:18 +09:00