summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChad Versace <chad.versace@linux.intel.com>2012-05-02 16:18:49 -0700
committerKeith Packard <keithp@keithp.com>2012-05-31 12:14:17 -0700
commit78f0d9cdc441a575e15e5f7200ce74750d2f7ad2 (patch)
tree35586357d39df95ad8f5fe8a91216bde013a5838 /configure.ac
parent594b4a4f0601066d09e49a84c5af8c2eb6f07240 (diff)
dri2: Add DRI2GetParam request (v2)
Bump dri2proto dependency to 2.7. Bump DRI2INFOREC_VERSION to 7. This new protocol request effectively allows clients to perform feature detection on the DDX. The request was added in DRI2 protocol 1.4. If I had DRI2GetParam in June 2011, when I was implementing support in the Intel DDX and Mesa for new hardware that required a new DRI2 attachment format, then I could have avoided a week of pain caused by the necessity to write a horrid feature detection hack [1] in Mesa. In the future, when the work begins to add MSAA support to the Intel DDX, having a clean way to do feature detection will allow us to avoid revisiting and expanding that hack. [1] mesa, commit aea2236a, function intel_verify_dri2_has_hiz v2: If driver doesn't define ds->GetParam, dont' crash. Fall back to default behavior, per keithp. Reviewed-by: Keith Packard <keithp@keithp.com> Reviewed-by: Eric Anholt <eric@anholt.net> (v1) Reviewed-by: Ian Romanick <idr@freedesktop.org> (v1) Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 97ceab1b8..9ae77fbae 100644
--- a/configure.ac
+++ b/configure.ac
@@ -773,7 +773,7 @@ RECORDPROTO="recordproto >= 1.13.99.1"
SCRNSAVERPROTO="scrnsaverproto >= 1.1"
RESOURCEPROTO="resourceproto >= 1.2.0"
DRIPROTO="xf86driproto >= 2.1.0"
-DRI2PROTO="dri2proto >= 2.6"
+DRI2PROTO="dri2proto >= 2.7"
XINERAMAPROTO="xineramaproto"
BIGFONTPROTO="xf86bigfontproto >= 1.2.0"
DGAPROTO="xf86dgaproto >= 2.0.99.1"