Mesa (master): r300g: remove unused function prototypes, update copyright

Marek Olšák mareko at kemper.freedesktop.org
Fri Feb 11 05:07:37 UTC 2011


Module: Mesa
Branch: master
Commit: de22d8f1eebd3245acccdb4098526ee1bf616c06
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=de22d8f1eebd3245acccdb4098526ee1bf616c06

Author: Marek Olšák <maraeo at gmail.com>
Date:   Fri Feb 11 05:59:02 2011 +0100

r300g: remove unused function prototypes, update copyright

---

 src/gallium/winsys/radeon/drm/radeon_drm_bo.c     |   26 +++++++++++++++++++++
 src/gallium/winsys/radeon/drm/radeon_drm_bo.h     |    6 +---
 src/gallium/winsys/radeon/drm/radeon_drm_common.c |    2 +
 src/gallium/winsys/radeon/drm/radeon_drm_cs.h     |   26 +++++++++++++++++++++
 4 files changed, 56 insertions(+), 4 deletions(-)

diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c
index 0cd9270..a9e913e 100644
--- a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c
+++ b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c
@@ -1,3 +1,29 @@
+/*
+ * Copyright © 2011 Marek Olšák <maraeo at gmail.com>
+ * 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 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
+ * USE OR OTHER DEALINGS IN THE SOFTWARE.
+ *
+ * The above copyright notice and this permission notice (including the
+ * next paragraph) shall be included in all copies or substantial portions
+ * of the Software.
+ */
+
 #define _FILE_OFFSET_BITS 64
 #include "radeon_drm_cs.h"
 
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_bo.h b/src/gallium/winsys/radeon/drm/radeon_drm_bo.h
index 092b5e6..4d1f126 100644
--- a/src/gallium/winsys/radeon/drm/radeon_drm_bo.h
+++ b/src/gallium/winsys/radeon/drm/radeon_drm_bo.h
@@ -1,5 +1,6 @@
 /*
  * Copyright © 2008 Jérôme Glisse
+ * Copyright © 2011 Marek Olšák <maraeo at gmail.com>
  * All Rights Reserved.
  *
  * Permission is hereby granted, free of charge, to any person obtaining
@@ -26,6 +27,7 @@
 /*
  * Authors:
  *      Jérôme Glisse <glisse at freedesktop.org>
+ *      Marek Olšák <maraeo at gmail.com>
  */
 #ifndef RADEON_DRM_BUFFER_H
 #define RADEON_DRM_BUFFER_H
@@ -55,10 +57,6 @@ struct radeon_bo {
 };
 
 struct pb_manager *radeon_bomgr_create(struct radeon_drm_winsys *rws);
-struct pb_buffer *radeon_bomgr_create_bo_from_handle(struct pb_manager *_mgr,
-							      uint32_t handle);
-boolean radeon_bomgr_get_handle(struct pb_buffer *_buf,
-				     struct winsys_handle *whandle);
 void radeon_bomgr_init_functions(struct radeon_drm_winsys *ws);
 
 void radeon_bo_unref(struct radeon_bo *buf);
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_common.c b/src/gallium/winsys/radeon/drm/radeon_drm_common.c
index f9e5950..4676c2a 100644
--- a/src/gallium/winsys/radeon/drm/radeon_drm_common.c
+++ b/src/gallium/winsys/radeon/drm/radeon_drm_common.c
@@ -1,5 +1,6 @@
 /*
  * Copyright © 2009 Corbin Simpson
+ * Copyright © 2011 Marek Olšák <maraeo at gmail.com>
  * All Rights Reserved.
  *
  * Permission is hereby granted, free of charge, to any person obtaining
@@ -27,6 +28,7 @@
  * Authors:
  *      Corbin Simpson <MostAwesomeDude at gmail.com>
  *      Joakim Sindholt <opensource at zhasha.com>
+ *      Marek Olšák <maraeo at gmail.com>
  */
 
 #include "radeon_winsys.h"
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_cs.h b/src/gallium/winsys/radeon/drm/radeon_drm_cs.h
index 3913c4e..b862032 100644
--- a/src/gallium/winsys/radeon/drm/radeon_drm_cs.h
+++ b/src/gallium/winsys/radeon/drm/radeon_drm_cs.h
@@ -1,3 +1,29 @@
+/*
+ * Copyright © 2011 Marek Olšák <maraeo at gmail.com>
+ * 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 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
+ * USE OR OTHER DEALINGS IN THE SOFTWARE.
+ *
+ * The above copyright notice and this permission notice (including the
+ * next paragraph) shall be included in all copies or substantial portions
+ * of the Software.
+ */
+
 #ifndef RADEON_DRM_CS_H
 #define RADEON_DRM_CS_H
 




More information about the mesa-commit mailing list