From: Brian Paul Date: Mon, 31 Jan 2000 23:10:16 +0000 (+0000) Subject: added _mesa_TexImage3DEXT() X-Git-Tag: mesa-7.8~15024 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=663049a719ed76aa0a6f24f1951a411d241bc8a4;p=platform%2Fupstream%2Fmesa.git added _mesa_TexImage3DEXT() --- diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 2db59c0..3e5d3f0 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -1,10 +1,10 @@ -/* $Id: teximage.c,v 1.14 1999/11/25 17:36:48 brianp Exp $ */ +/* $Id: teximage.c,v 1.15 2000/01/31 23:10:16 brianp Exp $ */ /* * Mesa 3-D graphics library * Version: 3.3 * - * Copyright (C) 1999 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2000 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"), @@ -1247,6 +1247,17 @@ _mesa_TexImage3D( GLenum target, GLint level, GLint internalformat, } +void +_mesa_TexImage3DEXT( GLenum target, GLint level, GLenum internalformat, + GLsizei width, GLsizei height, GLsizei depth, + GLint border, GLenum format, GLenum type, + const GLvoid *pixels ) +{ + _mesa_TexImage3D(target, level, (GLint) internalformat, width, height, + depth, border, format, type, pixels); +} + + void _mesa_GetTexImage( GLenum target, GLint level, GLenum format, diff --git a/src/mesa/main/teximage.h b/src/mesa/main/teximage.h index 98ab512..bd62028 100644 --- a/src/mesa/main/teximage.h +++ b/src/mesa/main/teximage.h @@ -1,10 +1,10 @@ -/* $Id: teximage.h,v 1.3 1999/11/11 01:22:28 brianp Exp $ */ +/* $Id: teximage.h,v 1.4 2000/01/31 23:10:16 brianp Exp $ */ /* * Mesa 3-D graphics library * Version: 3.3 * - * Copyright (C) 1999 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2000 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"), @@ -66,6 +66,13 @@ _mesa_TexImage3D( GLenum target, GLint level, GLint internalformat, extern void +_mesa_TexImage3DEXT( GLenum target, GLint level, GLenum internalformat, + GLsizei width, GLsizei height, GLsizei depth, + GLint border, GLenum format, GLenum type, + const GLvoid *pixels ); + + +extern void _mesa_GetTexImage( GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels );