From 38d3f3d660225150715bc06f6b33e394ba803299 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 7 Sep 2000 15:38:49 +0000 Subject: added device driver function for texture proxy testing --- src/mesa/main/dd.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'src/mesa/main/dd.h') diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index fce30099d35..d37eac3d1f8 100644 --- a/src/mesa/main/dd.h +++ b/src/mesa/main/dd.h @@ -1,8 +1,8 @@ -/* $Id: dd.h,v 1.28 2000/08/29 23:31:23 brianp Exp $ */ +/* $Id: dd.h,v 1.29 2000/09/07 15:38:49 brianp Exp $ */ /* * Mesa 3-D graphics library - * Version: 3.4 + * Version: 3.5 * * Copyright (C) 1999-2000 Brian Paul All Rights Reserved. * @@ -641,6 +641,16 @@ struct dd_function_table { * Core Mesa will perform any image format/type conversions that are needed. */ + GLboolean (*TestProxyTexImage)(GLcontext *ctx, GLenum target, + GLint level, GLint internalFormat, + GLenum format, GLenum type, + GLint width, GLint height, + GLint depth, GLint border); + /* Called by glTexImage[123]D when user specifies a proxy texture + * target. Return GL_TRUE if the proxy test passes, return GL_FALSE + * if the test fails. + */ + GLboolean (*CompressedTexImage1D)( GLcontext *ctx, GLenum target, GLint level, GLsizei imageSize, const GLvoid *data, -- cgit v1.2.3