intel_be_context.h

Go to the documentation of this file.
00001 /* These need to be diffrent from the intel winsys */
00002 #ifndef INTEL_BE_CONTEXT_H
00003 #define INTEL_BE_CONTEXT_H
00004 
00005 #include "i915simple/i915_winsys.h"
00006 
00007 struct intel_be_context
00008 {
00010         struct i915_winsys base;
00011 
00012         struct intel_be_device *device;
00013         struct intel_be_batchbuffer *batch;
00014 
00015         /*
00016      * Hardware lock functions.
00017      *
00018      * Needs to be filled in by the winsys.
00019      */
00020         void (*hardware_lock)(struct intel_be_context *context);
00021         void (*hardware_unlock)(struct intel_be_context *context);
00022         boolean (*hardware_locked)(struct intel_be_context *context);
00023 };
00024 
00030 boolean
00031 intel_be_init_context(struct intel_be_context *intel,
00032                       struct intel_be_device *device);
00033 
00038 void
00039 intel_be_destroy_context(struct intel_be_context *intel);
00040 #endif

Generated on Tue Sep 29 06:25:17 2009 for Gallium3D by  doxygen 1.5.4