Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change float depthScale param to _mesa_unpack_depth_span() to GLuint depthMax. | Brian | 2007-07-08 | 1 | -11/+11 |
| | |||||
* | check depthScale value for optimized ushort->uint case (fixes bug 11474) | Brian | 2007-07-08 | 1 | -1/+13 |
| | |||||
* | stencil pixel map didn't work in _mesa_unpack_stencil_span(), bug 11475 | Brian | 2007-07-05 | 1 | -12/+12 |
| | |||||
* | avoid unnecessary clamping of depth values (bug 11448) | Brian | 2007-07-02 | 1 | -28/+51 |
| | |||||
* | more indentation fixes, remove 'register' keywords | Brian | 2007-05-10 | 1 | -29/+26 |
| | |||||
* | re-indent some code | Brian | 2007-05-10 | 1 | -54/+62 |
| | |||||
* | fix SkipPixels bugs in _mesa_pack_bitmap(), bug 10690 | Brian | 2007-04-21 | 1 | -4/+4 |
| | |||||
* | In _mesa_unpack_depth_span() look for special cases of GLuint->GLushort and ↵ | Brian | 2007-04-19 | 1 | -0/+31 |
| | | | | | | | | GLushort->GLuint conversion. This improves performance and avoids int/float/int conversion problems that can introduce errors during glCopyTexImage(). Another fix for the depth peeling algorithm. | ||||
* | mesa: revert f9f79c8d770e696249bd98c68b563f887562c974 | Xiang, Haihao | 2007-03-21 | 1 | -14/+5 |
| | | | | | | | to fix #10232 Table6.1(in gl2.1) has been applied for glGetTexImage before calling into _mesa_pack_rgba_span_float. | ||||
* | mesa: SWAP_BUFF support when calling DrawPixels(DEPTH_COMPONENT) | Xiang, Haihao | 2007-03-18 | 1 | -53/+45 |
| | | | | or TexImage(DEPTH_COMPONENT) | ||||
* | Colortable re-org. | Brian | 2007-03-16 | 1 | -3/+3 |
| | | | | | The pixel transfer path has three color table lookups. Use an array [3] to store that info, rather than separate variables. | ||||
* | implement byteswapping for all multi-byte types in ↵ | Brian | 2007-03-15 | 1 | -20/+17 |
| | | | | _mesa_pack_rgba_span_float(), bug 10298 | ||||
* | Re-org of gl_pixel_attrib struct. | Brian | 2007-03-14 | 1 | -6/+6 |
| | | | | | | | | Reorder fields according to the order in which the pixel transfer operations take place. Improve comments. Move the pixel maps out of gl_pixel_attrib since they're not supposed to be pushed/popped by glPush/PopAttrib. New gl_pixelmap and gl_pixelmaps structs to contain the pixelmaps. | ||||
* | mesa: _mesa_unpack_image | Xiang, Haihao | 2007-03-13 | 1 | -3/+89 |
| | | | | | | | 1. take packed pixel data as a component 2. fix for GL_BITMAP when compiling glTexImage, etc into a display list: a. flip byte if lsbFirst is true since DefaultPacking->lsbFirst is false. b. handle SkipPixels | ||||
* | clean-up, simplify _mesa_image_row_stride() | Brian | 2007-03-12 | 1 | -23/+19 |
| | |||||
* | take GL_UNPACK_ALIGNMENT into account in _mesa_image_row_stride() for ↵ | Brian | 2007-03-12 | 1 | -1/+6 |
| | | | | GL_BITMAP type (bug 10261) | ||||
* | New IMAGE_RED_TO_LUMINANCE flag passed to _mesa_pack_rgba_span_float() to ↵ | Brian | 2007-03-09 | 1 | -5/+14 |
| | | | | fix glGetTexImage(GL_LUMINANCE) bug #10232. | ||||
* | _mesa_pack_rgba_span_float: fix for packing data into group | Xiang, Haihao | 2007-01-31 | 1 | -3/+5 |
| | |||||
* | fix glDrawPixels(GL_COLOR_INDEX, GL_BITMAP) bug 9044 | Brian Paul | 2006-11-16 | 1 | -3/+3 |
| | |||||
* | remove needless condition | Brian Paul | 2006-10-13 | 1 | -3/+1 |
| | |||||
* | Consolidate, move, fix code related to color index and stencil image transfer | Brian Paul | 2006-10-13 | 1 | -48/+111 |
| | | | | operations (shift, offset, table lookup, etc). | ||||
* | In _mesa_pack_rgba_span_float() we don't need to make a temporary copy of | Brian Paul | 2006-10-13 | 1 | -17/+9 |
| | | | | | | | incoming colors when applying pixel transfer ops. In all cases, the caller either indicates there's no pixel transfer ops, or the incoming colors are coming from temporary storage already and can be safely modified. | ||||
* | s/GLuint/GLbitfield/ | Brian Paul | 2006-10-13 | 1 | -7/+7 |
| | |||||
* | removed obsolete _mesa_pack_rgba_span_chan() | Brian Paul | 2006-10-13 | 1 | -72/+0 |
| | |||||
* | don't use temp storage in _mesa_convert_colors() when possible | Brian Paul | 2006-10-12 | 1 | -47/+60 |
| | |||||
* | Added _mesa_convert_colors(). | Brian Paul | 2006-10-11 | 1 | -14/+146 |
| | | | | _mesa_clip_drawpixels() now handles Pixel.ZoomY==-1. | ||||
* | undo some accidental changes in _mesa_is_legal_format_and_type() | Brian Paul | 2006-09-11 | 1 | -4/+7 |
| | |||||
* | Redefine the BYTE_TO_FLOAT() and SHORT_TO_FLOAT() macros to avoid problems | Brian Paul | 2006-09-10 | 1 | -4/+20 |
| | | | | | | converting 0 to exactly 0.0 This goes against the OpenGL spec (see table 2.6) but solves problems when doing byte -> float -> ubyte conversion for particular texture formats. | ||||
* | misc clean-ups | Brian Paul | 2006-05-07 | 1 | -35/+38 |
| | |||||
* | check for float->uint overflow in _mesa_unpack_depth_span() | Brian Paul | 2006-05-05 | 1 | -3/+16 |
| | |||||
* | comment about byteswapping in _mesa_unpack_depth_span() | Brian Paul | 2006-03-28 | 1 | -0/+1 |
| | |||||
* | merge from texman branchmesa_20060325 | Brian Paul | 2006-03-26 | 1 | -1/+41 |
| | |||||
* | Added OSMesaColorClamp(), bug 4917 | Brian Paul | 2005-11-12 | 1 | -1/+1 |
| | |||||
* | Bug 4996. | Brian Paul | 2005-11-09 | 1 | -27/+28 |
| | | | | | 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. | ||||
* | added _mesa_pack_depth_stencil_span() | Brian Paul | 2005-10-01 | 1 | -0/+47 |
| | |||||
* | Initial work for GL_EXT_packed_depth_stencil extension. | Brian Paul | 2005-09-28 | 1 | -34/+114 |
| | | | | glReadPixels done, glDrawPixels mostly done. | ||||
* | remove DEFARRAY, CHECKARRAY stuff | Brian Paul | 2005-09-06 | 1 | -21/+6 |
| | |||||
* | silence a variety of warnings found with g++ 3.4.2 | Brian Paul | 2004-12-03 | 1 | -2/+2 |
| | |||||
* | GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpacking | Brian Paul | 2004-11-10 | 1 | -24/+67 |
| | | | | | | | 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. | ||||
* | added a comment and assertion in _mesa_clip_drawpixels() for PixelZoom | Brian Paul | 2004-11-09 | 1 | -0/+3 |
| | |||||
* | added _mesa_clip_drawpixels() and _mesa_clip_readpixels() | Brian Paul | 2004-11-09 | 1 | -1/+97 |
| | |||||
* | Use the _mesa_scale_and_bias_rgba() function in the convolution functions. | Brian Paul | 2004-10-31 | 1 | -5/+5 |
| | | | | Minor clean-ups. | ||||
* | fix a comment | Brian Paul | 2004-10-02 | 1 | -2/+2 |
| | |||||
* | Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵ | Brian Paul | 2004-08-25 | 1 | -0/+2 |
| | | | | 1015696) | ||||
* | disable GL_INTENTSITY in _mesa_is_legal_format_and_type(). See table 3.6 of ↵ | Brian Paul | 2004-06-11 | 1 | -0/+2 |
| | | | | the 1.5 spec | ||||
* | GL_BGR can't be used with the packed types, according to the GL spec. ↵ | Brian Paul | 2004-05-12 | 1 | -1/+15 |
| | | | | Enforce such. | ||||
* | some component ordering bugs in extract_float_rgba() | Brian Paul | 2004-05-12 | 1 | -24/+32 |
| | |||||
* | New glTexImage code. | Brian Paul | 2004-04-22 | 1 | -41/+46 |
| | | | | | | | | 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. | ||||
* | Implementation of GL_EXT_pixel_buffer_object extension. | Brian Paul | 2004-03-13 | 1 | -26/+8 |
| | | | | | Note: extension may not be finalized yet - subject to change! Note: implementation not fully suitable for h/w implementation yet. | ||||
* | Remove clamp parameter from _mesa_unpack_color_span_float(). Pass the | Brian Paul | 2004-02-28 | 1 | -19/+13 |
| | | | | | | IMAGE_CLAMP_BIT if needed. Added ClampVertexColors and ClampFragmentColors to GLcontext in anticipation of upcoming extensions (not fully used yet). |