summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/image.c
Commit message (Collapse)AuthorAgeFilesLines
* 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: Fix GL_FIXED arrays.Chia-I Wu2010-12-091-0/+2
| | | | It is broken since 433e5e6defc85d8b1d6262aff990e3f5a8b37027.
* mesa: remove stray GL_FLOAT case in _mesa_is_legal_format_and_type()Brian Paul2010-11-071-1/+0
|
* mesa: additional integer formats in _mesa_bytes_per_pixel()Brian Paul2010-10-281-4/+8
|
* mesa: add const qualifier to _mesa_is_legal_format_and_type()Brian Paul2010-10-281-1/+2
|
* mesa: fix integer cases in _mesa_is_legal_format_and_type()Brian Paul2010-10-281-1/+65
| | | | Some integer formats work with some packed datatypes.
* mesa: Remove unnecessary header.Vinson Lee2010-10-271-1/+0
|
* mesa: additional switch cases for GL_EXT_texture_integerBrian Paul2010-10-251-2/+87
|
* mesa: split up the image.c fileBrian Paul2010-10-231-4363/+0
| | | | | | New files: pack.c - image/row packing/unpacking functions pixeltransfer.c - pixel scale/bias/lookup functions
* mesa: add missing cases for packing red/green imagesBrian Paul2010-10-211-0/+48
|
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-26/+26
|
* Drop GLframebuffer typedef and just use struct gl_framebufferKristian Høgsberg2010-10-131-2/+2
|
* rgtc: Detect RGTC formats as color formats and as compressed formatsIan Romanick2010-10-011-0/+9
|
* ARB_texture_rg: Add GL_COMPRESSED_{RED,RG} cases in _mesa_is_color_formatIan Romanick2010-10-011-0/+2
|
* ARB_texture_rg: Add R8, R16, RG88, and RG1616 internal formatsIan Romanick2010-10-011-0/+88
|
* mesa: Remove EXT_convolution.Eric Anholt2010-09-231-19/+2
| | | | More optional code.
* mesa: Remove SGI_color_matrix.Eric Anholt2010-09-231-34/+0
| | | | Another optional ARB_imaging subset extension.
* mesa: Remove SGI_color_table.Eric Anholt2010-09-231-12/+0
| | | | Another optional ARB_imaging subset extension.
* mesa: Remove EXT_histogram.Eric Anholt2010-09-231-74/+0
| | | | This has always been optional, and not useful.
* mesa: Remove unnecessary headers.Vinson Lee2010-07-311-1/+0
|
* mesa: initial support for unnormalized integer texture formatsBrian Paul2010-07-051-130/+321
| | | | As defined by GL_EXT_texture_integer.
* mesa: move/rename is_depth_or_stencil_format()Brian Paul2010-04-271-0/+26
| | | | Put it with other, similar functions.
* mesa: make is_compressed_format() non-staticBrian Paul2010-04-231-0/+34
|
* Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg2010-02-191-4/+4
|
* Remove _mesa_memcpy in favor of plain memcpy.Kenneth Graunke2010-02-191-24/+24
| | | | This may break the SUNOS4 build, but it's no longer relevant.
* mesa: Fix compiler warningsKarl Schultz2010-02-131-4/+4
| | | | | 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-1/+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 header from image.c.Vinson Lee2010-01-181-1/+0
| |
* | Merge branch 'mesa_7_7_branch'Brian Paul2010-01-041-0/+2
|\| | | | | | | | | | | | | | | | | Conflicts: docs/relnotes.html src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/r300/r300_cs.h src/mesa/drivers/dri/i965/brw_wm_surface_state.c src/mesa/main/enums.c
| * mesa: added GL_DU8DV8_ATI in extract_float_rgba()Brian Paul2010-01-041-0/+2
| | | | | | | | Fixes warning seen with Shadowgrounds. See bug 24016.
* | mesa: more detailed error message in extract_float_rgba()Brian Paul2010-01-041-1/+3
|/
* mesa: fix return value when clipping {Read,Draw}Pixels height <= 0Ben Skeggs2009-10-051-2/+2
| | | | Signed-off-by: Ben Skeggs <[email protected]>
* mesa: new _mesa_expand_bitmap() functionBrian Paul2009-09-011-0/+85
|
* mesa: added _mesa_is_stencil_format()Brian Paul2009-08-311-0/+16
|
* mesa: refactor: move _mesa_is_color/depth/stencil_format() helpers to image.cBrian Paul2009-08-131-0/+204
|
* Merge branch 'mesa_7_5_branch'Brian Paul2009-08-051-0/+178
|\ | | | | | | | | | | Conflicts: src/mesa/main/state.c
| * mesa: make _mesa_clip_blit() a shared functionBrian Paul2009-08-051-0/+178
| |
* | Merge branch 'mesa_7_5_branch'José Fonseca2009-06-111-1/+1
|\| | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_cb_fbo.c src/mesa/state_tracker/st_framebuffer.c
| * mesa: Fix typo in bitmask.José Fonseca2009-06-101-1/+1
| |
* | Merge branch 'mesa_7_5_branch'Brian Paul2009-05-221-13/+23
|\|
| * mesa: allow GL_BITMAP type in _mesa_image_image_stride()Brian Paul2009-05-221-13/+23
| | | | | | | | | | | | | | It's possible to hand a GL_COLOR_INDEX/GL_BITMAP image to glTexImage3D() which gets converted to RGBA via the glPixelMap tables. This fixes a failure with piglit/fdo10370 with Gallium.
* | mesa: add GL_DOUBLE case in _mesa_sizeof_type()Brian Paul2009-05-071-0/+2
|/
* mesa: add another special/optimized case in _mesa_unpack_depth_span()Brian Paul2009-04-071-0/+11
|
* mesa: remove the noClamp parameter to _mesa_pack_rgba_span_float()Brian Paul2009-04-031-3/+6
| | | | | It was only set to GL_TRUE in one place where it isn't really needed (glGetTexImage(sRGB format)).
* mesa: add new signed rgba texture formatRoland Scheidegger2009-03-281-14/+3
| | | | | This is a (partial) backport of the signed texture format support in OGL 3.1. Since it wasn't promoted from an existing extension roll our own.
* mesa: use the IROUND() macro in pixel packing codeBrian Paul2009-03-181-108/+108
| | | | | | It turns out some tests are sensitive to rounding vs. truncating when converting float color values to integers in glReadPixels(). In particular, this matters when the destination format is 5/6/5 or 4/4/4/4, etc.
* mesa: added GL_DU8DV8_ATI case in _mesa_components_in_format()Brian Paul2009-03-121-0/+1
| | | | This gets hit when glTexSubImage2D() is called with format==GL_DU8DV8_ATI.
* mesa: move declarations before codeBrian Paul2009-03-121-2/+2
|
* mesa: add support for ATI_envmap_bumpmapRoland Scheidegger2009-03-121-3/+150
| | | | | | | | add new entrypoints, new texture format, etc translate in texenvprogram.c for drivers using the mesa-generated tex env fragment program also handled in swrast, but not tested (cannot work due to negative texel results not handled correctly)