diff options
author | Vladimir Dergachev <[email protected]> | 2005-01-03 05:44:20 +0000 |
---|---|---|
committer | Vladimir Dergachev <[email protected]> | 2005-01-03 05:44:20 +0000 |
commit | 2fc9351ee768ce0c123ce1d9b210dc6958ab41b2 (patch) | |
tree | 0d3b3fb66a1727f37e71081259db5ca9c95a2282 /src/mesa/drivers/dri/r300/r300_ioctl.h | |
parent | 63fd67e561e0bf303981c0800dc2dee02ba93487 (diff) |
Port texture allocation code from R200.red_tinted_cube
Hook it up, so lesson06 displays red colored textures.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_ioctl.h')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_ioctl.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_ioctl.h b/src/mesa/drivers/dri/r300/r300_ioctl.h index 26ca07cce29..9a2ece5c703 100644 --- a/src/mesa/drivers/dri/r300/r300_ioctl.h +++ b/src/mesa/drivers/dri/r300/r300_ioctl.h @@ -36,6 +36,18 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #ifndef __R300_IOCTL_H__ #define __R300_IOCTL_H__ +#include "r300_context.h" +#include "radeon_drm.h" + +extern GLuint r300GetMemoryOffsetMESA(__DRInativeDisplay * dpy, int scrn, + const GLvoid * pointer); + +extern GLboolean r300IsGartMemory(r300ContextPtr rmesa, const GLvoid * pointer, + GLint size); + +extern GLuint r300GartOffsetFromVirtual(r300ContextPtr rmesa, + const GLvoid * pointer); + extern void r300Flush(GLcontext * ctx); extern void r300InitIoctlFuncs(struct dd_function_table *functions); |