History log of /external/mesa3d/src/glx/tests/indirect_api.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f5dffb7e36487ff8a012725aaf78a4b7d3169102 01-Aug-2012 Ian Romanick <ian.d.romanick@intel.com> 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 <ian.d.romanick@intel.com>
/external/mesa3d/src/glx/tests/indirect_api.cpp
3c22f7941288699e040c8841e57aa81563616c55 24-May-2012 Ian Romanick <ian.d.romanick@intel.com> glx/tests: Add unit tests for generated code in indirect_init.c

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/glx/tests/indirect_api.cpp