set GLWrapper
Sets the glWrapper. If the glWrapper is not null, its GLWrapper.wrap method is called whenever a surface is created. A GLWrapper can be used to wrap the GL object that's passed to the renderer. Wrapping a GL object enables examining and modifying the behavior of the GL calls made by the renderer.
Wrapping is typically used for debugging purposes.
The default value is null.
Parameters
gl Wrapper
the new GLWrapper.