On Wed, 4 Jun 2008 16:49:25 +0200 "Mats Ekberg" <[EMAIL PROTECTED]> babbled:

> Hi Sebastian (and all others),
> 
> Thanks for the fast reply! The emotion code really clarified a lot,
> and we now have a more or less working implementation. We are having
> an odd problem though: when we resize the buffer, we want to call
> evas_object_image_size_set() on our image (the one with the replaced
> get_pixels callback) to tell Evas that dimensions of the buffer has
> changed. However, when we resize it, we get the following assertion
> error:

are you changing the size inside of the get_pixels callback? that might be
why...

> evas-0.9.9.041/src/lib/cache/evas_cache_image.c:488:
> evas_cache_image_size_set: Assertion `im->references > 0' failed.
> 
> This does not happen the first time we set the image size, but as we
> want the bitmap to exactly match the size of the displayed area, we
> need to resize the buffer as the displayed area changes. Any ideas?
> 
> /Mats
> 
> On Mon, Jun 2, 2008 at 4:54 PM, Sebastian Dransfeld
> <[EMAIL PROTECTED]> wrote:
> > Mats Ekberg wrote:
> >>
> >> We're using enlightenment for a project and we are having some
> >> problems with a task that I'd expect to be quite simple.
> >>
> >> Our application draws a generated animation directly to a bitmap
> >> buffer, which we want to display as a smart object on screen, layered
> >> and positioned as any other normal evas/edje object. We're using a
> >> custom evas engine for a backend.
> >>
> >> [snip]
> >
> > Check how emotion writes images to smart objects.
> >
> > Sebastian
> >
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to