~ubuntu-branches/ubuntu/precise/mesa/precise-updates

« back to all changes in this revision

Viewing changes to src/mesa/state_tracker/st_cb_fbo.h

  • Committer: Package Import Robot
  • Author(s): Robert Hooker
  • Date: 2012-02-02 12:05:48 UTC
  • mfrom: (1.7.1) (3.3.27 sid)
  • Revision ID: package-import@ubuntu.com-20120202120548-nvkma85jq0h4coix
Tags: 8.0~rc2-0ubuntu4
Drop drisearchdir handling, it is no longer needed with multiarch
and dri-alternates being removed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
   struct gl_renderbuffer Base;
49
49
   struct pipe_resource *texture;
50
50
   struct pipe_surface *surface; /* temporary view into texture */
51
 
   struct pipe_sampler_view *sampler_view;
52
51
   enum pipe_format format;  /** preferred format, or PIPE_FORMAT_NONE */
53
52
   GLboolean defined;        /**< defined contents? */
54
53
 
 
54
   struct pipe_transfer *transfer; /**< only used when mapping the resource */
 
55
 
55
56
   /**
56
57
    * Used only when hardware accumulation buffers are not supported.
57
58
    */
58
59
   boolean software;
59
60
   size_t stride;
60
61
   void *data;
61
 
   
 
62
 
62
63
   struct st_texture_object *rtt;  /**< GL render to texture's texture */
63
64
   int rtt_level, rtt_face, rtt_slice;
64
 
 
65
 
   /** Render to texture state */
66
 
   struct pipe_resource *texture_save;
67
 
   struct pipe_surface *surface_save;
68
 
   struct pipe_sampler_view *sampler_view_save;
69
65
};
70
66
 
71
67
 
82
78
extern void
83
79
st_init_fbo_functions(struct dd_function_table *functions);
84
80
 
85
 
/* XXX unused ? */
86
 
extern struct pipe_sampler_view *
87
 
st_get_renderbuffer_sampler_view(struct st_renderbuffer *rb,
88
 
                                 struct pipe_context *pipe);
89
 
 
90
 
 
91
81
extern GLboolean
92
82
st_is_depth_stencil_combined(const struct gl_renderbuffer_attachment *depth,
93
83
                             const struct gl_renderbuffer_attachment *stencil);