From 60e6896fee7b69023cac824e493a94c895baab54 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 17 Nov 2009 22:24:48 -0700 Subject: mesa: updated texstore comments --- src/mesa/main/texstore.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c index 192e0025b4..1a3fc01763 100644 --- a/src/mesa/main/texstore.c +++ b/src/mesa/main/texstore.c @@ -3280,9 +3280,6 @@ texture_row_stride(const struct gl_texture_image *texImage) * This is the software fallback for Driver.TexImage1D() * and Driver.CopyTexImage1D(). * \sa _mesa_store_teximage2d() - * Note that the width may not be the actual texture width since it may - * be changed by convolution w/ GL_REDUCE. The texImage->Width field will - * have the actual texture size. */ void _mesa_store_teximage1d(GLcontext *ctx, GLenum target, GLint level, @@ -3332,8 +3329,8 @@ _mesa_store_teximage1d(GLcontext *ctx, GLenum target, GLint level, * This is the software fallback for Driver.TexImage2D() * and Driver.CopyTexImage2D(). * - * This function is oriented toward storing images in main memory, rather - * than VRAM. Device driver's can easily plug in their own replacement. + * Basically, allocate space for the image, then store it. + * When the source data is in a PBO, validate/map the PBO first. * * Note: width and height may be pre-convolved dimensions, but * texImage->Width and texImage->Height will be post-convolved dimensions. -- cgit v1.2.3