@@ -1,4 +1,28 @@ | |||
/* $XFree86: xc/lib/GL/dri/dri_util.c,v 1.7 2003/04/28 17:01:25 dawes Exp $ */ | |||
/* | |||
* Copyright 1998-1999 Precision Insight, Inc., Cedar Park, Texas. | |||
* All Rights Reserved. | |||
* | |||
* Permission is hereby granted, free of charge, to any person obtaining a | |||
* copy of this software and associated documentation files (the | |||
* "Software"), to deal in the Software without restriction, including | |||
* without limitation the rights to use, copy, modify, merge, publish, | |||
* distribute, sub license, and/or sell copies of the Software, and to | |||
* permit persons to whom the Software is furnished to do so, subject to | |||
* the following conditions: | |||
* | |||
* The above copyright notice and this permission notice (including the | |||
* next paragraph) shall be included in all copies or substantial portions | |||
* of the Software. | |||
* | |||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS | |||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | |||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. | |||
* IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR | |||
* ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | |||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | |||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |||
*/ | |||
/** | |||
* \file dri_util.c | |||
* DRI utility functions. |
@@ -1,25 +1,3 @@ | |||
/* $XFree86: xc/lib/GL/dri/dri_util.h,v 1.1 2002/02/22 21:32:52 dawes Exp $ */ | |||
/** | |||
* \file dri_util.h | |||
* DRI utility functions definitions. | |||
* | |||
* This module acts as glue between GLX and the actual hardware driver. A DRI | |||
* driver doesn't really \e have to use any of this - it's optional. But, some | |||
* useful stuff is done here that otherwise would have to be duplicated in most | |||
* drivers. | |||
* | |||
* Basically, these utility functions take care of some of the dirty details of | |||
* screen initialization, context creation, context binding, DRM setup, etc. | |||
* | |||
* These functions are compiled into each DRI driver so libGL.so knows nothing | |||
* about them. | |||
* | |||
* \sa dri_util.c. | |||
* | |||
* \author Kevin E. Martin <kevin@precisioninsight.com> | |||
* \author Brian Paul <brian@precisioninsight.com> | |||
*/ | |||
/* | |||
* Copyright 1998-1999 Precision Insight, Inc., Cedar Park, Texas. | |||
* All Rights Reserved. | |||
@@ -45,6 +23,26 @@ | |||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |||
*/ | |||
/** | |||
* \file dri_util.h | |||
* DRI utility functions definitions. | |||
* | |||
* This module acts as glue between GLX and the actual hardware driver. A DRI | |||
* driver doesn't really \e have to use any of this - it's optional. But, some | |||
* useful stuff is done here that otherwise would have to be duplicated in most | |||
* drivers. | |||
* | |||
* Basically, these utility functions take care of some of the dirty details of | |||
* screen initialization, context creation, context binding, DRM setup, etc. | |||
* | |||
* These functions are compiled into each DRI driver so libGL.so knows nothing | |||
* about them. | |||
* | |||
* \sa dri_util.c. | |||
* | |||
* \author Kevin E. Martin <kevin@precisioninsight.com> | |||
* \author Brian Paul <brian@precisioninsight.com> | |||
*/ | |||
#ifndef _DRI_UTIL_H_ | |||
#define _DRI_UTIL_H_ |