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

« back to all changes in this revision

Viewing changes to src/mesa/state_tracker/st_texture.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:
45
45
{
46
46
   struct gl_texture_image base;
47
47
 
48
 
   /* These aren't stored in gl_texture_image 
 
48
   /** Used to store texture data that doesn't fit in the patent
 
49
    * object's mipmap buffer.
49
50
    */
50
 
   GLuint level;
51
 
   GLuint face;
 
51
   GLubyte *TexData;
52
52
 
53
53
   /* If stImage->pt != NULL, image data is stored here.
54
 
    * Else if stImage->base.Data != NULL, image is stored there.
 
54
    * Else if stImage->TexData != NULL, image is stored there.
55
55
    * Else there is no image data.
56
56
    */
57
57
   struct pipe_resource *pt;
189
189
 */
190
190
extern GLboolean
191
191
st_texture_match_image(const struct pipe_resource *pt,
192
 
                       const struct gl_texture_image *image,
193
 
                       GLuint face, GLuint level);
 
192
                       const struct gl_texture_image *image);
194
193
 
195
194
/* Return a pointer to an image within a texture.  Return image stride as
196
195
 * well.
232
231
                      struct pipe_resource *src, GLuint srcLevel,
233
232
                      GLuint face);
234
233
 
 
234
 
 
235
extern struct pipe_resource *
 
236
st_create_color_map_texture(struct gl_context *ctx);
 
237
 
235
238
#endif