Browse Source

mesa: Prefix main includes with dir to avoid conflicts.

Some of the headers in src/mesa/main have pretty common names which
easily conflict with third-party code, e.g. config.h
tags/mesa_20090313
José Fonseca 17 years ago
parent
commit
101d1a658a
100 changed files with 243 additions and 245 deletions
  1. 0
    1
      src/mesa/SConscript
  2. 1
    1
      src/mesa/glapi/glapi.c
  3. 1
    1
      src/mesa/glapi/glapi_getproc.c
  4. 1
    1
      src/mesa/glapi/glthread.c
  5. 4
    4
      src/mesa/math/m_debug_clip.c
  6. 4
    4
      src/mesa/math/m_debug_norm.c
  7. 4
    4
      src/mesa/math/m_debug_xform.c
  8. 4
    4
      src/mesa/math/m_matrix.c
  9. 3
    3
      src/mesa/math/m_translate.c
  10. 4
    4
      src/mesa/math/m_vector.c
  11. 2
    2
      src/mesa/math/m_xform.h
  12. 3
    3
      src/mesa/shader/arbprogparse.c
  13. 1
    1
      src/mesa/shader/arbprogparse.h
  14. 6
    6
      src/mesa/shader/arbprogram.c
  15. 7
    7
      src/mesa/shader/atifragshader.c
  16. 1
    1
      src/mesa/shader/grammar/grammar_mesa.h
  17. 4
    4
      src/mesa/shader/nvfragparse.c
  18. 5
    5
      src/mesa/shader/nvprogram.c
  19. 4
    4
      src/mesa/shader/nvvertparse.c
  20. 3
    3
      src/mesa/shader/prog_debug.c
  21. 3
    3
      src/mesa/shader/prog_execute.c
  22. 3
    3
      src/mesa/shader/prog_instruction.c
  23. 3
    3
      src/mesa/shader/prog_parameter.c
  24. 1
    1
      src/mesa/shader/prog_parameter.h
  25. 3
    3
      src/mesa/shader/prog_print.c
  26. 6
    6
      src/mesa/shader/prog_statevars.c
  27. 1
    1
      src/mesa/shader/prog_statevars.h
  28. 3
    3
      src/mesa/shader/program.c
  29. 1
    1
      src/mesa/shader/program.h
  30. 2
    2
      src/mesa/shader/programopt.c
  31. 4
    4
      src/mesa/shader/shader_api.c
  32. 2
    2
      src/mesa/shader/shader_api.h
  33. 1
    1
      src/mesa/shader/slang/slang_codegen.h
  34. 2
    2
      src/mesa/shader/slang/slang_compile.h
  35. 1
    1
      src/mesa/shader/slang/slang_compile_function.c
  36. 1
    1
      src/mesa/shader/slang/slang_compile_operation.c
  37. 1
    1
      src/mesa/shader/slang/slang_compile_struct.c
  38. 1
    1
      src/mesa/shader/slang/slang_compile_variable.c
  39. 2
    2
      src/mesa/shader/slang/slang_emit.h
  40. 2
    2
      src/mesa/shader/slang/slang_ir.c
  41. 2
    2
      src/mesa/shader/slang/slang_ir.h
  42. 1
    1
      src/mesa/shader/slang/slang_library_noise.c
  43. 1
    1
      src/mesa/shader/slang/slang_log.c
  44. 2
    2
      src/mesa/shader/slang/slang_mem.c
  45. 1
    1
      src/mesa/shader/slang/slang_mem.h
  46. 1
    1
      src/mesa/shader/slang/slang_preprocess.c
  47. 1
    1
      src/mesa/shader/slang/slang_print.c
  48. 3
    3
      src/mesa/shader/slang/slang_simplify.c
  49. 1
    1
      src/mesa/shader/slang/slang_storage.c
  50. 2
    2
      src/mesa/shader/slang/slang_typeinfo.h
  51. 1
    1
      src/mesa/shader/slang/slang_utility.c
  52. 0
    1
      src/mesa/sources
  53. 1
    1
      src/mesa/sparc/sparc.c
  54. 2
    2
      src/mesa/state_tracker/st_atom.c
  55. 2
    2
      src/mesa/state_tracker/st_atom_viewport.c
  56. 1
    1
      src/mesa/state_tracker/st_mesa_to_tgsi.h
  57. 1
    1
      src/mesa/state_tracker/st_texture.c
  58. 4
    4
      src/mesa/swrast/s_aaline.c
  59. 1
    1
      src/mesa/swrast/s_aaline.h
  60. 6
    6
      src/mesa/swrast/s_aatriangle.c
  61. 1
    1
      src/mesa/swrast/s_aatriangle.h
  62. 4
    4
      src/mesa/swrast/s_accum.c
  63. 1
    1
      src/mesa/swrast/s_accum.h
  64. 4
    4
      src/mesa/swrast/s_alpha.c
  65. 1
    1
      src/mesa/swrast/s_alpha.h
  66. 4
    4
      src/mesa/swrast/s_atifragshader.c
  67. 2
    2
      src/mesa/swrast/s_bitmap.c
  68. 4
    4
      src/mesa/swrast/s_blend.c
  69. 1
    1
      src/mesa/swrast/s_blend.h
  70. 2
    2
      src/mesa/swrast/s_blit.c
  71. 5
    5
      src/mesa/swrast/s_buffers.c
  72. 4
    4
      src/mesa/swrast/s_context.c
  73. 5
    5
      src/mesa/swrast/s_copypix.c
  74. 4
    4
      src/mesa/swrast/s_depth.c
  75. 1
    1
      src/mesa/swrast/s_depth.h
  76. 4
    4
      src/mesa/swrast/s_drawpix.c
  77. 1
    1
      src/mesa/swrast/s_drawpix.h
  78. 5
    5
      src/mesa/swrast/s_feedback.c
  79. 1
    1
      src/mesa/swrast/s_feedback.h
  80. 4
    4
      src/mesa/swrast/s_fog.c
  81. 1
    1
      src/mesa/swrast/s_fog.h
  82. 4
    4
      src/mesa/swrast/s_lines.c
  83. 1
    1
      src/mesa/swrast/s_lines.h
  84. 4
    4
      src/mesa/swrast/s_logic.c
  85. 1
    1
      src/mesa/swrast/s_logic.h
  86. 2
    2
      src/mesa/swrast/s_masking.c
  87. 1
    1
      src/mesa/swrast/s_masking.h
  88. 4
    4
      src/mesa/swrast/s_points.c
  89. 1
    1
      src/mesa/swrast/s_points.h
  90. 5
    5
      src/mesa/swrast/s_readpix.c
  91. 5
    5
      src/mesa/swrast/s_span.c
  92. 1
    1
      src/mesa/swrast/s_span.h
  93. 1
    1
      src/mesa/swrast/s_spantemp.h
  94. 3
    3
      src/mesa/swrast/s_stencil.c
  95. 1
    1
      src/mesa/swrast/s_stencil.h
  96. 5
    5
      src/mesa/swrast/s_texcombine.c
  97. 1
    1
      src/mesa/swrast/s_texcombine.h
  98. 4
    4
      src/mesa/swrast/s_texfilter.c
  99. 1
    1
      src/mesa/swrast/s_texfilter.h
  100. 0
    0
      src/mesa/swrast/s_texstore.c

