[PATCH 0/2 v2]: dri2: Add DRI2GetParam request

Ian Romanick idr at freedesktop.org
Mon May 14 17:20:05 PDT 2012


On 05/14/2012 03:23 PM, Chad Versace 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.
>
> v2:
>      - Fixed typo "param_is", per anholt.
>      - Changed param from CARD64 to CARD32, per krh and anholt.
>      - Removed namespaces, per krh. Instead, there is an enum range reserved
>        for each the server and the ddx.
>      - Updated Piglit tests and verified that tests still pass.
>
> Chad Versace (2):
>    [dri2proto] dri2proto: Add DRI2GetParam request
>    [xserver]   dri2: Add DRI2GetParam request
>

The series is

Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>


More information about the xorg-devel mailing list