History log of /external/mesa3d/src/gallium/auxiliary/util/u_format_table.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1ba3240b281fcbbf03372a6e2db68292cb8a8907 02-Jan-2012 Marek Olšák <maraeo@gmail.com> u_format: implement fetch_rgba_uint and fetch_rgba_sint for integer formats

Fetching int as float and vice versa is not allowed.
Fetching unsigned int as signed int and vice versa is not allowed either.
Doing conversions like that isn't allowed for samplers in OpenGL.

The three hooks could be consolidated into one fetch hook, which would fetch
uint as uint32, sint as sint32, and everything else as float. The receiving
parameter would be void*. This would be useful for implementing vertex fetches
for shader model 4.0, which has untyped registers.

Reviewed-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/auxiliary/util/u_format_table.py
5c31eb78e5fa4c4cfcc82df3c9a2c34fcd4b402c 28-Nov-2011 Chia-I Wu <olv@lunarg.com> gallium: add PIPE_FORMAT_ETC1_RGB8

The format is defined by GL_OES_compressed_ETC1_RGB8_texture.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/gallium/auxiliary/util/u_format_table.py
7ff247712d7c01141756d0999ff86af1e109ce7c 31-Oct-2011 José Fonseca <jfonseca@vmware.com> util: Add missing initializer.
/external/mesa3d/src/gallium/auxiliary/util/u_format_table.py
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_format_table.py
a441feb757b1be4845ba378f0207dcdc5cc1a407 19-Sep-2011 Dave Airlie <airlied@redhat.com> gallium: add initial pure integer support (v2)

This add support for unsigned/signed integer types via adding a 'pure' bit
in the format description table. It adds 4 new u_format get/put hooks,
for get/put uint and get/put sint so that accessors can get native access
to the integer bits. This is used to avoid precision loss via float converting
paths.

It doesn't add any float fetchers for these types at the moment, GL doesn't
require float fetching from these types and I expect we'll introduce a lot
of hidden bugs if we start allowing such conversions without an API mandating
it.

It adds all formats from EXT_texture_integer and EXT_texture_rg.

0 regressions on llvmpipe here with this.

(there is some more follow on code in my gallium-int-work branch, bringing
softpipe and mesa to a pretty integer clean state)

v2: fixup python generator to get signed->unsigned and unsigned->signed
fetches working.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/auxiliary/util/u_format_table.py
23f92c20d721aa373d91a949586fd93a92d9f275 07-Mar-2011 Marek Olšák <maraeo@gmail.com> gallium/util: add LATC support

Again, a lot of code is shared with RGTC.

The layout is UTIL_FORMAT_LAYOUT_RGTC, because LATC is just swizzled RGTC.
/external/mesa3d/src/gallium/auxiliary/util/u_format_table.py
8d62b2aca99ba67f794dd682ed1ec49dc8826390 02-Mar-2011 Dave Airlie <airlied@redhat.com> gallium: add RGTC UNORM support to u_format.

SNORM needs a bit of work in the state tracker in order for mipmap
generation to work I believe.

I'm also not sure that having unorm fetches for an snorm format is
sane.
/external/mesa3d/src/gallium/auxiliary/util/u_format_table.py
5479fa34d9acebd55f68c23a278cf382d0e84248 28-Oct-2010 José Fonseca <jfonseca@vmware.com> gallium: Avoid using __doc__ in python scripts.
/external/mesa3d/src/gallium/auxiliary/util/u_format_table.py
a2d360b91545ad00abec518e8449df5d8d838b13 02-Jul-2010 José Fonseca <jfonseca@vmware.com> util: Add a fetch_rgba_8unorm.

Not always implemented, but useful in situations where we want 8unorms
and the samples comes as 8unorms as we needlessly convert to/from
floats.
/external/mesa3d/src/gallium/auxiliary/util/u_format_table.py
b1cfc195bb802d6ee2b7e230e7d7bce9ffe7eefd 09-Apr-2010 José Fonseca <jfonseca@vmware.com> util: Reorder format tests -- group by format.
/external/mesa3d/src/gallium/auxiliary/util/u_format_table.py
d3808b1b1f34dbb826b99102786d94e1baf9d667 09-Apr-2010 José Fonseca <jfonseca@vmware.com> util: Add dedicated depth-stencil packing/unpacking functions.

Depth-stencil manually written given that each one is very close to
be a special case.

u_format_zs.c's still untested.
/external/mesa3d/src/gallium/auxiliary/util/u_format_table.py
47e61426586bb9f9f40950e9c4372e4f12bb9ed6 03-Apr-2010 José Fonseca <jfonseca@vmware.com> util: Revert unsolicited, untested, unreviewed, and broken changes to format support.

Not all is bad, but I'm afraid I'll have to throw the baby with the water
given they are all tied to together.
/external/mesa3d/src/gallium/auxiliary/util/u_format_table.py
5126683e3b971ccfb51e50e560750ce44e86bae8 02-Apr-2010 Luca Barbieri <luca@luca-barbieri.com> gallium/util: add util_format_is_supported to check for pack/unpack

This improves the code by making it more readable, and removes
special knowledge of S3TC and other formats from softpipe.
/external/mesa3d/src/gallium/auxiliary/util/u_format_table.py
9388ce41917fa4c706c5e284d960e1ca648ee935 31-Mar-2010 José Fonseca <jfonseca@vmware.com> util: Hook into libtxc_dxtn.so (WIP).
/external/mesa3d/src/gallium/auxiliary/util/u_format_table.py
329814c6ee8a87d67a55ecf197af9d6e6fb7ade0 18-Mar-2010 José Fonseca <jfonseca@vmware.com> util: Describe PIPE_FORMAT_NONE as PIPE_FORMAT_R8_USCALED.

