Creates an instance of GLTexture with power-of-two width and height that such that width
height is the closest to size, and with the specified parameters.
Configures the geometry shader by setting the primitive types that it will take as input
and return as output, and the maximum number of vertices that will generate.