diff options
author | Brian Paul <[email protected]> | 2000-09-07 15:38:49 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-09-07 15:38:49 +0000 |
commit | 38d3f3d660225150715bc06f6b33e394ba803299 (patch) | |
tree | 32e7595b94673f5f8e5c55ee3fb4a80d46196eab /src/mesa/main/dd.h | |
parent | 724f2939f4cf351dba37a8d80e1a01fdcf07f3c2 (diff) |
added device driver function for texture proxy testing
Diffstat (limited to 'src/mesa/main/dd.h')
-rw-r--r-- | src/mesa/main/dd.h | 14 |
1 files changed, 12 insertions, 2 deletions
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, |