40package com.jogamp.opengl.test.junit.jogl.caps;
44import com.jogamp.nativewindow.CapabilitiesImmutable;
45import com.jogamp.opengl.DefaultGLCapabilitiesChooser;
46import com.jogamp.opengl.GLCapabilitiesImmutable;
52 final List<? extends CapabilitiesImmutable> available,
53 final int windowSystemRecommendedChoice) {
54 boolean anyHaveSampleBuffers =
false;
55 for (
int i = 0; i < available.size(); i++) {
58 anyHaveSampleBuffers =
true;
62 final int selection = super.chooseCapabilities(desired, available, windowSystemRecommendedChoice);
63 if (!anyHaveSampleBuffers) {
64 System.err.println(
"WARNING: antialiasing will be disabled because none of the available pixel formats had it to offer");
68 System.err.println(
"WARNING: antialiasing will be disabled because the DefaultGLCapabilitiesChooser didn't supply it");
Specifies an immutable set of capabilities that a window's rendering context must support,...
Specifies an immutable set of OpenGL capabilities.
boolean getSampleBuffers()
Returns whether sample buffers for full-scene antialiasing (FSAA) should be allocated for this drawab...