Mesa (master): r600g: remove r600_drm_public.h

Marek Olšák mareko at kemper.freedesktop.org
Mon Sep 12 22:04:23 UTC 2011


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

Author: Marek Olšák <maraeo at gmail.com>
Date:   Sun Sep 11 17:38:43 2011 +0200

r600g: remove r600_drm_public.h

---

 src/gallium/drivers/r600/r600.h               |    1 +
 src/gallium/drivers/r600/r600_pipe.c          |    1 -
 src/gallium/winsys/r600/drm/r600_drm.c        |    1 -
 src/gallium/winsys/r600/drm/r600_drm_public.h |   33 -------------------------
 4 files changed, 1 insertions(+), 35 deletions(-)

diff --git a/src/gallium/drivers/r600/r600.h b/src/gallium/drivers/r600/r600.h
index 719119a..86ef431 100644
--- a/src/gallium/drivers/r600/r600.h
+++ b/src/gallium/drivers/r600/r600.h
@@ -302,6 +302,7 @@ void evergreen_context_pipe_state_set_fs_resource(struct r600_context *ctx, stru
 void evergreen_context_pipe_state_set_ps_sampler(struct r600_context *ctx, struct r600_pipe_state *state, unsigned id);
 void evergreen_context_pipe_state_set_vs_sampler(struct r600_context *ctx, struct r600_pipe_state *state, unsigned id);
 
+struct radeon *radeon_create(struct radeon_winsys *ws);
 struct radeon *radeon_destroy(struct radeon *radeon);
 
 void _r600_pipe_state_add_reg(struct r600_context *ctx,
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index 28b8089..f22ab52 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -47,7 +47,6 @@
 #include "r600_resource.h"
 #include "r600_shader.h"
 #include "r600_pipe.h"
-#include "../../winsys/r600/drm/r600_drm_public.h"
 
 /*
  * pipe_context
diff --git a/src/gallium/winsys/r600/drm/r600_drm.c b/src/gallium/winsys/r600/drm/r600_drm.c
index 33fc6b7..c9fb097 100644
--- a/src/gallium/winsys/r600/drm/r600_drm.c
+++ b/src/gallium/winsys/r600/drm/r600_drm.c
@@ -27,7 +27,6 @@
  */
 
 #include "r600_priv.h"
-#include "r600_drm_public.h"
 #include "util/u_memory.h"
 #include <errno.h>
 
diff --git a/src/gallium/winsys/r600/drm/r600_drm_public.h b/src/gallium/winsys/r600/drm/r600_drm_public.h
deleted file mode 100644
index b8a37c7..0000000
--- a/src/gallium/winsys/r600/drm/r600_drm_public.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright 2010 Jerome Glisse <glisse at freedesktop.org>
- *
- * 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
- * on 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
- * THE AUTHOR(S) AND/OR THEIR 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.
- *
- * Authors:
- *      Jerome Glisse
- */
-#ifndef R600_DRM_PUBLIC_H
-#define R600_DRM_PUBLIC_H
-
-struct radeon_winsys;
-
-struct radeon *radeon_create(struct radeon_winsys *ws);
-
-#endif




More information about the mesa-commit mailing list