st/mesa: remove what is left from u_blit

Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
Marek Olšák
2013-02-14 14:30:59 +01:00
parent 40ee93c4e8
commit 07cdfdb708
6 changed files with 0 additions and 29 deletions

View File

@@ -41,25 +41,9 @@
#include "st_cb_fbo.h" #include "st_cb_fbo.h"
#include "st_atom.h" #include "st_atom.h"
#include "util/u_blit.h"
#include "util/u_format.h" #include "util/u_format.h"
void
st_init_blit(struct st_context *st)
{
st->blit = util_create_blit(st->pipe, st->cso_context);
}
void
st_destroy_blit(struct st_context *st)
{
util_destroy_blit(st->blit);
st->blit = NULL;
}
static void static void
st_BlitFramebuffer(struct gl_context *ctx, st_BlitFramebuffer(struct gl_context *ctx,
GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,

View File

@@ -35,13 +35,6 @@
struct dd_function_table; struct dd_function_table;
struct st_context; struct st_context;
extern void
st_init_blit(struct st_context *st);
extern void
st_destroy_blit(struct st_context *st);
extern void extern void
st_init_blit_functions(struct dd_function_table *functions); st_init_blit_functions(struct dd_function_table *functions);

View File

@@ -44,7 +44,6 @@
#include "pipe/p_defines.h" #include "pipe/p_defines.h"
#include "pipe/p_screen.h" #include "pipe/p_screen.h"
#include "util/u_gen_mipmap.h" #include "util/u_gen_mipmap.h"
#include "util/u_blit.h"
/** Check if we have a front color buffer and if it's been drawn to. */ /** Check if we have a front color buffer and if it's been drawn to. */

View File

@@ -59,7 +59,6 @@
#include "util/u_inlines.h" #include "util/u_inlines.h"
#include "pipe/p_shader_tokens.h" #include "pipe/p_shader_tokens.h"
#include "util/u_tile.h" #include "util/u_tile.h"
#include "util/u_blit.h"
#include "util/u_format.h" #include "util/u_format.h"
#include "util/u_surface.h" #include "util/u_surface.h"
#include "util/u_sampler.h" #include "util/u_sampler.h"

View File

@@ -146,7 +146,6 @@ st_create_context_priv( struct gl_context *ctx, struct pipe_context *pipe,
st_init_clear(st); st_init_clear(st);
st_init_draw( st ); st_init_draw( st );
st_init_generate_mipmap(st); st_init_generate_mipmap(st);
st_init_blit(st);
if(pipe->screen->get_param(pipe->screen, PIPE_CAP_NPOT_TEXTURES)) if(pipe->screen->get_param(pipe->screen, PIPE_CAP_NPOT_TEXTURES))
st->internal_target = PIPE_TEXTURE_2D; st->internal_target = PIPE_TEXTURE_2D;
@@ -242,7 +241,6 @@ static void st_destroy_context_priv( struct st_context *st )
st_destroy_atoms( st ); st_destroy_atoms( st );
st_destroy_draw( st ); st_destroy_draw( st );
st_destroy_generate_mipmap(st); st_destroy_generate_mipmap(st);
st_destroy_blit(st);
st_destroy_clear(st); st_destroy_clear(st);
st_destroy_bitmap(st); st_destroy_bitmap(st);
st_destroy_drawpix(st); st_destroy_drawpix(st);

View File

@@ -34,7 +34,6 @@
#include "main/fbobject.h" #include "main/fbobject.h"
struct bitmap_cache; struct bitmap_cache;
struct blit_state;
struct dd_function_table; struct dd_function_table;
struct draw_context; struct draw_context;
struct draw_stage; struct draw_stage;
@@ -182,7 +181,6 @@ struct st_context
enum pipe_texture_target internal_target; enum pipe_texture_target internal_target;
struct gen_mipmap_state *gen_mipmap; struct gen_mipmap_state *gen_mipmap;
struct blit_state *blit;
struct cso_context *cso_context; struct cso_context *cso_context;