summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/gen
diff options
context:
space:
mode:
authorMathias Fröhlich <[email protected]>2018-10-29 06:13:20 +0100
committerMathias Fröhlich <[email protected]>2018-11-01 06:08:49 +0100
commitf726c61cc1b2b845d19dc2b348219c73713adf93 (patch)
tree8510d5181e5fed9c3cb8ba9083372d4ec2dcd489 /src/mapi/glapi/gen
parent952a5da584971037cbab7b338977ff7257bc4009 (diff)
mesa/vbo: Move src/mesa/vbo/vbo_exec_array.c -> src/mesa/main/draw.c
The array type draw is no longer directly dependent on the vbo module. Thus move array type draws into mesa/main/draw.c. Rename symbols starting with vbo_* to _mesa_* and apply some reindenting to make it consistent. Reviewed-by: Brian Paul <[email protected]> Signed-off-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/mapi/glapi/gen')
-rw-r--r--src/mapi/glapi/gen/gl_genexec.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mapi/glapi/gen/gl_genexec.py b/src/mapi/glapi/gen/gl_genexec.py
index fc5b10a4b35..bd14bff4f27 100644
--- a/src/mapi/glapi/gen/gl_genexec.py
+++ b/src/mapi/glapi/gen/gl_genexec.py
@@ -71,6 +71,7 @@ header = """/**
#include "main/depth.h"
#include "main/debug_output.h"
#include "main/dlist.h"
+#include "main/draw.h"
#include "main/drawpix.h"
#include "main/drawtex.h"
#include "main/rastpos.h"
@@ -131,7 +132,6 @@ header = """/**
#include "main/formatquery.h"
#include "main/dispatch.h"
#include "main/vdpau.h"
-#include "vbo/vbo.h"
/**
@@ -152,7 +152,7 @@ _mesa_initialize_exec_table(struct gl_context *ctx)
assert(ctx->Version > 0);
- vbo_initialize_exec_dispatch(ctx, exec);
+ _mesa_initialize_exec_dispatch(ctx, exec);
"""