/** 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);
 }
 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 #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);
 }
예제 #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);
  }
 /** 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);
   }
 }
예제 #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);
 }
예제 #11
0
 public static void nglGetPerfQueryIdByNameINTEL(long queryName, long queryId) {
   long __functionAddress = GLES.getCapabilities().glGetPerfQueryIdByNameINTEL;
   if (CHECKS) checkFunctionAddress(__functionAddress);
   callPPV(__functionAddress, queryName, queryId);
 }
예제 #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);
 }
예제 #13
0
 public static void nglGetNextPerfQueryIdINTEL(int queryId, long nextQueryId) {
   long __functionAddress = GLES.getCapabilities().glGetNextPerfQueryIdINTEL;
   if (CHECKS) checkFunctionAddress(__functionAddress);
   callPV(__functionAddress, queryId, nextQueryId);
 }
예제 #14
0
 public static void glEndPerfQueryINTEL(int queryHandle) {
   long __functionAddress = GLES.getCapabilities().glEndPerfQueryINTEL;
   if (CHECKS) checkFunctionAddress(__functionAddress);
   callV(__functionAddress, queryHandle);
 }
예제 #15
0
 /** Returns the {@link INTELFramebufferCMAA} instance of the current context. */
 public static INTELFramebufferCMAA getInstance() {
   return getInstance(GLES.getCapabilities());
 }
예제 #16
0
 /**
  * The depth values of all fragments generated by the rasterization of a polygon may be offset by
  * a single value that is computed for that polygon. The function that determines this value is
  * specified with this command.
  *
  * <p>{@code factor} scales the maximum depth slope of the polygon, and {@code units} scales an
  * implementation-dependent constant that relates to the usable resolution of the depth buffer.
  * The resulting values are summed to produce the polygon offset value, which may then be clamped
  * to a minimum or maximum value specified by {@code clamp}. The values {@code factor}, {@code
  * units}, and {@code clamp} may each be positive, negative, or zero. Calling the command {@link
  * GLES20#glPolygonOffset PolygonOffset} is equivalent to calling the command
  * PolygonOffsetClampEXT with {@code clamp} equal to zero."
  *
  * @param factor scales the maximum depth slope of the polygon
  * @param units scales an implementation-dependent constant that relates to the usable resolution
  *     of the depth buffer
  * @param clamp the minimum or maximum clamp value
  */
 public static void glPolygonOffsetClampEXT(float factor, float units, float clamp) {
   long __functionAddress = GLES.getCapabilities().glPolygonOffsetClampEXT;
   if (CHECKS) checkFunctionAddress(__functionAddress);
   callV(__functionAddress, factor, units, clamp);
 }