summaryrefslogtreecommitdiff
path: root/src/mesa/main/image.c
AgeCommit message (Collapse)Author
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-09mesa: Fix GL_FIXED arrays.Chia-I Wu
It is broken since 433e5e6defc85d8b1d6262aff990e3f5a8b37027.
2010-11-07mesa: remove stray GL_FLOAT case in _mesa_is_legal_format_and_type()Brian Paul
2010-10-28mesa: additional integer formats in _mesa_bytes_per_pixel()Brian Paul
2010-10-28mesa: add const qualifier to _mesa_is_legal_format_and_type()Brian Paul
2010-10-28mesa: fix integer cases in _mesa_is_legal_format_and_type()Brian Paul
Some integer formats work with some packed datatypes.
2010-10-27mesa: Remove unnecessary header.Vinson Lee
2010-10-25mesa: additional switch cases for GL_EXT_texture_integerBrian 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-21mesa: add missing cases for packing red/green imagesBrian Paul
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg
2010-10-13Drop GLframebuffer typedef and just use struct gl_framebufferKristian Høgsberg
2010-10-01rgtc: Detect RGTC formats as color formats and as compressed formatsIan Romanick
2010-10-01ARB_texture_rg: Add GL_COMPRESSED_{RED,RG} cases in _mesa_is_color_formatIan Romanick
2010-10-01ARB_texture_rg: Add R8, R16, RG88, and RG1616 internal formatsIan Romanick
2010-09-23mesa: Remove EXT_convolution.Eric Anholt
More optional code.
2010-09-23mesa: Remove SGI_color_matrix.Eric Anholt
Another optional ARB_imaging subset extension.
2010-09-23mesa: Remove SGI_color_table.Eric Anholt
Another optional ARB_imaging subset extension.
2010-09-23mesa: Remove EXT_histogram.Eric Anholt
This has always been optional, and not useful.
2010-07-31mesa: Remove unnecessary headers.Vinson Lee
2010-07-05mesa: initial support for unnormalized integer texture formatsBrian Paul
As defined by GL_EXT_texture_integer.
2010-04-27mesa: move/rename is_depth_or_stencil_format()Brian Paul
Put it with other, similar functions.
2010-04-23mesa: make is_compressed_format() non-staticBrian Paul
2010-02-19Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg
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 header from image.c.Vinson Lee
2010-01-04Merge branch 'mesa_7_7_branch'Brian Paul
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
2010-01-04mesa: added GL_DU8DV8_ATI in extract_float_rgba()Brian Paul
Fixes warning seen with Shadowgrounds. See bug 24016.
2010-01-04mesa: more detailed error message in extract_float_rgba()Brian Paul
2009-10-05mesa: fix return value when clipping {Read,Draw}Pixels height <= 0Ben Skeggs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2009-09-01mesa: new _mesa_expand_bitmap() functionBrian Paul
2009-08-31mesa: added _mesa_is_stencil_format()Brian Paul
2009-08-13mesa: refactor: move _mesa_is_color/depth/stencil_format() helpers to image.cBrian Paul
2009-08-05Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: src/mesa/main/state.c
2009-08-05mesa: make _mesa_clip_blit() a shared functionBrian Paul
2009-06-11Merge branch 'mesa_7_5_branch'José Fonseca
Conflicts: src/mesa/state_tracker/st_cb_fbo.c src/mesa/state_tracker/st_framebuffer.c
2009-06-10mesa: Fix typo in bitmask.José Fonseca
2009-05-22Merge branch 'mesa_7_5_branch'Brian Paul
2009-05-22mesa: allow GL_BITMAP type in _mesa_image_image_stride()Brian Paul
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.
2009-05-07mesa: add GL_DOUBLE case in _mesa_sizeof_type()Brian Paul
2009-04-07mesa: add another special/optimized case in _mesa_unpack_depth_span()Brian Paul
2009-04-03mesa: remove the noClamp parameter to _mesa_pack_rgba_span_float()Brian Paul
It was only set to GL_TRUE in one place where it isn't really needed (glGetTexImage(sRGB format)).
2009-03-28mesa: add new signed rgba texture formatRoland Scheidegger
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.
2009-03-18mesa: use the IROUND() macro in pixel packing codeBrian Paul
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.
2009-03-12mesa: added GL_DU8DV8_ATI case in _mesa_components_in_format()Brian Paul
This gets hit when glTexSubImage2D() is called with format==GL_DU8DV8_ATI.
2009-03-12mesa: move declarations before codeBrian Paul
2009-03-12mesa: add support for ATI_envmap_bumpmapRoland Scheidegger
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)
2009-01-06mesa: Fix the size per pixel for packed pixel format data type.Xiang, Haihao