Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-01-06 | mesa: Fix the size per pixel for packed pixel format data type. | Xiang, Haihao | |
2008-12-18 | mesa: Clip copytexsubimage to read framebuffer bounds, not scissor region. | Eric Anholt | |
2008-12-18 | mesa: Correct _mesa_clip_to_region() off-by-one. | Eric Anholt | |
Note how if: x + width == xmax + 0: width -= 0 x + width == xmax + 1: width -= 0 x + width == xmax + 2: width -= 1 So, the function was clipping to [xmin, xmax+1), not [xmin, xmax) like it was supposed to. Same for ymax. | |||
2008-11-19 | mesa: clamp luminance if needed. | Xiang, Haihao | |
This fixes glReadPixels(GL_LUMINANCE, GL_FLOAT)/glGetTexImage(GL_LUMINANCE, GL_FLOAT) issue on fixed-point color buffers. | |||
2008-09-23 | mesa: Apply MSVC portability fixes from Alan Hourihane. | José Fonseca | |
2008-09-23 | Added new _mesa_clip_copytexsubimage() function to do avoid clipping down in ↵ | Brian | |
the drivers. This should probably be pulled into main-line Mesa... (cherry picked from commit 324ecadbfdf9b944e059832f146451e4151dcb21) | |||
2008-09-21 | mesa: refactor: move _mesa_update_minmax/histogram() into image.c | Brian Paul | |
(cherry picked from commit eded7f010d344a909cf9c403eb3bdad91804d174) | |||
2008-09-21 | mesa: refactor: move pixel map/scale/bias code into image.c | Brian Paul | |
pixel.c is just the API-related code now. | |||
2008-06-17 | mesa: fix inconsistent use of GL_UNSIGNED_INT vs. GL_UNSIGNED_INT_24_8_EXT ↵ | Brian Paul | |
for Z unpacking | |||
2007-08-09 | fix byte swap bug for GLint stencil indexes (bug 11909) | Brian | |
2007-08-02 | fix stencil value masking bug 11805, and fix sizeof() bug | Brian | |
2007-07-30 | handle LSB_FIRST in _mesa_pack_bitmap by the way used in | Xiang, Haihao | |
_mesa_unpack_bitmap | |||
2007-07-08 | Change float depthScale param to _mesa_unpack_depth_span() to GLuint depthMax. | Brian | |
2007-07-08 | check depthScale value for optimized ushort->uint case (fixes bug 11474) | Brian | |
2007-07-05 | stencil pixel map didn't work in _mesa_unpack_stencil_span(), bug 11475 | Brian | |
2007-07-02 | avoid unnecessary clamping of depth values (bug 11448) | Brian | |
2007-05-10 | more indentation fixes, remove 'register' keywords | Brian | |
2007-05-10 | re-indent some code | Brian | |
2007-04-21 | fix SkipPixels bugs in _mesa_pack_bitmap(), bug 10690 | Brian | |
2007-04-19 | In _mesa_unpack_depth_span() look for special cases of GLuint->GLushort and ↵ | Brian | |
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. | |||
2007-03-21 | mesa: revert f9f79c8d770e696249bd98c68b563f887562c974 | Xiang, Haihao | |
to fix #10232 Table6.1(in gl2.1) has been applied for glGetTexImage before calling into _mesa_pack_rgba_span_float. | |||
2007-03-18 | mesa: SWAP_BUFF support when calling DrawPixels(DEPTH_COMPONENT) | Xiang, Haihao | |
or TexImage(DEPTH_COMPONENT) | |||
2007-03-16 | Colortable re-org. | Brian | |
The pixel transfer path has three color table lookups. Use an array [3] to store that info, rather than separate variables. | |||
2007-03-15 | implement byteswapping for all multi-byte types in ↵ | Brian | |
_mesa_pack_rgba_span_float(), bug 10298 | |||
2007-03-14 | Re-org of gl_pixel_attrib struct. | Brian | |
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. | |||
2007-03-13 | mesa: _mesa_unpack_image | Xiang, Haihao | |
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 | |||
2007-03-12 | clean-up, simplify _mesa_image_row_stride() | Brian | |
2007-03-12 | take GL_UNPACK_ALIGNMENT into account in _mesa_image_row_stride() for ↵ | Brian | |
GL_BITMAP type (bug 10261) | |||
2007-03-09 | New IMAGE_RED_TO_LUMINANCE flag passed to _mesa_pack_rgba_span_float() to ↵ | Brian | |
fix glGetTexImage(GL_LUMINANCE) bug #10232. | |||
2007-01-31 | _mesa_pack_rgba_span_float: fix for packing data into group | Xiang, Haihao | |
2006-11-16 | fix glDrawPixels(GL_COLOR_INDEX, GL_BITMAP) bug 9044 | Brian Paul | |
2006-10-13 | remove needless condition | Brian Paul | |
2006-10-13 | Consolidate, move, fix code related to color index and stencil image transfer | Brian Paul | |
operations (shift, offset, table lookup, etc). | |||
2006-10-13 | In _mesa_pack_rgba_span_float() we don't need to make a temporary copy of | Brian Paul | |
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. | |||
2006-10-13 | s/GLuint/GLbitfield/ | Brian Paul | |
2006-10-13 | removed obsolete _mesa_pack_rgba_span_chan() | Brian Paul | |
2006-10-12 | don't use temp storage in _mesa_convert_colors() when possible | Brian Paul | |
2006-10-11 | Added _mesa_convert_colors(). | Brian Paul | |
_mesa_clip_drawpixels() now handles Pixel.ZoomY==-1. | |||
2006-09-11 | undo some accidental changes in _mesa_is_legal_format_and_type() | Brian Paul | |
2006-09-10 | Redefine the BYTE_TO_FLOAT() and SHORT_TO_FLOAT() macros to avoid problems | Brian Paul | |
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. | |||
2006-05-07 | misc clean-ups | Brian Paul | |
2006-05-05 | check for float->uint overflow in _mesa_unpack_depth_span() | Brian Paul | |
2006-03-28 | comment about byteswapping in _mesa_unpack_depth_span() | Brian Paul | |
2006-03-26 | merge from texman branch | Brian Paul | |
2005-11-12 | Added OSMesaColorClamp(), bug 4917 | Brian Paul | |
2005-11-09 | Bug 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-01 | added _mesa_pack_depth_stencil_span() | Brian Paul | |
2005-09-28 | Initial work for GL_EXT_packed_depth_stencil extension. | Brian Paul | |
glReadPixels done, glDrawPixels mostly done. | |||
2005-09-06 | remove DEFARRAY, CHECKARRAY stuff | Brian Paul | |
2004-12-03 | silence a variety of warnings found with g++ 3.4.2 | Brian Paul | |