lp_rast_priv.h revision e529170c11d3cb5812aabeff0a6ee2d7a2ea66f2
1#ifndef LP_RAST_PRIV_H 2#define LP_RAST_PRIV_H 3 4#include "lp_rast.h" 5 6struct lp_rasterizer { 7 8 /* We can choose whatever layout for the internal tile storage we 9 * prefer: 10 */ 11 struct { 12 unsigned color[TILESIZE][TILESIZE]; 13 unsigned depth[TILESIZE][TILESIZE]; 14 char stencil[TILESIZE][TILESIZE]; 15 } tile; 16 17 18 unsigned x; 19 unsigned y; 20 21 22 struct { 23 struct pipe_surface *color; 24 struct pipe_surface *zstencil; 25 unsigned clear_color; 26 unsigned clear_depth; 27 char clear_stencil; 28 } state; 29}; 30 31#endif 32