summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texgetimage.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Fix pointer arithmetic.Michal Krol2009-11-241-1/+3
|
* mesa: handle different RowStride in _mesa_get_compressed_teximageRoland Scheidegger2009-11-211-6/+21
| | | | | | drivers storing compressed textures with non-native stride but relying on _mesa_get_compressed_teximage for GetCompressedTexImage otherwise won't work correctly (for instance i965 compressed mipmaps).
* mesa: use _mesa_get_current_tex_object()Brian Paul2009-11-021-13/+4
|
* mesa: fix inverted buffer object testBrian Paul2009-10-301-1/+1
| | | | Fixes bug 24799.
* mesa: lift memcpy_get_tex_image() code from intel driver into core MesaBrian Paul2009-10-291-1/+83
| | | | The code should work for any driver.
* mesa: refactor _mesa_get_teximage() codeBrian Paul2009-10-291-158/+302
| | | | Break different formats into different functions to make it easier to read.
* mesa: consolidate some code in _mesa_GetCompressedTexImageARB()Brian Paul2009-10-291-6/+2
|
* mesa: move pixels==NULL check in glGetTexImage()Brian Paul2009-10-291-9/+10
|
* mesa: consolidate some code in _mesa_GetTexImage()Brian Paul2009-10-291-6/+2
|
* mesa: remove unneedded is_srgb_teximage() functionBrian Paul2009-10-291-24/+2
| | | | Use _mesa_get_format_color_encoding() function instead.
* Merge branch 'texformat-rework'Brian Paul2009-10-281-28/+39
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/radeon/radeon_fbo.c src/mesa/drivers/dri/s3v/s3v_tex.c src/mesa/drivers/dri/s3v/s3v_xmesa.c src/mesa/drivers/dri/trident/trident_context.c src/mesa/main/debug.c src/mesa/main/mipmap.c src/mesa/main/texformat.c src/mesa/main/texgetimage.c
| * mesa: remove _mesa_compressed_texture_size()Brian Paul2009-10-241-6/+4
| | | | | | | | Use _mesa_format_image_size() instead.
| * mesa: don't include texformat.hBrian Paul2009-10-051-1/+1
| |
| * mesa: reformattingBrian Paul2009-10-011-6/+6
| |
| * mesa: remove gl_texture_image::IsCompressed fieldBrian Paul2009-10-011-1/+1
| | | | | | | | Use _mesa_is_format_compressed() instead.
| * mesa: replace gl_texture_format with gl_formatBrian Paul2009-09-301-7/+7
| | | | | | | | | | | | Now gl_texture_image::TexFormat is a simple MESA_FORMAT_x enum. ctx->Driver.ChooseTexture format also returns a MESA_FORMAT_x. gl_texture_format will go away next.
| * mesa: use more format helper functionsBrian Paul2009-09-271-12/+18
| |
* | mesa: rework error checking code for glGetCompressedTexImage()Brian Paul2009-10-231-48/+122
|/ | | | | | Do all error checking in new getcompressedteximage_error_check() func. Move some additional PBO checks out of the driver fallbacks into the error checking functions.
* mesa: if maxLevels==0, target is invalidBrian Paul2009-08-131-1/+4
|
* mesa: use _mesa_get_current_tex_unit() in more placesBrian Paul2009-08-131-15/+4
|
* mesa: move _mesa_Get[Compressed]TexImage() to texgetimage.cBrian Paul2009-08-131-0/+232
| | | | All the glGetTexImage code is in one file now.
* mesa: use _mesa_is_bufferobj()Brian Paul2009-08-121-4/+5
|
* mesa: Use appropriate float/integer types.José Fonseca2009-06-151-1/+1
|
* mesa: Use type modifier for float constants.José Fonseca2009-06-151-2/+2
|
* mesa: move glGetTexImage(), glGetCompresssedTexImage() code into new fileBrian Paul2009-04-031-0/+356