Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 /** 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);
 }
Ejemplo n.º 3
0
 /** 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);
 }
Ejemplo n.º 4
0
 /** 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);
 }
Ejemplo n.º 5
0
 /** 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);
 }
Ejemplo n.º 6
0
  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);
  }
Ejemplo n.º 7
0
 /** 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);
 }
Ejemplo n.º 8
0
 /** 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);
 }
Ejemplo n.º 9
0
 /** 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);
   }
 }
Ejemplo n.º 10
0
 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);
 }
Ejemplo n.º 11
0
 public static void nglGetPerfQueryIdByNameINTEL(long queryName, long queryId) {
   long __functionAddress = GLES.getCapabilities().glGetPerfQueryIdByNameINTEL;
   if (CHECKS) checkFunctionAddress(__functionAddress);
   callPPV(__functionAddress, queryName, queryId);
 }
Ejemplo n.º 12
0
 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);
 }
Ejemplo n.º 13
0
 public static void nglGetNextPerfQueryIdINTEL(int queryId, long nextQueryId) {
   long __functionAddress = GLES.getCapabilities().glGetNextPerfQueryIdINTEL;
   if (CHECKS) checkFunctionAddress(__functionAddress);
   callPV(__functionAddress, queryId, nextQueryId);
 }
Ejemplo n.º 14
0
 public static void glEndPerfQueryINTEL(int queryHandle) {
   long __functionAddress = GLES.getCapabilities().glEndPerfQueryINTEL;
   if (CHECKS) checkFunctionAddress(__functionAddress);
   callV(__functionAddress, queryHandle);
 }
Ejemplo n.º 15
0
 /** Returns the {@link INTELFramebufferCMAA} instance of the current context. */
 public static INTELFramebufferCMAA getInstance() {
   return getInstance(GLES.getCapabilities());
 }