draft implementation of ARB_clear_buffer_object (v2)