← Back to team overview

kicad-developers team mailing list archive

Re: Text in opengl

 

On Sun, Feb 23, 2014 at 01:30:47PM +0200, Vesa Solonen wrote:
> Just check blending and transparency works well enough.

The specs explicitly says that a fragment is generated for each
rasterized 'pixel' (quoted since pixel is not a concept in opengl:P) so
there shouldn't be problems with that.

I find strange that the text engine was reimplemented from scratch since
the drawtxt can happily works with a callback; whatever...

I'm more concerned about the complications from state tracking in the
GAL (i.e. having to pass and set everything correctly). It needs more
study.

Tidiness and legibility apart, the performance is worrying me since for
a not-so-busy four layer board the time exceeds often 5 seconds; I guess
that time is only CPU dependant (the GPU is probably only running
'after' that and even on Tungstens performance seems quite good).

Too bad this recaching thing is impacting even the standard view (it
rebuilds when you toggle zone visibility so it isn't 'snappy' as
before). Still quite acceptable, anyway.

Given that's in it's infancy I'd assume there is still a huge gain for
further (subsequent) optimization, I'm not too worried.

-- 
Lorenzo Marcantonio
Logos Srl


Follow ups

References