mesa/formatquery: Added boilerplate code to extend GetInternalformativ
authorAntia Puentes <apuentes@igalia.com>
Thu, 17 Dec 2015 15:08:34 +0000 (16:08 +0100)
committerEduardo Lima Mitev <elima@igalia.com>
Thu, 3 Mar 2016 14:14:05 +0000 (15:14 +0100)
commitd432337e2dc0759563c8e1ef573aa3805aa2eed8
tree25274a27262e9c3f5ca636d04a25dc70a817cf0b
parent806bc2bf223c03c488de5549582141824dcbbc40
mesa/formatquery: Added boilerplate code to extend GetInternalformativ

The goal is to extend the GetInternalformativ query to implement the
ARB_internalformat_query2 specification, keeping the behaviour defined
by the ARB_internalformat_query if ARB_internalformat_query2 is not
supported.

v2: Don't require ARB_internalformat_query when profile is GLES3.

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/formatquery.c