Hey antognolli,

On 11/09/13 18:51, Rafael Antognolli wrote:
> Hey dh,
>
> On Wed, Sep 11, 2013 at 10:11 AM, Chris Michael - Enlightenment Git
> <no-re...@enlightenment.org> wrote:
>> devilhorns pushed a commit to branch master.
>>
>> commit d673cbc3982399a11be74a42f909e68b0f380dea
>> Author: Chris Michael <cp.mich...@samsung.com>
>> Date:   Wed Sep 11 13:00:23 2013 +0100
>>
>>      Readd the master clip for rendering of wayland engines.
>>
>>      NB: Master clip is needed so that things don't draw outside the client
>>      area.
>>
>>      NB: This is a partial fix. Still a work in progress. Some remaining
>>      issues with some various elm_tests that use evas_map.
>>
>>      Signed-off-by: Chris Michael <cp.mich...@samsung.com>
>> ---

>
> I see what you tried here, and I did something similar but it seems
> that you added the unclip stuff to the right place, so at least the
> canvas doesn't get maked as changed after you unclip these objects.
>
:)

> But what about the clipped/unclipped objects? When you change their
> clipper, these objects are going to be marked as "changed", and even
> if they don't change any other property on the next mainloop, they
> might have to be repainted again because the clip cache will be
> invalidated... well, I didn't test it, but it's what I'm assuming now.
>
That is quite possible. I have not tested that either, but will try to 
find time to look into it today. You may be correct here ... we may be 
forcing a "double render" (so to speak) with this approach ....

> /me thinks about a new object flag/list for clipping objects to a
> special clipper, not a normal evas object clipper... any thoughts on
> that?
>

Well, the canvas structure Used to contain a "clipped_objects" list ... 
but that seems to have disappeared recently... but I digress. Hmmm, well 
I would not be against the idea of a special "internal clipper" type of 
object flag/list. If we are indeed causing a "double render" (as per 
above), then setting an internal clipper flag could be a way to avoid 
marking objects as "changed"... *shrug* Need more time to ponder on this....

KR,
dh


------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to