Commit Graph

193 Commits

Author SHA1 Message Date
Rafael Antognolli 94732fddd9 evas/render: Clean all changed objects, not only the
active ones.
Objects which are children of mapped smart objects are not in the active
objects list, but should still be cleaned, and have their render_post
method called too.



SVN revision: 76550
2012-09-12 18:36:08 +00:00
Carsten Haitzler 921b861f6f fix evas map leak.
SVN revision: 76286
2012-09-07 08:02:32 +00:00
Christopher Michael cbedd76a1f Evas: In the render stage, check obj->is_frame directly. No need for
another function call here. We have to object already available, just
check the property directly.



SVN revision: 75980
2012-09-03 08:50:40 +00:00
Rafael Antognolli be7953b243 evas/render: Add a flag for dropping the map cache if needed.
The map cache must be dropped if the content of the surface is rendered again.
The example evas-smart-object.c has a valid test case for this bug.



SVN revision: 75636
2012-08-23 19:58:02 +00:00
ChunEon Park 14d7f1cce7 evas/render - code refactoring.
removed duplicated



SVN revision: 75351
2012-08-17 06:16:04 +00:00
ChunEon Park 225630552e evas/render - let clip the child even if it's the mapped obj and do it only when clipper exists.
SVN revision: 75350
2012-08-17 06:02:49 +00:00
Christopher Michael bdb2beb69a Evas (wayland): We should also check for framespace changes here and
adjust the clip size and position if something changed.

NB: Found this during final fullscreen testing where, when fullscreen,
the clip was not getting moved or resized.



SVN revision: 75291
2012-08-15 10:00:09 +00:00
Christopher Michael e64e0a4534 Evas: When we render using the wayland engine(s), if the object we are
rendering is in fact the framespace clip, then do not allow it to be
clipped to itself, just skip the clip set for it.



SVN revision: 75100
2012-08-10 13:08:22 +00:00
Christopher Michael 15a9aa0950 Evas: Fix evas build from botched copy/paste.
Apologies, I pasted the code in the wrong position :(



SVN revision: 74740
2012-08-01 14:32:26 +00:00
Christopher Michael 2a32afd20b Evas: Fix trying to clip objects to the framespace clip if the object
is going to be deleted. Patch from eduardo.de.barros.lime@intel.com.



SVN revision: 74739
2012-08-01 14:14:34 +00:00
Christopher Michael 72aad68b27 Evas: Fix bugs in Wayland Engine(s) with regard to object geometry &
position. Fix bug when clipping to viewport/framespace. These changes
fix Several buggers on Trac which related to the Wayland Engine(s).

Fix minor bug in evas_render where clipping for framespace would
not take into account the frame height and also move the frame clip to
the values specified in framespace (not viewport).

Fix buggers in evas_object_main which was causing objects (when created using 
the wayland engines) to be an incorrect size & position (objects will now
be the same size/position in EFL Wayland as they are in X11).

Fix evas_object_geometry_get to return values based on where they were
moved (in relation to framespace). (These fixes are for the Wayland
Engines and do not affect X11).

Remove nw/nh from evas_object_resize (not needed variables anymore).



SVN revision: 74565
2012-07-30 09:52:33 +00:00
Cedric BAIL 58827ba3b6 evas: handle proxy with the right context.
SVN revision: 74340
2012-07-24 04:27:17 +00:00
ChunEon Park 3f3314725c evas/render - fixed to do pre render for the children of mapped object.
Now textblock can calc it's texts geom correctly when it is a child of the mapped obj.



SVN revision: 73930
2012-07-16 11:33:12 +00:00
ChunEon Park 37af49d771 evas/render - removed duplicated recalc.
SVN revision: 73927
2012-07-16 11:19:08 +00:00
ChunEon Park a7a4fbbe74 evas/render - removed uselss compare and fix indent
SVN revision: 73903
2012-07-16 03:12:39 +00:00
Cedric BAIL 1d415b796b evas: add more infrastructure to the prepare stage of pipe rendering.
NOTE: this improve some test by 10 to 15% some other are down by 5%.
Their is still more tunning and improvement possible now (Particularly
with Map), but it will do for now.


SVN revision: 73264
2012-07-04 09:39:23 +00:00
Carsten Haitzler 1e043ecd3b wanrn--
SVN revision: 72250
2012-06-17 01:33:23 +00:00
ChunEon Park 02ededc16a evas/render - clean up when map is enabled. In this case, it's children should be cleaned up in the list.
SVN revision: 72190
2012-06-15 13:29:24 +00:00
ChunEon Park a8c0af3015 evas/render - no. my fault.
SVN revision: 72188
2012-06-15 11:42:56 +00:00
ChunEon Park fa927a68cd evas/render - removed useless param
SVN revision: 72187
2012-06-15 11:40:08 +00:00
ChunEon Park b79f60974b evas/render - fix indent.
SVN revision: 72186
2012-06-15 11:16:11 +00:00
Cedric BAIL d636db3c66 evas: cache conversion from Evas_Map to RGBA_Map.
SVN revision: 72119
2012-06-14 09:58:16 +00:00
ChunEon Park 88c5f1df74 evas/map - fixed afterimage problem. now we don't need work-around code anymore.
SVN revision: 71549
2012-05-30 10:12:10 +00:00
ChunEon Park ba47683a9b evas/render - pre render will be always. don't need if and else if which will be never reached.
SVN revision: 71540
2012-05-30 07:32:27 +00:00
ChunEon Park 140e97171b evas/map - fixed to update the rendering when map is enabled.
Now children objects of the mapped object should be cleaned from the internal cache lists.



SVN revision: 71519
2012-05-30 00:51:11 +00:00
ChunEon Park 054360207b evas/render - they are already cleaned.
SVN revision: 71499
2012-05-29 09:09:13 +00:00
ChunEon Park b2a3f3b540 evas/render - removed duplicated call
SVN revision: 71491
2012-05-29 05:24:43 +00:00
ChunEon Park 63d97b8441 evas/rendering - Fixed to clean up when map actually changed. Now rendering updates will be correct after evas_map acutally disabled for the smart object.
SVN revision: 71490
2012-05-29 05:13:03 +00:00
Christopher Michael 1fbf92cc36 Evas: (wayland): Use Seb's strncmp statement (easier to read, cleaner,
simpler, and possibly faster).

