diff options
author | Keith Packard <[email protected]> | 2013-11-04 17:29:08 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-11-07 19:08:09 -0800 |
commit | b7818b8c36f9850acb17402d05593cff6c2532f0 (patch) | |
tree | 5e3fb6f0068ba0baaba62de326b883d1c5ca2cd3 /src/mesa/state_tracker/st_atom_array.c | |
parent | aba6b84ce52c27b642d01bafd1703386bda97f3a (diff) |
dri/common: Add functions mapping MESA_FORMAT_* <-> __DRI_IMAGE_FORMAT_*
The __DRI_IMAGE_FORMAT codes are used by the image extension, drivers need to
be able to translate between them. Instead of duplicating this translation in
each driver, create a shared version.
Signed-off-by: Keith Packard <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_atom_array.c')
0 files changed, 0 insertions, 0 deletions