+ 0
- 1
src/mesa/SConscript View File

@@ -10,7 +10,6 @@ if env['platform'] != 'winddk':
env.Append(CPPPATH = [
'#/src/mesa',
'#/src/mesa/main',
])
if gcc:

+ 1
- 1
src/mesa/glapi/glapi.c View File

@@ -50,7 +50,7 @@



#include "glheader.h"
#include "main/glheader.h"
#include "glapi.h"
#include "glapioffsets.h"
#include "glapitable.h"

+ 1
- 1
src/mesa/glapi/glapi_getproc.c View File

@@ -32,7 +32,7 @@

#include <stdlib.h>
#include <string.h>
#include "glheader.h"
#include "main/glheader.h"
#include "glapi.h"
#include "glapioffsets.h"
#include "glapitable.h"

+ 1
- 1
src/mesa/glapi/glthread.c View File

@@ -29,7 +29,7 @@
*/


#include "glheader.h"
#include "main/glheader.h"
#include "glthread.h"



+ 4
- 4
src/mesa/math/m_debug_clip.c View File

@@ -25,10 +25,10 @@
* Gareth Hughes
*/

#include "glheader.h"
#include "context.h"
#include "macros.h"
#include "imports.h"
#include "main/glheader.h"
#include "main/context.h"
#include "main/macros.h"
#include "main/imports.h"

#include "m_matrix.h"
#include "m_xform.h"

+ 4
- 4
src/mesa/math/m_debug_norm.c View File

@@ -26,10 +26,10 @@
* Gareth Hughes
*/

#include "glheader.h"
#include "context.h"
#include "macros.h"
#include "imports.h"
#include "main/glheader.h"
#include "main/context.h"
#include "main/macros.h"
#include "main/imports.h"

#include "m_matrix.h"
#include "m_xform.h"

+ 4
- 4
src/mesa/math/m_debug_xform.c View File

@@ -26,10 +26,10 @@
* Updated for P6 architecture by Gareth Hughes.
*/

#include "glheader.h"
#include "context.h"
#include "macros.h"
#include "imports.h"
#include "main/glheader.h"
#include "main/context.h"
#include "main/macros.h"
#include "main/imports.h"

#include "m_matrix.h"
#include "m_xform.h"

+ 4
- 4
src/mesa/math/m_matrix.c View File

@@ -34,10 +34,10 @@
*/


#include "glheader.h"
#include "imports.h"
#include "macros.h"
#include "imports.h"
#include "main/glheader.h"
#include "main/imports.h"
#include "main/macros.h"
#include "main/imports.h"

#include "m_matrix.h"


+ 3
- 3
src/mesa/math/m_translate.c View File

@@ -28,9 +28,9 @@
*/


#include "glheader.h"
#include "mtypes.h" /* GLchan hack */
#include "colormac.h"
#include "main/glheader.h"
#include "main/mtypes.h" /* GLchan hack */
#include "main/colormac.h"

