Home
last modified time | relevance | path

Searched refs:FloatBuffer (Results 1 – 25 of 84) sorted by relevance

1234

/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/nio/
DFloatBuffer.java31 public abstract class FloatBuffer extends Buffer implements Comparable<FloatBuffer> { class
39 public static FloatBuffer allocate (int capacity) { in allocate()
54 public static FloatBuffer wrap (float[] array) { in wrap()
70 public static FloatBuffer wrap (float[] array, int start, int len) { in wrap()
78 FloatBuffer buf = BufferFactory.newFloatBuffer(array); in wrap()
88 FloatBuffer (int capacity) { in FloatBuffer() method in FloatBuffer
127 public abstract FloatBuffer asReadOnlyBuffer (); in asReadOnlyBuffer()
138 public abstract FloatBuffer compact (); in compact()
147 public int compareTo (FloatBuffer otherBuffer) { in compareTo()
180 public abstract FloatBuffer duplicate (); in duplicate()
[all …]
DReadOnlyFloatArrayBuffer.java42 public FloatBuffer asReadOnlyBuffer () { in asReadOnlyBuffer()
46 public FloatBuffer compact () { in compact()
50 public FloatBuffer duplicate () { in duplicate()
70 public FloatBuffer put (float c) { in put()
74 public FloatBuffer put (int index, float c) { in put()
78 public FloatBuffer put (FloatBuffer buf) { in put()
82 public final FloatBuffer put (float[] src, int off, int len) { in put()
86 public FloatBuffer slice () { in slice()
DFloatToByteBufferAdapter.java32 final class FloatToByteBufferAdapter extends FloatBuffer {
35 static FloatBuffer wrap (ByteBuffer byteBuffer) { in wrap()
96 public FloatBuffer asReadOnlyBuffer () { in asReadOnlyBuffer()
105 public FloatBuffer compact () { in compact()
120 public FloatBuffer duplicate () { in duplicate()
175 public FloatBuffer put (float c) { in put()
184 public FloatBuffer put (int index, float c) { in put()
193 public FloatBuffer slice () { in slice()
196 FloatBuffer result = new FloatToByteBufferAdapter(byteBuffer.slice()); in slice()
DDirectReadOnlyFloatBufferAdapter.java33 final class DirectReadOnlyFloatBufferAdapter extends FloatBuffer implements HasArrayBufferView {
36 static FloatBuffer wrap (DirectByteBuffer byteBuffer) { in wrap()
51 public FloatBuffer asReadOnlyBuffer () { in asReadOnlyBuffer()
60 public FloatBuffer compact () { in compact()
65 public FloatBuffer duplicate () { in duplicate()
120 public FloatBuffer put (float c) { in put()
125 public FloatBuffer put (int index, float c) { in put()
130 public FloatBuffer slice () { in slice()
133 FloatBuffer result = new DirectReadOnlyFloatBufferAdapter((DirectByteBuffer)byteBuffer.slice()); in slice()
DDirectReadWriteFloatBufferAdapter.java33 final class DirectReadWriteFloatBufferAdapter extends FloatBuffer implements HasArrayBufferView {
36 static FloatBuffer wrap (DirectReadWriteByteBuffer byteBuffer) { in wrap()
52 public FloatBuffer asReadOnlyBuffer () { in asReadOnlyBuffer()
61 public FloatBuffer compact () { in compact()
73 public FloatBuffer duplicate () { in duplicate()
129 public FloatBuffer put (float c) { in put()
138 public FloatBuffer put (int index, float c) { in put()
147 public FloatBuffer slice () { in slice()
150FloatBuffer result = new DirectReadWriteFloatBufferAdapter((DirectReadWriteByteBuffer)byteBuffer.s… in slice()
DReadWriteFloatArrayBuffer.java50 public FloatBuffer asReadOnlyBuffer () { in asReadOnlyBuffer()
54 public FloatBuffer compact () { in compact()
65 public FloatBuffer duplicate () { in duplicate()
85 public FloatBuffer put (float c) { in put()
93 public FloatBuffer put (int index, float c) { in put()
101 public FloatBuffer put (float[] src, int off, int len) { in put()
114 public FloatBuffer slice () { in slice()
/external/libgdx/backends/gdx-backend-moe/src/com/badlogic/gdx/backends/iosrobovm/
DIOSGLES20.java22 import java.nio.FloatBuffer;
176 public native void glGetFloatv ( int pname, FloatBuffer params ); in glGetFloatv()
198 public native void glGetTexParameterfv ( int target, int pname, FloatBuffer params ); in glGetTexParameterfv()
202 public native void glGetUniformfv ( int program, int location, FloatBuffer params ); in glGetUniformfv()
208 public native void glGetVertexAttribfv ( int index, int pname, FloatBuffer params ); in glGetVertexAttribfv()
268 public native void glTexParameterfv ( int target, int pname, FloatBuffer params ); in glTexParameterfv()
278 public native void glUniform1fv ( int location, int count, FloatBuffer v ); in glUniform1fv()
290 public native void glUniform2fv ( int location, int count, FloatBuffer v ); in glUniform2fv()
302 public native void glUniform3fv ( int location, int count, FloatBuffer v ); in glUniform3fv()
314 public native void glUniform4fv ( int location, int count, FloatBuffer v ); in glUniform4fv()
[all …]
DIOSGLES30.java22 import java.nio.FloatBuffer;
74 …public native void glUniformMatrix2x3fv(int location, int count, boolean transpose, FloatBuffer va… in glUniformMatrix2x3fv()
76 …public native void glUniformMatrix3x2fv(int location, int count, boolean transpose, FloatBuffer va… in glUniformMatrix3x2fv()
78 …public native void glUniformMatrix2x4fv(int location, int count, boolean transpose, FloatBuffer va… in glUniformMatrix2x4fv()
80 …public native void glUniformMatrix4x2fv(int location, int count, boolean transpose, FloatBuffer va… in glUniformMatrix4x2fv()
82 …public native void glUniformMatrix3x4fv(int location, int count, boolean transpose, FloatBuffer va… in glUniformMatrix3x4fv()
84 …public native void glUniformMatrix4x3fv(int location, int count, boolean transpose, FloatBuffer va… in glUniformMatrix4x3fv()
140 public native void glClearBufferfv(int buffer, int drawbuffer, FloatBuffer value); in glClearBufferfv()
188 public native void glSamplerParameterfv(int sampler, int pname, FloatBuffer param); in glSamplerParameterfv()
192 public native void glGetSamplerParameterfv(int sampler, int pname, FloatBuffer params); in glGetSamplerParameterfv()
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/
DAndroidGL20.java20 import java.nio.FloatBuffer;
175 public native void glGetFloatv (int pname, FloatBuffer params); in glGetFloatv()
197 public native void glGetTexParameterfv (int target, int pname, FloatBuffer params); in glGetTexParameterfv()
201 public native void glGetUniformfv (int program, int location, FloatBuffer params); in glGetUniformfv()
207 public native void glGetVertexAttribfv (int index, int pname, FloatBuffer params); in glGetVertexAttribfv()
268 public native void glTexParameterfv (int target, int pname, FloatBuffer params); in glTexParameterfv()
279 public native void glUniform1fv (int location, int count, FloatBuffer v); in glUniform1fv()
291 public native void glUniform2fv (int location, int count, FloatBuffer v); in glUniform2fv()
303 public native void glUniform3fv (int location, int count, FloatBuffer v); in glUniform3fv()
315 public native void glUniform4fv (int location, int count, FloatBuffer v); in glUniform4fv()
[all …]
/external/libgdx/backends/gdx-backend-robovm/src/com/badlogic/gdx/backends/iosrobovm/
DIOSGLES20.java20 import java.nio.FloatBuffer;
176 public native void glGetFloatv ( int pname, FloatBuffer params ); in glGetFloatv()
198 public native void glGetTexParameterfv ( int target, int pname, FloatBuffer params ); in glGetTexParameterfv()
202 public native void glGetUniformfv ( int program, int location, FloatBuffer params ); in glGetUniformfv()
208 public native void glGetVertexAttribfv ( int index, int pname, FloatBuffer params ); in glGetVertexAttribfv()
268 public native void glTexParameterfv ( int target, int pname, FloatBuffer params ); in glTexParameterfv()
278 public native void glUniform1fv ( int location, int count, FloatBuffer v ); in glUniform1fv()
290 public native void glUniform2fv ( int location, int count, FloatBuffer v ); in glUniform2fv()
302 public native void glUniform3fv ( int location, int count, FloatBuffer v ); in glUniform3fv()
314 public native void glUniform4fv ( int location, int count, FloatBuffer v ); in glUniform4fv()
[all …]
DIOSGLES30.java6 import java.nio.FloatBuffer;
58 …public native void glUniformMatrix2x3fv(int location, int count, boolean transpose, FloatBuffer va… in glUniformMatrix2x3fv()
60 …public native void glUniformMatrix3x2fv(int location, int count, boolean transpose, FloatBuffer va… in glUniformMatrix3x2fv()
62 …public native void glUniformMatrix2x4fv(int location, int count, boolean transpose, FloatBuffer va… in glUniformMatrix2x4fv()
64 …public native void glUniformMatrix4x2fv(int location, int count, boolean transpose, FloatBuffer va… in glUniformMatrix4x2fv()
66 …public native void glUniformMatrix3x4fv(int location, int count, boolean transpose, FloatBuffer va… in glUniformMatrix3x4fv()
68 …public native void glUniformMatrix4x3fv(int location, int count, boolean transpose, FloatBuffer va… in glUniformMatrix4x3fv()
124 public native void glClearBufferfv(int buffer, int drawbuffer, FloatBuffer value); in glClearBufferfv()
172 public native void glSamplerParameterfv(int sampler, int pname, FloatBuffer param); in glSamplerParameterfv()
176 public native void glGetSamplerParameterfv(int sampler, int pname, FloatBuffer params); in glGetSamplerParameterfv()
/external/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/
DLwjgl3GL20.java23 import java.nio.FloatBuffer;
39 private FloatBuffer floatBuffer = null;
50 private FloatBuffer toFloatBuffer (float v[], int offset, int count) { in toFloatBuffer()
119 else if (data instanceof FloatBuffer) in glBufferData()
120 GL15.glBufferData(target, (FloatBuffer)data, usage); in glBufferData()
134 else if (data instanceof FloatBuffer) in glBufferSubData()
135 GL15.glBufferSubData(target, offset, (FloatBuffer)data); in glBufferSubData()
387 public void glGetFloatv (int pname, FloatBuffer params) { in glGetFloatv()
447 public void glGetTexParameterfv (int target, int pname, FloatBuffer params) { in glGetTexParameterfv()
459 public void glGetUniformfv (int program, int location, FloatBuffer params) { in glGetUniformfv()
[all …]
DLwjgl3GL30.java22 import java.nio.FloatBuffer;
72 else if (pixels instanceof FloatBuffer) in glTexImage3D()
73 …3D(target, level, internalformat, width, height, depth, border, format, type, (FloatBuffer)pixels); in glTexImage3D()
96 else if (pixels instanceof FloatBuffer) in glTexSubImage3D()
97 …target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, (FloatBuffer)pixels); in glTexSubImage3D()
188 public void glUniformMatrix2x3fv (int location, int count, boolean transpose, FloatBuffer value) { in glUniformMatrix2x3fv()
193 public void glUniformMatrix3x2fv (int location, int count, boolean transpose, FloatBuffer value) { in glUniformMatrix3x2fv()
198 public void glUniformMatrix2x4fv (int location, int count, boolean transpose, FloatBuffer value) { in glUniformMatrix2x4fv()
203 public void glUniformMatrix4x2fv (int location, int count, boolean transpose, FloatBuffer value) { in glUniformMatrix4x2fv()
208 public void glUniformMatrix3x4fv (int location, int count, boolean transpose, FloatBuffer value) { in glUniformMatrix3x4fv()
[all …]
/external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/
DLwjglGL20.java23 import java.nio.FloatBuffer;
43 private FloatBuffer floatBuffer = null;
54 private FloatBuffer toFloatBuffer (float v[], int offset, int count) { in toFloatBuffer()
123 else if (data instanceof FloatBuffer) in glBufferData()
124 GL15.glBufferData(target, (FloatBuffer)data, usage); in glBufferData()
138 else if (data instanceof FloatBuffer) in glBufferSubData()
139 GL15.glBufferSubData(target, offset, (FloatBuffer)data); in glBufferSubData()
393 public void glGetFloatv (int pname, FloatBuffer params) { in glGetFloatv()
453 public void glGetTexParameterfv (int target, int pname, FloatBuffer params) { in glGetTexParameterfv()
465 public void glGetUniformfv (int program, int location, FloatBuffer params) { in glGetUniformfv()
[all …]
DLwjglGL30.java22 import java.nio.FloatBuffer;
72 else if (pixels instanceof FloatBuffer) in glTexImage3D()
73 …3D(target, level, internalformat, width, height, depth, border, format, type, (FloatBuffer)pixels); in glTexImage3D()
96 else if (pixels instanceof FloatBuffer) in glTexSubImage3D()
97 …target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, (FloatBuffer)pixels); in glTexSubImage3D()
186 public void glUniformMatrix2x3fv (int location, int count, boolean transpose, FloatBuffer value) { in glUniformMatrix2x3fv()
191 public void glUniformMatrix3x2fv (int location, int count, boolean transpose, FloatBuffer value) { in glUniformMatrix3x2fv()
196 public void glUniformMatrix2x4fv (int location, int count, boolean transpose, FloatBuffer value) { in glUniformMatrix2x4fv()
201 public void glUniformMatrix4x2fv (int location, int count, boolean transpose, FloatBuffer value) { in glUniformMatrix4x2fv()
206 public void glUniformMatrix3x4fv (int location, int count, boolean transpose, FloatBuffer value) { in glUniformMatrix3x4fv()
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/
DGL20.java20 import java.nio.FloatBuffer;
514 public void glGetFloatv (int pname, FloatBuffer params); in glGetFloatv()
532 public void glGetTexParameterfv (int target, int pname, FloatBuffer params); in glGetTexParameterfv()
536 public void glGetUniformfv (int program, int location, FloatBuffer params); in glGetUniformfv()
542 public void glGetVertexAttribfv (int index, int pname, FloatBuffer params); in glGetVertexAttribfv()
581 public void glTexParameterfv (int target, int pname, FloatBuffer params); in glTexParameterfv()
589 public void glUniform1fv (int location, int count, FloatBuffer v); in glUniform1fv()
601 public void glUniform2fv (int location, int count, FloatBuffer v); in glUniform2fv()
613 public void glUniform3fv (int location, int count, FloatBuffer v); in glUniform3fv()
625 public void glUniform4fv (int location, int count, FloatBuffer v); in glUniform4fv()
[all …]
/external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/
DbtConvexHullShape.java61 …static private long SwigConstructbtConvexHullShape(java.nio.FloatBuffer points, int numPoints, int… in SwigConstructbtConvexHullShape()
66 public btConvexHullShape(java.nio.FloatBuffer points, int numPoints, int stride) { in btConvexHullShape()
70 static private long SwigConstructbtConvexHullShape(java.nio.FloatBuffer points, int numPoints) { in SwigConstructbtConvexHullShape()
75 public btConvexHullShape(java.nio.FloatBuffer points, int numPoints) { in btConvexHullShape()
79 static private long SwigConstructbtConvexHullShape(java.nio.FloatBuffer points) { in SwigConstructbtConvexHullShape()
84 public btConvexHullShape(java.nio.FloatBuffer points) { in btConvexHullShape()
DbtIndexedMesh.java19 import java.nio.FloatBuffer;
94 …final FloatBuffer vertices, int sizeInBytesOfEachVertex, int vertexCount, int positionOffsetInByte… in obtain()
140 …public btIndexedMesh(final FloatBuffer vertices, int sizeInBytesOfEachVertex, int vertexCount, int… in btIndexedMesh()
193 …public void set(final FloatBuffer vertices, int sizeInBytesOfEachVertex, int vertexCount, int posi… in set()
201 …final FloatBuffer vertices, int sizeInBytesOfEachVertex, int vertexCount, int positionOffsetInByte… in set()
289 public void setVertexBase(java.nio.FloatBuffer data) { in setVertexBase()
296 …public void setVertices(java.nio.FloatBuffer vertices, int sizeInBytesOfEachVertex, int vertexCoun… in setVertices()
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/utils/
DBufferUtils.java24 import java.nio.FloatBuffer;
48 FloatBuffer floatBuffer = asFloatBuffer(dst); in copy()
177 FloatBuffer buffer = asFloatBuffer(dst); in copy()
276 FloatBuffer buffer = asFloatBuffer(dst); in copy()
328 else if ((srcIsByte || src instanceof FloatBuffer) && (dstIsByte || dst instanceof FloatBuffer)) in copy()
329 …ByteBuffer)dst).asFloatBuffer() : (FloatBuffer)dst).put((srcIsByte ? ((ByteBuffer)src).asFloatBuff… in copy()
339 private final static FloatBuffer asFloatBuffer(final Buffer data) { in asFloatBuffer()
340 FloatBuffer buffer = null; in asFloatBuffer()
343 else if (data instanceof FloatBuffer) buffer = (FloatBuffer)data; in asFloatBuffer()
348 private final static float[] asFloatArray(final FloatBuffer buffer) { in asFloatArray()
[all …]
/external/libgdx/extensions/gdx-bullet/jni/swig-src/softbody/com/badlogic/gdx/physics/bullet/softbody/
DbtCPUVertexBufferDescriptor.java63 …static private long SwigConstructbtCPUVertexBufferDescriptor(java.nio.FloatBuffer basePointer, int… in SwigConstructbtCPUVertexBufferDescriptor()
68 …public btCPUVertexBufferDescriptor(java.nio.FloatBuffer basePointer, int vertexOffset, int vertexS… in btCPUVertexBufferDescriptor()
72 …static private long SwigConstructbtCPUVertexBufferDescriptor(java.nio.FloatBuffer basePointer, int… in SwigConstructbtCPUVertexBufferDescriptor()
77 …public btCPUVertexBufferDescriptor(java.nio.FloatBuffer basePointer, int vertexOffset, int vertexS… in btCPUVertexBufferDescriptor()
81 public java.nio.FloatBuffer getBasePointer() { in getBasePointer()
/external/libgdx/backends/gdx-backend-jglfw/src/com/badlogic/gdx/backends/jglfw/
DJglfwUtil.java21 import java.nio.FloatBuffer;
27 static private FloatBuffer bufferFloat = buffer.asFloatBuffer();
54 static FloatBuffer toBuffer (float[] src, int offset) { in toBuffer()
73 static void toArray (FloatBuffer src, float[] dst, int offset) { in toArray()
DJglfwGL20.java23 import java.nio.FloatBuffer;
31 private FloatBuffer floatBuffer = null;
42 private FloatBuffer toFloatBuffer (float v[], int offset, int count) { in toFloatBuffer()
244 public void glGetFloatv (int pname, FloatBuffer params) { in glGetFloatv()
248 public void glGetTexParameterfv (int target, int pname, FloatBuffer params) { in glGetTexParameterfv()
252 public void glTexParameterfv (int target, int pname, FloatBuffer params) { in glTexParameterfv()
492 public void glGetUniformfv (int program, int location, FloatBuffer params) { in glGetUniformfv()
504 public void glGetVertexAttribfv (int index, int pname, FloatBuffer params) { in glGetVertexAttribfv()
572 public void glUniform1fv (int location, int count, FloatBuffer v) { in glUniform1fv()
596 public void glUniform2fv (int location, int count, FloatBuffer v) { in glUniform2fv()
[all …]
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/
DGwtGL20Debug.java20 import java.nio.FloatBuffer;
584 public void glGetFloatv (int pname, FloatBuffer params) { in glGetFloatv()
642 public void glGetTexParameterfv (int target, int pname, FloatBuffer params) { in glGetTexParameterfv()
656 public void glGetUniformfv (int program, int location, FloatBuffer params) { in glGetUniformfv()
678 public void glGetVertexAttribfv (int index, int pname, FloatBuffer params) { in glGetVertexAttribfv()
818 public void glTexParameterfv (int target, int pname, FloatBuffer params) { in glTexParameterfv()
846 public void glUniform1fv (int location, int count, FloatBuffer v) { in glUniform1fv()
874 public void glUniform2fv (int location, int count, FloatBuffer v) { in glUniform2fv()
902 public void glUniform3fv (int location, int count, FloatBuffer v) { in glUniform3fv()
930 public void glUniform4fv (int location, int count, FloatBuffer v) { in glUniform4fv()
[all …]
DGwtGL20.java21 import java.nio.FloatBuffer;
78 private void ensureCapacity (FloatBuffer buffer) { in ensureCapacity()
96 public Float32Array copy (FloatBuffer buffer) { in copy()
461 if (pixels instanceof FloatBuffer) { in glTexImage2D()
488 if (pixels instanceof FloatBuffer) { in glTexSubImage2D()
557 if (data instanceof FloatBuffer) { in glBufferData()
558 gl.bufferData(target, copy((FloatBuffer)data), usage); in glBufferData()
568 if (data instanceof FloatBuffer) { in glBufferSubData()
569 gl.bufferSubData(target, offset, copy((FloatBuffer)data)); in glBufferSubData()
785 public void glGetFloatv (int pname, FloatBuffer params) { in glGetFloatv()
[all …]
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DGlUtil.java34 import java.nio.FloatBuffer;
50 public static FloatBuffer createFloatBuffer(float[] coords) { in createFloatBuffer()
54 FloatBuffer fb = bb.asFloatBuffer(); in createFloatBuffer()

1234