History log of /external/mesa3d/src/glsl/glcpp/glcpp.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7cfd42cefe1949af51ecced9891f415eca2c0e66 14-Sep-2012 Dave Airlie <airlied@redhat.com> mesa/glsl: rename preprocess to glcpp_preprocess

This symbol with dricore escapes into the namespace, its too generic,
we should prefix it with something just to be nice.

Should be applied to stable + 9.0

Acked-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit 88b0790b1ae8864d4ec6196b3939498bbffdbb5f)
/external/mesa3d/src/glsl/glcpp/glcpp.c
9a3bd5e0452c9c791ba94155d3c9ddba42abd114 29-Aug-2011 Ian Romanick <ian.d.romanick@intel.com> glsl: Silence several "warning: unused parameter"
/external/mesa3d/src/glsl/glcpp/glcpp.c
12d17bcadf79d473b29c902c1ac949dcc65ff354 04-Mar-2011 José Fonseca <jfonseca@vmware.com> glsl/glcpp: Use stdio.h instead of unistd.h.
/external/mesa3d/src/glsl/glcpp/glcpp.c
d3073f58c17d8675a2ecdd5dfa83e5520c78e1a8 21-Jan-2011 Kenneth Graunke <kenneth@whitecape.org> Convert everything from the talloc API to the ralloc API.
/external/mesa3d/src/glsl/glcpp/glcpp.c
3322fbaf3b5e305ce00c1d08c26965bb98e0cef0 14-Oct-2010 Ian Romanick <ian.d.romanick@intel.com> glsl: Slightly change the semantic of _LinkedShaders

Previously _LinkedShaders was a compact array of the linked shaders
for each shader stage. Now it is arranged such that each slot,
indexed by the MESA_SHADER_* defines, refers to a specific shader
stage. As a result, some slots will be NULL. This makes things a
little more complex in the linker, but it simplifies things in other
places.

As a side effect _NumLinkedShaders is removed.

NOTE: This may be a candidate for the 7.9 branch. If there are other
patches that get backported to 7.9 that use _LinkedShader, this patch
should be cherry picked also.
/external/mesa3d/src/glsl/glcpp/glcpp.c
7dcfc44b72f00ba5a38cb02123c80113440f0de9 05-Sep-2010 Kenneth Graunke <kenneth@whitecape.org> glsl: Define GL_ES preprocessor macro if API is OpenGL ES 2.0.

Also define it if #version 100 is encountered.
/external/mesa3d/src/glsl/glcpp/glcpp.c
61f73fec532b24ef5ec4b5baef81f5e6b9f20918 23-Aug-2010 Carl Worth <cworth@cworth.org> glcpp: Make standalone preprocessor work with a tty as stdin

Previously glcpp would silently abort if it couldn't fstat the file being
read, (so it would work with stdin redirected from a file, but would not
work with stdin as a tty). The stat was so that glcpp could allocate
a buffer for the file content in a single call.

We now use talloc_realloc instead, (even if the fstat is
possible). This is theoretically less efficient, but quite irrelevant,
(particularly because the standalone preprocessor is used only for
testing).
/external/mesa3d/src/glsl/glcpp/glcpp.c
cf8bb19a114d753bca94f920b87dcf51aa26af99 23-Aug-2010 Carl Worth <cworth@cworth.org> glcpp: Fix segfault in standalone preprocessor for "file not found", etc.

This error message was missing so that the program would simply
segfault if the provided filename could not be opened for some reason.

While we're at it, we add explicit support for a filename of "-" to
indicate input from stdin.
/external/mesa3d/src/glsl/glcpp/glcpp.c
97638aa77c509cd37dea499202d31357926a0e2a 18-Aug-2010 Carl Worth <cworth@cworth.org> glcpp: Allow standalone glcpp to accept a filename as first argument.

This is useful for debugging the preprocessor.
/external/mesa3d/src/glsl/glcpp/glcpp.c
06143ea09411aa283ac3633bfbfa4326584cd952 01-Jul-2010 Ian Romanick <ian.d.romanick@intel.com> glsl2: Conditionally define preprocessor tokens for optional extensions

The only optional extension currently supported by the compiler is
GL_EXT_texture_array.
/external/mesa3d/src/glsl/glcpp/glcpp.c
29285882676388aacff123e8bdf025904abf8ea9 25-Jun-2010 Eric Anholt <eric@anholt.net> glsl2: Move the compiler to the subdirectory it will live in in Mesa.
/external/mesa3d/src/glsl/glcpp/glcpp.c