mesa: Directly include mfeatures.h in files that perform feature tests.
authorVinson Lee <vlee@vmware.com>
Fri, 7 Jan 2011 08:08:24 +0000 (00:08 -0800)
committerVinson Lee <vlee@vmware.com>
Fri, 7 Jan 2011 08:13:00 +0000 (00:13 -0800)
54 files changed:
src/mesa/main/accum.c
src/mesa/main/api_arrayelt.c
src/mesa/main/api_arrayelt.h
src/mesa/main/api_noop.c
src/mesa/main/api_noop.h
src/mesa/main/arrayobj.c
src/mesa/main/atifragshader.c
src/mesa/main/attrib.c
src/mesa/main/bufferobj.c
src/mesa/main/bufferobj.h
src/mesa/main/colortab.c
src/mesa/main/convolve.c
src/mesa/main/dlist.h
src/mesa/main/drawpix.c
src/mesa/main/drawtex.c
src/mesa/main/enable.c
src/mesa/main/eval.c
src/mesa/main/eval.h
src/mesa/main/extensions.c
src/mesa/main/fbobject.c
src/mesa/main/feedback.c
src/mesa/main/feedback.h
src/mesa/main/ffvertex_prog.c
src/mesa/main/get.c
src/mesa/main/getstring.c
src/mesa/main/histogram.c
src/mesa/main/image.c
src/mesa/main/matrix.c
src/mesa/main/pixel.c
src/mesa/main/pixelstore.c
src/mesa/main/queryobj.c
src/mesa/main/queryobj.h
src/mesa/main/rastpos.c
src/mesa/main/shaderapi.c
src/mesa/main/shaderobj.c
src/mesa/main/shared.c
src/mesa/main/syncobj.c
src/mesa/main/texcompress.c
src/mesa/main/texcompress_fxt1.c
src/mesa/main/texcompress_fxt1.h
src/mesa/main/texcompress_s3tc.c
src/mesa/main/texformat.c
src/mesa/main/texgen.c
src/mesa/main/texgen.h
src/mesa/main/texgetimage.c
src/mesa/main/teximage.c
src/mesa/main/texpal.c
src/mesa/main/texparam.c
src/mesa/main/texstore.c
src/mesa/main/transformfeedback.c
src/mesa/main/uniforms.c
src/mesa/main/varray.c
src/mesa/main/vtxfmt.c
src/mesa/main/vtxfmt.h

index 9026110f3efef7fc9a987c91b915d5ac662658f4..940f398f0230bac4b16953e6e2fae796f093cdec 100644 (file)
@@ -27,6 +27,7 @@
 #include "context.h"
 #include "imports.h"
 #include "macros.h"
+#include "mfeatures.h"
 #include "state.h"
 #include "mtypes.h"
 #include "main/dispatch.h"
index 74ceabb1f495cca46a99c23a2ca00f85cb60bcf6..b429e2627e3ac5e7c401f9f392ccdc97531a7f18 100644 (file)
@@ -40,6 +40,7 @@
 #include "context.h"
 #include "imports.h"
 #include "macros.h"
+#include "mfeatures.h"
 #include "mtypes.h"
 #include "main/dispatch.h"
 
index 610e522a943551accf9c764f25190cbe1af6e09d..b90d713682ed595ee2b08f525bbcc8dccc8795d6 100644 (file)
@@ -28,6 +28,7 @@
 #define API_ARRAYELT_H
 
 
+#include "main/mfeatures.h"
 #include "main/mtypes.h"
 
 #if FEATURE_arrayelt
index 08b4b4a3b675fc449b7078030b6131f0517dbc81..7d3d33272791a0604e6ac735436bb6ae099d7b73 100644 (file)
@@ -30,6 +30,7 @@
 #include "context.h"
 #include "light.h"
 #include "macros.h"
+#include "mfeatures.h"
 #include "dlist.h"
 #include "eval.h"
 #include "main/dispatch.h"
index e7fd49bafbbe9c8b28b7119847855f33801390b6..aca7f088db6b1464474e8ee91b5367b10f7bde46 100644 (file)
@@ -25,6 +25,7 @@
 #ifndef _API_NOOP_H
 #define _API_NOOP_H
 
+#include "main/mfeatures.h"
 #include "main/mtypes.h"
 
 #if FEATURE_beginend
index 8d7f19a7d0bd81fb2a05650558fa403379971500..9e9728c2c62480131622206a18e14bc53a6719d3 100644 (file)
@@ -43,6 +43,7 @@
 #include "hash.h"
 #include "imports.h"
 #include "context.h"
