summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texgetimage.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: 80-column wrapBrian Paul2011-02-161-2/+2
|
* mesa: Directly include mfeatures.h in files that perform feature tests.Vinson Lee2011-01-071-0/+1
|
* mesa: Include mtypes.h in files that use gl_context struct.Vinson Lee2011-01-051-0/+1
| | | | | | Directly include mtypes.h if a file uses a gl_context struct. This allows future removal of headers that are not strictly necessary but indirectly include mtypes.h for a file.
* mesa: implement new texture format L16Marek Olšák2010-12-231-0/+5
|
* mesa: implement new texture format A16Marek Olšák2010-12-231-0/+5
|
* mesa: replace large/MAX_WIDTH stack allocations with heap allocationsBrian Paul2010-12-021-3/+24
|
* mesa: split up the image.c fileBrian Paul2010-10-231-0/+1
| | | | | | New files: pack.c - image/row packing/unpacking functions pixeltransfer.c - pixel scale/bias/lookup functions
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-12/+12
|
* mesa: Remove _mesa_pow(), which is always just pow().Eric Anholt2010-05-131-1/+1
|
* Remove _mesa_memcpy in favor of plain memcpy.Kenneth Graunke2010-02-191-3/+3
| | | | This may break the SUNOS4 build, but it's no longer relevant.
* mesa: Fix compiler warningsKarl Schultz2010-02-131-2/+2
| | | | | Add explicit casts, fix constant types, fix variable types. Fixes about 340 warnings in MSFT Visual Studio.
* Merge branch 'mesa_7_7_branch'Brian Paul2010-01-221-2/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c src/gallium/auxiliary/pipebuffer/Makefile src/gallium/auxiliary/pipebuffer/SConscript src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/tgsi/tgsi_scan.c src/gallium/drivers/i915/i915_surface.c src/gallium/drivers/i915/i915_texture.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/softpipe/sp_prim_vbuf.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/winsys/drm/intel/gem/intel_drm_api.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_drm.c src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c src/mesa/state_tracker/st_cb_clear.c
| * mesa: Remove unnecessary headers from texgetimage.c.Vinson Lee2010-01-181-2/+0
| |
* | Merge branch 'master' into opengl-es-v2Chia-I Wu2010-01-121-7/+24
|\ \ | | | | | | | | | | | | Conflicts: src/mesa/main/dd.h
| * | Merge branch 'mesa_7_7_branch'Brian Paul2009-12-311-1/+1
| |\| | | | | | | | | | | | | | | | | | | | | | Conflicts: configs/darwin src/gallium/auxiliary/util/u_clear.h src/gallium/state_trackers/xorg/xorg_exa_tgsi.c src/mesa/drivers/dri/i965/brw_draw_upload.c
| | * mesa: Initialize variable in get_tex_color_index.Vinson Lee2009-12-291-1/+1
| | |
| | * mesa: Avoid void pointer arithmetic.José Fonseca2009-11-271-1/+2
| | |
| * | 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/main: linear_to_nonlinear is not always available.Chia-I Wu2009-11-061-24/+38
|/ | | | Signed-off-by: Chia-I Wu <[email protected]>
* 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