pBuffer.getContext().makeCurrent();
gl = pBuffer.getGL().getGL2();
JOGLTarget.clearGL(gl, clearColor);
backgroundTextureManager = new JOGLTextureManager(gl);
/* render map data into buffer if it needs to be rendered multiple times */
boolean onlyOneRenderPass = (expectedFileCalls <= 1
&& expectedMaxSizeX <= canvasLimit