public static void nglGetPerfCounterInfoINTEL(
     int queryId,
     int counterId,
     int counterNameLength,
     long counterName,
     int counterDescLength,
     long counterDesc,
     long counterOffset,
     long counterDataSize,
     long counterTypeEnum,
     long counterDataTypeEnum,
     long rawCounterMaxValue) {
   long __functionAddress = GLES.getCapabilities().glGetPerfCounterInfoINTEL;
   if (CHECKS) checkFunctionAddress(__functionAddress);
   callPPPPPPPV(
       __functionAddress,
       queryId,
       counterId,
       counterNameLength,
       counterName,
       counterDescLength,
       counterDesc,
       counterOffset,
       counterDataSize,
       counterTypeEnum,
       counterDataTypeEnum,
       rawCounterMaxValue);
 }
 /** Array version of: {@link #glGetPerfQueryInfoINTEL GetPerfQueryInfoINTEL} */
 public static void glGetPerfQueryInfoINTEL(
     int queryId,
     ByteBuffer queryName,
     int[] dataSize,
     int[] noCounters,
     int[] noInstances,
     int[] capsMask) {
   long __functionAddress = GLES.getCapabilities().glGetPerfQueryInfoINTEL;
   if (CHECKS) {
     checkFunctionAddress(__functionAddress);
     checkBuffer(dataSize, 1);
     checkBuffer(noCounters, 1);
     checkBuffer(noInstances, 1);
     checkBuffer(capsMask, 1);
   }
   callPPPPPV(
       __functionAddress,
       queryId,
       queryName.remaining(),
       memAddress(queryName),
       dataSize,
       noCounters,
       noInstances,
       capsMask);
 }
 /** Array version of: {@link #glGetPerfCounterInfoINTEL GetPerfCounterInfoINTEL} */
 public static void glGetPerfCounterInfoINTEL(
     int queryId,
     int counterId,
     ByteBuffer counterName,
     ByteBuffer counterDesc,
     int[] counterOffset,
     int[] counterDataSize,
     int[] counterTypeEnum,
     int[] counterDataTypeEnum,
     long[] rawCounterMaxValue) {
   long __functionAddress = GLES.getCapabilities().glGetPerfCounterInfoINTEL;
   if (CHECKS) {
     checkFunctionAddress(__functionAddress);
     checkBuffer(counterOffset, 1);
     checkBuffer(counterDataSize, 1);
     checkBuffer(counterTypeEnum, 1);
     checkBuffer(counterDataTypeEnum, 1);
     checkBuffer(rawCounterMaxValue, 1);
   }
   callPPPPPPPV(
       __functionAddress,
       queryId,
       counterId,
       counterName.remaining(),
       memAddress(counterName),
       counterDesc.remaining(),
       memAddress(counterDesc),
       counterOffset,
       counterDataSize,
       counterTypeEnum,
       counterDataTypeEnum,
       rawCounterMaxValue);
 }
 /** Array version of: {@link #glGetNextPerfQueryIdINTEL GetNextPerfQueryIdINTEL} */
 public static void glGetNextPerfQueryIdINTEL(int queryId, int[] nextQueryId) {
   long __functionAddress = GLES.getCapabilities().glGetNextPerfQueryIdINTEL;
   if (CHECKS) {
     checkFunctionAddress(__functionAddress);
     checkBuffer(nextQueryId, 1);
   }
   callPV(__functionAddress, queryId, nextQueryId);
 }
 /** Array version of: {@link #glCreatePerfQueryINTEL CreatePerfQueryINTEL} */
 public static void glCreatePerfQueryINTEL(int queryId, int[] queryHandle) {
   long __functionAddress = GLES.getCapabilities().glCreatePerfQueryINTEL;
   if (CHECKS) {
     checkFunctionAddress(__functionAddress);
     checkBuffer(queryHandle, 1);
   }
   callPV(__functionAddress, queryId, queryHandle);
 }
  static INTELFramebufferCMAA create(java.util.Set<String> ext, FunctionProvider provider) {
    if (!ext.contains("GL_INTEL_framebuffer_CMAA")) return null;

    INTELFramebufferCMAA funcs = new INTELFramebufferCMAA(provider);
    boolean supported = checkFunctions(funcs.ApplyFramebufferAttachmentCMAAINTEL);

    return GLES.checkExtension("GL_INTEL_framebuffer_CMAA", funcs, supported);
  }
 /** Array version of: {@link #glGetPerfQueryIdByNameINTEL GetPerfQueryIdByNameINTEL} */
 public static void glGetPerfQueryIdByNameINTEL(ByteBuffer queryName, int[] queryId) {
   long __functionAddress = GLES.getCapabilities().glGetPerfQueryIdByNameINTEL;
   if (CHECKS) {
     checkFunctionAddress(__functionAddress);
     checkNT1(queryName);
     checkBuffer(queryId, 1);
   }
   callPPV(__functionAddress, memAddress(queryName), queryId);
 }
 /** Array version of: {@link #glGetPerfQueryDataINTEL GetPerfQueryDataINTEL} */
 public static void glGetPerfQueryDataINTEL(
     int queryHandle, int flags, ByteBuffer data, int[] bytesWritten) {
   long __functionAddress = GLES.getCapabilities().glGetPerfQueryDataINTEL;
   if (CHECKS) {
     checkFunctionAddress(__functionAddress);
     checkBuffer(bytesWritten, 1);
   }
   callPPV(
       __functionAddress, queryHandle, flags, data.remaining(), memAddress(data), bytesWritten);
 }
 /** Array version of: {@link #glGetPerfQueryIdByNameINTEL GetPerfQueryIdByNameINTEL} */
 public static void glGetPerfQueryIdByNameINTEL(CharSequence queryName, int[] queryId) {
   long __functionAddress = GLES.getCapabilities().glGetPerfQueryIdByNameINTEL;
   if (CHECKS) {
     checkFunctionAddress(__functionAddress);
     checkBuffer(queryId, 1);
   }
   MemoryStack stack = stackGet();
   int stackPointer = stack.getPointer();
   try {
     ByteBuffer queryNameEncoded = stack.ASCII(queryName);
     callPPV(__functionAddress, memAddress(queryNameEncoded), queryId);
   } finally {
     stack.setPointer(stackPointer);
   }
 }
 public static void nglGetPerfQueryInfoINTEL(
     int queryId,
     int queryNameLength,
     long queryName,
     long dataSize,
     long noCounters,
     long noInstances,
     long capsMask) {
   long __functionAddress = GLES.getCapabilities().glGetPerfQueryInfoINTEL;
   if (CHECKS) checkFunctionAddress(__functionAddress);
   callPPPPPV(
       __functionAddress,
       queryId,
       queryNameLength,
       queryName,
       dataSize,
       noCounters,
       noInstances,
       capsMask);
 }
 public static void nglGetPerfQueryIdByNameINTEL(long queryName, long queryId) {
   long __functionAddress = GLES.getCapabilities().glGetPerfQueryIdByNameINTEL;
   if (CHECKS) checkFunctionAddress(__functionAddress);
   callPPV(__functionAddress, queryName, queryId);
 }
 public static void nglGetPerfQueryDataINTEL(
     int queryHandle, int flags, int dataSize, long data, long bytesWritten) {
   long __functionAddress = GLES.getCapabilities().glGetPerfQueryDataINTEL;
   if (CHECKS) checkFunctionAddress(__functionAddress);
   callPPV(__functionAddress, queryHandle, flags, dataSize, data, bytesWritten);
 }
 public static void nglGetNextPerfQueryIdINTEL(int queryId, long nextQueryId) {
   long __functionAddress = GLES.getCapabilities().glGetNextPerfQueryIdINTEL;
   if (CHECKS) checkFunctionAddress(__functionAddress);
   callPV(__functionAddress, queryId, nextQueryId);
 }
 public static void glEndPerfQueryINTEL(int queryHandle) {
   long __functionAddress = GLES.getCapabilities().glEndPerfQueryINTEL;
   if (CHECKS) checkFunctionAddress(__functionAddress);
   callV(__functionAddress, queryHandle);
 }
 /** Returns the {@link INTELFramebufferCMAA} instance of the current context. */
 public static INTELFramebufferCMAA getInstance() {
   return getInstance(GLES.getCapabilities());
 }