Commit 0117da40 authored by Vinson Lee's avatar Vinson Lee

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.
parent a728646f
......@@ -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 * );
......
......@@ -48,6 +48,7 @@
#endif
#include "arrayobj.h"
#include "macros.h"
#include "mtypes.h"
#include "main/dispatch.h"
......
......@@ -39,6 +39,7 @@
#include "context.h"
#include "bufferobj.h"
#include "fbobject.h"
#include "mtypes.h"
#include "texobj.h"
......
......@@ -35,6 +35,7 @@
#include "colormac.h"
#include "context.h"
#include "enums.h"
#include "mtypes.h"
#define BAD_MASK ~0u
......
......@@ -36,6 +36,7 @@
#include "colormac.h"
#include "enums.h"
#include "macros.h"
#include "mtypes.h"
#include "state.h"
......
......@@ -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"
......
......@@ -34,6 +34,7 @@
#include "glheader.h"
#include "condrender.h"
#include "enums.h"
#include "mtypes.h"
#include "queryobj.h"
......
......@@ -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
......
......@@ -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"
......
......@@ -29,6 +29,7 @@
#include "get.h"
#include "enums.h"
#include "extensions.h"
#include "mtypes.h"
/**
......
......@@ -29,6 +29,7 @@
#include "context.h"
#include "hint.h"
#include "imports.h"
#include "mtypes.h"
......
......@@ -35,6 +35,7 @@
#include "image.h"
#include "imports.h"
#include "macros.h"
#include "mtypes.h"
/**
......
......@@ -46,6 +46,7 @@
#include "imports.h"
#include "context.h"
#include "mtypes.h"
#include "version.h"
#ifdef _GNU_SOURCE
......
......@@ -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"
......
......@@ -27,6 +27,7 @@
#include "main/context.h"
#include "main/macros.h"
#include "main/multisample.h"
#include "main/mtypes.h"
/**
......
......@@ -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"
......
......@@ -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"
......
......@@ -33,6 +33,7 @@
#include "colormac.h"
#include "pixeltransfer.h"
#include "imports.h"
#include "mtypes.h"
/*
......
......@@ -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"
......
......@@ -30,6 +30,7 @@
#include "framebuffer.h"
#include "formats.h"
#include "image.h"
#include "mtypes.h"
#include "state.h"
......
......@@ -25,6 +25,7 @@
#include "main/glheader.h"
#include "main/context.h"
#include "main/mtypes.h"
#include "main/scissor.h"
......
......@@ -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"
......
......@@ -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"
......
......@@ -61,6 +61,7 @@
#include "macros.h"
#include "get.h"
#include "dispatch.h"
#include "mtypes.h"
#if FEATURE_ARB_sync
#include "syncobj.h"
......
......@@ -34,6 +34,7 @@
#include "imports.h"
#include "colormac.h"
#include "formats.h"
#include "mtypes.h"
#include "texcompress.h"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -34,6 +34,7 @@
#include "context.h"
#include "mtypes.h"
#include "texcompress.h"
#include "texformat.h"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -23,6 +23,7 @@
#include "context.h"
#include "mtypes.h"
#include "version.h"
......
......@@ -31,6 +31,7 @@
#include "context.h"
#include "macros.h"
#include "mtypes.h"
#include "viewport.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment