OSDN Git Service

st/vega: Add DRAWTEX renderer state.
authorChia-I Wu <olv@lunarg.com>
Fri, 26 Nov 2010 14:56:05 +0000 (22:56 +0800)
committerChia-I Wu <olv@lunarg.com>
Wed, 1 Dec 2010 03:23:48 +0000 (11:23 +0800)
commite31a04ea3bc957b2a43b910b1f51807b12da18a6
treee2bade8b17f7651c526b0ae8918d0c97dd899be0
parent59309337e40106f734efc1e33f956f6f1f4301ac
st/vega: Add DRAWTEX renderer state.

This state provides glDrawTex-like function.  It can be used for
vgSetPixels.

Rather than modifying every user of the renderer, this commit instead
modifies renderer_copy_surface to use DRAWTEX or COPY state internally
depending on whether the destination is the framebuffer.
src/gallium/state_trackers/vega/renderer.c
src/gallium/state_trackers/vega/renderer.h