5758596061626364
{ GraphicsConfiguration gc = vImg.getGraphicsConfig(); if (gc instanceof GLXGraphicsConfig) { return new GLXVolatileSurfaceManager(vImg, context); } else { return new X11VolatileSurfaceManager(vImg, context); } }