History log of /external/mesa3d/src/mesa/main/es_generator.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
34472a0d8713c4eb300c9d1de0844c8b78bcf1ab 27-Jul-2012 Ian Romanick <ian.d.romanick@intel.com> mesa/es: Don't generate ES1 type conversion wrappers

These are gradually going to get whittled away and eventually folded into the
source files with the native type functions.

v2: Add (speculative) SConscript changes. These may be broken.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/es_generator.py
6eff33dc7f2cd6e1430bd8dcaef4a7eb9fe3f6ee 11-Aug-2011 Chia-I Wu <olv@lunarg.com> glapi: generate ES dispatch headers from core mesa

GLESv1 and GLESv2 have their own dispatch.h and remap_helper.h. These
headers are only used by api_exec_es1.c and api_exec_es2.c in core mesa.
Move the rules to generate them from glapi to core mesa.

Reviewed-by: Brian Paul <brianp@vmware.com>

[olv: updated after reviewing to fix SCons build]
/external/mesa3d/src/mesa/main/es_generator.py
4bb748b609288205ddea750550185d7642025bff 08-Jun-2011 Chia-I Wu <olv@lunarg.com> mesa: merge glapidispatch.h into dispatch.h

glapidispatch.h was located in glapi and shared with mesa core. Because
the way it was shared, mesa core must include it indirectly via
main/dispatch.h.

Now that it is no longer needed by glapi and is located in core mesa,
merging it with main/dispatch.h to avoid wrong uses.
/external/mesa3d/src/mesa/main/es_generator.py
fed482f5e30ea6b230ed20982551b340570dc3e9 08-Jun-2011 Chia-I Wu <olv@lunarg.com> mesa: fix GLES remap table setup again

Generate different glapidispatch.h's for GL and GLES. For GLES, we want
a local remap table.

This reverts commit 5af46e836073d2112b147b524e441bdb808cc128. The
commit will break GL remap table setup when main/glapidispatch.h is
regenerated.
/external/mesa3d/src/mesa/main/es_generator.py
5af46e836073d2112b147b524e441bdb808cc128 22-May-2011 Thierry Reding <thierry@gilfi.de> mesa: Fix remap_table setup.

Since the SET_xxx and GET_xxx macros used to initialize the remap_table
have been replaced by inline functions, the missing late macro expansion
leads to driDispatchRemapTable not being redefined to remap_table, which
in turn causes the remap_table not to be setup properly.

This commit fixes the issue by moving the table redefinition after the
definition of driDispatchRemapTable but in front of the inline function
definitions.
/external/mesa3d/src/mesa/main/es_generator.py
8e7d4d4e0c74bff105a66c0cd0f427e2b287c9e3 20-May-2011 Thierry Reding <thierry.reding@avionic-design.de> mesa: Emit definition of GLAPIENTRYP in es_generator.py.

GLES uses GL_APIENTRYP instead of GLAPIENTRYP, which breaks with the
latest API table generation code. This fixes the issue by emitting a
definition for GL_APIENTRYP when generating the GLES files.
/external/mesa3d/src/mesa/main/es_generator.py
16ee7a55ae269612263468195f2af998cb9ef695 26-Oct-2010 Chia-I Wu <olv@lunarg.com> mesa: Allow contexts of different APIs to coexist.

This effectively redoes 1741ddb747ca0be284315adb4b6fe67ddf292d03 in a
way that allows contexts of different APIs to coexist.

First, the changes to the remap table are reverted. The remap table
(driDispatchRemapTable) is always initialized in the same way regardless
of the context API.

es_generator.py is updated to use a local remap table, whose sole
purpose is to help initialize its dispatch table. The local remap table
and the global one are always different, as they use different
glapidispatch.h. But the dispatch tables initialized by both remap
tables are always compatible with glapi (libGL.so).

Finally, the semantics of one_time_init are changed to per-api one-time
initialization.
/external/mesa3d/src/mesa/main/es_generator.py
fdede1efaae32d23caf3b351cc766df12e3c5f8d 26-Oct-2010 Chia-I Wu <olv@lunarg.com> mesa: Select FEATURE_remap_table when multiple APIs are enabled.

