Mesa (master): loader: Add dri3 helper
Martin Peres
mperes at kemper.freedesktop.org
Tue Nov 17 15:28:46 UTC 2015
Module: Mesa
Branch: master
Commit: 6bd9ba7d07490059024d16ba32fafa1c5bb239ee
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6bd9ba7d07490059024d16ba32fafa1c5bb239ee
Author: Boyan Ding <boyan.j.ding at gmail.com>
Date: Tue Jul 21 23:43:54 2015 +0800
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 at gmail.com>
Signed-off-by: Martin Peres <martin.peres at linux.intel.com>
Reviewed-by: Kristian Høgsberg <krh at bitplanet.net>
Reviewed-by: Emil Velikov <emil.velikov at collabora.co.uk>
---
configure.ac | 3 +-
src/glx/Makefile.am | 2 +
src/loader/Makefile.am | 15 +-
src/loader/loader_dri3_helper.c | 1376 +++++++++++++++++++++++++++++++++++++++
src/loader/loader_dri3_helper.h | 232 +++++++
5 files changed, 1626 insertions(+), 2 deletions(-)
Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=6bd9ba7d07490059024d16ba32fafa1c5bb239ee
More information about the mesa-commit
mailing list