summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/pack.h
Commit message (Collapse)AuthorAgeFilesLines
* mesa pack: handle uint and int clamping properlyJordan Justen2012-08-141-3/+9
| | | | | | | | | | | Rename _mesa_pack_rgba_span_int to _mesa_pack_rgba_span_from_uints. Add _mesa_pack_rgba_span_from_ints. These separate routines allow the integer clamping to be handled properly for signed versus unsigned integers. Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* mesa: add _mesa_rebase_rgba_float/uint() functionsBrian Paul2012-03-081-0/+7
| | | | | | | | | These will be used by glReadPixels() and glGetTexImage() to fix issues with reading GL_LUMINANCE and other formats. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: José Fonseca <[email protected]>
* mesa: replace GLstencil with GLubyteBrian Paul2011-11-151-2/+2
|
* mesa: add packing for int/uintDave Airlie2011-10-081-0/+5
| | | | | | | This just adds a simple packing for GL_UNSIGNED_INT/GL_INT destination formats. This is enough for at least the gallium drivers to pack both unsigned and signed types for read pixels. Signed-off-by: Dave Airlie <[email protected]>
* mesa: convert _mesa_unpack_color_span_chan() to ubyteBrian Paul2011-09-201-2/+2
|
* mesa: implement packing of DEPTH_STENCIL & FLOAT_32_UNSIGNED_INT_24_8_REV comboMarek Olšák2011-07-111-2/+2
| | | | Tested with the new piglit fbo-depthstencil test.
* mesa: replace more MAX_WIDTH stack allocations with heap allocationsBrian Paul2010-12-021-7/+7
|
* mesa: code to unpack RGBA as uintsBrian Paul2010-11-031-0/+7
|
* mesa: split up the image.c fileBrian Paul2010-10-231-0/+140
New files: pack.c - image/row packing/unpacking functions pixeltransfer.c - pixel scale/bias/lookup functions