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

« back to all changes in this revision

Viewing changes to src/mesa/vbo/vbo_context.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:
67
67
   struct gl_client_array *generic_currval;
68
68
   struct gl_client_array *mat_currval;
69
69
 
 
70
   /** Map VERT_ATTRIB_x to VBO_ATTRIB_y */
70
71
   GLuint map_vp_none[VERT_ATTRIB_MAX];
71
72
   GLuint map_vp_arb[VERT_ATTRIB_MAX];
72
73
 
86
87
};
87
88
 
88
89
 
89
 
static INLINE struct vbo_context *vbo_context(struct gl_context *ctx) 
 
90
static inline struct vbo_context *vbo_context(struct gl_context *ctx) 
90
91
{
91
92
   return (struct vbo_context *)(ctx->swtnl_im);
92
93
}
96
97
 * Return VP_x token to indicate whether we're running fixed-function
97
98
 * vertex transformation, an NV vertex program or ARB vertex program/shader.
98
99
 */
99
 
static INLINE enum vp_mode
 
100
static inline enum vp_mode
100
101
get_program_mode( struct gl_context *ctx )
101
102
{
102
103
   if (!ctx->VertexProgram._Current)