+#include "mfeatures.h"
 #if FEATURE_ARB_vertex_buffer_object
 #include "bufferobj.h"
 #endif
index 9db5b88d3ef3b068aa7f67650fbf5f968bf38a5a..44097e1a266059bf26d695326d802755cce232a1 100644 (file)
@@ -26,6 +26,7 @@
 #include "main/hash.h"
 #include "main/imports.h"
 #include "main/macros.h"
+#include "main/mfeatures.h"
 #include "main/enums.h"
 #include "main/mtypes.h"
 #include "main/dispatch.h"
index fb6fbe5b6db3ed4ec1657bc1ea8949eb4a569e27..adfec3b0d5a9cf9d6e65a9d1a615159186ef02da 100644 (file)
@@ -43,6 +43,7 @@
 #include "lines.h"
 #include "macros.h"
 #include "matrix.h"
+#include "mfeatures.h"
 #include "multisample.h"
 #include "points.h"
 #include "polygon.h"
index 27be304f57a5f1b8df8d69aa520629616bca163c..1f9a5212c0415f08ac678cee267779d512c3e241 100644 (file)
@@ -39,6 +39,7 @@
 #include "context.h"
 #include "bufferobj.h"
 #include "fbobject.h"
+#include "mfeatures.h"
 #include "mtypes.h"
 #include "texobj.h"
 
index 4b97e34767e5dea0ba9f38ebbd1c9f69efec7efa..09ccab31742bf845773477250f29535b6f4d2b60 100644 (file)
@@ -29,6 +29,7 @@
 #define BUFFEROBJ_H
 
 
+#include "mfeatures.h"
 #include "mtypes.h"
 
 
index 8a6b1293e747a15f76c194df01ebb65ed95bc616..b0ba31c732f069e0670c0818b935611198a44df1 100644 (file)
@@ -29,6 +29,7 @@
 #include "context.h"
 #include "image.h"
 #include "macros.h"
+#include "mfeatures.h"
 #include "mtypes.h"
 #include "pack.h"
 #include "state.h"
index 0231bcf6d3ff34fa5135e65250df0d22cc18afd7..5d286eb316bcb12ae324e0f40dc766e15e1950a6 100644 (file)
@@ -36,6 +36,7 @@
 #include "colormac.h"
 #include "convolve.h"
 #include "macros.h"
+#include "mfeatures.h"
 #include "mtypes.h"
 #include "main/dispatch.h"
 
index 24241a4bd4ff2eed08b26b8dc46931bc3dc270d0..160ed62f557c8ebd8bad21d264ed2cb945c6c117 100644 (file)
@@ -33,6 +33,7 @@
 #define DLIST_H
 
 
+#include "main/mfeatures.h"
 #include "main/mtypes.h"
 
 
index 757aae6e70306437cb5d1e8bd2a3807fd5d7f96e..6fda3c5665c69577a03359485145827a5036fc0b 100644 (file)
@@ -30,6 +30,7 @@
 #include "enums.h"
 #include "feedback.h"
 #include "framebuffer.h"
+#include "mfeatures.h"
 #include "readpix.h"
 #include "state.h"
 #include "dispatch.h"
index 7a52d221e14dbcc0782ec4241bb30437363f1c98..2089cdfcef91519845893e0242ea34ebe9d595df 100644 (file)
@@ -24,6 +24,7 @@
 #include "main/drawtex.h"
 #include "main/state.h"
 #include "main/imports.h"
+#include "main/mfeatures.h"
 #include "main/mtypes.h"
 
 
index a038a95c55ac864dd3189d6de660e4f23378152f..d047586eb35f205345c3ba963134a1c5a9334527 100644 (file)
@@ -33,6 +33,7 @@
 #include "enable.h"
 #include "light.h"
 #include "simple_list.h"
+#include "mfeatures.h"
 #include "mtypes.h"
 #include "enums.h"
 #include "api_arrayelt.h"
index c607e6a26af212a73e39cbca8a5b1a27898ccc35..9ab55072f00cdf970539432c4975aada5be84fea 100644 (file)
@@ -43,6 +43,7 @@
 #include "context.h"
 #include "eval.h"
 #include "macros.h"
+#include "mfeatures.h"
 #include "mtypes.h"
 #include "main/dispatch.h"
 
index bd908f00cdd96f7e557d2445c65743395cff6306..bfeeebde54dc24e4893944d4ed423441fedd3c15 100644 (file)
@@ -37,6 +37,7 @@
 #define EVAL_H
 
 
+#include "main/mfeatures.h"
 #include "main/mtypes.h"
 
 
