Home
last modified time | relevance | path

Searched refs:bufferID (Results 1 – 21 of 21) sorted by relevance

/external/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/audio/
DOpenALSound.java28 private int bufferID = -1; field in OpenALSound
46 if (bufferID == -1) { in setup()
47 bufferID = alGenBuffers(); in setup()
48 …alBufferData(bufferID, channels > 1 ? AL_FORMAT_STEREO16 : AL_FORMAT_MONO16, buffer.asShortBuffer(… in setup()
67 alSourcei(sourceID, AL_BUFFER, bufferID); in play()
84 alSourcei(sourceID, AL_BUFFER, bufferID); in loop()
93 audio.stopSourcesWithBuffer(bufferID); in stop()
98 if (bufferID == -1) return; in dispose()
99 audio.freeBuffer(bufferID); in dispose()
100 alDeleteBuffers(bufferID); in dispose()
[all …]
DOpenALMusic.java84 int bufferID = buffers.get(i); in play() local
85 if (!fill(bufferID)) break; in play()
87 alSourceQueueBuffers(sourceID, bufferID); in play()
171 int bufferID = buffers.get(i); in setPosition() local
172 if (!fill(bufferID)) break; in setPosition()
174 alSourceQueueBuffers(sourceID, bufferID); in setPosition()
220 int bufferID = alSourceUnqueueBuffers(sourceID); in update() local
221 if (bufferID == AL_INVALID_VALUE) break; in update()
224 if (fill(bufferID)) in update()
225 alSourceQueueBuffers(sourceID, bufferID); in update()
[all …]
DOpenALAudioDevice.java99 int bufferID = buffers.get(i); in writeSamples() local
103 alBufferData(bufferID, format, tempBuffer, sampleRate); in writeSamples()
104 alSourceQueueBuffers(sourceID, bufferID); in writeSamples()
112 int bufferID = buffers.get(i); in writeSamples() local
113 alBufferData(bufferID, format, tempBuffer, sampleRate); in writeSamples()
114 alSourceQueueBuffers(sourceID, bufferID); in writeSamples()
135 int bufferID = alSourceUnqueueBuffers(sourceID); in fillBuffer() local
136 if (bufferID == AL_INVALID_VALUE) break; in fillBuffer()
141 alBufferData(bufferID, format, tempBuffer, sampleRate); in fillBuffer()
143 alSourceQueueBuffers(sourceID, bufferID); in fillBuffer()
DOpenALAudio.java198 void freeBuffer (int bufferID) { in freeBuffer() argument
202 if (alGetSourcei(sourceID, AL_BUFFER) == bufferID) { in freeBuffer()
213 void stopSourcesWithBuffer (int bufferID) { in stopSourcesWithBuffer() argument
217 if (alGetSourcei(sourceID, AL_BUFFER) == bufferID) { in stopSourcesWithBuffer()
227 void pauseSourcesWithBuffer (int bufferID) { in pauseSourcesWithBuffer() argument
231 if (alGetSourcei(sourceID, AL_BUFFER) == bufferID) in pauseSourcesWithBuffer()
236 void resumeSourcesWithBuffer (int bufferID) { in resumeSourcesWithBuffer() argument
240 if (alGetSourcei(sourceID, AL_BUFFER) == bufferID) { in resumeSourcesWithBuffer()
/external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/audio/
DOpenALSound.java28 private int bufferID = -1; field in OpenALSound
46 if (bufferID == -1) { in setup()
47 bufferID = alGenBuffers(); in setup()
48 …alBufferData(bufferID, channels > 1 ? AL_FORMAT_STEREO16 : AL_FORMAT_MONO16, buffer.asShortBuffer(… in setup()
67 alSourcei(sourceID, AL_BUFFER, bufferID); in play()
84 alSourcei(sourceID, AL_BUFFER, bufferID); in loop()
93 audio.stopSourcesWithBuffer(bufferID); in stop()
98 if (bufferID == -1) return; in dispose()
99 audio.freeBuffer(bufferID); in dispose()
100 alDeleteBuffers(bufferID); in dispose()
[all …]
DOpenALMusic.java84 int bufferID = buffers.get(i); in play() local
85 if (!fill(bufferID)) break; in play()
87 alSourceQueueBuffers(sourceID, bufferID); in play()
171 int bufferID = buffers.get(i); in setPosition() local
172 if (!fill(bufferID)) break; in setPosition()
174 alSourceQueueBuffers(sourceID, bufferID); in setPosition()
220 int bufferID = alSourceUnqueueBuffers(sourceID); in update() local
221 if (bufferID == AL_INVALID_VALUE) break; in update()
224 if (fill(bufferID)) in update()
225 alSourceQueueBuffers(sourceID, bufferID); in update()
[all …]
DOpenALAudioDevice.java99 int bufferID = buffers.get(i); in writeSamples() local
103 alBufferData(bufferID, format, tempBuffer, sampleRate); in writeSamples()
104 alSourceQueueBuffers(sourceID, bufferID); in writeSamples()
112 int bufferID = buffers.get(i); in writeSamples() local
113 alBufferData(bufferID, format, tempBuffer, sampleRate); in writeSamples()
114 alSourceQueueBuffers(sourceID, bufferID); in writeSamples()
135 int bufferID = alSourceUnqueueBuffers(sourceID); in fillBuffer() local
136 if (bufferID == AL_INVALID_VALUE) break; in fillBuffer()
141 alBufferData(bufferID, format, tempBuffer, sampleRate); in fillBuffer()
143 alSourceQueueBuffers(sourceID, bufferID); in fillBuffer()
DOpenALAudio.java175 void freeBuffer (int bufferID) { in freeBuffer() argument
179 if (alGetSourcei(sourceID, AL_BUFFER) == bufferID) { in freeBuffer()
190 void stopSourcesWithBuffer (int bufferID) { in stopSourcesWithBuffer() argument
194 if (alGetSourcei(sourceID, AL_BUFFER) == bufferID) { in stopSourcesWithBuffer()
204 void pauseSourcesWithBuffer (int bufferID) { in pauseSourcesWithBuffer() argument
208 if (alGetSourcei(sourceID, AL_BUFFER) == bufferID) in pauseSourcesWithBuffer()
213 void resumeSourcesWithBuffer (int bufferID) { in resumeSourcesWithBuffer() argument
217 if (alGetSourcei(sourceID, AL_BUFFER) == bufferID) { in resumeSourcesWithBuffer()
/external/skia/src/gpu/gl/
DGrGLVertexBuffer.h24 GrGLuint bufferID() const { return fImpl.bufferID(); } in bufferID() function
DGrGLIndexBuffer.h24 GrGLuint bufferID() const { return fImpl.bufferID(); } in bufferID() function
DGrGLTransferBuffer.h24 GrGLuint bufferID() const { return fImpl.bufferID(); } in bufferID() function
DGrGLVertexArray.cpp129 void GrGLVertexArray::notifyIndexBufferDelete(GrGLuint bufferID) { in notifyIndexBufferDelete() argument
130 if (fIndexBufferIDIsValid && bufferID == fIndexBufferID) { in notifyIndexBufferDelete()
DGrGLTransferBuffer.cpp48 buffer_id.appendU32(this->bufferID()); in setMemoryBacking()
DGrGLBufferImpl.h47 GrGLuint bufferID() const { return fDesc.fID; } in bufferID() function
DGrGLVertexBuffer.cpp57 buffer_id.appendU32(this->bufferID()); in setMemoryBacking()
DGrGLIndexBuffer.cpp57 buffer_id.appendU32(this->bufferID()); in setMemoryBacking()
DGrGLVertexArray.h120 void notifyIndexBufferDelete(GrGLuint bufferID);
DGrGLGpu.cpp865 GL_CALL(BindBuffer(glBuffer->bufferType(), glBuffer->bufferID())); in onTransferPixels()
1876 vbuf->bufferID(), in setupGeometry()
3951 GrGLuint vbufferID = vbuffer->bufferID(); in bindArrayAndBuffersToDraw()
3955 ibufferID = ibuffer->bufferID(); in bindArrayAndBuffersToDraw()
/external/deqp/modules/gles2/functional/
Des2fShaderStateQueryTests.cpp1699 GLuint bufferID; in test() local
1700 glGenBuffers(1, &bufferID); in test()
1701 glBindBuffer(GL_ARRAY_BUFFER, bufferID); in test()
1707 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, bufferID); in test()
1709 glDeleteBuffers(1, &bufferID); in test()
/external/skia/src/gpu/gl/debug/
DGrGLCreateDebugInterface.cpp574 GrGLvoid GR_GL_FUNCTION_TYPE debugGLBindBuffer(GrGLenum target, GrGLuint bufferID) { in debugGLBindBuffer() argument
577 GrBufferObj *buffer = GR_FIND(bufferID, in debugGLBindBuffer()
/external/deqp/modules/gles3/functional/
Des3fShaderStateQueryTests.cpp2814 GLuint bufferID; in test() local
2815 glGenBuffers(1, &bufferID); in test()
2816 glBindBuffer(GL_ARRAY_BUFFER, bufferID); in test()
2822 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, bufferID); in test()
2824 glDeleteBuffers(1, &bufferID); in test()