Browse Source

llvmpipe: added lp_rast_get_num_threads()

tags/7.8-rc1
Brian Paul 15 years ago
parent
commit
9323740738

+ 7
- 0
src/gallium/drivers/llvmpipe/lp_rast.c View File

FREE(rast); FREE(rast);
} }



/** Return number of rasterization threads */
unsigned
lp_rast_get_num_threads( struct lp_rasterizer *rast )
{
return rast->num_threads;
}

+ 2
- 0
src/gallium/drivers/llvmpipe/lp_rast.h View File



void lp_rast_destroy( struct lp_rasterizer * ); void lp_rast_destroy( struct lp_rasterizer * );


unsigned lp_rast_get_num_threads( struct lp_rasterizer * );

void lp_rasterize_bins( struct lp_rasterizer *rast, void lp_rasterize_bins( struct lp_rasterizer *rast,
struct lp_bins *bins, struct lp_bins *bins,
const struct pipe_framebuffer_state *fb, const struct pipe_framebuffer_state *fb,

Loading…
Cancel
Save