mesa: treat Color._AdvancedBlendMode as enum
[mesa.git] / src / mesa / tnl / tnl.h
index c3927536b8bff0b1128966852a8992c79e540fd0..58503016a9b3a0d5438b959b5db3f5750fd53471 100644 (file)
@@ -107,14 +107,15 @@ _tnl_draw_prims(struct gl_context *ctx,
                     GLboolean index_bounds_valid,
                     GLuint min_index,
                     GLuint max_index,
-                    struct gl_transform_feedback_object *tfb_vertcount,
-                     unsigned stream);
+                     GLuint num_instances,
+                     GLuint base_instance);
 
 void
 _tnl_draw(struct gl_context *ctx,
           const struct _mesa_prim *prim, GLuint nr_prims,
           const struct _mesa_index_buffer *ib,
           GLboolean index_bounds_valid, GLuint min_index, GLuint max_index,
+          GLuint num_instances, GLuint base_instance,
           struct gl_transform_feedback_object *tfb_vertcount, unsigned stream);
 
 extern void
@@ -172,8 +173,8 @@ typedef void (*tnl_draw_func)(struct gl_context *ctx,
                               GLboolean index_bounds_valid,
                               GLuint min_index,
                               GLuint max_index,
-                              struct gl_transform_feedback_object *tfb_vertcount,
-                              unsigned tfb_stream);
+                              GLuint num_instances,
+                              GLuint base_instance);
 
 
 /* Utility function to cope with various constraints on tnl modules or
@@ -198,6 +199,8 @@ _tnl_split_prims(struct gl_context *ctx,
                  const struct _mesa_index_buffer *ib,
                  GLuint min_index,
                  GLuint max_index,
+                 GLuint num_instances,
+                 GLuint base_instance,
                  tnl_draw_func draw,
                  const struct split_limits *limits);