[Mesa-dev] [PATCHES] implement GL_ARB_robustness

nobled nobled at dreamwidth.org
Tue Apr 19 12:23:07 PDT 2011


spec file:
http://www.opengl.org/registry/specs/ARB/robustness.txt

The first four parts of this series add infrastructure to support
bounds-checking client memory buffers by re-using the PBO
bounds-checking code; the fifth patch adds the actual functions of the
extension. However, the series is incomplete because I'm not sure how
to turn the spec file into an xml file for
src/mapi/glapi/gen/ARB_robustness.xml, and then generate the dispatch
stuff from it with the python script(*which* python script?) -- the
docs on this point seem to be a classic combination of completely
outdated and "hey, can you vague that up for me?":
>http://cgit.freedesktop.org/mesa/mesa/tree/docs/devinfo.html
>   In the src/mesa/glapi/ directory, add the new extension functions and
>   enums to the gl_API.xml file.
>   Then, a bunch of source files must be regenerated by executing the
>   corresponding Python scripts.

I think I covered all the other steps, though. At least enough to be
faithful to the spec, as long as these two aren't exposed yet on the
GLX side of things:
http://www.opengl.org/registry/specs/ARB/glx_create_context.txt
http://www.opengl.org/registry/specs/ARB/glx_create_context_robustness.txt

Still todo: adding piglit tests.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001b-mesa-add-bounds-checking-support-for-client-memory-b.patch
Type: text/x-patch
Size: 15520 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110419/a1e0c2b7/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-mesa-add-more-bounds-checking-support-for-client-mem.patch
Type: text/x-patch
Size: 10109 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110419/a1e0c2b7/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-mesa-standardize-some-bounds-checking-error-messages.patch
Type: text/x-patch
Size: 4682 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110419/a1e0c2b7/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-mesa-standardize-more-bounds-checking-error-messages.patch
Type: text/x-patch
Size: 7371 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110419/a1e0c2b7/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-mesa-implement-GL_ARB_robustness.patch
Type: text/x-patch
Size: 35428 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110419/a1e0c2b7/attachment-0009.bin>


More information about the mesa-dev mailing list