st/python: Move surface read/write methods to context.
[mesa.git] / src / gallium / state_trackers / python / st_sample.h
index 888114d3021d899c76f564fb92f9cc26442dbedc..6fb8417add8895c1738314548c34e23ae8827129 100644 (file)
@@ -32,6 +32,9 @@
 
 #include "pipe/p_format.h"
 
+struct pipe_context;
+struct st_surface;
+
 
 void 
 st_sample_pixel_block(enum pipe_format format,
@@ -40,7 +43,9 @@ st_sample_pixel_block(enum pipe_format format,
                       unsigned w, unsigned h);
 
 void
-st_sample_surface(struct st_surface *surface, float *rgba);
+st_sample_surface(struct pipe_context *pipe,
+                  struct st_surface *surface,
+                  float *rgba);
 
 
 #endif /* ST_SAMPLE_H_ */