diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-01-15 08:46:13 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-01-15 08:46:13 +0100 |
commit | 7fe60435bce6595a9c58a9bfd8244d74b5320e96 (patch) | |
tree | 1ac714a916e02fc90901ddac8bc2a3c6d051d28c /Source/DirectFB/gfxdrivers/cle266/uc_state.h | |
download | directfb-voodoo-7fe60435bce6595a9c58a9bfd8244d74b5320e96.tar.gz directfb-voodoo-7fe60435bce6595a9c58a9bfd8244d74b5320e96.tar.bz2 directfb-voodoo-7fe60435bce6595a9c58a9bfd8244d74b5320e96.zip |
Import DirectFB141_2k11R3_beta5
Diffstat (limited to 'Source/DirectFB/gfxdrivers/cle266/uc_state.h')
-rwxr-xr-x | Source/DirectFB/gfxdrivers/cle266/uc_state.h | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/Source/DirectFB/gfxdrivers/cle266/uc_state.h b/Source/DirectFB/gfxdrivers/cle266/uc_state.h new file mode 100755 index 0000000..a3e7484 --- /dev/null +++ b/Source/DirectFB/gfxdrivers/cle266/uc_state.h @@ -0,0 +1,68 @@ +/* + Copyright (c) 2003 Andreas Robinson, All rights reserved. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. +*/ + +#ifndef __UC_STATE__ +#define __UC_STATE__ + +#include <directfb.h> +#include <core/state.h> +#include <core/gfxcard.h> + +void uc_set_state(void *drv, void *dev, GraphicsDeviceFuncs *funcs, + CardState *state, DFBAccelerationMask accel); +void uc_check_state(void *drv, void *dev, + CardState *state, DFBAccelerationMask accel); + + + +/* +struct uc_hw_misc +{ + // These control clipping... + + u32 regHClipTB; + u32 regHClipLR; + u32 regHFPClipTL; + u32 regHFPClipBL; + u32 regHFPClipLL; + u32 regHFPClipRL; + u32 regHFPClipTBH; + u32 regHFPClipLRH; + + // Other functions + + u32 regHLP; // Line stipple pattern + u32 regHLPRF; // Line stipple factor + u32 regHSolidCL; // --- Don't know. Unused in DRI. + u32 regHPixGC; // Don't know. Is kept cleared in DRI. + //u32 regHSPXYOS; // Polygon stipple x and y offsets. Unused here. + u32 regHVertexCNT; // --- Don't know. Unused in DRI. + + u8 ps_xos; // Polygon stipple x-offset. => regHSPXYOS + u8 ps_yos; // Polygon stipple y-offset. => regHSPXYOS + u32 ps_pat[32]; // Polygon stipple pattern buffer. + // These are not registers... +}; + + +/// Stencil control. + +struct uc_hw_stencil +{ + //u32 regHSBBasL; // These aren't in regs3d.h, but they should exist... + //u32 regHSBBasH; + //u32 regHSBFM; + + u32 regHSTREF; // Stencil reference value and plane mask + u32 regHSTMD; // Stencil test function and fail operation and + // zpass/zfail operations. +}; +*/ + +#endif // __UC_STATE__ |