#include "m_translate.h"


+ 4
- 4
src/mesa/math/m_vector.c View File

@@ -28,10 +28,10 @@
*/


#include "glheader.h"
#include "imports.h"
#include "macros.h"
#include "imports.h"
#include "main/glheader.h"
#include "main/imports.h"
#include "main/macros.h"
#include "main/imports.h"

#include "m_vector.h"


+ 2
- 2
src/mesa/math/m_xform.h View File

@@ -27,8 +27,8 @@
#define _M_XFORM_H


#include "glheader.h"
#include "config.h"
#include "main/glheader.h"
#include "main/config.h"
#include "math/m_vector.h"
#include "math/m_matrix.h"


+ 3
- 3
src/mesa/shader/arbprogparse.c View File

@@ -38,9 +38,9 @@
#include "programopt.h"
#include "prog_parameter.h"
#include "prog_statevars.h"
#include "context.h"
#include "macros.h"
#include "mtypes.h"
#include "main/context.h"
#include "main/macros.h"
#include "main/mtypes.h"
#include "prog_instruction.h"



+ 1
- 1
src/mesa/shader/arbprogparse.h View File

@@ -26,7 +26,7 @@
#ifndef ARBPROGPARSE_H
#define ARBPROGPARSE_H

#include "mtypes.h"
#include "main/mtypes.h"

