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

« back to all changes in this revision

Viewing changes to src/gallium/state_trackers/dri/common/dri_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:
32
32
#ifndef DRI_CONTEXT_H
33
33
#define DRI_CONTEXT_H
34
34
 
 
35
#include "dri_util.h"
35
36
#include "pipe/p_compiler.h"
36
 
#include "dri_wrapper.h"
 
37
#include "postprocess/filters.h"
37
38
 
38
39
struct pipe_context;
39
40
struct pipe_fence;
51
52
 
52
53
   driOptionCache optionCache;
53
54
 
54
 
   drmLock *lock;
55
 
   boolean isLocked;
56
 
   boolean stLostLock;
57
 
   boolean wsLostLock;
58
 
 
59
55
   unsigned int bind_count;
60
56
 
61
57
   /* gallium */
62
58
   struct st_api *stapi;
63
59
   struct st_context_iface *st;
 
60
   struct pp_queue_t *pp;
 
61
   unsigned int pp_enabled[PP_FILTERS];
64
62
};
65
63
 
66
64
static INLINE struct dri_context *
90
88
dri_create_context(gl_api api,
91
89
                   const struct gl_config * visual,
92
90
                   __DRIcontext * driContextPriv,
 
91
                   unsigned major_version,
 
92
                   unsigned minor_version,
 
93
                   uint32_t flags,
 
94
                   unsigned *error,
93
95
                   void *sharedContextPrivate);
94
96
 
95
97
#endif