Avoids the need to special case PIPE_FORMAT_NONE so often.

Conflicts:

src/gallium/auxiliary/util/u_format_table.py
/external/mesa3d/src/gallium/auxiliary/util/u_format_table.py
69895725cfe9d4dc917ff6e643af9e6e3a6e093f 31-Mar-2010 José Fonseca <jfonseca@vmware.com> util: Add callback to fetch a single pixel.
/external/mesa3d/src/gallium/auxiliary/util/u_format_table.py
96bf4aff5bd674bba5d83ab32c46024a686c1a1d 31-Mar-2010 José Fonseca <jfonseca@vmware.com> util: Put the format pack/unpack functions in the description table.
/external/mesa3d/src/gallium/auxiliary/util/u_format_table.py
cfde6c50ae6c3ce7912a3d1231c459d020d77f13 06-Mar-2010 José Fonseca <jfonseca@vmware.com> util: Add a new flag, for formats that can be described as a bitmask.
/external/mesa3d/src/gallium/auxiliary/util/u_format_table.py
4afae877e6914e311340e0b1d3490ec2fed9422f 06-Mar-2010 José Fonseca <jfonseca@vmware.com> util: Add the shortened format name to the description.
/external/mesa3d/src/gallium/auxiliary/util/u_format_table.py
4757325951e35460975e77d70dacf8b6eb10ab11 26-Feb-2010 José Fonseca <jfonseca@vmware.com> util: Factor some code into u_format_parse.py
/external/mesa3d/src/gallium/auxiliary/util/u_format_table.py
092010db3798f9a49ff9184bf238099af849e885 26-Feb-2010 José Fonseca <jfonseca@vmware.com> util: Use python names consistent with u_format.h
/external/mesa3d/src/gallium/auxiliary/util/u_format_table.py
31ff9b0a135bf913ae6b44868bde31534a87802c 26-Feb-2010 Brian Paul <brianp@vmware.com> util: remove a trailing semicolon in format table code
/external/mesa3d/src/gallium/auxiliary/util/u_format_table.py
3c45c4bc44310c1af4f0c06d29eb0a9d39a38837 24-Feb-2010 José Fonseca <jfonseca@vmware.com> util: Cope with the fact that formats in u_format.csv are not ordered.
/external/mesa3d/src/gallium/auxiliary/util/u_format_table.py
5dce9b252b65102ed69956fdd47862d5cb1c4af1 23-Feb-2010 José Fonseca <jfonseca@vmware.com> util: Store more derived data in the the format description.
/external/mesa3d/src/gallium/auxiliary/util/u_format_table.py
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
dfdf83d714c0d32d9182eb3001cf642aa6cb5c87 09-Dec-2009 Michal Krol <michal@vmware.com> Revert "Simplify the redundant meaning of format layout."

This reverts commit eb926ddf9eee1095c7fc12013f0b8375bbaeca6f.
/external/mesa3d/src/gallium/auxiliary/util/u_format_table.py
eb926ddf9eee1095c7fc12013f0b8375bbaeca6f 08-Dec-2009 Michal Krol <michal@vmware.com> Simplify the redundant meaning of format layout.

We really just need to know whether the format is compressed or not.
For more detailed information format colorspace should suffice.
/external/mesa3d/src/gallium/auxiliary/util/u_format_table.py
ddbd2d08b7c5b5653981db8fec58d5c3244049cd 08-Dec-2009 Michal Krol <michal@vmware.com> util/format: Take advantage of sequential nature of pipe_format enum.

Make sure the format descriptor table can be indexed directly.
/external/mesa3d/src/gallium/auxiliary/util/u_format_table.py
7fc75ef7d43038385b5fba73a67f1e4783b045d6 03-Dec-2009 José Fonseca <jfonseca@vmware.com> util: Fix generated swizzle comments.
/external/mesa3d/src/gallium/auxiliary/util/u_format_table.py
3d305243938980af520c6d3e0ce02f4ee3a6126c 30-Aug-2009 José Fonseca <jfonseca@vmware.com> util: Auto generate pixel format accessor functions from

This has several advantages over the u_
- not hand written
- no intermediate memcpy of raw pixels
- supports 4 ubytes in addition to floats
- no need to pass a pipe_transfer

It also has (hopefully temporary) limitations:
- no support for YUV
- no support for SRGB
/external/mesa3d/src/gallium/auxiliary/util/u_format_table.py
42b15b26fd946c9511bd4bd5f23ec7e76e15507c 28-Jul-2009 José Fonseca <jfonseca@vmware.com> util: Make pixel format layout more meaningful.

Namelly, explicitly distinguish formats coded by arithmetic manipulation,
from formats layed out in array.
/external/mesa3d/src/gallium/auxiliary/util/u_format_table.py
15422b2d99be074e1d6ac064b6f791245975da83 27-Jul-2009 José Fonseca <jfonseca@vmware.com> util: Pixel format database.

There are some inconsistencies in pipe_format, but above all, there
simply aren't enough bits in an enum to conveniently store all
information about a pixel format we need to be able to dynamically
generate pixel packing/unpacking code.
/external/mesa3d/src/gallium/auxiliary/util/u_format_table.py