summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i965simple
diff options
context:
space:
mode:
authorBrian <brian@i915.localnet.net>2008-02-27 11:24:35 -0700
committerBrian <brian@i915.localnet.net>2008-02-27 11:24:35 -0700
commit8383f798b41df9a305e0a33afe8afa028d5d5dfb (patch)
treeaa5f3626bc28f7f2368064d91099fdbaf486d04a /src/gallium/drivers/i965simple
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')
-rw-r--r--src/gallium/drivers/i965simple/Makefile1
-rw-r--r--src/gallium/drivers/i965simple/SConscript1
-rw-r--r--src/gallium/drivers/i965simple/brw_context.c17
3 files changed, 0 insertions, 19 deletions
diff --git a/src/gallium/drivers/i965simple/Makefile b/src/gallium/drivers/i965simple/Makefile
index 7b0df0f850..8589ebdf96 100644
--- a/src/gallium/drivers/i965simple/Makefile
+++ b/src/gallium/drivers/i965simple/Makefile
@@ -7,7 +7,6 @@ C_SOURCES = \
brw_blit.c \
brw_flush.c \
brw_screen.c \
- brw_strings.c \
brw_surface.c \
brw_cc.c \
brw_clip.c \
diff --git a/src/gallium/drivers/i965simple/SConscript b/src/gallium/drivers/i965simple/SConscript
index 74621de84c..e0cc78826e 100644
--- a/src/gallium/drivers/i965simple/SConscript
+++ b/src/gallium/drivers/i965simple/SConscript
@@ -35,7 +35,6 @@ i965simple = env.ConvenienceLibrary(
'brw_state_cache.c',
'brw_state_pool.c',
'brw_state_upload.c',
- 'brw_strings.c',
'brw_surface.c',
'brw_tex_layout.c',
'brw_urb.c',
diff --git a/src/gallium/drivers/i965simple/brw_context.c b/src/gallium/drivers/i965simple/brw_context.c
index d90b32d4b4..e0a4037286 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 );