summaryrefslogtreecommitdiff
path: root/src/mesa/main/image.c
AgeCommit message (Collapse)Author
2006-05-07misc clean-upsBrian Paul
2006-05-05check for float->uint overflow in _mesa_unpack_depth_span()Brian Paul
2006-03-28comment about byteswapping in _mesa_unpack_depth_span()Brian Paul
2006-03-26merge from texman branchBrian Paul
2005-11-12Added OSMesaColorClamp(), bug 4917Brian Paul
2005-11-09Bug 4996.Brian Paul
Replace use of FLOAT_TO_USHORT with either CLAMPED_FLOAT_TO_USHORT or UNCLAMPED_FLOAT_TO_USHORT. Same should be done for UBYTE, UINT, etc.
2005-10-01added _mesa_pack_depth_stencil_span()Brian Paul
2005-09-28Initial work for GL_EXT_packed_depth_stencil extension.Brian Paul
glReadPixels done, glDrawPixels mostly done.
2005-09-06remove DEFARRAY, CHECKARRAY stuffBrian Paul
2004-12-03silence a variety of warnings found with g++ 3.4.2Brian Paul
2004-11-10GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpackingBrian Paul
and ignored for 1D and 2D images. Need to pass in image dimensions (1,2,3) to the _mesa_image_address() function. This change gets propogated to some other routines. Also added new _mesa_image_address[123]d() convenience functions.
2004-11-09added a comment and assertion in _mesa_clip_drawpixels() for PixelZoomBrian Paul
2004-11-09added _mesa_clip_drawpixels() and _mesa_clip_readpixels()Brian Paul
2004-10-31Use the _mesa_scale_and_bias_rgba() function in the convolution functions.Brian Paul
Minor clean-ups.
2004-10-02fix a commentBrian Paul
2004-08-25Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul
1015696)
2004-06-11disable GL_INTENTSITY in _mesa_is_legal_format_and_type(). See table 3.6 of ↵Brian Paul
the 1.5 spec
2004-05-12GL_BGR can't be used with the packed types, according to the GL spec. ↵Brian Paul
Enforce such.
2004-05-12some component ordering bugs in extract_float_rgba()Brian Paul
2004-04-22New glTexImage code.Brian Paul
The gl_texture_format struct now has a StoreTexImageFunc that's called by glTex[Sub]Image[123]D to convert the user's texture data into the specific texture format layout. Now it's much easier to add new texture formats (like the 16/32-bit floating point formats). The texutil.[ch] and texutil_tmp.h files are obsolete.
2004-03-13Implementation of GL_EXT_pixel_buffer_object extension.Brian Paul
Note: extension may not be finalized yet - subject to change! Note: implementation not fully suitable for h/w implementation yet.
2004-02-28Remove clamp parameter from _mesa_unpack_color_span_float(). Pass theBrian Paul
IMAGE_CLAMP_BIT if needed. Added ClampVertexColors and ClampFragmentColors to GLcontext in anticipation of upcoming extensions (not fully used yet).
2004-02-28minor clean-upsBrian Paul
2004-02-28consolidate image transfer operations in new _mesa_apply_rgba_transfer_ops() ↵Brian Paul
function
2004-02-28rename some span pack/unpack functions for better uniformityBrian Paul
2004-02-28move _swrast_texture_table_lookup() to _mesa_lookup_rgba_chan()Brian Paul
2003-11-25casts for g++Brian Paul
2003-11-18Some groundwork for supporting GLhalf datatype.Brian Paul
2003-07-23fix a few more glitches from last big check-inBrian Paul
2003-07-17Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell
2003-06-05Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick
2003-03-01Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul
Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
2002-10-24Header file clean-up:Brian Paul
1. Remove all.h and PC_HEADER junk. 2. Rolled mem.c and mem.h into imports.c and imports.h 3. Include imports.h instead of mem.h Restore _mesa_create/initialize_context() to be like they were in 4.0.4 New wrappers for a few std C functions: _mesa_atoi(), _mesa_strstr(), etc.
2002-09-21GL_MESA_pack_invertBrian Paul
2002-09-21updates from 4.0.4 (MESA_ycbcr_texture, APPLE_client_storage, etc)Brian Paul
2002-04-26replaced GLshort with GLushort in _mesa_sizeof_packed_type()Brian Paul
2002-03-19Use MESA_PBUFFER_ALLOC/FREE macros to allocate all framebuffer and textureBrian Paul
memory. These can be overridden by applications which need to manage this memory specially. Contributed by Gerk Huisma. Also, new code for 8-bit -> 16-bit/channel texture image storage which fills in the least-significant bits properly.
2002-03-13added _mesa_image_image_stride()Brian Paul
2001-07-14more work on float colors (still not finished)Brian Paul
2001-06-13fixed an assertionBrian Paul
2001-05-16use DEFARRAY, etc macros to work around 32k data limit on Macs (Tom Goon)Brian Paul
2001-05-15_mesa_pack_index_span() was broken for non-GLubyte datatypesBrian Paul
2001-04-04GL_INTENSITY case was incorrect in extract_float_rgba()Brian Paul
2001-03-07fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul
of potential problems
2001-03-03lots of gl_*() to _mesa_*() namespace clean-upBrian Paul
2001-02-17Changed FetchTexel() function pointer arguments.Brian Paul
Implemented glGetTexImage(format=GL_COLOR_INDEX). Changed _mesa_unpack_depth_span() args. Minor changes/clean-ups in mtypes.h. Histogram counter component sizes were wrong.
2001-02-16moved depth/index/stencil span packing into image.cBrian Paul
2001-02-13removed bogus assertionsBrian Paul
2001-01-23Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h.Brian Paul
Replace "RGBAMode" with "rgbMode", etc. Other minor clean-ups.
2001-01-03More color macro clean-ups.Brian Paul
FLOAT_TO_CHAN() macro removed.