opengl: add typed set_callback for opengl filters
This will ensure that the callback has the expected signature.
Contrary to similar existing typed set_callback
s (for example here), I suggest not to include the associated set_capability()
: the goal is only to ensure the correct type. And that way, we can continue to grep "opengl filters"
to find all the filters.