/external/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/audio/ |
D | OpenALSound.java | 28 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 …]
|
D | OpenALMusic.java | 84 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 …]
|
D | OpenALAudioDevice.java | 99 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()
|
D | OpenALAudio.java | 198 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/ |
D | OpenALSound.java | 28 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 …]
|
D | OpenALMusic.java | 84 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 …]
|
D | OpenALAudioDevice.java | 99 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()
|
D | OpenALAudio.java | 175 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/ |
D | GrGLVertexBuffer.h | 24 GrGLuint bufferID() const { return fImpl.bufferID(); } in bufferID() function
|
D | GrGLIndexBuffer.h | 24 GrGLuint bufferID() const { return fImpl.bufferID(); } in bufferID() function
|
D | GrGLTransferBuffer.h | 24 GrGLuint bufferID() const { return fImpl.bufferID(); } in bufferID() function
|
D | GrGLVertexArray.cpp | 129 void GrGLVertexArray::notifyIndexBufferDelete(GrGLuint bufferID) { in notifyIndexBufferDelete() argument 130 if (fIndexBufferIDIsValid && bufferID == fIndexBufferID) { in notifyIndexBufferDelete()
|
D | GrGLTransferBuffer.cpp | 48 buffer_id.appendU32(this->bufferID()); in setMemoryBacking()
|
D | GrGLBufferImpl.h | 47 GrGLuint bufferID() const { return fDesc.fID; } in bufferID() function
|
D | GrGLVertexBuffer.cpp | 57 buffer_id.appendU32(this->bufferID()); in setMemoryBacking()
|
D | GrGLIndexBuffer.cpp | 57 buffer_id.appendU32(this->bufferID()); in setMemoryBacking()
|
D | GrGLVertexArray.h | 120 void notifyIndexBufferDelete(GrGLuint bufferID);
|
D | GrGLGpu.cpp | 865 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/ |
D | es2fShaderStateQueryTests.cpp | 1699 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/ |
D | GrGLCreateDebugInterface.cpp | 574 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/ |
D | es3fShaderStateQueryTests.cpp | 2814 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()
|