public class Utils
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Utils.TempBuffer |
Modifier and Type | Field and Description |
---|---|
static java.nio.ByteBuffer |
b80 |
static java.nio.FloatBuffer |
b80f |
static java.nio.LongBuffer |
b80l |
static java.nio.IntBuffer |
errorBuffer |
static com.jogamp.common.nio.PointerBuffer[] |
pointers |
static Utils.TempBuffer[] |
tempBuffers |
Modifier and Type | Method and Description |
---|---|
static void |
checkError(java.nio.IntBuffer errorBuffer,
java.lang.String callName) |
static void |
checkError(int error,
java.lang.String callName) |
static java.lang.String |
getErrorName(int code) |
static int |
getMajorVersion(java.lang.String version,
java.lang.String prefix) |
static long |
getMappingAccessFlags(MappingAccess ma) |
static long |
getMemoryAccessFlags(MemoryAccess ma) |
static MemoryAccess |
getMemoryAccessFromFlag(long flag) |
static int |
getMinorVersion(java.lang.String version,
java.lang.String prefix) |
static void |
reportError(int error,
java.lang.String callName) |
public static final java.nio.ByteBuffer b80
public static final java.nio.LongBuffer b80l
public static final java.nio.FloatBuffer b80f
public static final Utils.TempBuffer[] tempBuffers
public static final com.jogamp.common.nio.PointerBuffer[] pointers
public static java.nio.IntBuffer errorBuffer
public static int getMajorVersion(java.lang.String version, java.lang.String prefix)
public static int getMinorVersion(java.lang.String version, java.lang.String prefix)
public static void checkError(java.nio.IntBuffer errorBuffer, java.lang.String callName)
public static void checkError(int error, java.lang.String callName)
public static void reportError(int error, java.lang.String callName)
public static java.lang.String getErrorName(int code)
public static long getMemoryAccessFlags(MemoryAccess ma)
public static MemoryAccess getMemoryAccessFromFlag(long flag)
public static long getMappingAccessFlags(MappingAccess ma)