Ejemplo n.º 1
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.º 2
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.º 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
 /** Array version of: {@link #glVertexAttribI2uivEXT VertexAttribI2uivEXT} */
 public static void glVertexAttribI2uivEXT(int index, int[] v) {
   long __functionAddress = GL.getCapabilities().glVertexAttribI2uivEXT;
   if (CHECKS) {
     checkFunctionAddress(__functionAddress);
     checkBuffer(v, 2);
   }
   callPV(__functionAddress, index, v);
 }
Ejemplo n.º 7
0
 /** Array version of: {@link #glGetUniformuivEXT GetUniformuivEXT} */
 public static void glGetUniformuivEXT(int program, int location, int[] params) {
   long __functionAddress = GL.getCapabilities().glGetUniformuivEXT;
   if (CHECKS) {
     checkFunctionAddress(__functionAddress);
     checkBuffer(params, 1);
   }
   callPV(__functionAddress, program, location, params);
 }
Ejemplo n.º 8
0
 /** Array version of: {@link #glGetVertexAttribIuivEXT GetVertexAttribIuivEXT} */
 public static void glGetVertexAttribIuivEXT(int index, int pname, int[] params) {
   long __functionAddress = GL.getCapabilities().glGetVertexAttribIuivEXT;
   if (CHECKS) {
     checkFunctionAddress(__functionAddress);
     checkBuffer(params, 4);
   }
   callPV(__functionAddress, index, pname, params);
 }
Ejemplo n.º 9
0
 /** int[] version of: {@link #glVertexAttribIPointerEXT VertexAttribIPointerEXT} */
 public static void glVertexAttribIPointerEXT(
     int index, int size, int type, int stride, int[] pointer) {
   long __functionAddress = GL.getCapabilities().glVertexAttribIPointerEXT;
   if (CHECKS) {
     checkFunctionAddress(__functionAddress);
     GLChecks.ensureBufferObject(GL15.GL_ARRAY_BUFFER_BINDING, false);
   }
   callPV(__functionAddress, index, size, type, stride, pointer);
 }
Ejemplo n.º 10
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.º 11
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.º 12
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.º 13
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.º 14
0
 public static int nglGetFragDataLocationEXT(int program, long name) {
   long __functionAddress = GL.getCapabilities().glGetFragDataLocationEXT;
   if (CHECKS) checkFunctionAddress(__functionAddress);
   return callPI(__functionAddress, program, name);
 }
Ejemplo n.º 15
0
 public static void nglBindFragDataLocationEXT(int program, int color, long name) {
   long __functionAddress = GL.getCapabilities().glBindFragDataLocationEXT;
   if (CHECKS) checkFunctionAddress(__functionAddress);
   callPV(__functionAddress, program, color, name);
 }
Ejemplo n.º 16
0
 public static void nglGetUniformuivEXT(int program, int location, long params) {
   long __functionAddress = GL.getCapabilities().glGetUniformuivEXT;
   if (CHECKS) checkFunctionAddress(__functionAddress);
   callPV(__functionAddress, program, location, params);
 }
Ejemplo n.º 17
0
 /**
  * Unsigned version of {@link #glGetVertexAttribIivEXT GetVertexAttribIivEXT}.
  *
  * @param index the index of the pure integer generic vertex attribute to be modified
  * @param pname the symbolic name of the vertex attribute parameter to be queried
  * @param params returns the requested data
  */
 public static void nglGetVertexAttribIuivEXT(int index, int pname, long params) {
   long __functionAddress = GL.getCapabilities().glGetVertexAttribIuivEXT;
   if (CHECKS) checkFunctionAddress(__functionAddress);
   callPV(__functionAddress, index, pname, params);
 }
Ejemplo n.º 18
0
 /**
  * Specifies the location and organization of a pure integer vertex attribute array.
  *
  * @param index the index of the pure integer generic vertex attribute to be modified
  * @param size the number of values per vertex that are stored in the array. The initial value is
  *     4. One of:<br>
  *     <table><tr><td>1</td><td>2</td><td>3</td><td>4</td><td>{@link GL12#GL_BGRA BGRA}</td></tr>
  *     </table>
  *
  * @param type the data type of each component in the array. One of:<br>
  *     <table>
  *     <tr><td>{@link GL11#GL_BYTE BYTE}</td><td>{@link GL11#GL_UNSIGNED_BYTE UNSIGNED_BYTE}</td><td>{@link GL11#GL_SHORT SHORT}</td><td>{@link GL11#GL_UNSIGNED_SHORT UNSIGNED_SHORT}</td><td>{@link GL11#GL_INT INT}</td><td>{@link GL11#GL_UNSIGNED_INT UNSIGNED_INT}</td></tr>
  *     </table>
  *
  * @param stride the byte offset between consecutive generic vertex attributes. If stride is 0,
  *     the generic vertex attributes are understood to be tightly packed in the array. The initial
  *     value is 0.
  * @param pointer the vertex attribute data or the offset of the first component of the first
  *     generic vertex attribute in the array in the data store of the buffer currently bound to
  *     the {@link GL15#GL_ARRAY_BUFFER ARRAY_BUFFER} target. The initial value is 0.
  */
 public static void nglVertexAttribIPointerEXT(
     int index, int size, int type, int stride, long pointer) {
   long __functionAddress = GL.getCapabilities().glVertexAttribIPointerEXT;
   if (CHECKS) checkFunctionAddress(__functionAddress);
   callPV(__functionAddress, index, size, type, stride, pointer);
 }
