protected final long getOrCreateSharedDpy(AbstractGraphicsDevice device) { final SharedResourceRunner.Resource sr = getOrCreateSharedResource(device); if (null != sr) { return sr.getDevice().getHandle(); } return 0; }
@Override public final boolean canCreateGLPbuffer(AbstractGraphicsDevice device, GLProfile glp) { if (null == device) { SharedResourceRunner.Resource sr = sharedResourceRunner.getOrCreateShared(defaultDevice); if (null != sr) { device = sr.getDevice(); } } return isGLXVersionGreaterEqualOneThree(device); }