Home
last modified time | relevance | path

Searched refs:GL_STATIC_DRAW (Results 1 – 25 of 106) sorted by relevance

12345

/external/deqp/modules/gles2/stress/
Des2sLongRunningTests.cpp192 GL_STATIC_DRAW, GL_STATIC_DRAW)); in init()
242 GL_STATIC_DRAW, GL_STATIC_DRAW)); in init()
279 GL_STATIC_DRAW, GL_STATIC_DRAW)); in init()
321 GL_STATIC_DRAW, GL_STATIC_DRAW)); in init()
349 GL_STATIC_DRAW, GL_STATIC_DRAW)); in init()
/external/deqp/modules/gles3/stress/
Des3sLongRunningTests.cpp192 GL_STATIC_DRAW, GL_STATIC_DRAW)); in init()
242 GL_STATIC_DRAW, GL_STATIC_DRAW)); in init()
279 GL_STATIC_DRAW, GL_STATIC_DRAW)); in init()
321 GL_STATIC_DRAW, GL_STATIC_DRAW)); in init()
349 GL_STATIC_DRAW, GL_STATIC_DRAW)); in init()
/external/deqp/modules/gles2/functional/
Des2fBufferWriteTests.cpp446 GL_STATIC_DRAW, in iterate()
555 GL_STATIC_DRAW, in init()
602 const deUint32 usage = GL_STATIC_DRAW; in init()
626 << DataStoreSpec(GL_ARRAY_BUFFER, GL_STATIC_DRAW, 996) in init()
627 << DataStoreSpec(GL_ARRAY_BUFFER, GL_STATIC_DRAW, 996) in init()
628 << DataStoreSpec(GL_ARRAY_BUFFER, GL_STATIC_DRAW, 996)); in init()
631 << DataStoreSpec(GL_ELEMENT_ARRAY_BUFFER, GL_STATIC_DRAW, 72) in init()
632 << DataStoreSpec(GL_ELEMENT_ARRAY_BUFFER, GL_STATIC_DRAW, 72) in init()
633 << DataStoreSpec(GL_ELEMENT_ARRAY_BUFFER, GL_STATIC_DRAW, 72)); in init()
636 << DataStoreSpec(GL_ARRAY_BUFFER, GL_STATIC_DRAW, 504) in init()
[all …]
Des2fBufferObjectQueryTests.cpp222 GL_STATIC_DRAW, GL_DYNAMIC_DRAW, GL_STREAM_DRAW in testBuffer()
225 m_verifier->verifyInteger(m_testCtx, m_bufferTarget, GL_BUFFER_USAGE, GL_STATIC_DRAW); in testBuffer()
/external/deqp/modules/gles3/functional/
Des3fBufferWriteTests.cpp454 GL_STATIC_DRAW, in iterate()
576 GL_STATIC_DRAW, in init()
618 << DataStoreSpec(GL_ARRAY_BUFFER, GL_STATIC_DRAW, 996) in init()
619 << DataStoreSpec(GL_ARRAY_BUFFER, GL_STATIC_DRAW, 996) in init()
620 << DataStoreSpec(GL_ARRAY_BUFFER, GL_STATIC_DRAW, 996)); in init()
623 << DataStoreSpec(GL_COPY_WRITE_BUFFER, GL_STATIC_DRAW, 72) in init()
624 << DataStoreSpec(GL_COPY_WRITE_BUFFER, GL_STATIC_DRAW, 72) in init()
625 << DataStoreSpec(GL_COPY_WRITE_BUFFER, GL_STATIC_DRAW, 72)); in init()
628 << DataStoreSpec(GL_ARRAY_BUFFER, GL_STATIC_DRAW, 504) in init()
629 << DataStoreSpec(GL_COPY_READ_BUFFER, GL_STATIC_DRAW, 504) in init()
[all …]
Des3fBufferMapTests.cpp569 GL_STATIC_DRAW, in init()
658 deUint32 hint = GL_STATIC_DRAW; in init()
696 deUint32 hint = GL_STATIC_DRAW; in init()
711 deUint32 hint = GL_STATIC_DRAW; in init()
726 deUint32 hint = GL_STATIC_DRAW; in init()
741 deUint32 hint = GL_STATIC_DRAW; in init()
763 deUint32 hint = GL_STATIC_DRAW; in init()
Des3fBufferCopyTests.cpp268 const deUint32 hint = GL_STATIC_DRAW; in init()
306 deUint32 hint = GL_STATIC_DRAW; in init()
331 const deUint32 hint = GL_STATIC_DRAW; in init()
Des3fBufferObjectQueryTests.cpp307 m_verifier->verifyInteger(m_testCtx, m_bufferTarget, GL_BUFFER_USAGE, GL_STATIC_DRAW); in testBuffer()
312 GL_STREAM_COPY, GL_STATIC_DRAW, in testBuffer()
/external/deqp/framework/opengl/simplereference/
DsglrContextUtil.cpp78 …ferData(GL_ARRAY_BUFFER, DE_LENGTH_OF_ARRAY(position)*sizeof(float), &position[0], GL_STATIC_DRAW); in drawQuadWithVaoBuffers()
89 …tx.bufferData(GL_ARRAY_BUFFER, DE_LENGTH_OF_ARRAY(coord)*sizeof(float), &coord[0], GL_STATIC_DRAW); in drawQuadWithVaoBuffers()
102 …L_ELEMENT_ARRAY_BUFFER, DE_LENGTH_OF_ARRAY(indices)*sizeof(deUint16), &indices[0], GL_STATIC_DRAW); in drawQuadWithVaoBuffers()
/external/deqp/modules/gles2/performance/
Des2pDrawCallBatchingTests.cpp361 …pec.triangleCount * m_spec.drawCallCount, &(m_staticAttributeDatas[attribute][0]), GL_STATIC_DRAW); in createArrayBuffers()
375 …RAY_BUFFER, 4 * 3 * m_spec.triangleCount, &(m_staticAttributeDatas[attribute][0]), GL_STATIC_DRAW); in createArrayBuffers()
392 …ec.triangleCount * m_spec.drawCallCount, &(m_dynamicAttributeDatas[attribute][0]), GL_STATIC_DRAW); in createArrayBuffers()
410 …ec.triangleCount * m_spec.drawCallCount, &(m_dynamicAttributeDatas[attribute][0]), GL_STATIC_DRAW); in createArrayBuffers()
434 …* m_spec.triangleCount, &(m_dynamicIndexData[drawNdx * m_spec.triangleCount * 3]), GL_STATIC_DRAW); in createIndexBuffer()
446 …BUFFER, 3 * m_spec.triangleCount * m_spec.drawCallCount, &(m_dynamicIndexData[0]), GL_STATIC_DRAW); in createIndexBuffer()
460 …_BUFFER, 3 * m_spec.triangleCount * m_spec.drawCallCount, &(m_staticIndexData[0]), GL_STATIC_DRAW); in createIndexBuffer()
472 …erData(GL_ELEMENT_ARRAY_BUFFER, 3 * m_spec.triangleCount, &(m_staticIndexData[0]), GL_STATIC_DRAW); in createIndexBuffer()
/external/deqp/modules/gles31/functional/
Des31fDrawTests.cpp857 ctx.bufferData(GL_ARRAY_BUFFER, sizeof(vertexPositions), vertexPositions, GL_STATIC_DRAW); in renderTo()
864 ctx.bufferData(GL_ARRAY_BUFFER, offsets.size() * sizeof(tcu::Vec4), &offsets[0], GL_STATIC_DRAW); in renderTo()
871 ctx.bufferData(GL_ARRAY_BUFFER, colors.size() * sizeof(tcu::Vec4), &colors[0], GL_STATIC_DRAW); in renderTo()
880 ctx.bufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indices), indices, GL_STATIC_DRAW); in renderTo()
895 ctx.bufferData(GL_DRAW_INDIRECT_BUFFER, sizeof(command), &command, GL_STATIC_DRAW); in renderTo()
905 ctx.bufferData(GL_DRAW_INDIRECT_BUFFER, sizeof(command), &command, GL_STATIC_DRAW); in renderTo()
1366 …DIRECT_BUFFER, (glw::GLsizeiptr)(sizeof(DrawArraysCommand)*cmds.size()), &cmds[0], GL_STATIC_DRAW); in createDrawCommand()
1389 …RECT_BUFFER, (glw::GLsizeiptr)(sizeof(DrawElementsCommand)*cmds.size()), &cmds[0], GL_STATIC_DRAW); in createDrawCommand()
1434 …ata(GL_ARRAY_BUFFER, (int)(buffer.size() * sizeof(tcu::Vec4)), buffer[0].getPtr(), GL_STATIC_DRAW); in createDrawData()
1457 …ata(GL_ARRAY_BUFFER, (int)(buffer.size() * sizeof(tcu::Vec4)), buffer[0].getPtr(), GL_STATIC_DRAW); in createDrawData()
[all …]
Des31fIndirectComputeDispatchTests.cpp202 gl.bufferData(GL_DISPATCH_INDIRECT_BUFFER, (glw::GLsizeiptr)data.size(), &data[0], GL_STATIC_DRAW); in createCmdBufferUpload()
251 …gl.bufferData(GL_DISPATCH_INDIRECT_BUFFER, (glw::GLsizeiptr)m_bufferSize, DE_NULL, GL_STATIC_DRAW); in createCmdBufferCompute()
Des31fVertexAttributeBindingTests.cpp479 gl.bufferData(GL_ARRAY_BUFFER, (glw::GLsizeiptr)dataBuf.size(), &dataBuf[0], GL_STATIC_DRAW); in createBuffers()
795 …UFFER, (int)(primitiveData.size() * sizeof(tcu::Vec4)), primitiveData[0].getPtr(), GL_STATIC_DRAW); in createBuffers()
804 …R, (int)(colorOffsetData.size() * sizeof(tcu::Vec4)), colorOffsetData[0].getPtr(), GL_STATIC_DRAW); in createBuffers()
1042 …_BUFFER, (int)(positionData.size() * sizeof(tcu::Vec4)), positionData[0].getPtr(), GL_STATIC_DRAW); in createBuffers()
1047 …R, (int)(colorOffsetData.size() * sizeof(tcu::Vec4)), colorOffsetData[0].getPtr(), GL_STATIC_DRAW); in createBuffers()
1267 …RRAY_BUFFER, (int)(vertexData.size() * sizeof(tcu::Vec4)), vertexData[0].getPtr(), GL_STATIC_DRAW); in createBuffers()
Des31fAdvancedBlendTests.cpp438 …T_ARRAY_BUFFER, (glw::GLsizeiptr)(indices.size()*sizeof(indices[0])), &indices[0], GL_STATIC_DRAW); in iterate()
441 …Y_BUFFER, (glw::GLsizeiptr)(positions.size()*sizeof(positions[0])), &positions[0], GL_STATIC_DRAW); in iterate()
446 …a(GL_ARRAY_BUFFER, (glw::GLsizeiptr)(colors.size()*sizeof(colors[0])), &colors[0], GL_STATIC_DRAW); in iterate()
Des31fTextureBufferTests.cpp374 gl.glBufferData(GL_TEXTURE_BUFFER, 32, DE_NULL, GL_STATIC_DRAW); in iterate()
445 gl.glBufferData(GL_TEXTURE_BUFFER, 1024, DE_NULL, GL_STATIC_DRAW); in iterate()
526 gl.glBufferData(GL_TEXTURE_BUFFER, 1024, DE_NULL, GL_STATIC_DRAW); in iterate()
/external/replicaisland/src/com/replica/replicaisland/
DGrid.java351 mVertexBuffer, GL11.GL_STATIC_DRAW); in generateHardwareBuffers()
362 mTexCoordBuffer, GL11.GL_STATIC_DRAW); in generateHardwareBuffers()
377 GL11.GL_STATIC_DRAW); in generateHardwareBuffers()
/external/deqp/modules/gles31/stress/
Des31sDrawTests.cpp204 …ta(GL_ELEMENT_ARRAY_BUFFER, (int)(indices.size() * sizeof(deUint16)), &indices[0], GL_STATIC_DRAW); in iterate()
215 gl.glBufferData(GL_ARRAY_BUFFER, dataSize * sizeof(float[4]), DE_NULL, GL_STATIC_DRAW); in iterate()
227 gl.glBufferData(GL_ARRAY_BUFFER, dataSize * sizeof(float[4]), DE_NULL, GL_STATIC_DRAW); in iterate()
254 gl.glBufferData(GL_DRAW_INDIRECT_BUFFER, sizeof(drawCommand), &drawCommand, GL_STATIC_DRAW); in iterate()
278 gl.glBufferData(GL_DRAW_INDIRECT_BUFFER, sizeof(drawCommand), &drawCommand, GL_STATIC_DRAW); in iterate()
/external/swiftshader/third_party/PowerVR_SDK/Examples/Intermediate/ColourGrading/OGLES3/
DOGLES3ColourGrading.cpp351 glBufferData(GL_ARRAY_BUFFER, uiSize, Mesh.pInterleaved, GL_STATIC_DRAW); in LoadVbos()
360 glBufferData(GL_ELEMENT_ARRAY_BUFFER, uiSize, Mesh.sFaces.pData, GL_STATIC_DRAW); in LoadVbos()
409 glBufferData(GL_ARRAY_BUFFER, 6 * m_ui32VertexStride, afVertices, GL_STATIC_DRAW); in LoadVbos()
443 glBufferData(GL_ARRAY_BUFFER, 4 * m_ui32VertexStride, afBackgroundVertices, GL_STATIC_DRAW); in LoadVbos()
/external/deqp/modules/glshared/
DglsMemoryStressCase.cpp200 GLU_CHECK_CALL(glBufferData(GL_ARRAY_BUFFER, sizeof(s_quadCoords), s_quadCoords, GL_STATIC_DRAW)); in TextureRenderer()
204 …_CALL(glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(s_quadIndices), s_quadIndices, GL_STATIC_DRAW)); in TextureRenderer()
362 GLU_CHECK_CALL(glBufferData(GL_ARRAY_BUFFER, sizeof(s_quadCoords), s_quadCoords, GL_STATIC_DRAW)); in BufferRenderer()
366 …_CALL(glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(s_quadIndices), s_quadIndices, GL_STATIC_DRAW)); in BufferRenderer()
DglsShaderPerformanceMeasurer.cpp188 …_ELEMENT_ARRAY_BUFFER, (GLsizeiptr)(indices.size()*sizeof(deUint16)), &indices[0], GL_STATIC_DRAW); in init()
203 …erData(GL_ARRAY_BUFFER, (GLsizeiptr)(vertices.size()*sizeof(float)), &vertices[0], GL_STATIC_DRAW); in init()
/external/swiftshader/src/OpenGL/libGLESv2/
DBuffer.cpp32 mUsage = GL_STATIC_DRAW; in Buffer()
/external/swiftshader/third_party/PowerVR_SDK/Examples/Beginner/04_BasicTnL/OGLES/
DOGLESBasicTnL.cpp167 glBufferData(GL_ARRAY_BUFFER, uiSize, afVertices, GL_STATIC_DRAW); in InitView()
/external/swiftshader/third_party/PowerVR_SDK/Examples/Intermediate/DisplacementMap/OGLES2/
DOGLES2DisplacementMap.cpp274 glBufferData(GL_ARRAY_BUFFER, uiSize, Mesh.pInterleaved, GL_STATIC_DRAW); in LoadVbos()
283 glBufferData(GL_ELEMENT_ARRAY_BUFFER, uiSize, Mesh.sFaces.pData, GL_STATIC_DRAW); in LoadVbos()
/external/deqp/modules/gles3/performance/
Des3pBufferDataUploadTests.cpp2010 GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, in iterate()
4244 …ata(GL_ARRAY_BUFFER, (int)(vertexData.size() * sizeof(tcu::Vec4)), &vertexData[0], GL_STATIC_DRAW); in uploadScene()
4257 …L_ELEMENT_ARRAY_BUFFER, (int)(indexData.size() * sizeof(deUint32)), &indexData[0], GL_STATIC_DRAW); in uploadScene()
4352 …ata(GL_ARRAY_BUFFER, (int)(vertexData.size() * sizeof(tcu::Vec4)), &vertexData[0], GL_STATIC_DRAW); in runSample()
4358 …L_ELEMENT_ARRAY_BUFFER, (int)(indexData.size() * sizeof(deUint32)), &indexData[0], GL_STATIC_DRAW); in runSample()
4487 gl.bufferData(GL_ARRAY_BUFFER, renderUploadSize, &vertexData[0], GL_STATIC_DRAW); in runSample()
4493 …L_ELEMENT_ARRAY_BUFFER, (int)(indexData.size() * sizeof(deUint32)), &indexData[0], GL_STATIC_DRAW); in runSample()
4520 gl.bufferData(GL_ARRAY_BUFFER, unrelatedUploadSize, &vertexData[0], GL_STATIC_DRAW); in runSample()
4527 gl.bufferData(GL_ARRAY_BUFFER, unrelatedUploadSize, DE_NULL, GL_STATIC_DRAW); in runSample()
4538 gl.bufferData(GL_ARRAY_BUFFER, unrelatedUploadSize, DE_NULL, GL_STATIC_DRAW); in runSample()
[all …]
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/
DPVRTBackground.cpp205 glBufferData(GL_ARRAY_BUFFER, sizeof(float) * 16, pVertexData, GL_STATIC_DRAW); in Init()

12345