X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fstate_trackers%2Fpython%2Fst_sample.h;h=2fdbb391f368c84b7f51b5e7b9128405db7c7616;hb=39c81dada01585a6030f03d215842a1a2ae87d86;hp=ff04a12613f1fd51357dcd5c92e391aca97d2cdf;hpb=df6155fcff66034457b3165f5df0a61ccfc41314;p=mesa.git diff --git a/src/gallium/state_trackers/python/st_sample.h b/src/gallium/state_trackers/python/st_sample.h index ff04a12613f..2fdbb391f36 100644 --- a/src/gallium/state_trackers/python/st_sample.h +++ b/src/gallium/state_trackers/python/st_sample.h @@ -32,16 +32,22 @@ #include "pipe/p_format.h" +struct pipe_context; +struct st_surface; + void st_sample_pixel_block(enum pipe_format format, - const struct pipe_format_block *block, void *raw, float *rgba, unsigned rgba_stride, - unsigned w, unsigned h); + unsigned w, unsigned h, + boolean norm); void -st_sample_surface(struct pipe_surface *surface, float *rgba); +st_sample_surface(struct pipe_context *pipe, + struct st_surface *surface, + float *rgba, + boolean norm); #endif /* ST_SAMPLE_H_ */