Home
last modified time | relevance | path

Searched refs:bufferBinding (Results 1 – 6 of 6) sorted by relevance

/hardware/google/gfxstream/host/gl/glestranslator/GLES_V2/
DTransformFeedbackData.cpp48 auto& bufferBinding = m_indexedTransformFeedbackBuffers[i]; in restore() local
49 if (!bufferBinding.buffer) in restore()
52 bufferBinding.buffer); in restore()
53 if (bufferBinding.isBindBase) { in restore()
57 bufferBinding.offset, in restore()
58 bufferBinding.size); in restore()
72 auto& bufferBinding = m_indexedTransformFeedbackBuffers[index]; in bindIndexedBuffer() local
73 bufferBinding.buffer = buffer; in bindIndexedBuffer()
74 bufferBinding.offset = offset; in bindIndexedBuffer()
75 bufferBinding.size = size; in bindIndexedBuffer()
[all …]
DGLESv2Context.cpp323 const BufferBinding& bufferBinding = vaoIte.second.bindingState[i]; in postLoadRestoreCtx() local
324 if (bufferBinding.divisor) { in postLoadRestoreCtx()
325 dispatcher.glVertexAttribDivisor(i, bufferBinding.divisor); in postLoadRestoreCtx()
/hardware/google/gfxstream/host/tests/
DGLSnapshotVertexAttributes_unittest.cpp38 GLuint bufferBinding; member
50 .bufferBinding = 0};
211 expected.bufferBinding)); in stateCheck()
241 if (gl->glIsBuffer(changed.bufferBinding) == GL_TRUE) { in stateChange()
242 gl->glBindBuffer(GL_ARRAY_BUFFER, changed.bufferBinding); in stateChange()
244 << "Failed to bind buffer " << changed.bufferBinding; in stateChange()
250 << changed.bufferBinding << " is not a valid buffer."; in stateChange()
255 if (changed.bufferBinding != 0) { in stateChange()
302 withBuffer.bufferBinding = buffer; in TEST_F()
/hardware/google/gfxstream/guest/OpenglCodecCommon/
DGLClientState.cpp199 m_currVaoState.bufferBinding(bindingindex).divisor = divisor; in setVertexBindingDivisor()
208 m_currVaoState.bufferBinding(bindingindex).vertexAttribLoc = attribindex; in setVertexAttribBinding()
832 m_currVaoState.bufferBinding(index).buffer = buffer; in bindIndexedBuffer()
833 m_currVaoState.bufferBinding(index).offset = offset; in bindIndexedBuffer()
834 m_currVaoState.bufferBinding(index).size = size; in bindIndexedBuffer()
835 m_currVaoState.bufferBinding(index).stride = stride; in bindIndexedBuffer()
836 m_currVaoState.bufferBinding(index).effectiveStride = effectiveStride; in bindIndexedBuffer()
837 … m_vaoAttribBindingCacheInvalid |= (1 << m_currVaoState.bufferBinding(index).vertexAttribLoc); in bindIndexedBuffer()
896 return m_currVaoState.bufferBinding(index).buffer == buffer && in isIndexedBindNoOp()
897 m_currVaoState.bufferBinding(index).offset == offset && in isIndexedBindNoOp()
[all …]
/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/
DGLEScontext.cpp1279 auto& bufferBinding = (*bindings)[index]; in bindIndexedBuffer() local
1280 bufferBinding.buffer = buffer; in bindIndexedBuffer()
1281 bufferBinding.offset = offset; in bindIndexedBuffer()
1282 bufferBinding.size = size; in bindIndexedBuffer()
1283 bufferBinding.stride = stride; in bindIndexedBuffer()
1284 bufferBinding.isBindBase = isBindBase; in bindIndexedBuffer()
/hardware/google/gfxstream/guest/OpenglCodecCommon/include/gfxstream/guest/
DGLClientState.h222 BufferBinding& bufferBinding(size_t k) { return it->second.bindingState[k]; } in bufferBinding() function