OSDN Git Service

Start breaking the #include dependencies between pipe drivers and mesa.
authorKeith Whitwell <keith@tungstengraphics.com>
Mon, 13 Aug 2007 15:07:11 +0000 (16:07 +0100)
committerKeith Whitwell <keith@tungstengraphics.com>
Mon, 13 Aug 2007 15:23:44 +0000 (16:23 +0100)
commit40a86b20478024ca7c55400019c536cb5ff631d1
tree624d3f33b07dfba4328b0c7746af5f58fd496292
parentd46779103b38aeab61701759ed7a0b30cc71c0ef
Start breaking the #include dependencies between pipe drivers and mesa.

Pipe drivers shouldn't really know much about mesa and certainly shouldn't
be #including files from src/mesa/main and the like.

I've also (in i915simple especially) moved over from GL types to
more conventional int/unsigned usage.  This probably isn't really the
ultimate desired set of types to use - possibly C99 would be better.  It
may even be that a subset of the GL types is preferable.
27 files changed:
src/mesa/pipe/i915simple/i915_blit.c
src/mesa/pipe/i915simple/i915_blit.h
src/mesa/pipe/i915simple/i915_clear.c
src/mesa/pipe/i915simple/i915_context.c
src/mesa/pipe/i915simple/i915_context.h
src/mesa/pipe/i915simple/i915_debug.c
src/mesa/pipe/i915simple/i915_debug_fp.c
src/mesa/pipe/i915simple/i915_prim_emit.c
src/mesa/pipe/i915simple/i915_regions.c
src/mesa/pipe/i915simple/i915_state.c
src/mesa/pipe/i915simple/i915_state_derived.c
src/mesa/pipe/i915simple/i915_state_dynamic.c
src/mesa/pipe/i915simple/i915_state_emit.c
src/mesa/pipe/i915simple/i915_state_fragprog.c
src/mesa/pipe/i915simple/i915_state_immediate.c
src/mesa/pipe/i915simple/i915_state_inlines.h
src/mesa/pipe/i915simple/i915_surface.c
src/mesa/pipe/i915simple/i915_tex_layout.c
src/mesa/pipe/i915simple/i915_tex_layout.h
src/mesa/pipe/i915simple/i915_winsys.h
src/mesa/pipe/p_context.h
src/mesa/pipe/p_defines.h
src/mesa/pipe/p_state.h
src/mesa/pipe/softpipe/sp_clear.c
src/mesa/pipe/softpipe/sp_clear.h
src/mesa/pipe/softpipe/sp_quad_fs.c
src/mesa/pipe/softpipe/sp_tex_layout.c