st/dri: move fence implemention into separate file
authorGurchetan Singh <gurchetansingh@chromium.org>
Tue, 23 May 2017 00:33:22 +0000 (17:33 -0700)
committerChad Versace <chadversary@chromium.org>
Fri, 2 Jun 2017 19:33:21 +0000 (12:33 -0700)
commit59dc23bba909978b80f8420e240eee765bff2435
treea73dc4747ebc536dcc038d899bdbaf8352d6db23
parent3ba5b8a560d34db9f0c035d025641da537215efd
st/dri: move fence implemention into separate file

Since the fence implementation is not dri2.c specific, put
it in a separate file. This way SW implementations can use this
extension too.

v2: Don't depend on dri2.c for extensions (Emil)
v3: Make this patch only move extension into a separate file (Chad).

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/state_trackers/dri/Makefile.sources
src/gallium/state_trackers/dri/dri2.c
src/gallium/state_trackers/dri/dri_extensions.c [new file with mode: 0644]
src/gallium/state_trackers/dri/dri_extensions.h [new file with mode: 0644]