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

Method hasAnisoSamplingSupport

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

Source from the content-addressed store, hash-verified

2231
2232
2233 protected boolean hasAnisoSamplingSupport() {
2234 int major = getGLVersion()[0];
2235 if (isES() || major < 3) {
2236 String ext = getString(EXTENSIONS);
2237 return -1 < ext.indexOf("_texture_filter_anisotropic");
2238 } else {
2239 return true;
2240 }
2241 }
2242
2243
2244 protected boolean hasSynchronization() {

Callers 1

getGLParametersMethod · 0.80

Calls 3

getGLVersionMethod · 0.95
isESMethod · 0.95
getStringMethod · 0.95

Tested by

no test coverage detected