aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_setup_context.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2010-08-26 20:09:22 +0100
committerKeith Whitwell <[email protected]>2010-08-27 13:08:54 +0100
commit3783053fa59fceef59fe0356af5c8dbc095e9adf (patch)
treec4688ad5f27c40718ea6009a749fd217b07a09ac /src/gallium/drivers/llvmpipe/lp_setup_context.h
parente826d0e8170028da553d2018b833af7c26b8dc1b (diff)
llvmpipe: update line rasterization code to current master
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_setup_context.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_setup_context.h32
1 files changed, 4 insertions, 28 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup_context.h b/src/gallium/drivers/llvmpipe/lp_setup_context.h
index a4838d59a5c..97919c09d4e 100644
--- a/src/gallium/drivers/llvmpipe/lp_setup_context.h
+++ b/src/gallium/drivers/llvmpipe/lp_setup_context.h
@@ -171,26 +171,6 @@ lp_setup_print_vertex(struct lp_setup_context *setup,
const char *name,
const float (*v)[4]);
-/** shared code between lp_setup_line and lp_setup_tri */
-extern lp_rast_cmd lp_rast_tri_tab[];
-
-void
-do_triangle_ccw_whole_tile(struct lp_setup_context *setup,
- struct lp_scene *scene,
- struct lp_rast_triangle *tri,
- int x, int y,
- boolean opaque,
- int *is_blit);
-
-
-void
-lp_setup_tri_coefficients( struct lp_setup_context *setup,
- struct lp_rast_triangle *tri,
- float oneoverarea,
- const float (*v1)[4],
- const float (*v2)[4],
- const float (*v3)[4],
- boolean frontface);
struct lp_rast_triangle *
lp_setup_alloc_triangle(struct lp_scene *scene,
@@ -199,14 +179,10 @@ lp_setup_alloc_triangle(struct lp_scene *scene,
unsigned *tri_size);
void
-lp_setup_fragcoord_coef(struct lp_setup_context *setup,
- struct lp_rast_triangle *tri,
- float oneoverarea,
- unsigned slot,
- const float (*v1)[4],
- const float (*v2)[4],
- const float (*v3)[4],
- unsigned usage_mask);
+lp_setup_bin_triangle( struct lp_setup_context *setup,
+ struct lp_rast_triangle *tri,
+ const struct u_rect *bbox,
+ int nr_planes );
#endif