pjs/gfx/angle
Vladimir Vukicevic 28d47aae62 b=602396; upgrade ANGLE to r445, mozilla portion; r=bjacob a=b 2010-10-09 12:44:25 -07:00
..
build
generated b=602396; upgrade ANGLE to r445 2010-10-09 12:44:25 -07:00
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
AUTHORS
CONTRIBUTORS b=590244; update ANGLE to r385; r=vlad; a=b 2010-09-01 15:04:51 -04:00
DEPS
LICENSE
LICENSE.preprocessor b=590244; update ANGLE to r385; r=vlad; a=b 2010-09-01 15:04:51 -04:00
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
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
codereview.settings
fix-compile.patch (b=583450, 583375) Fix ShaderLang.h bustage. Commas at the end of enum lists. 2010-07-31 00:01:14 -07:00

README.mozilla

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