[PATCH 00/02] dri2: Add DRI2GetParam request
Jesse Barnes
jbarnes at virtuousgeek.org
Fri May 11 09:20:26 PDT 2012
On Thu, 10 May 2012 00:04:35 -0700
Chad Versace <chad.versace at linux.intel.com> wrote:
> This series extends the DRI2 protocol by adding a new request, DRI2GetParam.
> The new request effectively allows clients to perform feature detection on the
> DDX.
>
> When Intel begins adding MSAA support to its DDX, having a clean way to do
> feature detection will allow us to avoid painful painful feature-detection
> hacks.
>
> I have written several functional tests in Piglit for this series. All tests
> pass. You can find the tests at piglit:tests/dri2/dri2-getparam*.c. To run
> the tests, you need the dri2getparam branch in the following repos:
> git://people.freedesktop.org/~chadversary/xorg.proto.dri2proto.git
> /xorg.xserver.git
> /xorg.driver.xf86-video-intel.git
> /xcb.proto.git
> /xcb.libxcb.git
> /piglit.git
>
>
> The series touches both dri2proto and the xserver.
>
> Chad Versace (2):
> [dri2proto] dri2proto: Add DRI2GetParam request
> [xserver] dri2: Add DRI2GetParam request
>
This is nicer than using the version checks, since a server may enable
some features and not others, and communicating that with a version
means we're stuck with a lowest common denominator...
--
Jesse Barnes, Intel Open Source Technology Center
More information about the xorg-devel
mailing list