diff options
author | Brian Paul <brianp@vmware.com> | 2009-11-17 22:24:48 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-11-17 22:28:50 -0700 |
commit | 60e6896fee7b69023cac824e493a94c895baab54 (patch) | |
tree | 771eaa3bf569c54299b880f94b27977a7897d459 | |
parent | c7d91d385dd963c3f4a2b7d8076d8f5fcbf6209c (diff) |
mesa: updated texstore comments
-rw-r--r-- | src/mesa/main/texstore.c | 7 |
1 files 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. |