summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_format.c
AgeCommit message (Collapse)Author
2008-05-17s/PIPE_FORMAT_U_S8/PIPE_FORMAT_S8_UNORM/Brian Paul
2008-04-30gallium: use the newer PIPE_FORMAT_x_UNORM format namesBrian Paul
2008-04-28gallium: return enum pipe_format, not uint, for a few functionsBrian Paul
2008-04-16gallium: make choose_format() non-static: st_choose_format()Brian Paul
2008-04-07gallium: fix the texture case in default_deep_rgba_format()Brian Paul
Fixes glean pixelFormat test
2008-04-04gallium: state tracker fixes for compressed texturesRoland Scheidegger
2008-04-03gallium: test if PIPE_FORMAT_YCBCR[_REV] is supported and enable ↵Brian
GL_MESA_ycbcr_texture Update texture format selection code too.
2008-03-28gallium: re-work texture format selection codeBrian Paul
Use same code for choosing texture format and renderbuffer format.
2008-02-27gallium: move is_format_supported() to pipe_screen structBrian
2007-12-12Re-org of st_create_framebuffer() and renderbuffer format selection.Brian
st_create_framebuffer() now takes pipe_formats for the color, depth, stencil buffers. This avoids a round-about chain of calls to pipe->is_format_supported() for window renderbuffers (their format never changes). Renderbuffer format selection code in st_format.c is simpler now too.
2007-12-12Try PIPE_FORMAT_R5G6B5_UNORM for GL_RGB5 request.Brian
2007-12-11softpipe: Support for PIPE_FORMAT_A4R4G4B4_UNORM and PIPE_FORMAT_R5G6B5_UNORM.Michel Dänzer
The packedpixels test runs with the xlib winsys, though not all cases look correct yet.
2007-12-10Add 'type' parameter to is_format_supported() to specify texture vs. drawing ↵Brian
surface, etc. Additional types may be added in the future.
2007-12-07Define PIPE_FORMAT_ tokens as an enum set, rather than #defines.Brian
This makes debugging a _lot_ easier. In gdb, "print format" used to display 613570600, now you see PIPE_FORMAT_A8R8G8B8_UNORM.
2007-12-07Replace "duplicate" formatsBrian
2007-12-07Add PIPE_FORMAT_U_B8_G8_R8_A8 in default_rgba_format().Brian
Also, rewrite/simplify default_rgba_format() and default_depth_format().
2007-12-06st_mesa_format_to_pipe_format: Handle MESA_FORMAT_ARGB4444.Michel Dänzer
2007-11-24Cleanup PIPE_FORMAT names.Michal Krol
Add a function that builds a display name of a given format token.
2007-11-20initial support for PIPE_FORMAT_Z24_S8Brian
2007-11-06init luminance/intensity_bits to zero in st_get_format_info()Brian
2007-11-06Convert format bitfields to shifts and masks.Michel Dänzer
The memory layout of bitfields depends on the ABI.
2007-10-29remove dead codeBrian
2007-10-29check for signed vs. unsigned in st_get_format_info() - fixes accum buffer ↵Brian
failure
2007-10-28Replace supported_formats with is_format_supported interface.Michal Krol
The old supported_formats interface returned a list of formats supported by a pipe/winsys implementation. This was reasonable when gallium had a fixed list of predefined format. Now things has changed and the definition of PIPE_FORMAT is more flexible. The new shiny is_format_supported interface gets PIPE_FORMAT as an argument and returns a boolean whether this particular format is supported.
2007-10-27Use PIPE_FORMAT in state tracker.michal
Fix PIPE_FORMAT field encoding. Re-implement st_get_format_info.
2007-10-27Refactor supported format queries.michal
2007-10-27Remove PIPE_FORMAT_COUNT references.michal
2007-10-1416-bit rgba surface/format for accumBrian
2007-10-13format info for Z16/Z32Brian
2007-10-02added MESA_FORMAT_Z16 in st_mesa_format_to_pipe_format(), for GleanBrian
2007-08-24Add support for more surface types in sp_surface.cBrian
replace PIPE_FORMAT_U_L8_A8 with PIPE_FORMAT_U_A8_L8
2007-08-10added st_sizeof_format()Brian
2007-08-10added st_mesa_format_to_pipe_format()Brian
2007-08-10rename st_cb_teximage.h st_format.hBrian
2007-08-10Rename (file contains surface format-related functions)Brian