Thanks for the quick response. I did some more investigation and I'm quite sure that the surface is used from a single thread. When stepping through the font rendering code with a debugger the problem still occurs, but when stepping through the batchblit operations that follow it the problem disappears. Also putting a short sleep between the dfb_font_get_glyph_data call in gfxcard.c and dfb_gfxcard_batchblit calls makes the problem go away. Maybe it's a graphics driver (intel-gfx) issue with tiny blits but I'm not sure how to prove/disprove that.

On 03/21/2011 03:48 PM, Denis Oliver Kropp wrote:
On 21/03/11 14:45, Martijn Wijns wrote:
Hi,

When using the DrawString methods on IDirectFBSurface, sometimes some (or all) 
characters of the string are not rendered. When DrawString is called again with
the same text, it is rendered correctly. When stepping through the directfb 
code with the debugger or enabling tracing everything works, so I suspect a
synchronization issue. I'm using the X11/GLX backend with the gl driver on 
DirectFB 1.4.7 and FT2 for font rendering. Any ideas about what this could be 
or how
to pinpoint the root cause would be most welcome.
Sounds like an issue with writes to the texture while the text is being 
rendered.


_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to