Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
VDI clipping
Posted by: ragnar Mar,15.2011-07:05 

Hi all,

as you may know, m0n0 is porting netsurf to out beloved Atari. He asked in the Mint Mailinglist this.

---

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,
m

---

Please give answers here or at the Mint Mailinglist which is available here: http://sparemint.org/mailinglist/

Thx a lot.
Bernd







[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
VDI clipping ragnar Mar,15.2011-07:05
  Re: VDI clipping m0n0 Mar,15.2011-09:47


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson