← Back to team overview

kicad-developers team mailing list archive

Re: Cairo boost

 

Ah, ok.  Well, it works great and performance is very usable, so good job regardless.  I think it might be worth keeping in a setting to enable antialiasing, even if the performance is poor.  Its no good for actually doing layout, but I will often use it to make a 'prettified' screen shot or similar of a board.  Unless I'm the only person who does that, then it's probably not worth your time hehe. 

I agree about OpenGL.  I'll just have to be patient.  And its really not that important, its just easy on the eyes (antialiasing). 

> On Dec 11, 2016, at 1:48 PM, Tomasz Wlostowski <tomasz.wlostowski@xxxxxxx> wrote:
> 
> 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
>> 
>> 
>>> 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
>>> 
>> 
> 



References