Commit Graph

16 Commits

Author SHA1 Message Date
Cedric BAIL 377cc2368a evas: remove EVAS_FRAME_QUEUING.
NOTE: This should be part of evas_render itself and not
delegated to the engine. So cleaning things to make it easier
during evas_render rewrite.


SVN revision: 70503
2012-04-26 09:53:03 +00:00
Christopher Michael f7d1b738e6 Evas: Check for the presence of shm extension (in
evas_software_xcb_can_do_shm) first before trying to make calls to the
shm extension.



SVN revision: 62638
2011-08-20 22:15:44 +00:00
Christopher Michael 0fb55da5bc Evas: Iterating the pixmap formats from xcb_setup can be expensive,
so cache the found format for reuse so we don't have to keep iterating.



SVN revision: 62626
2011-08-20 10:59:53 +00:00
Christopher Michael f7359f74c9 Evas: Make evas xcb engine match xlib engine almost exactly.
NB: Next is to fine-tooth the ecore code.



SVN revision: 62167
2011-08-06 03:32:27 +00:00
Christopher Michael c63715e01d Evas: Fix typo in Frame_Queuing check for xcb.
SVN revision: 61991
2011-08-02 12:15:33 +00:00
Christopher Michael b3469dd413 Evas: Remove rectangle free's (no, it's not a leak) ;)
Add missing Asyn Push code (tho it's disabled anyway). 
Use shmget like xlib did and create with 0777 permissions.
Add a Sync call if try_shm == 2.
Add checks for frame_queuing & low libext version safety.




SVN revision: 61895
2011-07-29 14:41:18 +00:00
Christopher Michael 2148b1d2f6 Evas: Remove dependency on xcb-aux and add code to find the visual
based on id, as we were only using one function from there.



SVN revision: 61171
2011-07-09 13:48:39 +00:00
Christopher Michael 88d1949180 Evas: Commit new XCB engine code for Evas.
NB: XCB Engine is currently disabled by default as it's not considered
'complete' yet and is of little use to users/devs at the moment
without the needed ecore_x & E changes.



SVN revision: 61139
2011-07-08 00:21:17 +00:00
Lucas De Marchi 5a8a8c9014 Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
Vincent Torri 0a87819b44 apply raster's changes to the xcb engine
SVN revision: 46134
2010-02-13 12:28:08 +00:00
Vincent Torri 30a413d330 Fix a crash in the xcb engine
It is still broken when shm is used. I don't know why
Fix other possible issues when shapes are used


SVN revision: 44940
2010-01-07 06:42:42 +00:00
Vincent Torri ea9c39e2f7 masks should be correctly rotated in the xcb engine, now
remove a few unused parameters and unused variables


SVN revision: 41975
2009-08-25 16:21:09 +00:00
Vincent Torri 86dab3bef7 we should try if shm is available
SVN revision: 41974
2009-08-25 15:23:15 +00:00
Vincent Torri 0af29b19d6 sync when needed
SVN revision: 39171
2009-02-24 07:06:14 +00:00
Vincent Torri 860fc287c2 free correctly each buffer in XCB engine
The xcb_image dependency should be removed and replaced
by direct calls of the request XPutImage


SVN revision: 39024
2009-02-15 11:14:12 +00:00
Carsten Haitzler fb85d912b6 vtorri's merge of xcb and x11 software engines.
SVN revision: 38173
2008-12-17 08:13:49 +00:00