loader: Add dri3 helper
authorBoyan Ding <boyan.j.ding@gmail.com>
Tue, 21 Jul 2015 15:43:54 +0000 (23:43 +0800)
committerMartin Peres <martin.peres@linux.intel.com>
Tue, 17 Nov 2015 15:26:20 +0000 (17:26 +0200)
commit6bd9ba7d07490059024d16ba32fafa1c5bb239ee
tree55b87a823566ebab87d6097c9cfc019e2f2a882c
parent252b143e9e8ca0b98143c237f14cb0b548ffd510
loader: Add dri3 helper

v2: From Martin Peres
 - Try to fit in the 80-col limit as much as possible

v3: From Martin Peres
 - introduce loader_dri3_helper.la to avoid dragging the xcb dep everywhere (Kristian & Emil)
 - get rid of the width, height, dri_screen and is_different_gpu vfuncs (Kristian)
 - replace the create/destroy functions with init/fini for dri3 drawables
 - prefix static functions with dri3_ and exported ones with loader_dri3 (Emil)
 - keep the function definition consistent (Emil)

Signed-off-by: Boyan Ding <boyan.j.ding@gmail.com>
Signed-off-by: Martin Peres <martin.peres@linux.intel.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Emil Velikov <emil.velikov@collabora.co.uk>
configure.ac
src/glx/Makefile.am
src/loader/Makefile.am
src/loader/loader_dri3_helper.c [new file with mode: 0644]
src/loader/loader_dri3_helper.h [new file with mode: 0644]