st/mesa: remove what is left from u_blit
Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
@@ -41,25 +41,9 @@
|
||||
#include "st_cb_fbo.h"
|
||||
#include "st_atom.h"
|
||||
|
||||
#include "util/u_blit.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
|
||||
st_BlitFramebuffer(struct gl_context *ctx,
|
||||
GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,
|
||||
|
@@ -35,13 +35,6 @@
|
||||
struct dd_function_table;
|
||||
struct st_context;
|
||||
|
||||
|
||||
extern void
|
||||
st_init_blit(struct st_context *st);
|
||||
|
||||
extern void
|
||||
st_destroy_blit(struct st_context *st);
|
||||
|
||||
extern void
|
||||
st_init_blit_functions(struct dd_function_table *functions);
|
||||
|
||||
|
@@ -44,7 +44,6 @@
|
||||
#include "pipe/p_defines.h"
|
||||
#include "pipe/p_screen.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. */
|
||||
|
@@ -59,7 +59,6 @@
|
||||
#include "util/u_inlines.h"
|
||||
#include "pipe/p_shader_tokens.h"
|
||||
#include "util/u_tile.h"
|
||||
#include "util/u_blit.h"
|
||||
#include "util/u_format.h"
|
||||
#include "util/u_surface.h"
|
||||
#include "util/u_sampler.h"
|
||||
|
@@ -146,7 +146,6 @@ st_create_context_priv( struct gl_context *ctx, struct pipe_context *pipe,
|
||||
st_init_clear(st);
|
||||
st_init_draw( st );
|
||||
st_init_generate_mipmap(st);
|
||||
st_init_blit(st);
|
||||
|
||||
if(pipe->screen->get_param(pipe->screen, PIPE_CAP_NPOT_TEXTURES))
|
||||
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_draw( st );
|
||||
st_destroy_generate_mipmap(st);
|
||||
st_destroy_blit(st);
|
||||
st_destroy_clear(st);
|
||||
st_destroy_bitmap(st);
|
||||
st_destroy_drawpix(st);
|
||||
|
@@ -34,7 +34,6 @@
|
||||
#include "main/fbobject.h"
|
||||
|
||||
struct bitmap_cache;
|
||||
struct blit_state;
|
||||
struct dd_function_table;
|
||||
struct draw_context;
|
||||
struct draw_stage;
|
||||
@@ -182,7 +181,6 @@ struct st_context
|
||||
|
||||
enum pipe_texture_target internal_target;
|
||||
struct gen_mipmap_state *gen_mipmap;
|
||||
struct blit_state *blit;
|
||||
|
||||
struct cso_context *cso_context;
|
||||
|
||||
|
Reference in New Issue
Block a user