Thrown by the debug build library of the LWJGL if any OpenGL operation causes an error.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static int | |
| pack-priv static int | |
| private static int | |
| pack-priv static int | Returns: the size, in elements, of the imageThe format of the image (example: GL_RGBA) format, int The type of the image elements (example: GL_UNSIGNED_BYTE) type, int The width of the image width, int The height of the image (1 for 1D images) height, int The depth of the image (1 for 2D images) depth)Calculate the storage required for an image in elements |
| private static int | Returns: the size, in bytes, of the imageThe format of the image (example: GL_RGBA) format, int The type of the image elements (example: GL_UNSIGNED_BYTE) type, int The width of the image width, int The height of the image (1 for 1D images) height, int The depth of the image (1 for 2D images) depth)Calculate the storage required for an image in bytes. |
| pack-priv static int | |
| pack-priv static int | |
| private static int | |
| pack-priv static int | |
| pack-priv static int | |
| private static int | |
| pack-priv static int | |
| private static int | |
| pack-priv static int | |
| private static int | |
| pack-priv static int | |
| pack-priv static void | ensureArrayVBOdisabled(ContextCapabilities caps)
Helper method to ensure that array buffer objects are disabled. |
| pack-priv static void | ensureArrayVBOenabled(ContextCapabilities caps)
Helper method to ensure that array buffer objects are enabled. |
| pack-priv static void | ensureElementVBOdisabled(ContextCapabilities caps)
Helper method to ensure that element array buffer objects are disabled. |
| pack-priv static void | ensureElementVBOenabled(ContextCapabilities caps)
Helper method to ensure that element array buffer objects are enabled. |
| pack-priv static void | ensureIndirectBOdisabled(ContextCapabilities caps)
Helper method to ensure that array buffer objects are disabled. |
| pack-priv static void | ensureIndirectBOenabled(ContextCapabilities caps)
Helper method to ensure that array buffer objects are enabled. |
| pack-priv static void | ensurePackPBOdisabled(ContextCapabilities caps)
Helper method to ensure that pixel pack buffer objects are disabled. |
| pack-priv static void | ensurePackPBOenabled(ContextCapabilities caps)
Helper method to ensure that pixel pack buffer objects are enabled. |
| pack-priv static void | ensureUnpackPBOdisabled(ContextCapabilities caps)
Helper method to ensure that pixel unpack buffer objects are disabled. |
| pack-priv static void | ensureUnpackPBOenabled(ContextCapabilities caps)
Helper method to ensure that pixel unpack buffer objects are enabled. |
| GLChecks | back to summary |
|---|---|
| private GLChecks() Static methods only! | |
| calculateBytesPerCharCode | back to summary |
|---|---|
| pack-priv static int calculateBytesPerCharCode(int type) | |
| calculateBytesPerPathName | back to summary |
|---|---|
| pack-priv static int calculateBytesPerPathName(int pathNameType) | |
| calculateBytesPerPixel | back to summary |
|---|---|
| private static int calculateBytesPerPixel(int format, int type) | |
| calculateImageStorage | back to summary |
|---|---|
| pack-priv static int calculateImageStorage(Buffer buffer, int format, int type, int width, int height, int depth) Calculate the storage required for an image in elements
| |
| calculateImageStorage | back to summary |
|---|---|
| private static int calculateImageStorage(int format, int type, int width, int height, int depth) Calculate the storage required for an image in bytes.
| |
| calculateMetricsSize | back to summary |
|---|---|
| pack-priv static int calculateMetricsSize(int metricQueryMask, int stride) | |
| calculatePathColorGenCoeffsCount | back to summary |
|---|---|
| pack-priv static int calculatePathColorGenCoeffsCount(int genMode, int colorFormat) | |
| calculatePathGenCoeffsPerComponent | back to summary |
|---|---|
| private static int calculatePathGenCoeffsPerComponent(int genMode) | |
| calculatePathTextGenCoeffsPerComponent | back to summary |
|---|---|
| pack-priv static int calculatePathTextGenCoeffsPerComponent(FloatBuffer coeffs, int genMode) | |
| calculateTexImage1DStorage | back to summary |
|---|---|
| pack-priv static int calculateTexImage1DStorage(Buffer buffer, int format, int type, int width) | |
| calculateTexImage1DStorage | back to summary |
|---|---|
| private static int calculateTexImage1DStorage(int format, int type, int width) | |
| calculateTexImage2DStorage | back to summary |
|---|---|
| pack-priv static int calculateTexImage2DStorage(Buffer buffer, int format, int type, int width, int height) | |
| calculateTexImage2DStorage | back to summary |
|---|---|
| private static int calculateTexImage2DStorage(int format, int type, int width, int height) | |
| calculateTexImage3DStorage | back to summary |
|---|---|
| pack-priv static int calculateTexImage3DStorage(Buffer buffer, int format, int type, int width, int height, int depth) | |
| calculateTexImage3DStorage | back to summary |
|---|---|
| private static int calculateTexImage3DStorage(int format, int type, int width, int height, int depth) | |
| calculateTransformPathValues | back to summary |
|---|---|
| pack-priv static int calculateTransformPathValues(int transformType) | |
| ensureArrayVBOdisabled | back to summary |
|---|---|
| pack-priv static void ensureArrayVBOdisabled(ContextCapabilities caps) Helper method to ensure that array buffer objects are disabled. If they are enabled, we'll throw an OpenGLException | |
| ensureArrayVBOenabled | back to summary |
|---|---|
| pack-priv static void ensureArrayVBOenabled(ContextCapabilities caps) Helper method to ensure that array buffer objects are enabled. If they are disabled, we'll throw an OpenGLException | |
| ensureElementVBOdisabled | back to summary |
|---|---|
| pack-priv static void ensureElementVBOdisabled(ContextCapabilities caps) Helper method to ensure that element array buffer objects are disabled. If they are enabled, we'll throw an OpenGLException | |
| ensureElementVBOenabled | back to summary |
|---|---|
| pack-priv static void ensureElementVBOenabled(ContextCapabilities caps) Helper method to ensure that element array buffer objects are enabled. If they are disabled, we'll throw an OpenGLException | |
| ensureIndirectBOdisabled | back to summary |
|---|---|
| pack-priv static void ensureIndirectBOdisabled(ContextCapabilities caps) Helper method to ensure that array buffer objects are disabled. If they are enabled, we'll throw an OpenGLException | |
| ensureIndirectBOenabled | back to summary |
|---|---|
| pack-priv static void ensureIndirectBOenabled(ContextCapabilities caps) Helper method to ensure that array buffer objects are enabled. If they are disabled, we'll throw an OpenGLException | |
| ensurePackPBOdisabled | back to summary |
|---|---|
| pack-priv static void ensurePackPBOdisabled(ContextCapabilities caps) Helper method to ensure that pixel pack buffer objects are disabled. If they are enabled, we'll throw an OpenGLException | |
| ensurePackPBOenabled | back to summary |
|---|---|
| pack-priv static void ensurePackPBOenabled(ContextCapabilities caps) Helper method to ensure that pixel pack buffer objects are enabled. If they are disabled, we'll throw an OpenGLException | |
| ensureUnpackPBOdisabled | back to summary |
|---|---|
| pack-priv static void ensureUnpackPBOdisabled(ContextCapabilities caps) Helper method to ensure that pixel unpack buffer objects are disabled. If they are enabled, we'll throw an OpenGLException | |
| ensureUnpackPBOenabled | back to summary |
|---|---|
| pack-priv static void ensureUnpackPBOenabled(ContextCapabilities caps) Helper method to ensure that pixel unpack buffer objects are enabled. If they are disabled, we'll throw an OpenGLException | |