diff options
author | Ian Romanick <idr@us.ibm.com> | 2004-10-02 01:23:46 +0000 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2004-10-02 01:23:46 +0000 |
commit | 5b73371e05e48d1b835579b8db81b12df203ce67 (patch) | |
tree | 01e2afb1681134c2ca6858898fffe7764ebe0fc4 /src/mesa/drivers/dri/unichrome/via_context.h | |
parent | 7ff3c9e4fc46e8fe2efc7ce2fe53255777f7b858 (diff) | |
download | external_mesa3d-5b73371e05e48d1b835579b8db81b12df203ce67.zip external_mesa3d-5b73371e05e48d1b835579b8db81b12df203ce67.tar.gz external_mesa3d-5b73371e05e48d1b835579b8db81b12df203ce67.tar.bz2 |
Cut out all of the old texture environment code and rewrote it from
scratch. There were just too many cut-and-paste errors in the code,
and it was too hard to follow.
This fixes Mesa bugzilla #1508. #1509 is probably also fixed, but
I'd like to do some more testing before I close that particular bug.
Additionally, this cuts almost 4,600 lines of code from the driver.
Diffstat (limited to 'src/mesa/drivers/dri/unichrome/via_context.h')
-rw-r--r-- | src/mesa/drivers/dri/unichrome/via_context.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_context.h b/src/mesa/drivers/dri/unichrome/via_context.h index 4ac3a8c..5efd9a0 100644 --- a/src/mesa/drivers/dri/unichrome/via_context.h +++ b/src/mesa/drivers/dri/unichrome/via_context.h @@ -451,6 +451,9 @@ extern void viaXMesaSetFrontClipRects(viaContextPtr vmesa); extern void viaReAllocateBuffers(GLframebuffer *drawbuffer); extern void viaXMesaWindowMoved(viaContextPtr vmesa); +extern void viaTexCombineState(viaContextPtr vmesa, + const struct gl_tex_env_combine_state * combine, unsigned unit ); + #define SUBPIXEL_X -.5 #define SUBPIXEL_Y -.5 |