python: Include missing `p_compiler.h' header.
[mesa.git] / src / gallium / state_trackers / python / st_device.h
index 644c263b53d0f1aaed89ac5b6f9bb3e4e60c3002..0641aff149fd7b5a002f6ebcb2467486cb8ba62a 100644 (file)
@@ -48,6 +48,7 @@ struct st_buffer {
 struct st_context {
    struct st_device *st_dev;
    
+   struct pipe_context *real_pipe;
    struct pipe_context *pipe;
    
    struct cso_context *cso;
@@ -67,12 +68,13 @@ struct st_context {
 
 
 struct st_device {
+   /* FIXME: we also need to refcount for textures and surfaces... */
+   struct pipe_reference reference;
+
    const struct st_winsys *st_ws; 
-   
+
+   struct pipe_screen *real_screen;
    struct pipe_screen *screen;
-   
-   /* FIXME: we also need to refcount for textures and surfaces... */
-   unsigned refcount;
 };