Hi, On Fri, 2009-08-21 at 19:33 +0200, Niels Roest wrote: > I like the idea of sub-pixel precision, > but I have a few remarks. > > What about DFBSurfaceDrawingFlags?
Not (yet) implemented. Basically because we can only support this for (stretch-)Blits in our hardware, where it does make huge a difference, e.g. for fonts or more general (our case) when you do StretchBlit() with rectangles != NULL Is it really necessary to have sub pixel precision for drawing operations? I can certainly add similar infrastructure for drawing operations. > /* no fixed point support in software rasterizer yet * > so no fall-back, meaning setting the flag has no effect? Unless the gfx driver supports it, that's right. But even though - having the infrastructure allows implementing support into the software rasterizer as a next step... > I would at > least expect some means of feed-back about the lacking of this > capability, Well, if --dfb:software-warn is set, then you do get a feed-back. > or a partial implementation to at least have some kind of > benefit, or am I missing a point here.. Can follow as a next step. Or all this can be made a DFBSurfaceRenderOption, since those are not mandatory... But I'd rather have it a (mandatory) blitting flag, so everybody can profit eventually (by having the software rasterizer implement working fallbacks) > Does this work for IDirectFBWindow as well, or only for blits via > SetBlittingFlags? Hm, how do you mean this? Even if you draw to an IDirectFBWindow, you will (stretch-)blit onto the underlying IDirectFBSurface using some kind of flag? > Preferably, this is implemented on Surface Level, but that's a whole > lotta work. Also missing is real support in the font providers for subpixel precision, it seems the freetype provider could benefit from it. But again, IMHO that's the next step. If people think sub pixel is not needed in general, than there's no point in me implementing it for fonts... > Also curious what other people may think. > Are there other chips also supporting a feature like this? I expect that at least those which support DSRO_SMOOTH_UPSCALE/DOWNSCALE could support DSBLIT_FIXEDPOINT and sub pixel precision. Cheers, Andre' _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev