Hi,

we have a use case where we have to do loads of stretched blits from src
to dst, each requiring a different clipping rect.
And potentially also a different global alpha/colorize color (but I can
work around that somehow)

Would a patch implementing sth like

DFBResult (*BatchStretchBlits) (IDirectFBSurface   *thiz,
                                IDirectFBSurface   *source,
                                const DFBRectangle *source_rects,
                                const DFBRectangle *source_rects,
                                const DFBRegion    *clips,
                                int                 num);

be accepted for inclusion?

The number of stretched rectangles is high enough to cause too high a
CPU load using individual SetClip() and StretchBlit() calls.


I am unsure about changing the color, the most obvious would be to have
a second batch blit API which adds const DFBColor *colors as another
param, but this doesn't seem clean...
Other suggestions?



Cheers,
Andre'


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

Reply via email to