2012/7/9 Nikita Kitaev <nikita...@gmail.com>:
> On Sun, Jul 8, 2012 at 10:49 PM, Carlos López González
> <genet...@gmail.com> wrote:
>> Hi!
>>
>> 2012/7/9 Nikita Kitaev <nikita...@gmail.com>:
>>> I updated my cairo png target so that it now works with the updates to
>>> the target system (see my branch at nikitakit_new_cairo_core_2).
>>>
>>> To render, run `synfig -t cairo_png file.sif`
>>>
>>> The colors are either shifted or inverted, I haven't figured out the cause 
>>> yet.
>>
>> O_O But how do we pretend to have some result? There is not any layer
>> already ported to Cairo! What's the content of the sif file you have
>> tested?
>
> Try it yourself! Here's one layer from the sif file I was using to
> test. It actually calls the cairo_png target, renders the file, and
> the render is different from the stock png target. I suspect the
> default get_color() based render is already working.

That is!!!! When accelerated_cairorender is not defined then it uses
the one from the Layer class. It uses the the get_color via
Layer::accelerated_render!!!

It is a great surprise because it would allow me to debug the current
initial steps!


>
> That's your part of the code, so tell if you think I'm accidentally
> calling the software renderer instead.
>
>> I have a question regarding to one of your changes. Isn't possible to
>> modify the configure file to force to use cairo version 1.12 instead
>> of check it on run time and simply break out the program flow?
>
> Please don't do that quite yet. Ubuntu 12.04 ships with cairo 1.10. At
> the moment I don't want to wrestle with installing a newer cairo.
> (Especially since I saw bug reports where a cairo 1.12 PPA caused core
> gnome packages to crash.)
>
> For an actual release a configuration option might be better. But this
> means the new version of synfig won't run on any Ubuntu versions prior
> to 12.10. We need a better compatibility scenario than requiring users
> to upgrade their OS.
>
> ~Nikita
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Synfig-devl mailing list
> Synfig-devl@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/synfig-devl
>



-- 
Carlos
http://synfig.org

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to