32package com.jogamp.gluegen.runtime.opengl;
34import com.jogamp.common.os.DynamicLookupHelper;
35import com.jogamp.gluegen.runtime.FunctionAddressResolver;
42 public static final boolean DEBUG =
false;
45 public long resolve(
final String name,
final DynamicLookupHelper lookup)
throws SecurityException {
46 long newProcAddress = 0;
49 for (
int i = 0; 0 == newProcAddress && i < permutations; i++) {
52 newProcAddress = lookup.dynamicLookupFunction(funcName);
53 }
catch (
final Exception e) {
59 return newProcAddress;
Runtime utility identify and resolve extension names, which may be subsumed to core.
static final String getFuncNamePermutation(final String name, int i)
static final int getFuncNamePermutationNumber(final String name)
long resolve(final String name, final DynamicLookupHelper lookup)
static final boolean DEBUG