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

Method hasAutoMipmapGenSupport

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

Source from the content-addressed store, hash-verified

2196
2197
2198 protected boolean hasAutoMipmapGenSupport() {
2199 int major = getGLVersion()[0];
2200 if (isES() && major >= 2) {
2201 return true;
2202 } else if (!isES() && major >= 3) {
2203 return true;
2204 } else {
2205 String ext = getString(EXTENSIONS);
2206 return -1 < ext.indexOf("_generate_mipmap");
2207 }
2208 }
2209
2210
2211 protected boolean hasFboMultisampleSupport() {

Callers 1

getGLParametersMethod · 0.80

Calls 3

getGLVersionMethod · 0.95
isESMethod · 0.95
getStringMethod · 0.95

Tested by

no test coverage detected