← Back to team overview

kicad-developers team mailing list archive

Re: Cairo boost

 

Le 11/12/2016 à 21:48, Tomasz Wlostowski a écrit :
> On 09.12.2016 21:50, metacollin wrote:
>> I just cloned the branch and I can confirm it compiles and runs without
>> issue on macOS.  
>>
>> However, there *might* be some issues.  I am not sure if this is a
>> problem specific to macOS, or is simply because it is still a work in
>> progress, but antialiasing isn't working, at least for me (I'm on macOS
>> 10.12.2b6).  Performance is quite good though.  If I can get this level
>> of performance but with the features that make cairo so 'pretty', it'll
>> be like Christmas came early :D.  
>>
>> I used the closest thing I have to a 'nightmare' pcb (from the
>> perspective of the graphics library) for rendering.  
>>
>> This is how the standard (slow) cairo renderer looks to me in OS X:
>> https://metacollin.com/screens/upshot_m2aJ016Q.png
>>
>> Here is the same pcb, rendered using the optimized cairo renderer:
>> https://metacollin.com/screens/upshot_dzPoOm5n.png
>>
>> Is it supposed to look like that?  Apologies if this is just a matter of
>> things still being worked on.  
> 
> Yes, it's supposed to look this way. We might add a configuration option
> to enable antialiasing and correct alpha blending/ordering, but the
> rendering speed will become very slow again. Your choice. I would rather
> invest in adding antialiasing to the OpenGL backend, which works on any
> Mac.
> 
> 
>>
>> Oh, flip view also works fine but no refresh event is sent (or
>> whatever), so the flip won't actually be reflected until I zoom or
>> scroll.  No biggie, but should be a quick fix.
> Thanks, we'll fix that.
> 
> Tom

Great work, Tom and Orson.

Just an other small request/fix:
At least on Windows, the View menu is broken.
This is due to a really obscure bug in wxWidgets, when the last menuitem  in a menu has the type
wxCHECK_MENU.
Just move this menuitem to a previous position (for instance just after "List Nets") fixes this issue.

Thanks.


>>
>>
>>> On Dec 9, 2016, at 10:54 AM, Adam Wolf <adamwolf@xxxxxxxxxxxxxxxxxxxx
>>> <mailto:adamwolf@xxxxxxxxxxxxxxxxxxxx>> wrote:
>>>
>>> Sorry, replied from wrong account before.
>>>
>>> pixman is fine on OSX.
>>>
>>> Adam Wolf
>>>
>>
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 


-- 
Jean-Pierre CHARRAS


References