summaryrefslogtreecommitdiff
path: root/src/mesa/main/texgetimage.c
AgeCommit message (Collapse)Author
2011-02-28mesa: move PBO-related functions into a new fileBrian Paul
2011-02-16mesa: 80-column wrapBrian Paul
2011-01-07mesa: Directly include mfeatures.h in files that perform feature tests.Vinson Lee
2011-01-05mesa: Include mtypes.h in files that use gl_context struct.Vinson Lee
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.
2010-12-23mesa: implement new texture format L16Marek Olšák
2010-12-23mesa: implement new texture format A16Marek Olšák
2010-12-02mesa: replace large/MAX_WIDTH stack allocations with heap allocationsBrian Paul
2010-10-23mesa: split up the image.c fileBrian Paul
New files: pack.c - image/row packing/unpacking functions pixeltransfer.c - pixel scale/bias/lookup functions
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg
2010-05-13mesa: Remove _mesa_pow(), which is always just pow().Eric Anholt
2010-02-19Remove _mesa_memcpy in favor of plain memcpy.Kenneth Graunke
This may break the SUNOS4 build, but it's no longer relevant.
2010-02-13mesa: Fix compiler warningsKarl Schultz
Add explicit casts, fix constant types, fix variable types. Fixes about 340 warnings in MSFT Visual Studio.
2010-01-22Merge branch 'mesa_7_7_branch'Brian Paul
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
2010-01-18mesa: Remove unnecessary headers from texgetimage.c.Vinson Lee
2010-01-12Merge branch 'master' into opengl-es-v2Chia-I Wu
Conflicts: src/mesa/main/dd.h
2009-12-31Merge branch 'mesa_7_7_branch'Brian Paul
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
2009-12-29mesa: Initialize variable in get_tex_color_index.Vinson Lee
2009-11-24mesa: Fix pointer arithmetic.Michal Krol
2009-11-21mesa: handle different RowStride in _mesa_get_compressed_teximageRoland Scheidegger
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).
2009-11-06mesa/main: linear_to_nonlinear is not always available.Chia-I Wu
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-11-02mesa: use _mesa_get_current_tex_object()Brian Paul
2009-10-30mesa: fix inverted buffer object testBrian Paul
Fixes bug 24799.
2009-10-29mesa: lift memcpy_get_tex_image() code from intel driver into core MesaBrian Paul
The code should work for any driver.
2009-10-29mesa: refactor _mesa_get_teximage() codeBrian Paul
Break different formats into different functions to make it easier to read.
2009-10-29mesa: consolidate some code in _mesa_GetCompressedTexImageARB()Brian Paul
2009-10-29mesa: move pixels==NULL check in glGetTexImage()Brian Paul
2009-10-29mesa: consolidate some code in _mesa_GetTexImage()Brian Paul
2009-10-29mesa: remove unneedded is_srgb_teximage() functionBrian Paul
Use _mesa_get_format_color_encoding() function instead.
2009-10-28Merge branch 'texformat-rework'Brian Paul
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
2009-10-24mesa: remove _mesa_compressed_texture_size()Brian Paul
Use _mesa_format_image_size() instead.
2009-10-23mesa: rework error checking code for glGetCompressedTexImage()Brian Paul
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.
2009-10-05mesa: don't include texformat.hBrian Paul
2009-10-01mesa: reformattingBrian Paul
2009-10-01mesa: remove gl_texture_image::IsCompressed fieldBrian Paul
Use _mesa_is_format_compressed() instead.
2009-09-30mesa: replace gl_texture_format with gl_formatBrian Paul
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.
2009-09-27mesa: use more format helper functionsBrian Paul
2009-08-13mesa: if maxLevels==0, target is invalidBrian Paul
2009-08-13mesa: use _mesa_get_current_tex_unit() in more placesBrian Paul
2009-08-13mesa: move _mesa_Get[Compressed]TexImage() to texgetimage.cBrian Paul
All the glGetTexImage code is in one file now.
2009-08-12mesa: use _mesa_is_bufferobj()Brian Paul
2009-11-27mesa: Avoid void pointer arithmetic.José Fonseca
2009-06-15mesa: Use appropriate float/integer types.José Fonseca
2009-06-15mesa: Use type modifier for float constants.José Fonseca
2009-04-03mesa: move glGetTexImage(), glGetCompresssedTexImage() code into new fileBrian Paul