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>2010-05-23 09:51:33 +0200
commitc7867399efe2d4766e5455330b5b9d516c315e73 (patch)
tree119789a7206888a9e6a6e9d32c78b73b60fbdd37
parent06dfadd5861c7f420aedb11aeb487bba2dc6b6f1 (diff)
Authorship, whitespace
-rw-r--r--glamo/glamo_bo.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/glamo/glamo_bo.h b/glamo/glamo_bo.h
index 5c605c35..47b141c5 100644
--- a/glamo/glamo_bo.h
+++ b/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);
}