index fd5b4e915cd20afe7ffee3b0b454419fce62277a..42626152e8ee29cc44d162474823dbd70d54ff62 100644 (file)
@@ -28,6 +28,7 @@
 #include "imports.h"
 #include "context.h"
 #include "extensions.h"
+#include "mfeatures.h"
 #include "mtypes.h"
 
 
index c30fb727bcd08db2592192158435f36ac41f1413..3e7fd9cf0ec90d032d0547f336b593abacfd3e0d 100644 (file)
@@ -40,6 +40,7 @@
 #include "framebuffer.h"
 #include "hash.h"
 #include "macros.h"
+#include "mfeatures.h"
 #include "mtypes.h"
 #include "renderbuffer.h"
 #include "state.h"
index ffdecaecc29e0a92640980b49b61c2c0a6847cf5..fcb089f1f31eae7049159f7d2457715ec9fd57e9 100644 (file)
@@ -35,6 +35,7 @@
 #include "enums.h"
 #include "feedback.h"
 #include "macros.h"
+#include "mfeatures.h"
 #include "mtypes.h"
 #include "main/dispatch.h"
 
index f9fbbce70b9f333cf1ec7c209b1489e01a306fe8..0039a0b4cb00fd389ebf18f881a515cb2daceb31 100644 (file)
@@ -27,6 +27,7 @@
 #define FEEDBACK_H
 
 
+#include "main/mfeatures.h"
 #include "main/mtypes.h"
 
 
index 0f2c313c819fbe2ddc0eb853dc330bd54ce72c7d..b8e49a3757f2e0815179d371bbe08fadb8b0efb9 100644 (file)
@@ -36,6 +36,7 @@
 #include "main/glheader.h"
 #include "main/mtypes.h"
 #include "main/macros.h"
+#include "main/mfeatures.h"
 #include "main/enums.h"
 #include "main/ffvertex_prog.h"
 #include "program/program.h"
index 5ae35b868e3d30e82cef5ada61257f59f8bf7e4f..5d26f74bbc2609f22fe83b190a49930284c1a76b 100644 (file)
@@ -29,6 +29,7 @@
 #include "extensions.h"
 #include "get.h"
 #include "macros.h"
+#include "mfeatures.h"
 #include "mtypes.h"
 #include "state.h"
 #include "texcompress.h"
index 032f4337d6b379f6bd3be4a7550a9eea00c033d3..f8866f685811f29837d3601febc3a25f0441e880 100644 (file)
@@ -29,6 +29,7 @@
 #include "get.h"
 #include "enums.h"
 #include "extensions.h"
+#include "mfeatures.h"
 #include "mtypes.h"
 
 
index b98e3219c533688aaf413fc4ff34c89321e455d3..75bb92594161bfe004a67185f823683d4e3f0ffe 100644 (file)
@@ -28,6 +28,7 @@
 #include "colormac.h"
 #include "histogram.h"
 #include "macros.h"
+#include "mfeatures.h"
 #include "main/dispatch.h"
 
 
index 6182d3e518741f69729b702c037eb2b3393c995a..909c18e7e60606792742bd37050160b1bc827e2f 100644 (file)
@@ -35,6 +35,7 @@
 #include "image.h"
 #include "imports.h"
 #include "macros.h"
+#include "mfeatures.h"
 #include "mtypes.h"
 
 
index 105d4a327fbd02a5e430a8625342f6609a3ac0b8..76c7e1c9d1b44b2d8d94571e40e57ac48b04dc32 100644 (file)
@@ -40,6 +40,7 @@
 #include "context.h"
 #include "enums.h"
 #include "macros.h"
+#include "mfeatures.h"
 #include "matrix.h"
 #include "mtypes.h"
 #include "math/m_matrix.h"
index 5f824b34294fe5cbe6d9f23c72420e584c99a118..0254980b89da6a88285e6426296a76d70d0bbd7d 100644 (file)
@@ -33,6 +33,7 @@
 #include "colormac.h"
 #include "context.h"
 #include "macros.h"
+#include "mfeatures.h"
 #include "pixel.h"
 #include "mtypes.h"
 #include "main/dispatch.h"
index b16d27a4ea5eaa62a9160db4cee879a181cb0059..9d78eec7fead4ff1f6b2c0fecf3a322b7052f4d9 100644 (file)
@@ -32,6 +32,7 @@
 #include "bufferobj.h"
 #include "context.h"
 #include "pixelstore.h"
+#include "mfeatures.h"
 #include "mtypes.h"
 
 
index 66fb59805891cb57ec9d9a890ae2d284c6c8c4ca..ef6460b2f97fd213eafe7cabe0582d286667f18f 100644 (file)
@@ -28,6 +28,7 @@
 #include "hash.h"
 #include "imports.h"
 #include "queryobj.h"