Thanks Seb ;)



SVN revision: 71431
2012-05-25 23:51:21 +00:00
Christopher Michael 909d83bf3a Evas: Fix clipping issue for wayland engines (were drawing outside the
viewort). This fixes the Elm Map 3D test issue where the cube was
drawing onto the window border (and perhaps other tests).



SVN revision: 71426
2012-05-25 12:55:45 +00:00
ChunEon Park 2a9f42c47e evas/evas_render - and should update the mapped objects when their color is changed since color should be multiplied again.
SVN revision: 71226
2012-05-18 07:17:34 +00:00
ChunEon Park 03995b4e98 evas/evas_render - should call the render_post since the object color can be changed without changing map
SVN revision: 71224
2012-05-18 06:51:30 +00:00
ChunEon Park df0296e0b7 evas/evas_render - removed dead code
SVN revision: 71198
2012-05-17 10:34:53 +00:00
ChunEon Park a2c7fa2dcc evas/evas_render - trivial changes
changed from integers to Eina_Bool
removed white spaces and fixed indentations



SVN revision: 71170
2012-05-16 13:21:37 +00:00
ChunEon Park 14e43d84fd evas/evas_render - added evas_object_change_reset internal function to remove much duplicated code
SVN revision: 71169
2012-05-16 12:59:33 +00:00
ChunEon Park 0645d65c8a evas/evas_render - clean code more in _evas_render_phase1_object_process
SVN revision: 71106
2012-05-15 11:43:23 +00:00
ChunEon Park 5a077b9f85 evas/render - removed unnecessary parameter in _evas_render_phase1_object_process
SVN revision: 71105
2012-05-15 11:29:28 +00:00
Iván Briano c97f25128b cserve2 warnings begone
SVN revision: 70845
2012-05-07 17:22:06 +00:00
Iván Briano 15328efb85 evas/cserve2: fix typo that kept cserve2 disabled
now seriously...

Introducing Cache Serve 2.

This cache server will initially load images for clients connected to
it. It starts slave processes to load these images, and share the loaded
images through shm with the clients. All the connection done between
clients and the server goes through sockets.

The cserve2 build option is turned on by default, while the old cserve
was disabled, but in order to make clients use it, the environment
variable EVAS_CSERVE2 must be set, and a server must be running.

Clients will try to find the socket on a specified location using the
environment variable EVAS_CSERVE2_SOCKET. If it's not defined, then the
XDG_RUNTIME_DIR path should be used, and finally HOME, TMPDIR and /tmp.



SVN revision: 70699
2012-05-03 21:01:31 +00:00
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
Carsten Haitzler cd5229f18d clear color multiply when rendering mapped obj
SVN revision: 70187
2012-04-15 03:55:36 +00:00
Carsten Haitzler e92d5fb2eb fix map overdraw issue that has snuck in during development
SVN revision: 69534
2012-03-21 04:04:03 +00:00
Carsten Haitzler 8143b3969a make sure we clean temporary objects - make some notes too.
SVN revision: 69522
2012-03-20 08:08:42 +00:00
Carsten Haitzler 396572a355 fix regression during 1.1 dev (towards 1.2) that made evas over-render
way too much! FIXED



SVN revision: 68204
2012-02-21 07:01:39 +00:00
Christopher Michael f1e9715711 Evas: Fix calculations for framespce when changed.
SVN revision: 66537
2011-12-26 23:10:27 +00:00
Carsten Haitzler 885c618f20 add new events for pre/post rendering
SVN revision: 66318
2011-12-19 05:50:06 +00:00
Christopher Michael ac49da31df Evas: Handle framespace changes also during 'render'.
SVN revision: 66306
2011-12-17 18:45:09 +00:00
Carsten Haitzler 3306dce0c7 useless clip setting in ctx as it's reset a few lines later.
SVN revision: 66271
2011-12-16 07:20:12 +00:00
Carsten Haitzler 6fd0ee9262 fix map clip issue that shows up in buffer engine.
SVN revision: 66270
2011-12-16 07:04:00 +00:00
Carsten Haitzler edaeefa288 fix another evas map clip issue! hooray! never ending list!
SVN revision: 65044
2011-11-11 05:56:40 +00:00