dri: Trim trailing space in dri/dri_util.*

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17784>
This commit is contained in:
Yonggang Luo 2022-07-28 16:11:04 +08:00 committed by Marge Bot
parent 9caa6bb71a
commit 6544cf4a2a
2 changed files with 14 additions and 14 deletions

View File

@ -30,7 +30,7 @@
* 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.
*
@ -216,7 +216,7 @@ driSWRastCreateNewScreen2(int scrn, const __DRIextension **extensions,
/**
* Destroy the per-screen private information.
*
*
* \internal
* This function calls __DriverAPIRec::DestroyScreen on \p screenPrivate, calls
* drmClose(), and finally frees \p screenPrivate.
@ -662,7 +662,7 @@ driCreateNewContext(__DRIscreen *screen, const __DRIconfig *config,
/**
* Destroy the per-context private information.
*
*
* \internal
* This function calls __DriverAPIRec::DestroyContext on \p contextPrivate, calls
* drmDestroyContext(), and finally frees \p contextPrivate.
@ -729,19 +729,19 @@ static int driBindContext(__DRIcontext *pcp,
/**
* Unbind context.
*
*
* \param scrn the screen.
* \param gc context.
*
* \return \c GL_TRUE on success, or \c GL_FALSE on failure.
*
*
* \internal
* This function calls __DriverAPIRec::UnbindContext, and then decrements
* __DRIdrawableRec::refcount which must be non-zero for a successful
* return.
*
*
* While casting the opaque private pointers associated with the parameters
* into their respective real types it also assures they are not \c NULL.
* into their respective real types it also assures they are not \c NULL.
*/
static int driUnbindContext(__DRIcontext *pcp)
{

View File

@ -1,7 +1,7 @@
/*
* 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
@ -9,11 +9,11 @@
* 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.
@ -31,7 +31,7 @@
* 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.
*
@ -39,7 +39,7 @@
* about them.
*
* \sa dri_util.c.
*
*
* \author Kevin E. Martin <kevin@precisioninsight.com>
* \author Brian Paul <brian@precisioninsight.com>
*/
@ -162,7 +162,7 @@ struct __DRIscreenRec {
/**
* File descriptor returned when the kernel device driver is opened.
*
*
* Used to:
* - authenticate client to kernel
* - map the frame buffer, SAREA, etc.
@ -172,7 +172,7 @@ struct __DRIscreenRec {
/**
* Device-dependent private information (not stored in the SAREA).
*
*
* This pointer is never touched by the DRI layer.
*/
void *driverPrivate;