[Mesa-dev] [PATCH 19/29] i965: Merge intelInitFunctions() and brwInitFunctions().
Kenneth Graunke
kenneth at whitecape.org
Fri Sep 27 16:45:58 PDT 2013
They do exactly the same thing.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
---
src/mesa/drivers/dri/i965/brw_context.c | 13 +++----------
1 file 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 569e881..6b6bea8 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);
--
1.8.3.4
More information about the mesa-dev
mailing list