[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] VDI clipping



Hello guys ,

probably not really the right place to ask... but I guess some people here know a lot about VDI =)

I'm currently improving font rendering within netsurf a bit... I want to make the drawing faster, at least for font renderer which support monochrom glyphs.
My question is: should I calculate clippings for each character myself, or should i just let VDI do the job? As I said, this will be called for each and every character...
but doing the clipping myself takes at least 3 calls to rc_intersect and some grect x = grect y etc.
From the pure source code point of view vs_clip is a lot less to do... but I don't know how much overhead it introduces. First: is the call expensive ( traps involved...)? Second: How expensive is clipping during the raster operation?

Infomation would be nice - as always =) !

Greets,