Here is a second attempt at implementing the GL_ARB_clear_texture extension. I've split up the patch into serveral smaller patches. They are based on top of the first patch in Ilia's series which is available here:
https://github.com/imirkin/mesa/commit/9c2467020a8a3895a1debbad06561f37 I think I've addressed all of the issues mentioned in the reviews. Instead of enabling the extension unconditionally I've added a helper function which is called by all DRI-based drivers. The intention is for this to be a place to enable all extensions which are implemented for free by calling _mesa_init_driver_functions. On the piglit mailing list I've posted some more tests including one which checks some error conditions and another which tests integer textures. The patch series is available on a branch in Github here: https://github.com/bpeel/mesa/tree/wip/clear-texture The piglit patches are available here: https://github.com/bpeel/piglit/tree/wip/clear-texture - Neil _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev