Home
last modified time | relevance | path

Searched refs:ShortBuffer (Results 1 – 25 of 45) sorted by relevance

12

/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/nio/
DShortBuffer.java31 public abstract class ShortBuffer extends Buffer implements Comparable<ShortBuffer> { class
39 public static ShortBuffer allocate (int capacity) { in allocate()
54 public static ShortBuffer wrap (short[] array) { in wrap()
69 public static ShortBuffer wrap (short[] array, int start, int len) { in wrap()
77 ShortBuffer buf = BufferFactory.newShortBuffer(array); in wrap()
87 ShortBuffer (int capacity) { in ShortBuffer() method in ShortBuffer
126 public abstract ShortBuffer asReadOnlyBuffer (); in asReadOnlyBuffer()
137 public abstract ShortBuffer compact (); in compact()
146 public int compareTo (ShortBuffer otherBuffer) { in compareTo()
176 public abstract ShortBuffer duplicate (); in duplicate()
[all …]
DReadOnlyShortArrayBuffer.java42 public ShortBuffer asReadOnlyBuffer () { in asReadOnlyBuffer()
46 public ShortBuffer compact () { in compact()
50 public ShortBuffer duplicate () { in duplicate()
70 public ShortBuffer put (ShortBuffer buf) { in put()
74 public ShortBuffer put (short c) { in put()
78 public ShortBuffer put (int index, short c) { in put()
82 public final ShortBuffer put (short[] src, int off, int len) { in put()
86 public ShortBuffer slice () { in slice()
DDirectReadOnlyShortBufferAdapter.java33 final class DirectReadOnlyShortBufferAdapter extends ShortBuffer implements HasArrayBufferView {
35 static ShortBuffer wrap (DirectByteBuffer byteBuffer) { in wrap()
50 public ShortBuffer asReadOnlyBuffer () { in asReadOnlyBuffer()
59 public ShortBuffer compact () { in compact()
64 public ShortBuffer duplicate () { in duplicate()
119 public ShortBuffer put (short c) { in put()
124 public ShortBuffer put (int index, short c) { in put()
129 public ShortBuffer slice () { in slice()
132 ShortBuffer result = new DirectReadOnlyShortBufferAdapter((DirectByteBuffer)byteBuffer.slice()); in slice()
DShortToByteBufferAdapter.java32 final class ShortToByteBufferAdapter extends ShortBuffer implements ByteBufferWrapper {
35 static ShortBuffer wrap (ByteBuffer byteBuffer) { in wrap()
96 public ShortBuffer asReadOnlyBuffer () { in asReadOnlyBuffer()
105 public ShortBuffer compact () { in compact()
120 public ShortBuffer duplicate () { in duplicate()
175 public ShortBuffer put (short c) { in put()
184 public ShortBuffer put (int index, short c) { in put()
193 public ShortBuffer slice () { in slice()
196 ShortBuffer result = new ShortToByteBufferAdapter(byteBuffer.slice()); in slice()
DDirectReadWriteShortBufferAdapter.java33 final class DirectReadWriteShortBufferAdapter extends ShortBuffer implements HasArrayBufferView {
36 static ShortBuffer wrap (DirectReadWriteByteBuffer byteBuffer) { in wrap()
52 public ShortBuffer asReadOnlyBuffer () { in asReadOnlyBuffer()
61 public ShortBuffer compact () { in compact()
73 public ShortBuffer duplicate () { in duplicate()
129 public ShortBuffer put (short c) { in put()
138 public ShortBuffer put (int index, short c) { in put()
147 public ShortBuffer slice () { in slice()
150ShortBuffer result = new DirectReadWriteShortBufferAdapter((DirectReadWriteByteBuffer)byteBuffer.s… in slice()
DReadWriteShortArrayBuffer.java50 public ShortBuffer asReadOnlyBuffer () { in asReadOnlyBuffer()
54 public ShortBuffer compact () { in compact()
62 public ShortBuffer duplicate () { in duplicate()
82 public ShortBuffer put (short c) { in put()
90 public ShortBuffer put (int index, short c) { in put()
98 public ShortBuffer put (short[] src, int off, int len) { in put()
111 public ShortBuffer slice () { in slice()
DShortArrayBuffer.java28 abstract class ShortArrayBuffer extends ShortBuffer {
62 public final ShortBuffer get (short[] dest, int off, int len) { in get()
DBufferFactory.java143 public static ShortBuffer newShortBuffer (int capacity) { in newShortBuffer()
151 public static ShortBuffer newShortBuffer (short array[]) { in newShortBuffer()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/
DIndexArray.java20 import java.nio.ShortBuffer;
25 final ShortBuffer buffer;
77 public void setIndices (ShortBuffer indices) { in setIndices()
102 public ShortBuffer getBuffer () { in getBuffer()
DIndexData.java19 import java.nio.ShortBuffer;
51 public void setIndices (ShortBuffer indices); in setIndices()
66 public ShortBuffer getBuffer (); in getBuffer()
DIndexBufferObject.java20 import java.nio.ShortBuffer;
48 final ShortBuffer buffer;
123 public void setIndices (ShortBuffer indices) { in setIndices()
160 public ShortBuffer getBuffer () { in getBuffer()
DIndexBufferObjectSubData.java20 import java.nio.ShortBuffer;
48 final ShortBuffer buffer;
129 public void setIndices (ShortBuffer indices) { in setIndices()
167 public ShortBuffer getBuffer () { in getBuffer()
/external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/
DbtIndexedMesh.java20 import java.nio.ShortBuffer;
95 final ShortBuffer indices, int indexOffset, int indexCount) { in obtain()
141 final ShortBuffer indices, int indexOffset, int indexCount) { in btIndexedMesh()
194 final ShortBuffer indices, int indexOffset, int indexCount) { in set()
202 final ShortBuffer indices, int indexOffset, int indexCount) { in set()
282 public void setTriangleIndexBase(java.nio.ShortBuffer data) { in setTriangleIndexBase()
303 public void setIndices(java.nio.ShortBuffer indices, int indexOffset, int indexCount) { in setIndices()
DbtHeightfieldTerrainShape.java86 …ieldTerrainShape(int heightStickWidth, int heightStickLength, java.nio.ShortBuffer heightfieldData… in SwigConstructbtHeightfieldTerrainShape()
91 …ieldTerrainShape(int heightStickWidth, int heightStickLength, java.nio.ShortBuffer heightfieldData… in btHeightfieldTerrainShape()
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/graphics/glutils/
DIndexBufferObject.java19 import java.nio.ShortBuffer;
47 ShortBuffer buffer;
111 public void setIndices (ShortBuffer indices) { in setIndices()
143 public ShortBuffer getBuffer () { in getBuffer()
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/utils/
DBufferUtils.java27 import java.nio.ShortBuffer;
89 ShortBuffer buffer = null; in copy()
92 else if (dst instanceof ShortBuffer) buffer = (ShortBuffer)dst; in copy()
322 else if ((srcIsByte || src instanceof ShortBuffer) && (dstIsByte || dst instanceof ShortBuffer)) in copy()
323 …ByteBuffer)dst).asShortBuffer() : (ShortBuffer)dst).put((srcIsByte ? ((ByteBuffer)src).asShortBuff… in copy()
499 public static ShortBuffer newShortBuffer (int numShorts) { in newShortBuffer()
505 return ShortBuffer.wrap(new short[numShorts]); in newShortBuffer()
/external/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/
DLwjgl3GL20.java25 import java.nio.ShortBuffer;
123 else if (data instanceof ShortBuffer) // in glBufferData()
124 GL15.glBufferData(target, (ShortBuffer)data, usage); in glBufferData()
138 else if (data instanceof ShortBuffer) // in glBufferSubData()
139 GL15.glBufferSubData(target, offset, (ShortBuffer)data); in glBufferSubData()
276 if (indices instanceof ShortBuffer && type == com.badlogic.gdx.graphics.GL20.GL_UNSIGNED_SHORT) in glDrawElements()
277 GL11.glDrawElements(mode, (ShortBuffer)indices); in glDrawElements()
530 else if (pixels instanceof ShortBuffer) in glReadPixels()
531 GL11.glReadPixels(x, y, width, height, format, type, (ShortBuffer)pixels); in glReadPixels()
595 else if (pixels instanceof ShortBuffer) in glTexImage2D()
[all …]
DLwjgl3GL30.java25 import java.nio.ShortBuffer;
51 …else if(indices instanceof ShortBuffer) GL12.glDrawRangeElements(mode, start, end, (ShortBuffer)in… in glDrawRangeElements()
68 else if (pixels instanceof ShortBuffer) in glTexImage3D()
69 …3D(target, level, internalformat, width, height, depth, border, format, type, (ShortBuffer)pixels); in glTexImage3D()
92 else if (pixels instanceof ShortBuffer) in glTexSubImage3D()
93 …target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, (ShortBuffer)pixels); in glTexSubImage3D()
/external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/
DLwjglGL20.java25 import java.nio.ShortBuffer;
127 else if (data instanceof ShortBuffer) // in glBufferData()
128 GL15.glBufferData(target, (ShortBuffer)data, usage); in glBufferData()
142 else if (data instanceof ShortBuffer) // in glBufferSubData()
143 GL15.glBufferSubData(target, offset, (ShortBuffer)data); in glBufferSubData()
280 if (indices instanceof ShortBuffer && type == com.badlogic.gdx.graphics.GL20.GL_UNSIGNED_SHORT) in glDrawElements()
281 GL11.glDrawElements(mode, (ShortBuffer)indices); in glDrawElements()
536 else if (pixels instanceof ShortBuffer) in glReadPixels()
537 GL11.glReadPixels(x, y, width, height, format, type, (ShortBuffer)pixels); in glReadPixels()
601 else if (pixels instanceof ShortBuffer) in glTexImage2D()
[all …]
DLwjglGL30.java25 import java.nio.ShortBuffer;
51 …else if(indices instanceof ShortBuffer) GL12.glDrawRangeElements(mode, start, end, (ShortBuffer)in… in glDrawRangeElements()
68 else if (pixels instanceof ShortBuffer) in glTexImage3D()
69 …3D(target, level, internalformat, width, height, depth, border, format, type, (ShortBuffer)pixels); in glTexImage3D()
92 else if (pixels instanceof ShortBuffer) in glTexSubImage3D()
93 …target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, (ShortBuffer)pixels); in glTexSubImage3D()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/
DDebug.java23 import java.nio.ShortBuffer;
48 public final static void print8x8(ShortBuffer output) { in print8x8()
/external/libgdx/extensions/gdx-bullet/jni/swig/collision/
DbtTriangleIndexVertexArray.i39 import java.nio.ShortBuffer;
73 final ShortBuffer indices, int indexOffset, int indexCount) { in obtain()
119 final ShortBuffer indices, int indexOffset, int indexCount) { in btIndexedMesh()
172 final ShortBuffer indices, int indexOffset, int indexCount) { in set()
180 final ShortBuffer indices, int indexOffset, int indexCount) { in set()
/external/libgdx/gdx/src/com/badlogic/gdx/utils/
DBufferUtils.java27 import java.nio.ShortBuffer;
400 else if (dst instanceof ShortBuffer) in positionInBytes()
419 else if (dst instanceof ShortBuffer) in bytesToElements()
438 else if (dst instanceof ShortBuffer) in elementsToBytes()
472 public static ShortBuffer newShortBuffer (int numShorts) { in newShortBuffer()
/external/libgdx/extensions/gdx-jnigen/src/com/badlogic/gdx/jnigen/parsing/
DJavaMethodParser.java65 …"jdouble"), Buffer("jobject"), ByteBuffer("jobject"), CharBuffer("jobject"), ShortBuffer("jobject"… enumConstant
101 if (this == ShortBuffer) return "short*"; in getBufferCType()
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJCustomFilter.java72 void customFilter(ShortBuffer coeffBuffer, Rectangle bufferRegion, in customFilter()

12