+#include "mfeatures.h"
 #include "mtypes.h"
 #include "main/dispatch.h"
 
index e289625731a18c40c43cdf4c6a2a71b79a30ea08..e4ad96ba5a32ab4db66bd1e9013da1dd00940d68 100644 (file)
@@ -27,6 +27,7 @@
 #define QUERYOBJ_H
 
 
+#include "main/mfeatures.h"
 #include "main/mtypes.h"
 #include "main/hash.h"
 
index f9a4f7c05fc80d4012ae1af368fd711e4aa7ec28..a1f6f4234160fb9894139826be20e7f05470390d 100644 (file)
@@ -32,6 +32,7 @@
 #include "context.h"
 #include "feedback.h"
 #include "macros.h"
+#include "mfeatures.h"
 #include "mtypes.h"
 #include "rastpos.h"
 #include "state.h"
index ad7abc2c6958d8f3a51559d5a22078c128a94c19..a311148eaa6e510c4d74ac25397173884df50ada 100644 (file)
@@ -41,6 +41,7 @@
 #include "main/dispatch.h"
 #include "main/enums.h"
 #include "main/hash.h"
+#include "main/mfeatures.h"
 #include "main/mtypes.h"
 #include "main/shaderapi.h"
 #include "main/shaderobj.h"
index 50bd5f9a238da8e106c8362737e6cb4d24bd0a14..647fd31cab42fd2a18a184724c4d614ce46a9ca9 100644 (file)
@@ -32,6 +32,7 @@
 #include "main/glheader.h"
 #include "main/context.h"
 #include "main/hash.h"
+#include "main/mfeatures.h"
 #include "main/mtypes.h"
 #include "main/shaderobj.h"
 #include "program/program.h"
index 3abee0178eb861bf38739d730e3d172d9a16e655..ce9fc4de327474b61e8f5f0b8d5e41b02532670f 100644 (file)
@@ -30,6 +30,7 @@
 
 
 #include "imports.h"
+#include "mfeatures.h"
 #include "mtypes.h"
 #include "hash.h"
 #if FEATURE_ATI_fragment_shader
index 0d5c8a170bb6b43cdb9848b5e9b1c23cf73c9339..e1a5c6c0f92db0b3ebdcd38b696fed2e3dbf0ade 100644 (file)
@@ -59,6 +59,7 @@
 #include "imports.h"
 #include "context.h"
 #include "macros.h"
+#include "mfeatures.h"
 #include "get.h"
 #include "dispatch.h"
 #include "mtypes.h"
index a4ca93cc2561315f678cf07a3220f87c29d17a69..7a0b522a2d8ea0873c40187e6961e7cb0628887d 100644 (file)
@@ -34,6 +34,7 @@
 #include "imports.h"
 #include "colormac.h"
 #include "formats.h"
+#include "mfeatures.h"
 #include "mtypes.h"
 #include "texcompress.h"
 
index 33f46d4c8bbeb46af5f4d4a03c85963fbed4f746..bb7fb567f25e391ad29234cc165224a909788de0 100644 (file)
@@ -34,6 +34,7 @@
 #include "colormac.h"
 #include "image.h"
 #include "macros.h"
+#include "mfeatures.h"
 #include "mipmap.h"
 #include "texcompress.h"
 #include "texcompress_fxt1.h"
index 38048b26ccb4fe46c65012ae22347b4d665d707d..b991f4c67ec9d66cda5dedcfa277c41170bec2d8 100644 (file)
@@ -26,6 +26,7 @@
 #define TEXCOMPRESS_FXT1_H
 
 #include "glheader.h"
+#include "mfeatures.h"
 #include "texstore.h"
 
 struct gl_texture_image;
index 8afc05ac9096e106710c102e2b2558ff4c5f06e3..25257ecc3d36276c0396223082ba6975d2f0894a 100644 (file)
@@ -39,6 +39,7 @@
 #include "dlopen.h"
 #include "image.h"
 #include "macros.h"
+#include "mfeatures.h"
 #include "mtypes.h"
 #include "texcompress.h"
 #include "texcompress_s3tc.h"
index 451e9044ccf8fb76540ce022d56417280eb9c96e..146b2b340e7102e3537b02632c2ea6d83e4fff7c 100644 (file)
@@ -34,6 +34,7 @@
 
 
 #include "context.h"
+#include "mfeatures.h"
 #include "mtypes.h"
 #include "texcompress.h"
 #include "texformat.h"
index 108ea4cd42c85bb6d562123a6c5bf751c7bf1b8f..0ace0b9364d5f2a7c0e2b9f233d791e42db62b82 100644 (file)
@@ -34,6 +34,7 @@
 #include "main/context.h"
 #include "main/enums.h"
 #include "main/macros.h"
