On 8/30/07, Gordon Yang <[EMAIL PROTECTED]> wrote: > I want to draw single pixel (r,g,b,a) directly. But I > cannot find related API in directFB. I tried to draw a > line with 1 length to simulate the pixel. But it seems > quite slow. Is there anybody know how to draw pixels quickly?
If you've got a bunch of pixels to draw, you can use the DrawLines or DrawSpans APIs to avoid the call overhead. You also could just lock the surface and modify memory yourself. Writing individual pixels is always going to have a bit of overhead. _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
