void (StringBuilder sb, String name, ImageCapabilities capabilities) { if (capabilities != null) { sb.append(name).append(": accelerated=").append(capabilities.isAccelerated()); if (capabilities.isTrueVolatile()) { sb.append("; true volatile"); } sb.append("\n"); } }