diff options
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_context.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_context.h | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_context.h b/src/mesa/drivers/dri/i965/intel_context.h index f4e7bf4ac35..188ac895a5f 100644 --- a/src/mesa/drivers/dri/i965/intel_context.h +++ b/src/mesa/drivers/dri/i965/intel_context.h @@ -54,7 +54,6 @@ extern "C" { #include "tnl/t_vertex.h" struct intel_region; -struct intel_context; #define INTEL_WRITE_PART 0x1 #define INTEL_WRITE_FULL 0x2 @@ -107,14 +106,6 @@ struct intel_batchbuffer { }; /** - * intel_context is derived from Mesa's context class: struct gl_context. - */ -struct intel_context -{ - struct gl_context ctx; /**< base class, must be first field */ -}; - -/** * Align a value down to an alignment value * * If \c value is not already aligned to the requested alignment value, it @@ -221,7 +212,7 @@ extern int INTEL_DEBUG; if (unlikely(INTEL_DEBUG & DEBUG_PERF)) \ dbg_printf(__VA_ARGS__); \ if (brw->perf_debug) \ - _mesa_gl_debug(&brw->intel.ctx, &msg_id, \ + _mesa_gl_debug(&brw->ctx, &msg_id, \ MESA_DEBUG_TYPE_PERFORMANCE, \ MESA_DEBUG_SEVERITY_MEDIUM, \ __VA_ARGS__); \ @@ -289,16 +280,6 @@ intelInitExtensions(struct gl_context *ctx); extern void intelInitClearFuncs(struct dd_function_table *functions); -/*====================================================================== - * Inline conversion functions. - * These are better-typed than the macros used previously: - */ -static INLINE struct intel_context * -intel_context(struct gl_context * ctx) -{ - return (struct intel_context *) ctx; -} - static INLINE bool is_power_of_two(uint32_t value) { |