Demos (master): glxinfo: move reusable, non-GLX code into glinfo_common.[ ch]

Brian Paul brianp at kemper.freedesktop.org
Wed May 28 19:52:58 UTC 2014


Module: Demos
Branch: master
Commit: 25f3112aa30001e0f80a6fd2f9a469bffb55480c
URL:    http://cgit.freedesktop.org/mesa/demos/commit/?id=25f3112aa30001e0f80a6fd2f9a469bffb55480c

Author: Brian Paul <brianp at vmware.com>
Date:   Wed May 21 17:15:29 2014 -0600

glxinfo: move reusable, non-GLX code into glinfo_common.[ch]

So that we can share some of the code with wglinfo.

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

---

 src/xdemos/CMakeLists.txt  |    4 +-
 src/xdemos/Makefile.am     |    4 +
 src/xdemos/glinfo_common.c |  649 ++++++++++++++++++++++++++++++++++++++++++++
 src/xdemos/glinfo_common.h |   89 ++++++
 src/xdemos/glxinfo.c       |  647 +------------------------------------------
 5 files changed, 759 insertions(+), 634 deletions(-)

Diff:   http://cgit.freedesktop.org/mesa/demos/diff/?id=25f3112aa30001e0f80a6fd2f9a469bffb55480c



More information about the mesa-commit mailing list