+#include "main/mfeatures.h"
 #include "main/texgen.h"
 #include "main/texstate.h"
 #include "math/m_matrix.h"
index 9ed80238363bd4d48dc022e05039fe0b1303b56b..336ffce924507de4ebde7068c1df1e4c4f443dd0 100644 (file)
@@ -29,6 +29,7 @@
 
 #include "compiler.h"
 #include "glheader.h"
+#include "mfeatures.h"
 
 struct _glapi_table;
 
index 683b67afe611c6a65f892a4e624ab1c00539c069..da610798e1232822da5eb0d6e7416731bc68197e 100644 (file)
@@ -35,6 +35,7 @@
 #include "context.h"
 #include "formats.h"
 #include "image.h"
+#include "mfeatures.h"
 #include "mtypes.h"
 #include "pack.h"
 #include "texgetimage.h"
index 7e8ec03641998cc9362e91673b5aaf95968f3e1f..1e8626c7346e381f552b262d6563332b2cad626f 100644 (file)
@@ -40,6 +40,7 @@
 #include "image.h"
 #include "imports.h"
 #include "macros.h"
+#include "mfeatures.h"
 #include "state.h"
 #include "texcompress.h"
 #include "texfetch.h"
index a25e7aa4ff88da023cc019e1c278bddc73b3e0bb..b2112f957a2ce8a8cefe70450327be9931e86c3c 100644 (file)
@@ -18,6 +18,7 @@
 #include "glheader.h"
 #include "compiler.h" /* for ASSERT */
 #include "context.h"
+#include "mfeatures.h"
 #include "mtypes.h"
 #include "imports.h"
 #include "pixelstore.h"
index 91a1b62d1ff904fdd74c5473cfd27780a8a17373..d2b8b5ca4ad828b3bada55af65a870003d9a1819 100644 (file)
@@ -35,6 +35,7 @@
 #include "main/context.h"
 #include "main/formats.h"
 #include "main/macros.h"
+#include "main/mfeatures.h"
 #include "main/mtypes.h"
 #include "main/texcompress.h"
 #include "main/texparam.h"
index ba92cbbc327f565f014d61309afa043202946f27..7dd4a1fa6506d1b3f3157a543f2b0121244c84da 100644 (file)
@@ -58,6 +58,7 @@
 #include "image.h"
 #include "macros.h"
 #include "mipmap.h"
+#include "mfeatures.h"
 #include "mtypes.h"
 #include "pack.h"
 #include "imports.h"
index 9423c040f043676b086a8bdb2223a835d9d44d76..fbd70d56ca9863e3d129b6862ba6f271ab329dbe 100644 (file)
@@ -34,6 +34,7 @@
 #include "bufferobj.h"
 #include "context.h"
 #include "hash.h"
+#include "mfeatures.h"
 #include "mtypes.h"
 #include "transformfeedback.h"
 #include "shaderapi.h"
index 658be25f39badd65c825b4adc4b17d743ee2dcd7..58e6bafc9188d51efdb411e8b5ca5cf25c6dbec0 100644 (file)
@@ -39,6 +39,7 @@
 #include "main/glheader.h"
 #include "main/context.h"
 #include "main/dispatch.h"
+#include "main/mfeatures.h"
 #include "main/mtypes.h"
 #include "main/shaderapi.h"
 #include "main/shaderobj.h"
index 32bf95e3ed1009a4b4779ea4f980492b3b88a801..bcde65adc70107948b6a06f37ffdae56d290b15e 100644 (file)
@@ -33,6 +33,7 @@
 #include "hash.h"
 #include "image.h"
 #include "macros.h"
+#include "mfeatures.h"
 #include "mtypes.h"
 #include "varray.h"
 #include "arrayobj.h"
index 8a72641862bb399cdda109213db0dfd7986649b0..692ce080c9f83c07eea74336afc0e18e3688ad7c 100644 (file)
@@ -30,6 +30,7 @@
 #include "api_arrayelt.h"
 #include "context.h"
 #include "imports.h"
+#include "mfeatures.h"
 #include "mtypes.h"
 #include "vtxfmt.h"
 #include "eval.h"
index 147385cee9656dc89e24a9043a49594de727f64c..8bbc54964daa789a68fba2522a5d312e9f7fd5d3 100644 (file)
@@ -34,6 +34,7 @@
 #define _VTXFMT_H_
 
 #include "compiler.h"
+#include "mfeatures.h"
 #include "mtypes.h"
 
 #if FEATURE_beginend