History log of /external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
157566860dee7ef4560f0f0a0a09f86b5973ed19 24-Dec-2011 Dave Airlie <airlied@redhat.com> gallium/u_pack: fix l8/i8 pack color ub

just noticed this in passing, not sure it actually fixes any issus.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Brian Paul <brianp@vmare.com>
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
866f9b18c68ede63c00917ec9c3dae3524ca8826 11-Sep-2011 Dave Airlie <airlied@redhat.com> gallium: rename ZS stencil type to UINT (v2)

these are never USCALED, always UINT in reality.

taken from some work by Christoph Bumiller

v2: fixup formatting of table + tabs

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
8ff6f90c3f138fbe922d1eee6cecffc87234ef34 24-Jun-2011 Marek Olšák <maraeo@gmail.com> gallium/util: implement pack functions for Z32F and Z32F_S8X24
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
33f88b3492af1f4f7e78c3688d481f1dee189822 06-Oct-2010 José Fonseca <jfonseca@vmware.com> util: Cleanup util_pack_z_stencil and friends.

- Handle PIPE_FORMAT_Z32_FLOAT packing correctly.

- In the integer version z shouldn't be passed as as double.

- Make it clear that the integer versions should only be used for masks.

- Make integer type sizes explicit (uint32_t for now, although
uint64_t will be necessary later to encode f32_s8_x24).
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
861949579049f70c2ec039fe67d772ed435f55ba 23-Sep-2010 Marek Olšák <maraeo@gmail.com> util: fix util_pack_color for B4G4R4A4

NOTE: This is a candidate for the 7.9 branch.
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
c2f074d8a4b93f3f3a81311f9a114b11bc5f80d8 23-Aug-2010 Roland Scheidegger <sroland@vmware.com> util: fix util_fill_rect to take util_color instead of u32 param

util_fill_rect could not handle formats with more than 32 bits,
since the fill color was a uint32_t value. Fix this by using
a util_color union instead, and also expand the union so it
works with formats which have up to 256 bits (the max of any
format currently defined).
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
a258701cd949d45041ed571ca08fedc40de2cf69 16-Jul-2010 Keith Whitwell <keithw@vmware.com> util: add uint version of pack_z_stencil

Useful for packing mask values.
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
9c2efb071f8b0a377b6a6e713cbae332b64a6705 24-Nov-2009 Corbin Simpson <MostAwesomeDude@gmail.com> util: Include u_debug for debug_print_format.

Caused fun linker errors on r600g.
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
6fb364a1717858d8201b2caf234076ce5d4832ac 30-Mar-2010 Roland Scheidegger <sroland@vmware.com> gallium: adapt all code to the renamed depth/stencil formats
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
94abc4b51e134bee1ace2b57400e35c295bda6f8 18-Mar-2010 Alan Hourihane <alanh@vmware.com> Add format B5G5R5X1
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
712ba6e6b049c050af3ac1992aba009ebbe56ca5 01-Mar-2010 José Fonseca <jfonseca@vmware.com> util: Rename pipe formats.
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
daf7caf4cfb1c3732a31be56157e9c7d0399ef58 01-Mar-2010 José Fonseca <jfonseca@vmware.com> util: Use PIPE_FORMAT_R8G8B8A8_UNORM_REV where appropriate.
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
e124080cd66d7f28cb7be7632a0f8ad1d68fa22f 15-Jan-2010 Michal Krol <michal@vmware.com> util: Handle FORMAT_Z32_FLOAT in util_pack_z().
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
b1580a1623746f402295d6d3fee5d2a44252fb7f 15-Dec-2009 Michal Krol <michal@vmware.com> util/pack: Handle the remaining formats with generic u_format access functions.
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
16c6dce013f089d072256652f012b3b604781bfd 17-Dec-2009 Michal Krol <michal@vmware.com> Merge branch 'master' into pipe-format-simplify

Conflicts:
src/gallium/auxiliary/draw/draw_pipe_aaline.c
src/gallium/auxiliary/draw/draw_pipe_pstipple.c
src/gallium/auxiliary/util/u_blit.c
src/gallium/auxiliary/util/u_gen_mipmap.c
src/gallium/auxiliary/util/u_surface.c
src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c
src/gallium/drivers/cell/ppu/cell_texture.c
src/gallium/drivers/llvmpipe/lp_texture.c
src/gallium/drivers/r300/r300_emit.c
src/gallium/drivers/r300/r300_texture.c
src/gallium/drivers/softpipe/sp_texture.c
src/gallium/drivers/softpipe/sp_tile_cache.c
src/gallium/drivers/svga/svga_state_vs.c
src/gallium/include/pipe/p_format.h
src/gallium/state_trackers/dri/dri_drawable.c
src/gallium/state_trackers/egl/egl_surface.c
src/gallium/state_trackers/python/p_device.i
src/gallium/state_trackers/python/st_softpipe_winsys.c
src/gallium/state_trackers/vega/api_filters.c
src/gallium/state_trackers/vega/image.c
src/gallium/state_trackers/vega/mask.c
src/gallium/state_trackers/vega/paint.c
src/gallium/state_trackers/vega/renderer.c
src/gallium/state_trackers/vega/vg_tracker.c
src/gallium/state_trackers/xorg/xorg_crtc.c
src/gallium/state_trackers/xorg/xorg_dri2.c
src/gallium/state_trackers/xorg/xorg_exa.c
src/gallium/state_trackers/xorg/xorg_renderer.c
src/gallium/state_trackers/xorg/xorg_xv.c
src/gallium/state_trackers/xorg/xvmc/surface.c
src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c
src/gallium/winsys/drm/radeon/core/radeon_buffer.c
src/gallium/winsys/egl_xlib/sw_winsys.c
src/gallium/winsys/g3dvl/xlib/xsp_winsys.c
src/gallium/winsys/gdi/gdi_llvmpipe_winsys.c
src/gallium/winsys/gdi/gdi_softpipe_winsys.c
src/gallium/winsys/xlib/xlib_cell.c
src/gallium/winsys/xlib/xlib_llvmpipe.c
src/gallium/winsys/xlib/xlib_softpipe.c
src/mesa/state_tracker/st_cb_fbo.c
src/mesa/state_tracker/st_cb_texture.c
src/mesa/state_tracker/st_texture.c
6fd8b9b550713302566bb4c28e49c219870ccfec 08-Dec-2009 Michal Krol <michal@vmware.com> Remove remaining pipe format utility functions.

Depricate pf_type(), pf_size_*(), pf_layout() and pf_exp2().

Map depricated PIPE_FORMAT_TYPE to new UTIL_FORMAT_ values:

UNKNOWN = TYPE_VOID
UNORM = TYPE_UNSIGNED + LAYOUT_ARITH
SNORM = TYPE_SIGNED + LAYOUT_ARITH
FIXED = TYPE_FIXED
FLOAT = TYPE_FLOAT
USCALED = TYPE_UNSIGNED + LAYOUT_ARRAY
SSCALED = TYPE_SIGNED + LAYOUT_ARRAY
SRGB = TYPE_COLORSPACE_SRGB
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
3456f9149b3009fcfce80054759d05883d3c4ee5 07-Dec-2009 Roland Scheidegger <sroland@vmware.com> gallium/util: fix util_color_[un]pack[-ub] to be strict aliasing safe

use pointer to union instead of void pointer.
gcc complained a lot, depending what the pointer originally actually was.
Looks like it's in fact maybe legal to cast for instance uint pointers to
union pointers as long as union contains a uint type, hence use this with some
callers, other just use union util_color in the first place.
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
36e2074b63e3e5bc489eb74cad0cd97eafcedb40 20-Nov-2009 Vinson Lee <vlee@vmware.com> gallium/util: Initialize variables in u_pack_color.h.
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
a3277c542b40169684778122a8b6e1cdfb1f9f92 08-Apr-2009 Brian Paul <brianp@vmware.com> gallium: handle the case of util_pack_z_stencil(format=PIPE_FORMAT_S8_UNORM)

Fixes failed assertion in glean fbo test.
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
eb168e26aa63f11a47d70c4555cae30691a2cd57 04-Apr-2009 Michel Dänzer <daenzer@vmware.com> gallium: Clean up driver clear() interface.

Only allows clearing currently bound buffers, but colour and depth/stencil in
a single call.
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
ba14b043bc1ab87e8e5e46e6e909a8def9535028 04-Apr-2009 Michel Dänzer <daenzer@vmware.com> gallium: Add utility helper for packing combined depth/stencil values.
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
2877727c9bb5496caf3c01625513900b03953fcc 05-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: remove debug code from prev commit
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
7071e774e49f0e7b5997ab634f5523efb2666952 05-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: new util_unpack_color_ub() function
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
4f25420bdd834e81a3e22733304efc5261c2998a 25-Aug-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h

Also, rename p_tile.[ch] to u_tile.[ch]
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
4dd1917e4be3ae48b436ed333bd2fcd37603d1ed 11-Jun-2008 Alan Hourihane <alanh@tungstengraphics.com> small optimization
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
10b7192747087ec25f97cdfcfc062654a2d8fe6d 07-May-2008 José Fonseca <jrfonseca@tungstengraphics.com> gallium: Implement util_pack_color for A8, L8, and I8 formats.
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
1e97ab685689ef06181a5f22fae9a3a82c83142c 29-Apr-2008 Keith Whitwell <keith@tungstengraphics.com> gallium: add pack for _FLOAT formats to pack_ub
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
bbafa8aa2fc8009fb8e32f996d4972c56e6b46e6 29-Apr-2008 Keith Whitwell <keith@tungstengraphics.com> gallium: fix pack for A1R5B5G5
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
fbddc8097ce3a9d38a061105542875dbb9f909f7 29-Apr-2008 Keith Whitwell <keith@tungstengraphics.com> gallium: add pack for A4R4G4B4
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
7441f2e3ea77404064d65b604e1e525cacc453e9 29-Apr-2008 Keith Whitwell <keith@tungstengraphics.com> gallium: add pack for A1R5B5G5
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
9bfe1a3d505733489f7583fe603b7d192f38fa8c 29-Apr-2008 Keith Whitwell <keith@tungstengraphics.com> gallium: add debug_print_format() make it easier to print format error messages
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
1cff4992b389ad884a663c93bdd7b7c6be6c79d2 29-Apr-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: add \n to error strings
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
5e8d7899a8114918054f07c807aef07cbbfcb6b4 29-Apr-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: fix error msg typo
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
7333578d2a5fa18f7f0101fc3fd3b03cf2f356bc 24-Apr-2008 Michel Dänzer <michel@tungstengraphics.com> gallium: Initial support for pixel formats with unused storage components.

Also clarify that RGB formats with no (used) alpha component are treated as
having alpha = 1.0.
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
52544aa23bebe68d6fc9b13dc55f6bb8c03430ff 16-Apr-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: added util_pack_color_ub()
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
18f9fa9e71abdd999e49ef78729bfe3d92304312 18-Mar-2008 Brian <brian.paul@tungstengraphics.com> gallium: protect against multi-#include
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h
544c27bcefd8a10318800c3cc2019514ee01a15b 18-Mar-2008 Brian <brian.paul@tungstengraphics.com> gallium: utility for packing color, z values according to pipe_format
/external/mesa3d/src/gallium/auxiliary/util/u_pack_color.h