[Mesa-dev] [PATCH v2 10/27] i965/miptree: Add a colorspace parameter to create_for_dri_image

Chad Versace chadversary at chromium.org
Sat Jul 8 18:42:57 UTC 2017


On Thu 29 Jun 2017, Jason Ekstrand wrote:
> The __DRI_FORMAT enums are all UNORM but we will frequently want sRGB
> when creating miptrees for renderbuffers.  This lets us specify.
> ---
>  src/mesa/drivers/dri/i965/intel_fbo.c         |  3 ++-
>  src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 24 ++++++++++++++++++++++--
>  src/mesa/drivers/dri/i965/intel_mipmap_tree.h |  3 ++-
>  src/mesa/drivers/dri/i965/intel_tex_image.c   |  3 ++-
>  4 files changed, 28 insertions(+), 5 deletions(-)

I like this patch.
Reviewed-by: Chad Versace <chadversary at chromium.org>


More information about the mesa-dev mailing list