aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_context.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-09-27 14:42:43 -0700
committerKenneth Graunke <[email protected]>2013-10-13 00:10:44 -0700
commit9848a422879e0b5fef5930bfcb105b01d94f3bab (patch)
tree140ac70045ca9e50be4beaa80953468941364a48 /src/mesa/drivers/dri/i965/brw_context.c
parent0138fd46104850afe2e86483f3d3a436007b2c12 (diff)
i965: Merge intelInitFunctions() and brwInitFunctions().
They do exactly the same thing. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index fd1dabaadcb..740a33ae4d5 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -208,10 +208,9 @@ intelFinish(struct gl_context * ctx)
drm_intel_bo_wait_rendering(brw->batch.last_bo);
}
-
-
-void
-intelInitDriverFunctions(struct dd_function_table *functions)
+static void
+brwInitDriverFunctions(struct intel_screen *screen,
+ struct dd_function_table *functions)
{
_mesa_init_driver_functions(functions);
@@ -230,12 +229,6 @@ intelInitDriverFunctions(struct dd_function_table *functions)
intelInitBufferObjectFuncs(functions);
intel_init_syncobj_functions(functions);
brw_init_object_purgeable_functions(functions);
-}
-
-static void brwInitDriverFunctions(struct intel_screen *screen,
- struct dd_function_table *functions)
-{
- intelInitDriverFunctions( functions );
brwInitFragProgFuncs( functions );
brw_init_common_queryobj_functions(functions);