From d1dac360048e5eace88b93f88a4a4e23d2cec582 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Tue, 25 May 2010 23:21:41 +0200 Subject: r300g: remove r300_flush.h --- src/gallium/drivers/r300/r300_context.c | 1 - src/gallium/drivers/r300/r300_context.h | 1 + src/gallium/drivers/r300/r300_flush.c | 1 - src/gallium/drivers/r300/r300_flush.h | 28 ---------------------------- 4 files changed, 1 insertion(+), 30 deletions(-) delete mode 100644 src/gallium/drivers/r300/r300_flush.h (limited to 'src/gallium/drivers') diff --git a/src/gallium/drivers/r300/r300_context.c b/src/gallium/drivers/r300/r300_context.c index b3320fea85..36e80b4386 100644 --- a/src/gallium/drivers/r300/r300_context.c +++ b/src/gallium/drivers/r300/r300_context.c @@ -28,7 +28,6 @@ #include "r300_context.h" #include "r300_emit.h" -#include "r300_flush.h" #include "r300_query.h" #include "r300_render.h" #include "r300_screen.h" diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h index 423eeab135..eb98bb4504 100644 --- a/src/gallium/drivers/r300/r300_context.h +++ b/src/gallium/drivers/r300/r300_context.h @@ -463,6 +463,7 @@ struct pipe_context* r300_create_context(struct pipe_screen* screen, /* Context initialization. */ struct draw_stage* r300_draw_stage(struct r300_context* r300); void r300_init_blit_functions(struct r300_context *r300); +void r300_init_flush_functions(struct r300_context* r300); void r300_init_state_functions(struct r300_context* r300); void r300_init_resource_functions(struct r300_context* r300); diff --git a/src/gallium/drivers/r300/r300_flush.c b/src/gallium/drivers/r300/r300_flush.c index d6876c1903..f629e57c5a 100644 --- a/src/gallium/drivers/r300/r300_flush.c +++ b/src/gallium/drivers/r300/r300_flush.c @@ -29,7 +29,6 @@ #include "r300_context.h" #include "r300_cs.h" #include "r300_emit.h" -#include "r300_flush.h" static void r300_flush(struct pipe_context* pipe, unsigned flags, diff --git a/src/gallium/drivers/r300/r300_flush.h b/src/gallium/drivers/r300/r300_flush.h deleted file mode 100644 index 0e9e6106bb..0000000000 --- a/src/gallium/drivers/r300/r300_flush.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright 2008 Corbin Simpson - * - * 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. */ - -#ifndef R300_FLUSH_H -#define R300_FLUSH_H - -void r300_init_flush_functions(struct r300_context* r300); - -#endif /* R300_FLUSH_H */ -- cgit v1.2.3