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

Method hasPackedDepthStencilSupport

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

Source from the content-addressed store, hash-verified

2220
2221
2222 protected boolean hasPackedDepthStencilSupport() {
2223 int major = getGLVersion()[0];
2224 if (major < 3) {
2225 String ext = getString(EXTENSIONS);
2226 return -1 < ext.indexOf("_packed_depth_stencil");
2227 } else {
2228 return true;
2229 }
2230 }
2231
2232
2233 protected boolean hasAnisoSamplingSupport() {

Callers 2

createFBOLayerMethod · 0.95
getGLParametersMethod · 0.80

Calls 2

getGLVersionMethod · 0.95
getStringMethod · 0.95

Tested by

no test coverage detected