1 This is the ANGLE project, from http://code.google.com/p/angleproject/.
6 angle-nspr.patch - use NSPR for TLS
8 angle-shared.patch - add declspec dllexport/dllimport support on win32
10 == Visual Studio Solution Files ==
12 The VS solution/project files that are used to build ANGLE are built
13 with VS2008 in upstream ANGLE. Because our build machines use VS2005,
14 they need to be downgraded using
15 http://www.emmet-gray.com/Articles/ProjectConverter.htm before being
16 checked in with an ANGLE update.
18 == Regenerating Parser ==
20 To regenerate the flex/yacc generated files, do the following -- note
21 that they'll generate different results, but with the same effect.
23 Doing this on linux is preferred:
25 flex --noline --nounistd --outfile=generated/glslang.cpp src/compiler/glslang.l
26 bison --no-lines --defines=generated/glslang_tab.h --skeleton=yacc.c --output=generated/glslang_tab.cpp src/compiler/glslang.y
28 or (win32) -- note the manual removal of unistd.h and the renaming of the bison generated file:
30 src/compiler/tools/flex.exe -L -ogenerated/glslang.cpp src/compiler/glslang.l
31 # get rid of #include <unistd.h>
32 grep -v unistd generated/glslang.cpp > foo && mv foo generated/glslang.cpp
33 BISON_SIMPLE=src/compiler/tools/bison.simple src/compiler/tools/bison.exe --no-lines --defines --yacc --output=generated/glslang_tab.cpp src/compiler/glslang.y
34 mv generated/glslang_tab.cpp.h generated/glslang_tab.h