extern void
_mesa_parse_arb_vertex_program(GLcontext *ctx, GLenum target,

+ 6
- 6
src/mesa/shader/arbprogram.c View File

@@ -29,14 +29,14 @@
*/


#include "glheader.h"
#include "main/glheader.h"
#include "arbprogram.h"
#include "arbprogparse.h"
#include "context.h"
#include "hash.h"
#include "imports.h"
#include "macros.h"
#include "mtypes.h"
#include "main/context.h"
#include "main/hash.h"
#include "main/imports.h"
#include "main/macros.h"
#include "main/mtypes.h"
#include "program.h"



+ 7
- 7
src/mesa/shader/atifragshader.c View File

@@ -21,13 +21,13 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#include "glheader.h"
#include "context.h"
#include "hash.h"
#include "imports.h"
#include "macros.h"
#include "enums.h"
#include "mtypes.h"
#include "main/glheader.h"
#include "main/context.h"
#include "main/hash.h"
#include "main/imports.h"
#include "main/macros.h"
#include "main/enums.h"
#include "main/mtypes.h"
#include "atifragshader.h"

#define MESA_DEBUG_ATI_FS 0

+ 1
- 1
src/mesa/shader/grammar/grammar_mesa.h View File

@@ -26,7 +26,7 @@
#define GRAMMAR_MESA_H


#include "imports.h"
#include "main/imports.h"
/* NOTE: include Mesa 3-D specific headers here */



+ 4
- 4
src/mesa/shader/nvfragparse.c View File

@@ -37,10 +37,10 @@
* including any use thereof or modifications thereto.
*/

#include "glheader.h"
#include "context.h"
#include "imports.h"
#include "macros.h"
#include "main/glheader.h"
#include "main/context.h"
#include "main/imports.h"
#include "main/macros.h"
#include "prog_parameter.h"
#include "prog_instruction.h"
#include "nvfragparse.h"

+ 5
- 5
src/mesa/shader/nvprogram.c View File

@@ -37,11 +37,11 @@
* including any use thereof or modifications thereto.
*/

#include "glheader.h"
#include "context.h"
#include "hash.h"
#include "imports.h"
#include "macros.h"
#include "main/glheader.h"
#include "main/context.h"
#include "main/hash.h"
#include "main/imports.h"
#include "main/macros.h"
#include "prog_parameter.h"
#include "prog_instruction.h"
#include "nvfragparse.h"

+ 4
- 4
src/mesa/shader/nvvertparse.c View File

@@ -37,10 +37,10 @@
* including any use thereof or modifications thereto.
*/

#include "glheader.h"
#include "context.h"
#include "imports.h"
#include "macros.h"
#include "main/glheader.h"
#include "main/context.h"
#include "main/imports.h"
#include "main/macros.h"
#include "nvprogram.h"
#include "nvvertparse.h"
#include "prog_instruction.h"

+ 3
- 3
src/mesa/shader/prog_debug.c View File

@@ -23,9 +23,9 @@
*/


#include "glheader.h"
#include "context.h"
#include "macros.h"
#include "main/glheader.h"
#include "main/context.h"
#include "main/macros.h"
#include "nvfragparse.h"
#include "nvvertparse.h"
#include "program.h"

+ 3
- 3
src/mesa/shader/prog_execute.c View File

@@ -35,9 +35,9 @@
*/


#include "glheader.h"
#include "colormac.h"
#include "context.h"
#include "main/glheader.h"
#include "main/colormac.h"
#include "main/context.h"
#include "program.h"
#include "prog_execute.h"
#include "prog_instruction.h"

+ 3
- 3
src/mesa/shader/prog_instruction.c View File

@@ -23,9 +23,9 @@
*/


#include "glheader.h"
#include "imports.h"
#include "mtypes.h"
#include "main/glheader.h"
#include "main/imports.h"
#include "main/mtypes.h"
#include "prog_instruction.h"



+ 3
- 3
src/mesa/shader/prog_parameter.c View File

@@ -29,9 +29,9 @@
*/


#include "glheader.h"
#include "imports.h"
#include "macros.h"
#include "main/glheader.h"
#include "main/imports.h"
#include "main/macros.h"
#include "prog_instruction.h"
#include "prog_parameter.h"
#include "prog_statevars.h"

+ 1
- 1
src/mesa/shader/prog_parameter.h View File

@@ -31,7 +31,7 @@
#ifndef PROG_PARAMETER_H
#define PROG_PARAMETER_H

#include "mtypes.h"
#include "main/mtypes.h"
#include "prog_statevars.h"



+ 3
- 3
src/mesa/shader/prog_print.c View File

@@ -28,9 +28,9 @@
* \author Brian Paul
*/

#include "glheader.h"
#include "context.h"
#include "imports.h"
#include "main/glheader.h"
#include "main/context.h"
#include "main/imports.h"
#include "prog_instruction.h"
#include "prog_parameter.h"
#include "prog_print.h"

+ 6
- 6
src/mesa/shader/prog_statevars.c View File

@@ -29,12 +29,12 @@
*/


#include "glheader.h"
#include "context.h"
#include "hash.h"
#include "imports.h"
#include "macros.h"
#include "mtypes.h"
#include "main/glheader.h"
#include "main/context.h"
#include "main/hash.h"
#include "main/imports.h"
#include "main/macros.h"
#include "main/mtypes.h"
#include "prog_statevars.h"
#include "prog_parameter.h"


+ 1
- 1
src/mesa/shader/prog_statevars.h View File

@@ -25,7 +25,7 @@
#ifndef PROG_STATEVARS_H
#define PROG_STATEVARS_H

#include "mtypes.h"
#include "main/mtypes.h"


/**

+ 3
- 3
src/mesa/shader/program.c View File

@@ -29,9 +29,9 @@
*/


#include "glheader.h"
#include "context.h"
#include "hash.h"
#include "main/glheader.h"
#include "main/context.h"
#include "main/hash.h"
#include "program.h"
#include "prog_cache.h"
#include "prog_parameter.h"

+ 1
- 1
src/mesa/shader/program.h View File

@@ -40,7 +40,7 @@
#ifndef PROGRAM_H
#define PROGRAM_H

#include "mtypes.h"
#include "main/mtypes.h"


extern struct gl_program _mesa_DummyProgram;

+ 2
- 2
src/mesa/shader/programopt.c View File

@@ -31,8 +31,8 @@
*/


#include "glheader.h"
#include "context.h"
#include "main/glheader.h"
#include "main/context.h"
#include "prog_parameter.h"
#include "prog_statevars.h"
#include "program.h"

+ 4
- 4
src/mesa/shader/shader_api.c View File

@@ -35,10 +35,10 @@
*/


#include "glheader.h"
#include "context.h"
#include "hash.h"
#include "macros.h"
#include "main/glheader.h"
#include "main/context.h"
#include "main/hash.h"
#include "main/macros.h"
#include "program.h"
#include "prog_parameter.h"
#include "prog_print.h"

+ 2
- 2
src/mesa/shader/shader_api.h View File

@@ -27,8 +27,8 @@
#define SHADER_API_H


#include "glheader.h"
#include "mtypes.h"
#include "main/glheader.h"
#include "main/mtypes.h"


/**

+ 1
- 1
src/mesa/shader/slang/slang_codegen.h View File

@@ -27,7 +27,7 @@
#define SLANG_CODEGEN_H


#include "imports.h"
#include "main/imports.h"
#include "slang_compile.h"



+ 2
- 2
src/mesa/shader/slang/slang_compile.h View File

@@ -25,8 +25,8 @@
#if !defined SLANG_COMPILE_H
#define SLANG_COMPILE_H

#include "imports.h"
#include "mtypes.h"
#include "main/imports.h"
#include "main/mtypes.h"
#include "slang_typeinfo.h"
#include "slang_compile_variable.h"
#include "slang_compile_struct.h"

+ 1
- 1
src/mesa/shader/slang/slang_compile_function.c View File

@@ -28,7 +28,7 @@
* \author Michal Krol
*/

#include "imports.h"
#include "main/imports.h"
#include "slang_compile.h"
#include "slang_mem.h"


+ 1
- 1
src/mesa/shader/slang/slang_compile_operation.c View File

@@ -28,7 +28,7 @@
* \author Michal Krol
*/

#include "imports.h"
#include "main/imports.h"
#include "slang_compile.h"
#include "slang_mem.h"


+ 1
- 1
src/mesa/shader/slang/slang_compile_struct.c View File

@@ -28,7 +28,7 @@
* \author Michal Krol
*/

#include "imports.h"
#include "main/imports.h"
#include "slang_mem.h"
#include "slang_compile.h"


+ 1
- 1
src/mesa/shader/slang/slang_compile_variable.c View File

@@ -28,7 +28,7 @@
* \author Michal Krol
*/

#include "imports.h"
#include "main/imports.h"
#include "slang_compile.h"
#include "slang_mem.h"


+ 2
- 2
src/mesa/shader/slang/slang_emit.h View File

@@ -26,10 +26,10 @@
#define SLANG_EMIT_H


#include "imports.h"
#include "main/imports.h"
#include "slang_compile.h"
#include "slang_ir.h"
#include "mtypes.h"
#include "main/mtypes.h"


extern void

+ 2
- 2
src/mesa/shader/slang/slang_ir.c View File

@@ -23,8 +23,8 @@
*/


#include "imports.h"
#include "context.h"
#include "main/imports.h"
#include "main/context.h"
#include "slang_ir.h"
#include "slang_mem.h"
#include "shader/prog_print.h"

+ 2
- 2
src/mesa/shader/slang/slang_ir.h View File

@@ -33,10 +33,10 @@
#define SLANG_IR_H


#include "imports.h"
#include "main/imports.h"
#include "slang_compile.h"
#include "slang_label.h"
#include "mtypes.h"
#include "main/mtypes.h"


/**

+ 1
- 1
src/mesa/shader/slang/slang_library_noise.c View File

@@ -49,7 +49,7 @@
*/


#include "imports.h"
#include "main/imports.h"
#include "slang_library_noise.h"

#define FASTFLOOR(x) ( ((x)>0) ? ((int)x) : (((int)x)-1) )

+ 1
- 1
src/mesa/shader/slang/slang_log.c View File

@@ -22,7 +22,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#include "imports.h"
#include "main/imports.h"
#include "slang_log.h"
#include "slang_utility.h"


+ 2
- 2
src/mesa/shader/slang/slang_mem.c View File

@@ -32,8 +32,8 @@
* \author Brian Paul
*/

#include "context.h"
#include "macros.h"
#include "main/context.h"
#include "main/macros.h"
#include "slang_mem.h"



+ 1
- 1
src/mesa/shader/slang/slang_mem.h View File

@@ -27,7 +27,7 @@
#define SLANG_MEM_H


#include "imports.h"
#include "main/imports.h"


typedef struct slang_mempool_ slang_mempool;

+ 1
- 1
src/mesa/shader/slang/slang_preprocess.c View File

@@ -28,7 +28,7 @@
* \author Michal Krol
*/

#include "imports.h"
#include "main/imports.h"
#include "shader/grammar/grammar_mesa.h"
#include "slang_preprocess.h"


+ 1
- 1
src/mesa/shader/slang/slang_print.c View File

@@ -4,7 +4,7 @@
*/


#include "imports.h"
#include "main/imports.h"
#include "slang_compile.h"
#include "slang_print.h"


+ 3
- 3
src/mesa/shader/slang/slang_simplify.c View File

@@ -28,9 +28,9 @@
* \author Michal Krol
*/

#include "imports.h"
#include "macros.h"
#include "get.h"
#include "main/imports.h"
#include "main/macros.h"
#include "main/get.h"
#include "slang_compile.h"
#include "slang_codegen.h"
#include "slang_simplify.h"

+ 1
- 1
src/mesa/shader/slang/slang_storage.c View File

@@ -28,7 +28,7 @@
* \author Michal Krol
*/

#include "imports.h"
#include "main/imports.h"
#include "slang_storage.h"
#include "slang_mem.h"


+ 2
- 2
src/mesa/shader/slang/slang_typeinfo.h View File

@@ -25,8 +25,8 @@
#ifndef SLANG_TYPEINFO_H
#define SLANG_TYPEINFO_H 1

#include "imports.h"
#include "mtypes.h"
#include "main/imports.h"
#include "main/mtypes.h"
#include "slang_log.h"
#include "slang_utility.h"
#include "slang_vartable.h"

+ 1
- 1
src/mesa/shader/slang/slang_utility.c View File

@@ -28,7 +28,7 @@
* \author Michal Krol
*/

#include "imports.h"
#include "main/imports.h"
#include "slang_utility.h"
#include "slang_mem.h"


+ 0
- 1
src/mesa/sources View File

@@ -342,7 +342,6 @@ COMMON_DRIVER_OBJECTS = $(COMMON_DRIVER_SOURCES:.c=.o)
INCLUDE_DIRS = \
-I$(TOP)/include \
-I$(TOP)/src/mesa \
-I$(TOP)/src/mesa/main \
-I$(TOP)/src/gallium/include \
-I$(TOP)/src/gallium/drivers \
-I$(TOP)/src/gallium/auxiliary

+ 1
- 1
src/mesa/sparc/sparc.c View File

@@ -31,7 +31,7 @@

#ifdef USE_SPARC_ASM

#include "context.h"
#include "main/context.h"
#include "math/m_xform.h"
#include "tnl/t_context.h"


+ 2
- 2
src/mesa/state_tracker/st_atom.c View File

@@ -26,8 +26,8 @@
**************************************************************************/


#include "glheader.h"
#include "context.h"
#include "main/glheader.h"
#include "main/context.h"

#include "pipe/p_defines.h"
#include "st_context.h"

+ 2
- 2
src/mesa/state_tracker/st_atom_viewport.c View File

@@ -26,8 +26,8 @@
**************************************************************************/


#include "context.h"
#include "colormac.h"
#include "main/context.h"
#include "main/colormac.h"
#include "st_context.h"
#include "st_atom.h"
#include "pipe/p_context.h"

+ 1
- 1
src/mesa/state_tracker/st_mesa_to_tgsi.h View File

@@ -29,7 +29,7 @@
#ifndef ST_MESA_TO_TGSI_H
#define ST_MESA_TO_TGSI_H

#include "mtypes.h"
#include "main/mtypes.h"


#if defined __cplusplus

+ 1
- 1
src/mesa/state_tracker/st_texture.c View File

@@ -28,7 +28,7 @@
#include "st_context.h"
#include "st_format.h"
#include "st_texture.h"
#include "enums.h"
#include "main/enums.h"

#undef Elements /* fix re-defined macro warning */


+ 4
- 4
src/mesa/swrast/s_aaline.c View File

@@ -23,14 +23,14 @@
*/


#include "glheader.h"
#include "imports.h"
#include "macros.h"
#include "main/glheader.h"
#include "main/imports.h"
#include "main/macros.h"
#include "swrast/s_aaline.h"
#include "swrast/s_context.h"
#include "swrast/s_span.h"
#include "swrast/swrast.h"
#include "mtypes.h"
#include "main/mtypes.h"


#define SUB_PIXEL 4

+ 1
- 1
src/mesa/swrast/s_aaline.h View File

@@ -28,7 +28,7 @@
#define S_AALINE_H


#include "mtypes.h"
#include "main/mtypes.h"
#include "swrast.h"



+ 6
- 6
src/mesa/swrast/s_aatriangle.c View File

@@ -28,12 +28,12 @@
*/


#include "glheader.h"
#include "context.h"
#include "colormac.h"
#include "context.h"
#include "macros.h"
#include "imports.h"
#include "main/glheader.h"
#include "main/context.h"
#include "main/colormac.h"
#include "main/context.h"
#include "main/macros.h"
#include "main/imports.h"
#include "s_aatriangle.h"
#include "s_context.h"
#include "s_span.h"

+ 1
- 1
src/mesa/swrast/s_aatriangle.h View File

@@ -28,7 +28,7 @@
#define S_AATRIANGLE_H


#include "mtypes.h"
#include "main/mtypes.h"
#include "swrast.h"



+ 4
- 4
src/mesa/swrast/s_accum.c View File

@@ -23,10 +23,10 @@
*/


#include "glheader.h"
#include "context.h"
#include "macros.h"
#include "imports.h"
#include "main/glheader.h"
#include "main/context.h"
#include "main/macros.h"
#include "main/imports.h"
#include "fbobject.h"

#include "s_accum.h"

+ 1
- 1
src/mesa/swrast/s_accum.h View File

@@ -27,7 +27,7 @@
#define S_ACCUM_H


#include "mtypes.h"
#include "main/mtypes.h"


extern void

+ 4
- 4
src/mesa/swrast/s_alpha.c View File

@@ -27,10 +27,10 @@
* \brief Functions to apply alpha test.
*/

#include "glheader.h"
#include "context.h"
#include "colormac.h"
#include "macros.h"
#include "main/glheader.h"
#include "main/context.h"
#include "main/colormac.h"
#include "main/macros.h"

#include "s_alpha.h"
#include "s_context.h"

+ 1
- 1
src/mesa/swrast/s_alpha.h View File

@@ -28,7 +28,7 @@
#define S_ALPHA_H


#include "mtypes.h"
#include "main/mtypes.h"
#include "s_context.h"



+ 4
- 4
src/mesa/swrast/s_atifragshader.c View File

@@ -20,10 +20,10 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#include "glheader.h"
#include "colormac.h"
#include "context.h"
#include "macros.h"
#include "main/glheader.h"
#include "main/colormac.h"
#include "main/context.h"
#include "main/macros.h"
#include "shader/program.h"
#include "shader/atifragshader.h"
#include "swrast/s_atifragshader.h"

+ 2
- 2
src/mesa/swrast/s_bitmap.c View File

@@ -28,10 +28,10 @@
* \author Brian Paul
*/

#include "glheader.h"
#include "main/glheader.h"
#include "bufferobj.h"
#include "image.h"
#include "macros.h"
#include "main/macros.h"
#include "pixel.h"

#include "s_context.h"

+ 4
- 4
src/mesa/swrast/s_blend.c View File

@@ -35,10 +35,10 @@



#include "glheader.h"
#include "context.h"
#include "colormac.h"
#include "macros.h"
#include "main/glheader.h"
#include "main/context.h"
#include "main/colormac.h"
#include "main/macros.h"

#include "s_blend.h"
#include "s_context.h"

+ 1
- 1
src/mesa/swrast/s_blend.h View File

@@ -27,7 +27,7 @@
#define S_BLEND_H


#include "mtypes.h"
#include "main/mtypes.h"
#include "s_context.h"



+ 2
- 2
src/mesa/swrast/s_blit.c View File

@@ -23,8 +23,8 @@
*/


#include "glheader.h"
#include "macros.h"
#include "main/glheader.h"
#include "main/macros.h"
#include "s_context.h"



+ 5
- 5
src/mesa/swrast/s_buffers.c View File

@@ -24,11 +24,11 @@

/** XXX This file should be named s_clear.c */

#include "glheader.h"
#include "colormac.h"
#include "macros.h"
#include "imports.h"
#include "mtypes.h"
#include "main/glheader.h"
#include "main/colormac.h"
#include "main/macros.h"
#include "main/imports.h"
#include "main/mtypes.h"

#include "s_accum.h"
#include "s_context.h"

+ 4
- 4
src/mesa/swrast/s_context.c View File

@@ -26,11 +26,11 @@
* Brian Paul
*/

#include "imports.h"
#include "main/imports.h"
#include "bufferobj.h"
#include "context.h"
#include "colormac.h"
#include "mtypes.h"
#include "main/context.h"
#include "main/colormac.h"
#include "main/mtypes.h"
#include "teximage.h"
#include "swrast.h"
#include "shader/prog_statevars.h"

+ 5
- 5
src/mesa/swrast/s_copypix.c View File

@@ -23,14 +23,14 @@
*/


#include "glheader.h"
#include "context.h"
#include "colormac.h"
#include "main/glheader.h"
#include "main/context.h"
#include "main/colormac.h"
#include "convolve.h"
#include "histogram.h"
#include "image.h"
#include "macros.h"
#include "imports.h"
#include "main/macros.h"
#include "main/imports.h"
#include "pixel.h"

#include "s_context.h"

+ 4
- 4
src/mesa/swrast/s_depth.c View File

@@ -23,10 +23,10 @@
*/


#include "glheader.h"
#include "context.h"
#include "macros.h"
#include "imports.h"
#include "main/glheader.h"
#include "main/context.h"
#include "main/macros.h"
#include "main/imports.h"
#include "fbobject.h"

#include "s_depth.h"

+ 1
- 1
src/mesa/swrast/s_depth.h View File

@@ -27,7 +27,7 @@
#define S_DEPTH_H


#include "mtypes.h"
#include "main/mtypes.h"
#include "s_context.h"



+ 4
- 4
src/mesa/swrast/s_drawpix.c View File

@@ -23,13 +23,13 @@
*/


#include "glheader.h"
#include "main/glheader.h"
#include "bufferobj.h"
#include "context.h"
#include "main/context.h"
#include "convolve.h"
#include "image.h"
#include "macros.h"
#include "imports.h"
#include "main/macros.h"
#include "main/imports.h"
#include "pixel.h"
#include "state.h"


+ 1
- 1
src/mesa/swrast/s_drawpix.h View File

@@ -28,7 +28,7 @@
#define S_DRAWPIXELS_H


#include "mtypes.h"
#include "main/mtypes.h"
#include "swrast.h"

/* XXX kill this header? */

+ 5
- 5
src/mesa/swrast/s_feedback.c View File

@@ -22,12 +22,12 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#include "glheader.h"
#include "colormac.h"
#include "context.h"
#include "enums.h"
#include "main/glheader.h"
#include "main/colormac.h"
#include "main/context.h"
#include "main/enums.h"
#include "feedback.h"
#include "macros.h"
#include "main/macros.h"

#include "s_context.h"
#include "s_feedback.h"

+ 1
- 1
src/mesa/swrast/s_feedback.h View File

@@ -28,7 +28,7 @@
#define S_FEEDBACK_H


#include "mtypes.h"
#include "main/mtypes.h"
#include "swrast.h"



+ 4
- 4
src/mesa/swrast/s_fog.c View File

@@ -23,10 +23,10 @@
*/


#include "glheader.h"
#include "colormac.h"
#include "context.h"
#include "macros.h"
#include "main/glheader.h"
#include "main/colormac.h"
#include "main/context.h"
#include "main/macros.h"

#include "s_context.h"
#include "s_fog.h"

+ 1
- 1
src/mesa/swrast/s_fog.h View File

@@ -28,7 +28,7 @@
#define S_FOG_H


#include "mtypes.h"
#include "main/mtypes.h"
#include "swrast.h"



+ 4
- 4
src/mesa/swrast/s_lines.c View File

@@ -23,10 +23,10 @@
*/


#include "glheader.h"
#include "context.h"
#include "colormac.h"
#include "macros.h"
#include "main/glheader.h"
#include "main/context.h"
#include "main/colormac.h"
#include "main/macros.h"
#include "s_aaline.h"
#include "s_context.h"
#include "s_depth.h"

+ 1
- 1
src/mesa/swrast/s_lines.h View File

@@ -27,7 +27,7 @@
#ifndef S_LINES_H
#define S_LINES_H

#include "mtypes.h"
#include "main/mtypes.h"

void
_swrast_choose_line( GLcontext *ctx );

+ 4
- 4
src/mesa/swrast/s_logic.c View File

@@ -23,10 +23,10 @@
*/


#include "glheader.h"
#include "context.h"
#include "imports.h"
#include "macros.h"
#include "main/glheader.h"
#include "main/context.h"
#include "main/imports.h"
#include "main/macros.h"

#include "s_context.h"
#include "s_logic.h"

+ 1
- 1
src/mesa/swrast/s_logic.h View File

@@ -27,7 +27,7 @@
#define S_LOGIC_H


#include "mtypes.h"
#include "main/mtypes.h"
#include "swrast.h"



+ 2
- 2
src/mesa/swrast/s_masking.c View File

@@ -28,8 +28,8 @@
*/


#include "glheader.h"
#include "macros.h"
#include "main/glheader.h"
#include "main/macros.h"

#include "s_context.h"
#include "s_masking.h"

+ 1
- 1
src/mesa/swrast/s_masking.h View File

@@ -27,7 +27,7 @@
#define S_MASKING_H


#include "mtypes.h"
#include "main/mtypes.h"
#include "swrast.h"



+ 4
- 4
src/mesa/swrast/s_points.c View File

@@ -23,10 +23,10 @@
*/


#include "glheader.h"
#include "colormac.h"
#include "context.h"
#include "macros.h"
#include "main/glheader.h"
#include "main/colormac.h"
#include "main/context.h"
#include "main/macros.h"
#include "texstate.h"
#include "s_context.h"
#include "s_feedback.h"

+ 1
- 1
src/mesa/swrast/s_points.h View File

@@ -27,7 +27,7 @@
#ifndef S_POINTS_H
#define S_POINTS_H

#include "mtypes.h"
#include "main/mtypes.h"

extern void
_swrast_choose_point( GLcontext *ctx );

+ 5
- 5
src/mesa/swrast/s_readpix.c View File

@@ -23,15 +23,15 @@
*/


#include "glheader.h"
#include "main/glheader.h"
#include "bufferobj.h"
#include "colormac.h"
#include "main/colormac.h"
#include "convolve.h"
#include "context.h"
#include "main/context.h"
#include "feedback.h"
#include "image.h"
#include "macros.h"
#include "imports.h"
#include "main/macros.h"
#include "main/imports.h"
#include "pixel.h"
#include "state.h"


+ 5
- 5
src/mesa/swrast/s_span.c View File

@@ -30,11 +30,11 @@
* \author Brian Paul
*/

#include "glheader.h"
#include "colormac.h"
#include "context.h"
#include "macros.h"
#include "imports.h"
#include "main/glheader.h"
#include "main/colormac.h"
#include "main/context.h"
#include "main/macros.h"
#include "main/imports.h"
#include "image.h"

#include "s_atifragshader.h"

+ 1
- 1
src/mesa/swrast/s_span.h View File

@@ -27,7 +27,7 @@
#define S_SPAN_H


#include "mtypes.h"
#include "main/mtypes.h"
#include "swrast.h"



+ 1
- 1
src/mesa/swrast/s_spantemp.h View File

@@ -43,7 +43,7 @@
* ignored otherwise.
*/

#include "macros.h"
#include "main/macros.h"


#ifdef CI_MODE

+ 3
- 3
src/mesa/swrast/s_stencil.c View File

@@ -23,9 +23,9 @@
*/


#include "glheader.h"
#include "context.h"
#include "imports.h"
#include "main/glheader.h"
#include "main/context.h"
#include "main/imports.h"

#include "s_context.h"
#include "s_depth.h"

+ 1
- 1
src/mesa/swrast/s_stencil.h View File

@@ -27,7 +27,7 @@
#define S_STENCIL_H


#include "mtypes.h"
#include "main/mtypes.h"
#include "swrast.h"



+ 5
- 5
src/mesa/swrast/s_texcombine.c View File

@@ -23,11 +23,11 @@
*/


#include "glheader.h"
#include "context.h"
#include "colormac.h"
#include "imports.h"
#include "macros.h"
#include "main/glheader.h"
#include "main/context.h"
#include "main/colormac.h"
#include "main/imports.h"
#include "main/macros.h"
#include "image.h"

#include "s_context.h"

+ 1
- 1
src/mesa/swrast/s_texcombine.h View File

@@ -27,7 +27,7 @@
#define S_TEXCOMBINE_H


#include "mtypes.h"
#include "main/mtypes.h"
#include "swrast.h"

extern void

+ 4
- 4
src/mesa/swrast/s_texfilter.c View File

@@ -23,10 +23,10 @@
*/


#include "glheader.h"
#include "context.h"
#include "colormac.h"
#include "imports.h"
#include "main/glheader.h"
#include "main/context.h"
#include "main/colormac.h"
#include "main/imports.h"
#include "texformat.h"

#include "s_context.h"

+ 1
- 1
src/mesa/swrast/s_texfilter.h View File

@@ -27,7 +27,7 @@
#define S_TEXFILTER_H


#include "mtypes.h"
#include "main/mtypes.h"
#include "swrast.h"



+ 0
- 0
src/mesa/swrast/s_texstore.c View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save