Fix more relative #include paths (mostly header files)

Trac #11408 Signed-off-by: Andrew Lewycky Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@171 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent e8c0ca29
...@@ -45,7 +45,7 @@ typedef int TSourceLoc; ...@@ -45,7 +45,7 @@ typedef int TSourceLoc;
#include <assert.h> #include <assert.h>
#include "PoolAlloc.h" #include "compiler/PoolAlloc.h"
// //
// Put POOL_ALLOCATOR_NEW_DELETE in base classes to make them use this scheme. // Put POOL_ALLOCATOR_NEW_DELETE in base classes to make them use this scheme.
......
...@@ -30,8 +30,8 @@ O [0-7] ...@@ -30,8 +30,8 @@ O [0-7]
%{ %{
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "ParseHelper.h" #include "compiler/ParseHelper.h"
#include "glslang_tab.h" #include "compiler/glslang_tab.h"
/* windows only pragma */ /* windows only pragma */
#ifdef _MSC_VER #ifdef _MSC_VER
...@@ -245,7 +245,7 @@ BEGIN(INITIAL); ...@@ -245,7 +245,7 @@ BEGIN(INITIAL);
//Including Pre-processor. //Including Pre-processor.
extern "C" { extern "C" {
#include "./preprocessor/preprocess.h" #include "compiler/preprocessor/preprocess.h"
} }
// //
......
...@@ -25,8 +25,8 @@ possible; please let me know if you discover discrepancies. ...@@ -25,8 +25,8 @@ possible; please let me know if you discover discrepancies.
Jutta Degener, 1995 Jutta Degener, 1995
*/ */
#include "SymbolTable.h" #include "compiler/SymbolTable.h"
#include "ParseHelper.h" #include "compiler/ParseHelper.h"
#include "GLSLANG/ShaderLang.h" #include "GLSLANG/ShaderLang.h"
#define YYPARSE_PARAM parseContextLocal #define YYPARSE_PARAM parseContextLocal
......
...@@ -56,7 +56,7 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ...@@ -56,7 +56,7 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include "slglobals.h" #include "compiler/preprocessor/slglobals.h"
#undef malloc #undef malloc
#undef realloc #undef realloc
......
...@@ -56,7 +56,7 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ...@@ -56,7 +56,7 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <string.h> #include <string.h>
#include <ctype.h> #include <ctype.h>
#include "slglobals.h" #include "compiler/preprocessor/slglobals.h"
static int CPPif(yystypepp * yylvalpp); static int CPPif(yystypepp * yylvalpp);
......
...@@ -53,8 +53,8 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ...@@ -53,8 +53,8 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#if !defined(__CPP_H) #if !defined(__CPP_H)
#define __CPP_H 1 #define __CPP_H 1
#include "parser.h" #include "compiler/preprocessor/parser.h"
#include "tokens.h" #include "compiler/preprocessor/tokens.h"
int InitCPP(void); int InitCPP(void);
int FinalCPP(void); int FinalCPP(void);
......
...@@ -53,7 +53,7 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ...@@ -53,7 +53,7 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "slglobals.h" #include "compiler/preprocessor/slglobals.h"
CPPStruct *cpp = NULL; CPPStruct *cpp = NULL;
static int refCount = 0; static int refCount = 0;
......
...@@ -59,7 +59,7 @@ typedef unsigned __int64 uintptr_t; ...@@ -59,7 +59,7 @@ typedef unsigned __int64 uintptr_t;
typedef unsigned int uintptr_t; typedef unsigned int uintptr_t;
#endif #endif
#include "memory.h" #include "compiler/preprocessor/memory.h"
// default alignment and chunksize, if called with 0 arguments // default alignment and chunksize, if called with 0 arguments
#define CHUNKSIZE (64*1024) #define CHUNKSIZE (64*1024)
......
...@@ -47,7 +47,7 @@ TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF ...@@ -47,7 +47,7 @@ TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF
NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\****************************************************************************/ \****************************************************************************/
# include "slglobals.h" # include "compiler/preprocessor/slglobals.h"
extern CPPStruct *cpp; extern CPPStruct *cpp;
int InitCPPStruct(void); int InitCPPStruct(void);
int InitScanner(CPPStruct *cpp); int InitScanner(CPPStruct *cpp);
......
...@@ -62,7 +62,7 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ...@@ -62,7 +62,7 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
((*(int *)&(x) & 0x007fffffL)==0000000000L)) ((*(int *)&(x) & 0x007fffffL)==0000000000L))
#endif #endif
#include "slglobals.h" #include "compiler/preprocessor/slglobals.h"
typedef struct StringInputSrc { typedef struct StringInputSrc {
......
...@@ -56,7 +56,7 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ...@@ -56,7 +56,7 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define MAX_SYMBOL_NAME_LEN 128 #define MAX_SYMBOL_NAME_LEN 128
#define MAX_STRING_LEN 512 #define MAX_STRING_LEN 512
#include "parser.h" #include "compiler/preprocessor/parser.h"
// Not really atom table stuff but needed first... // Not really atom table stuff but needed first...
......
...@@ -65,15 +65,15 @@ extern CPPStruct *cpp; ...@@ -65,15 +65,15 @@ extern CPPStruct *cpp;
#undef CPPC_ENABLE_TOOLS #undef CPPC_ENABLE_TOOLS
#define CPPC_ENABLE_TOOLS 1 #define CPPC_ENABLE_TOOLS 1
#include "memory.h" #include "compiler/preprocessor/memory.h"
#include "atom.h" #include "compiler/preprocessor/atom.h"
#include "scanner.h" #include "compiler/preprocessor/scanner.h"
#include "cpp.h" #include "compiler/preprocessor/cpp.h"
#include "tokens.h" #include "compiler/preprocessor/tokens.h"
#include "symbols.h" #include "compiler/preprocessor/symbols.h"
#include "compile.h" #include "compiler/preprocessor/compile.h"
#if !defined(NO_PARSER) #if !defined(NO_PARSER)
#include "parser.h" #include "compiler/preprocessor/parser.h"
#endif #endif
#if !defined(NULL) #if !defined(NULL)
......
...@@ -55,7 +55,7 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ...@@ -55,7 +55,7 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include "slglobals.h" #include "compiler/preprocessor/slglobals.h"
/////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////// Symbol Table Variables: /////////////////////////////////// /////////////////////////////////// Symbol Table Variables: ///////////////////////////////////
......
...@@ -53,7 +53,7 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ...@@ -53,7 +53,7 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#if !defined(__SYMBOLS_H) #if !defined(__SYMBOLS_H)
#define __SYMBOLS_H 1 #define __SYMBOLS_H 1
#include "memory.h" #include "compiler/preprocessor/memory.h"
typedef enum symbolkind { typedef enum symbolkind {
MACRO_S MACRO_S
...@@ -85,7 +85,7 @@ struct Scope_Rec { ...@@ -85,7 +85,7 @@ struct Scope_Rec {
// Symbol table is a simple binary tree. // Symbol table is a simple binary tree.
#include "cpp.h" // to get MacroSymbol def #include "compiler/preprocessor/cpp.h" // to get MacroSymbol def
struct Symbol_Rec { struct Symbol_Rec {
Symbol *left, *right; Symbol *left, *right;
......
...@@ -56,7 +56,7 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ...@@ -56,7 +56,7 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <string.h> #include <string.h>
#include <ctype.h> #include <ctype.h>
#include "slglobals.h" #include "compiler/preprocessor/slglobals.h"
/////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////// Preprocessor and Token Recorder and Playback: //////////////////////// //////////////////////// Preprocessor and Token Recorder and Playback: ////////////////////////
......
...@@ -53,7 +53,7 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ...@@ -53,7 +53,7 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#if !defined(__TOKENS_H) #if !defined(__TOKENS_H)
#define __TOKENS_H 1 #define __TOKENS_H 1
#include "parser.h" #include "compiler/preprocessor/parser.h"
#define EOF_SY (-1) #define EOF_SY (-1)
......
...@@ -17,11 +17,12 @@ ...@@ -17,11 +17,12 @@
#include <windows.h> #include <windows.h>
#include <d3d9.h> #include <d3d9.h>
#include "Config.h" #include <set>
#include "Surface.h"
#include "libGLESv2/Context.h" #include "libGLESv2/Context.h"
#include <set> #include "libEGL/Config.h"
#include "libEGL/Surface.h"
namespace egl namespace egl
{ {
......
...@@ -210,7 +210,7 @@ ...@@ -210,7 +210,7 @@
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
> >
<File <File
RelativePath="..\Config.h" RelativePath=".\Config.h"
> >
</File> </File>
<File <File
......
...@@ -10,12 +10,12 @@ ...@@ -10,12 +10,12 @@
#ifndef LIBGLESV2_PROGRAM_H_ #ifndef LIBGLESV2_PROGRAM_H_
#define LIBGLESV2_PROGRAM_H_ #define LIBGLESV2_PROGRAM_H_
#include "Context.h"
#include <d3dx9.h> #include <d3dx9.h>
#include <string> #include <string>
#include <vector> #include <vector>
#include "libGLESv2/Context.h"
namespace gl namespace gl
{ {
class FragmentShader; class FragmentShader;
......
...@@ -12,12 +12,12 @@ ...@@ -12,12 +12,12 @@
#ifndef LIBGLESV2_SHADER_H_ #ifndef LIBGLESV2_SHADER_H_
#define LIBGLESV2_SHADER_H_ #define LIBGLESV2_SHADER_H_
#include "Context.h"
#define GL_APICALL #define GL_APICALL
#include <GLES2/gl2.h> #include <GLES2/gl2.h>
#include <d3dx9.h> #include <d3dx9.h>
#include "libGLESv2/Context.h"
namespace gl namespace gl
{ {
class Shader class Shader
......
...@@ -11,14 +11,14 @@ ...@@ -11,14 +11,14 @@
#ifndef LIBGLESV2_TEXTURE_H_ #ifndef LIBGLESV2_TEXTURE_H_
#define LIBGLESV2_TEXTURE_H_ #define LIBGLESV2_TEXTURE_H_
#include "Renderbuffer.h"
#define GL_APICALL #define GL_APICALL
#include <GLES2/gl2.h> #include <GLES2/gl2.h>
#include <d3d9.h> #include <d3d9.h>
#include <vector> #include <vector>
#include "libGLESv2/Renderbuffer.h"
namespace gl namespace gl
{ {
class Context; class Context;
......
...@@ -12,10 +12,11 @@ ...@@ -12,10 +12,11 @@
#define GL_APICALL #define GL_APICALL
#include <GLES2/gl2.h> #include <GLES2/gl2.h>
#include "Context.h"
#include "common/debug.h" #include "common/debug.h"
#include "libEGL/Display.h" #include "libEGL/Display.h"
#include "libGLESv2/Context.h"
namespace gl namespace gl
{ {
struct Current struct Current
......
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