MCPcopy Index your code
hub / github.com/processing/processing / hasFboMultisampleSupport

Method hasFboMultisampleSupport

core/src/processing/opengl/PGL.java:2211–2219  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2209
2210
2211 protected boolean hasFboMultisampleSupport() {
2212 int major = getGLVersion()[0];
2213 if (major < 3) {
2214 String ext = getString(EXTENSIONS);
2215 return -1 < ext.indexOf("_framebuffer_multisample");
2216 } else {
2217 return true;
2218 }
2219 }
2220
2221
2222 protected boolean hasPackedDepthStencilSupport() {

Callers 2

createFBOLayerMethod · 0.95
getGLParametersMethod · 0.80

Calls 2

getGLVersionMethod · 0.95
getStringMethod · 0.95

Tested by

no test coverage detected