diff options
author | Ian Romanick <[email protected]> | 2012-07-31 16:40:07 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2012-08-08 10:06:26 -0700 |
commit | f5dffb7e36487ff8a012725aaf78a4b7d3169102 (patch) | |
tree | b22888dbf6944e21cd974aaf3537e3521810adbe /src/mapi/glapi/gen/gl_offsets.py | |
parent | 52d6df8aa7231c1d4d80a8599af0e2c5d02c7b6c (diff) |
glx: Don't rely on struct _glapi_table
When --enable-shared-glapi is used, all non-ABI entries in the table are
lies. There are two completely separate code generation paths used to
assign dispatch offset. Neither has any clue about the other.
Unsurprisingly, the can't agree on what offsets to assign.
This adds a bunch of overhead to __glXNewIndirectAPI, but this function
is called at most once.
The test ExtensionNopDispatch was removed. There was just no way to
make this test work with the information provided in shared-glapi.
Since indirect_glx.c uses _glapi_get_proc_offset now, it was also
impossible to make the tests work without shared-glapi. So much pain.
This fixes indirect rendering with shared-glapi.
Signed-off-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mapi/glapi/gen/gl_offsets.py')
0 files changed, 0 insertions, 0 deletions