mesa: Include mtypes.h in files that use gl_context struct.

Directly include mtypes.h if a file uses a gl_context struct. This
allows future removal of headers that are not strictly necessary but
indirectly include mtypes.h for a file.
This commit is contained in:
Vinson Lee
2011-01-05 23:11:54 -08:00
parent a728646fb5
commit 0117da40cd
36 changed files with 36 additions and 0 deletions

View File

@@ -40,6 +40,7 @@
#include "context.h"
#include "imports.h"
#include "macros.h"
#include "mtypes.h"
#include "main/dispatch.h"
typedef void (GLAPIENTRY *array_func)( const void * );

View File

@@ -48,6 +48,7 @@
#endif
#include "arrayobj.h"
#include "macros.h"
#include "mtypes.h"
#include "main/dispatch.h"

View File

@@ -39,6 +39,7 @@
#include "context.h"
#include "bufferobj.h"
#include "fbobject.h"
#include "mtypes.h"
#include "texobj.h"

View File

@@ -35,6 +35,7 @@
#include "colormac.h"
#include "context.h"
#include "enums.h"
#include "mtypes.h"
#define BAD_MASK ~0u

View File

@@ -36,6 +36,7 @@
#include "colormac.h"
#include "enums.h"
#include "macros.h"
#include "mtypes.h"
#include "state.h"

View File

@@ -29,6 +29,7 @@
#include "context.h"
#include "image.h"
#include "macros.h"
#include "mtypes.h"
#include "pack.h"
#include "state.h"
#include "teximage.h"

View File

@@ -34,6 +34,7 @@
#include "glheader.h"
#include "condrender.h"
#include "enums.h"
#include "mtypes.h"
#include "queryobj.h"

View File

@@ -24,6 +24,7 @@
#include "main/drawtex.h"
#include "main/state.h"
#include "main/imports.h"
#include "main/mtypes.h"
#if FEATURE_OES_draw_texture

View File

@@ -40,6 +40,7 @@
#include "framebuffer.h"
#include "hash.h"
#include "macros.h"
#include "mtypes.h"
#include "renderbuffer.h"
#include "state.h"
#include "teximage.h"

View File

@@ -29,6 +29,7 @@
#include "get.h"
#include "enums.h"
#include "extensions.h"
#include "mtypes.h"
/**

View File

@@ -29,6 +29,7 @@
#include "context.h"
#include "hint.h"
#include "imports.h"
#include "mtypes.h"

View File

@@ -35,6 +35,7 @@
#include "image.h"
#include "imports.h"
#include "macros.h"
#include "mtypes.h"
/**

View File

@@ -46,6 +46,7 @@
#include "imports.h"
#include "context.h"
#include "mtypes.h"
#include "version.h"
#ifdef _GNU_SOURCE

View File

@@ -30,6 +30,7 @@
#include "imports.h"
#include "formats.h"
#include "mipmap.h"
#include "mtypes.h"
#include "teximage.h"
#include "texstore.h"
#include "image.h"

View File

@@ -27,6 +27,7 @@
#include "main/context.h"
#include "main/macros.h"
#include "main/multisample.h"
#include "main/mtypes.h"
/**

View File

@@ -42,6 +42,7 @@
#include "main/hash.h"
#include "main/imports.h"
#include "main/macros.h"
#include "main/mtypes.h"
#include "main/nvprogram.h"
#include "program/arbprogparse.h"
#include "program/nvfragparse.h"

View File

@@ -34,6 +34,7 @@
#include "enums.h"
#include "image.h"
#include "imports.h"
#include "mtypes.h"
#include "pack.h"
#include "pixeltransfer.h"
#include "imports.h"

View File

@@ -33,6 +33,7 @@
#include "colormac.h"
#include "pixeltransfer.h"
#include "imports.h"
#include "mtypes.h"
/*

View File

@@ -32,6 +32,7 @@
#include "context.h"
#include "feedback.h"
#include "macros.h"
#include "mtypes.h"
#include "rastpos.h"
#include "state.h"
#include "main/dispatch.h"

View File

@@ -30,6 +30,7 @@
#include "framebuffer.h"
#include "formats.h"
#include "image.h"
#include "mtypes.h"
#include "state.h"

View File

@@ -25,6 +25,7 @@
#include "main/glheader.h"
#include "main/context.h"
#include "main/mtypes.h"
#include "main/scissor.h"

View File

@@ -41,6 +41,7 @@
#include "main/dispatch.h"
#include "main/enums.h"
#include "main/hash.h"
#include "main/mtypes.h"
#include "main/shaderapi.h"
#include "main/shaderobj.h"
#include "program/program.h"

View File

@@ -32,6 +32,7 @@
#include "main/glheader.h"
#include "main/context.h"
#include "main/hash.h"
#include "main/mtypes.h"
#include "main/shaderobj.h"
#include "program/program.h"
#include "program/prog_parameter.h"

View File

@@ -61,6 +61,7 @@
#include "macros.h"
#include "get.h"
#include "dispatch.h"
#include "mtypes.h"
#if FEATURE_ARB_sync
#include "syncobj.h"

View File

@@ -34,6 +34,7 @@
#include "imports.h"
#include "colormac.h"
#include "formats.h"
#include "mtypes.h"
#include "texcompress.h"

View File

@@ -39,6 +39,7 @@
#include "dlopen.h"
#include "image.h"
#include "macros.h"
#include "mtypes.h"
#include "texcompress.h"
#include "texcompress_s3tc.h"
#include "texstore.h"

View File

@@ -34,6 +34,7 @@
#include "main/context.h"
#include "main/enums.h"
#include "main/macros.h"
#include "main/mtypes.h"
#include "main/texenv.h"
#include "main/texstate.h"

View File

@@ -28,6 +28,7 @@
#include "glheader.h"
#include "imports.h"
#include "mtypes.h"
#include "program/program.h"
#include "program/prog_parameter.h"
#include "program/prog_cache.h"

View File

@@ -34,6 +34,7 @@
#include "context.h"
#include "mtypes.h"
#include "texcompress.h"
#include "texformat.h"

View File

@@ -35,6 +35,7 @@
#include "context.h"
#include "formats.h"
#include "image.h"
#include "mtypes.h"
#include "pack.h"
#include "texgetimage.h"
#include "teximage.h"

View File

@@ -35,6 +35,7 @@
#include "main/context.h"
#include "main/formats.h"
#include "main/macros.h"
#include "main/mtypes.h"
#include "main/texcompress.h"
#include "main/texparam.h"
#include "main/teximage.h"

View File

@@ -58,6 +58,7 @@
#include "image.h"
#include "macros.h"
#include "mipmap.h"
#include "mtypes.h"
#include "pack.h"
#include "imports.h"
#include "pack.h"

View File

@@ -34,6 +34,7 @@
#include "bufferobj.h"
#include "context.h"
#include "hash.h"
#include "mtypes.h"
#include "transformfeedback.h"
#include "shaderapi.h"
#include "shaderobj.h"

View File

@@ -39,6 +39,7 @@
#include "main/glheader.h"
#include "main/context.h"
#include "main/dispatch.h"
#include "main/mtypes.h"
#include "main/shaderapi.h"
#include "main/shaderobj.h"
#include "main/uniforms.h"

View File

@@ -23,6 +23,7 @@
#include "context.h"
#include "mtypes.h"
#include "version.h"

View File

@@ -31,6 +31,7 @@
#include "context.h"
#include "macros.h"
#include "mtypes.h"
#include "viewport.h"