X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fdrivers%2Fllvmpipe%2Flp_rast.h;h=1ed27001914f8148e4cfc840e711e2bd66467774;hb=8462fe2bbf2aac87e6eabddc805b3d3ec63c6376;hp=f40208bbda9966db3a13feae6fb738be2c3fabfc;hpb=1caa26202c3bcc41ea5829b646128088e14d5dfd;p=mesa.git diff --git a/src/gallium/drivers/llvmpipe/lp_rast.h b/src/gallium/drivers/llvmpipe/lp_rast.h index f40208bbda9..1ed27001914 100644 --- a/src/gallium/drivers/llvmpipe/lp_rast.h +++ b/src/gallium/drivers/llvmpipe/lp_rast.h @@ -25,104 +25,121 @@ * **************************************************************************/ +/** + * The rast code is concerned with rasterization of command bins. + * Each screen tile has a bin associated with it. To render the + * scene we iterate over the tile bins and execute the commands + * in each bin. + * We'll do that with multiple threads... + */ + + #ifndef LP_RAST_H #define LP_RAST_H +#include "pipe/p_compiler.h" #include "lp_jit.h" -/* Initially create and program a single rasterizer directly. Later - * will want multiple of these, one or two per core. At that stage - * will probably pass command buffers into the rasterizers rather than - * individual function calls like this. - */ + struct lp_rasterizer; +struct lp_scene; +struct lp_scene_queue; +struct lp_fence; +struct cmd_bin; +struct pipe_screen; + +/** For sub-pixel positioning */ +#define FIXED_ORDER 4 +#define FIXED_ONE (1<