diff options
author | Brian Paul <[email protected]> | 2003-04-04 17:17:50 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-04-04 17:17:50 +0000 |
commit | 738318bb75dea8dac4465f53850987f6062a732d (patch) | |
tree | 870a4e1bb830bd65e3cb829c1eb1ee4d97cbeecb /src/mesa/main/teximage.h | |
parent | b0e90cc839c6b7fcd3bd76759862eb3bc423e50a (diff) |
Rework gl[Copy]Tex[Sub]Image() error checking so that all level, width, height
and depth checks are done via ctx->Driver.TestProxyTexImage(). This allows
more flexiblity, like supporting larger, non-cubic 3D textures.
Diffstat (limited to 'src/mesa/main/teximage.h')
-rw-r--r-- | src/mesa/main/teximage.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/mesa/main/teximage.h b/src/mesa/main/teximage.h index 7ab6810209d..ed0008e37f8 100644 --- a/src/mesa/main/teximage.h +++ b/src/mesa/main/teximage.h @@ -1,10 +1,8 @@ -/* $Id: teximage.h,v 1.23 2003/04/01 16:41:54 brianp Exp $ */ - /* * Mesa 3-D graphics library - * Version: 3.5 + * Version: 5.1 * - * Copyright (C) 1999-2001 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2003 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -83,6 +81,11 @@ extern GLint _mesa_max_texture_levels(GLcontext *ctx, GLenum target); +extern GLboolean +_mesa_test_proxy_teximage(GLcontext *ctx, GLenum target, GLint level, + GLint internalFormat, GLenum format, GLenum type, + GLint width, GLint height, GLint depth, GLint border); + /*** API entry point functions ***/ |