gecko-dev/gfx/angle
2010-10-09 12:44:25 -07:00
..
build
generated
include b=602396; upgrade ANGLE to r445, mozilla portion; r=bjacob a=b 2010-10-09 12:44:25 -07:00
src b=602396; upgrade ANGLE to r445, mozilla portion; r=bjacob a=b 2010-10-09 12:44:25 -07:00
angle-nspr.patch
angle-shared.patch b=602396; upgrade ANGLE to r445, mozilla portion; r=bjacob a=b 2010-10-09 12:44:25 -07:00
AUTHORS
codereview.settings
CONTRIBUTORS
DEPS
fix-compile.patch
LICENSE
LICENSE.preprocessor
Makefile.in b=602396; upgrade ANGLE to r445, mozilla portion; r=bjacob a=b 2010-10-09 12:44:25 -07:00
README.mozilla b=602396; upgrade ANGLE to r445, mozilla portion; r=bjacob a=b 2010-10-09 12:44:25 -07:00

This is the ANGLE project, from http://code.google.com/p/angleproject/.

Current revision: r445

Local patches:
    angle-nspr.patch - use NSPR for TLS

    angle-shared.patch - add declspec dllexport/dllimport support on win32

== Visual Studio Solution Files ==

The VS solution/project files that are used to build ANGLE are built
with VS2008 in upstream ANGLE.  Because our build machines use VS2005,
they need to be downgraded using
http://www.emmet-gray.com/Articles/ProjectConverter.htm before being
checked in with an ANGLE update.

== Regenerating Parser ==
 
To regenerate the flex/yacc generated files, do the following -- note
that they'll generate different results, but with the same effect.

Doing this on linux is preferred:

  flex --noline --nounistd --outfile=generated/glslang.cpp src/compiler/glslang.l
  bison --no-lines --defines=generated/glslang_tab.h --skeleton=yacc.c --output=generated/glslang_tab.cpp src/compiler/glslang.y

or (win32) -- note the manual removal of unistd.h and the renaming of the bison generated file:

  src/compiler/tools/flex.exe -L -ogenerated/glslang.cpp src/compiler/glslang.l
# get rid of #include <unistd.h>
  grep -v unistd generated/glslang.cpp > foo && mv foo generated/glslang.cpp
  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
  mv generated/glslang_tab.cpp.h generated/glslang_tab.h