[Bf-committers] Another gfx test, for menu speed

Rob Haarsma phaseIV at zonnet.nl
Tue Oct 5 17:48:58 CEST 2004


Ton Roosendaal wrote:

> Hi,
>
> I've committed the new non-frontbuffer drawing menus and buttons 
> code.  Still issues with backbuffer selection code (vpaint, 
> faceselect, new  selectmodes), but that I work on.

Congrats Ton!

The back/frontbuffer overhaul makes Blender's interface (ie. toolbox) 
run pretty
smooth on my laptop ATI. No slowdowns yet. It improved the speed on the 
desktop
NVIDIA as well.

One remark... on the ATI, the benchmarks results drop to a tenth of the 
framerate
when there's a floating panel in the 3D View. I haven't checked this on 
the NVIDIA.

The FTGL modification might have improved the interface speed too, but more
importantly, it eliminates all AA-fonts artifacts on the ATI!

I like to add another patch for FTGL... it was already mentioned on this 
board.
in FTGL/src/FTGLPixmapFont.cpp line 21, change:
<    FT_GlyphSlot ftGlyph = face.Glyph( g, FT_LOAD_NO_HINTING);
---
 >    FT_GlyphSlot ftGlyph = face.Glyph( g, FT_LOAD_NO_BITMAP);

This will show the fonts a little bit sharper and gives better character 
spacing.
See screenshots here:
http://www.captainvideo.nl/rob/dump/ftgl1.jpg
http://www.captainvideo.nl/rob/dump/ftgl2.jpg

So many thanks Ton for the improvements. Especially when you consider 
that all
trouble is caused by the manufacturer's crappy display drivers.

Rob.



More information about the Bf-committers mailing list