summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965simple/brw_context.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-02-27 11:24:35 -0700
committerBrian <[email protected]>2008-02-27 11:24:35 -0700
commit8383f798b41df9a305e0a33afe8afa028d5d5dfb (patch)
treeaa5f3626bc28f7f2368064d91099fdbaf486d04a /src/gallium/drivers/i965simple/brw_context.c
parent03b5267f52d440b1b357918ed7de2ca948f314e1 (diff)
gallium: start removing pipe_context->get_name/vendor/param/paramf
These are now per-screen functions, not per-context. State tracker updated, code in drivers and p_context.h disabled.
Diffstat (limited to 'src/gallium/drivers/i965simple/brw_context.c')
-rw-r--r--src/gallium/drivers/i965simple/brw_context.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/gallium/drivers/i965simple/brw_context.c b/src/gallium/drivers/i965simple/brw_context.c
index d90b32d4b40..e0a40372867 100644
--- a/src/gallium/drivers/i965simple/brw_context.c
+++ b/src/gallium/drivers/i965simple/brw_context.c
@@ -71,20 +71,6 @@ static void brw_clear(struct pipe_context *pipe, struct pipe_surface *ps,
}
-static int
-brw_get_param(struct pipe_context *pipe, int param)
-{
- return pipe->screen->get_param(pipe->screen, param);
-}
-
-
-static float
-brw_get_paramf(struct pipe_context *pipe, int param)
-{
- return pipe->screen->get_paramf(pipe->screen, param);
-}
-
-
static boolean
brw_is_format_supported( struct pipe_context *pipe,
enum pipe_format format, uint type )
@@ -173,15 +159,12 @@ struct pipe_context *brw_create(struct pipe_screen *screen,
brw->pipe.destroy = brw_destroy;
brw->pipe.is_format_supported = brw_is_format_supported;
- brw->pipe.get_param = brw_get_param;
- brw->pipe.get_paramf = brw_get_paramf;
brw->pipe.clear = brw_clear;
brw_init_surface_functions(brw);
brw_init_texture_functions(brw);
brw_init_state_functions(brw);
brw_init_flush_functions(brw);
- brw_init_string_functions(brw);
brw_init_draw_functions( brw );