Ejemplo n.º 19
0
 /**
  * Short version of {@link #glVertexAttribI4uivEXT VertexAttribI4uivEXT}.
  *
  * @param index the index of the pure integer generic vertex attribute to be modified
  * @param v the pure integer vertex attribute buffer
  */
 public static void nglVertexAttribI4usvEXT(int index, long v) {
   long __functionAddress = GL.getCapabilities().glVertexAttribI4usvEXT;
   if (CHECKS) checkFunctionAddress(__functionAddress);
   callPV(__functionAddress, index, v);
 }
Ejemplo n.º 20
0
 /** Array version of: {@link #glUniform4uivEXT Uniform4uivEXT} */
 public static void glUniform4uivEXT(int location, int[] value) {
   long __functionAddress = GL.getCapabilities().glUniform4uivEXT;
   if (CHECKS) checkFunctionAddress(__functionAddress);
   callPV(__functionAddress, location, value.length >> 2, value);
 }
Ejemplo n.º 21
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.º 22
0
 public static void nglGetNextPerfQueryIdINTEL(int queryId, long nextQueryId) {
   long __functionAddress = GLES.getCapabilities().glGetNextPerfQueryIdINTEL;
   if (CHECKS) checkFunctionAddress(__functionAddress);
   callPV(__functionAddress, queryId, nextQueryId);
 }
Ejemplo n.º 23
0
 public static void nglGetPerfQueryIdByNameINTEL(long queryName, long queryId) {
   long __functionAddress = GLES.getCapabilities().glGetPerfQueryIdByNameINTEL;
   if (CHECKS) checkFunctionAddress(__functionAddress);
   callPPV(__functionAddress, queryName, queryId);
 }
Ejemplo n.º 24
0
 public static void glUniform4uiEXT(int location, int v0, int v1, int v2, int v3) {
   long __functionAddress = GL.getCapabilities().glUniform4uiEXT;
   if (CHECKS) checkFunctionAddress(__functionAddress);
   callV(__functionAddress, location, v0, v1, v2, v3);
 }
Ejemplo n.º 25
0
 public static void nglUniform4uivEXT(int location, int count, long value) {
   long __functionAddress = GL.getCapabilities().glUniform4uivEXT;
   if (CHECKS) checkFunctionAddress(__functionAddress);
   callPV(__functionAddress, location, count, value);
 }
Ejemplo n.º 26
0
 /**
  * Specifies the value of an unsigned pure integer generic vertex attribute.
  *
  * @param index the index of the pure integer generic vertex attribute to be modified
  * @param x the vertex attribute x component
  * @param y the vertex attribute y component
  * @param z the vertex attribute z component
  * @param w the vertex attribute w component
  */
 public static void glVertexAttribI4uiEXT(int index, int x, int y, int z, int w) {
   long __functionAddress = GL.getCapabilities().glVertexAttribI4uiEXT;
   if (CHECKS) checkFunctionAddress(__functionAddress);
   callV(__functionAddress, index, x, y, z, w);
 }
 /** Array version of: {@link #glGetInternalformati64v GetInternalformati64v} */
 public static void glGetInternalformati64v(
     int target, int internalformat, int pname, long[] params) {
   long __functionAddress = GL.getCapabilities().glGetInternalformati64v;
   if (CHECKS) checkFunctionAddress(__functionAddress);
   callPV(__functionAddress, target, internalformat, pname, params.length, params);
 }
Ejemplo n.º 28
0
 public static void glEndPerfQueryINTEL(int queryHandle) {
   long __functionAddress = GLES.getCapabilities().glEndPerfQueryINTEL;
   if (CHECKS) checkFunctionAddress(__functionAddress);
   callV(__functionAddress, queryHandle);
 }