Core mesa should query glapi for the positions of the functions in
_glapi_table when multiple APIs are supported. It does not know which
glapitable.h glapi used.
/external/mesa3d/src/mesa/main/es_generator.py
b762db62c2972506fa78a5ed72f796113fc9b0d1 25-Oct-2010 Chia-I Wu <olv@lunarg.com> mesa: Remove unnecessary glapitable.h includes.

With 07b85457d95bcc70588584e9380c51cd63aa3a2b, glapitable.h is included
by core mesa only to know the size of _glapi_table. It is not necessary
as the same info is given by _gloffset_COUNT.

This change makes _glapi_table opaque to core mesa. All operations on
it are supposed to go through one of the SET/GET/CALL macros.
/external/mesa3d/src/mesa/main/es_generator.py
07b85457d95bcc70588584e9380c51cd63aa3a2b 25-Oct-2010 Chia-I Wu <olv@lunarg.com> glapi: Merge glapioffsets.h into glapidispath.h.

Move defines in glapioffsets.h to glapidispatch.h. Rename
_gloffset_FIRST_DYNAMIC to _gloffset_COUNT, which is equal to the number
of entries in _glapi_table.

Consistently use SET_by_offset, GET_by_offset, CALL_by_offset, and
_gloffset_* to recursively define all SET/GET/CALL macros.
/external/mesa3d/src/mesa/main/es_generator.py
e213968f2b99b07e20b69e4dd6f94bea35f54161 25-Oct-2010 Chia-I Wu <olv@lunarg.com> glapi: Move glapidispatch.h to core mesa.

It is a core mesa header, not a glapi header.
/external/mesa3d/src/mesa/main/es_generator.py
0c878280506767c38887b71b45af2cb64a0f4abd 21-Aug-2010 Chia-I Wu <olv@lunarg.com> mesa: Assorted fixes for es_generator.py on win32.

Fix mixed use of GL_APIENTRY and GLAPIENTRY. Parameter list of a function
prototype should never be empty.
/external/mesa3d/src/mesa/main/es_generator.py
ae2ace64f49a39e72eff393b8569653647b8b94f 19-Aug-2010 Chia-I Wu <olv@lunarg.com> mesa: Decorate functions with GL_APIENTRY in es_generator.py.

Note that GLES headers use GL_APIENTRY, not GLAPIENTRY.
/external/mesa3d/src/mesa/main/es_generator.py
59f8dca7cf7ce2b21d3bfe59c55bd3927de7f39c 31-May-2010 Chia-I Wu <olv@lunarg.com> Update OpenGL ES headers.
/external/mesa3d/src/mesa/main/es_generator.py
296adbd545b8efd38c9ed508166b2de2764a444b 25-Apr-2010 Chia-I Wu <olv@lunarg.com> glapi: Move to src/mapi/.

Move glapi to src/mapi/{glapi,es1api,es2api}.
/external/mesa3d/src/mesa/main/es_generator.py
a6ec153830ea25958f8cb5f5b5ae7a3433d61bbc 05-May-2010 Chia-I Wu <olv@lunarg.com> mesa: Fix build of ES overlay.

ES overlay is built with FEATURE_ES1 or FEATURE_ES2, and is built
without FEATURE_GL. Fix the build by always building OpenGL ES sources,
but test for FEATURE_ES1 or FEATURE_ES2. Also, define symbols that are
missing because FEATURE_GL is not defined.
/external/mesa3d/src/mesa/main/es_generator.py
003433989597771bbb4f03cf678f5771c09606fd 24-Apr-2010 Kristian Høgsberg <krh@bitplanet.net> es: Prefix the get* functions with _es1/2 so they don't conflict
/external/mesa3d/src/mesa/main/es_generator.py
ea0c7e71638a4a72a4eae962e6cc471bd33a5605 23-Apr-2010 Kristian Høgsberg <krh@bitplanet.net> mesa: Move api_exec_es*.c into mesa/main

This requires renaming a few functions to have unique names so that
they can all live within the same driver.
/external/mesa3d/src/mesa/main/es_generator.py