hi there. you probably remember that i was writing a terminal emulator
in ggi/freetype2. well, i never released it partly because it is quite
slow right now when scrolling. so my question is: what is the fastest
way to draw a character in a visual (mostly fbdev and x11)? i will
normally have an array where array[row][col] is the index of some
color. do i blit? do i simply ggiPutPixel every time?

right now i'm ggiPutPixel'ing for every character. it is slow,
specially in x11. for pure scrolling i've tried ggiCopyBox, but it is
very very very slow in the framebuffer.

i plead almost complete ignorance on the subject. what i know is that
rxvt scrolls very fast, and my emulator doesn't. hence i suspect that
i should be able to do much better and that i'm doing something
wrong/stupid right now...

--
Cesar Augusto Rorato Crusius    __o      __o      __o      __o      __o    
Stanford University           _`\<,    _`\<,    _`\<,    _`\<,    _`\<,    
e-mail:[EMAIL PROTECTED]    (_)/(_)  (_)/(_)  (_)/(_)  (_)/(_)  (_)/(_)   
www.stanford.edu/~crusius
                                       o      _     _         _
   __o      __o      __o      __o     /\_   _ \\o  (_)\__/o  (_)
 _`\<,    _`\<,    _`\<,    _`\<,    _>(_) (_)/<_    \_| \   _|/' \/
(_)/(_)  (_)/(_)  (_)/(_)  (_)/(_)  (_)        (_)   (_)    (_)'  _\o_

He who sacrifices functionality for ease of use
Loses both and deserves neither

Reply via email to