[Mesa-dev] [PATCH 00/13] Improve integer texture support & add i965 texture_rgb10_a2ui support

Jordan Justen jordan.l.justen at intel.com
Mon Jun 25 17:34:31 PDT 2012


v1:
 * Improve integer texture support
 * Add i965 texture_rgb10_a2ui support

Jordan Justen (13):
  mesa formats: add integer type/format detection routines
  mesa: use integers in glReadPixels for GL_RGBA with integer types
  mesa: use _mesa_problem instead of assert for unsupported
    format/types
  mesa formats: unpack ARGB8888/XRGB8888
  mesa formats: allow non-integer formats to be used for integer
    packing
  mesa pack: handle uint and int clamping properly
  mesa pack: handle packed integer formats with clamping
  ReadPixels: handle signed/unsigned integer clamping
  GetTexImage: handle signed/unsigned integer clamping
  mesa texstore: handle signed/unsigned integer clamping
  mesa formats: add MESA_FORMAT_ABGR2101010_UINT
  mesa: allow CopyTexSubImage on integer formats
  i965: add ARB_texture_rgb10_a2ui support

 src/mesa/drivers/common/meta.c                   |   15 +-
 src/mesa/drivers/dri/i965/brw_wm_surface_state.c |    1 +
 src/mesa/drivers/dri/intel/intel_extensions.c    |    1 +
 src/mesa/main/drawpix.c                          |    2 +-
 src/mesa/main/format_pack.c                      |   28 ++
 src/mesa/main/format_unpack.c                    |   69 +++++
 src/mesa/main/formats.c                          |  164 ++++++++++++
 src/mesa/main/formats.h                          |   15 ++
 src/mesa/main/image.c                            |   76 ------
 src/mesa/main/image.h                            |    3 -
 src/mesa/main/pack.c                             |  134 +++++++++-
 src/mesa/main/pack.h                             |   12 +-
 src/mesa/main/pack_int_cases_tmp.h               |  304 ++++++++++++++++++++++
 src/mesa/main/pack_tmp.h                         |   20 +-
 src/mesa/main/readpix.c                          |   17 +-
 src/mesa/main/texformat.c                        |    1 +
 src/mesa/main/texgetimage.c                      |   12 +-
 src/mesa/main/teximage.c                         |   10 +-
 src/mesa/main/texstore.c                         |  162 ++++++++++--
 src/mesa/state_tracker/st_cb_drawpixels.c        |    2 +-
 src/mesa/swrast/s_texfetch.c                     |    8 +-
 21 files changed, 916 insertions(+), 140 deletions(-)
 create mode 100644 src/mesa/main/pack_int_cases_tmp.h

--
1.7.9.5



More information about the mesa-dev mailing list