aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2009-04-27 00:27:39 +0100
committerThomas White <taw@bitwiz.org.uk>2009-10-17 12:31:13 +0200
commitfbcd6bd5c83620865ad882727009179cd03d3ef4 (patch)
tree2b2b0fa38b9d18f4010e452e1952d761a1c09234
parentbb63e2e73c4ff4b462039412e42f5836da9b5798 (diff)
Authorship, whitespace
-rw-r--r--libdrm/glamo/glamo_bo.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/libdrm/glamo/glamo_bo.h b/libdrm/glamo/glamo_bo.h
index 5c605c35..47b141c5 100644
--- a/libdrm/glamo/glamo_bo.h
+++ b/libdrm/glamo/glamo_bo.h
@@ -1,7 +1,10 @@
-/*
+/*
+ * Copyright (c) 2009 Thomas White
+ *
+ * Heavily based on radeon_bo.h
* Copyright © 2008 Jérôme Glisse
* 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,14 +12,14 @@
* 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 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 THE COPYRIGHT HOLDERS, AUTHORS
* 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
+ * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
* USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* The above copyright notice and this permission notice (including the
@@ -26,6 +29,7 @@
/*
* Authors:
* Jérôme Glisse <glisse@freedesktop.org>
+ * Thomas White <taw@bitwiz.org.uk>
*/
#ifndef GLAMO_BO_H
#define GLAMO_BO_H
@@ -75,7 +79,7 @@ struct glamo_bo_manager {
int fd;
struct glamo_tracker tracker;
};
-
+
static inline void _glamo_bo_debug(struct glamo_bo *bo,
const char *op,
const char *file,
@@ -115,7 +119,7 @@ static inline void _glamo_bo_ref(struct glamo_bo *bo,
{
bo->cref++;
#ifdef GLAMO_BO_TRACK
- glamo_track_add_event(bo->track, file, func, "ref", line);
+ glamo_track_add_event(bo->track, file, func, "ref", line);
#endif
bo->bom->funcs->bo_ref(bo);
}