diff options
Diffstat (limited to 'src/gallium/state_trackers/python/st_sample.h')
-rw-r--r-- | src/gallium/state_trackers/python/st_sample.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/python/st_sample.h b/src/gallium/state_trackers/python/st_sample.h index 888114d302..2fdbb391f3 100644 --- a/src/gallium/state_trackers/python/st_sample.h +++ b/src/gallium/state_trackers/python/st_sample.h @@ -32,15 +32,22 @@ #include "pipe/p_format.h" +struct pipe_context; +struct st_surface; + void st_sample_pixel_block(enum pipe_format format, void *raw, float *rgba, unsigned rgba_stride, - unsigned w, unsigned h); + unsigned w, unsigned h, + boolean norm); void -st_sample_surface(struct st_surface *surface, float *rgba); +st_sample_surface(struct pipe_context *pipe, + struct st_surface *surface, + float *rgba, + boolean norm); #endif /* ST_SAMPLE_H_ */ |