Home
last modified time | relevance | path

Searched refs:glBufferData (Results 1 – 25 of 111) sorted by relevance

12345

/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/graphics/glutils/
DIndexBufferObject.java106 Gdx.gl20.glBufferData(GL20.GL_ELEMENT_ARRAY_BUFFER, buffer.limit(), buffer, usage); in setIndices()
118 Gdx.gl20.glBufferData(GL20.GL_ELEMENT_ARRAY_BUFFER, buffer.limit(), buffer, usage); in setIndices()
132 Gdx.gl20.glBufferData(GL20.GL_ELEMENT_ARRAY_BUFFER, buffer.limit(), buffer, usage); in updateIndices()
154 Gdx.gl20.glBufferData(GL20.GL_ELEMENT_ARRAY_BUFFER, buffer.limit(), buffer, usage); in bind()
DVertexBufferObject.java107 Gdx.gl20.glBufferData(GL20.GL_ARRAY_BUFFER, buffer.limit(), buffer, usage); in bufferChanged()
148 gl.glBufferData(GL20.GL_ARRAY_BUFFER, buffer.limit(), buffer, usage); in bind()
DVertexBufferObjectWithVAO.java101 Gdx.gl20.glBufferData(GL20.GL_ARRAY_BUFFER, buffer.limit(), buffer, usage); in bufferChanged()
210 gl.glBufferData(GL20.GL_ARRAY_BUFFER, buffer.limit(), buffer, usage); in bindData()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/
DIndexBufferObject.java118 Gdx.gl20.glBufferData(GL20.GL_ELEMENT_ARRAY_BUFFER, byteBuffer.limit(), byteBuffer, usage); in setIndices()
134 Gdx.gl20.glBufferData(GL20.GL_ELEMENT_ARRAY_BUFFER, byteBuffer.limit(), byteBuffer, usage); in setIndices()
149 Gdx.gl20.glBufferData(GL20.GL_ELEMENT_ARRAY_BUFFER, byteBuffer.limit(), byteBuffer, usage); in updateIndices()
172 Gdx.gl20.glBufferData(GL20.GL_ELEMENT_ARRAY_BUFFER, byteBuffer.limit(), byteBuffer, usage); in bind()
DVertexBufferObjectSubData.java84 Gdx.gl20.glBufferData(GL20.GL_ARRAY_BUFFER, byteBuffer.capacity(), null, usage); in createBufferObject()
164 gl.glBufferData(GL20.GL_ARRAY_BUFFER, byteBuffer.limit(), byteBuffer, usage); in bind()
DVertexBufferObject.java138 Gdx.gl20.glBufferData(GL20.GL_ARRAY_BUFFER, byteBuffer.limit(), byteBuffer, usage); in bufferChanged()
190 gl.glBufferData(GL20.GL_ARRAY_BUFFER, byteBuffer.limit(), byteBuffer, usage); in bind()
DVertexBufferObjectWithVAO.java104 Gdx.gl20.glBufferData(GL20.GL_ARRAY_BUFFER, byteBuffer.limit(), byteBuffer, usage); in bufferChanged()
214 gl.glBufferData(GL20.GL_ARRAY_BUFFER, byteBuffer.limit(), byteBuffer, usage); in bindData()
/external/deqp/modules/gles3/functional/
Des3fIndexedStateQueryTests.cpp158 glBufferData(GL_TRANSFORM_FEEDBACK_BUFFER, 16, NULL, GL_DYNAMIC_READ); in testTransformFeedback()
203 glBufferData(GL_TRANSFORM_FEEDBACK_BUFFER, 16, NULL, GL_DYNAMIC_READ); in testTransformFeedback()
208 glBufferData(GL_TRANSFORM_FEEDBACK_BUFFER, 16, NULL, GL_DYNAMIC_READ); in testTransformFeedback()
323 glBufferData(GL_UNIFORM_BUFFER, 32, DE_NULL, GL_DYNAMIC_DRAW); in testUniformBuffers()
374 glBufferData(GL_UNIFORM_BUFFER, 32, DE_NULL, GL_DYNAMIC_DRAW); in testUniformBuffers()
379 glBufferData(GL_UNIFORM_BUFFER, rangeBufferTotalSize, DE_NULL, GL_DYNAMIC_DRAW); in testUniformBuffers()
Des3fBufferObjectQueryTests.cpp288 glBufferData(m_bufferTarget, len, DE_NULL, GL_STREAM_DRAW); in testBuffer()
320 glBufferData(m_bufferTarget, 16, DE_NULL, usages[ndx]); in testBuffer()
369 glBufferData(m_bufferTarget, 16, DE_NULL, GL_DYNAMIC_COPY); in testBuffer()
394 glBufferData(m_bufferTarget, 16, DE_NULL, GL_DYNAMIC_COPY); in testBuffer()
419 glBufferData(m_bufferTarget, 16, DE_NULL, GL_DYNAMIC_COPY); in testBuffer()
468 glBufferData(GL_ARRAY_BUFFER, 8, DE_NULL, GL_DYNAMIC_COPY); in test()
Des3fNegativeBufferApiTests.cpp83 glBufferData(-1, 0, NULL, GL_STREAM_DRAW); in init()
88 glBufferData(GL_ARRAY_BUFFER, 0, NULL, -1); in init()
93 glBufferData(GL_ARRAY_BUFFER, -1, NULL, GL_STREAM_DRAW); in init()
99 glBufferData(GL_ARRAY_BUFFER, 0, NULL, GL_STREAM_DRAW); in init()
110 glBufferData(GL_ARRAY_BUFFER, 10, 0, GL_STREAM_DRAW); in init()
138 glBufferData(GL_ARRAY_BUFFER, 10, 0, GL_STREAM_DRAW); in init()
314 glBufferData(GL_UNIFORM_BUFFER, 16, NULL, GL_STREAM_DRAW); in init()
319 glBufferData(GL_TRANSFORM_FEEDBACK_BUFFER, 16, NULL, GL_STREAM_DRAW); in init()
375 glBufferData(GL_UNIFORM_BUFFER, 16, NULL, GL_STREAM_DRAW); in init()
380 glBufferData(GL_TRANSFORM_FEEDBACK_BUFFER, 16, NULL, GL_STREAM_DRAW); in init()
[all …]
Des3fBufferMapTests.cpp78 glBufferData(m_bufferTarget, m_bufferSize, DE_NULL, m_usage); in iterate()
131 glBufferData(m_bufferTarget, m_size, DE_NULL, m_usage); in iterate()
182 glBufferData(m_bufferTarget, m_bufferSize, refBuf.getPtr(), m_usage); in iterate()
243 glBufferData(m_bufferTarget, bufferSize, refBuf.getPtr(), m_usage); in iterate()
302 glBufferData(m_bufferTarget, bufferSize, refBuf.getPtr(), m_usage); in iterate()
363 glBufferData(m_bufferTarget, bufferSize, refBuf.getPtr(), m_usage); in iterate()
435 glBufferData(m_bufferTarget, size, refBuf.getPtr(), m_usage); in iterate()
500 glBufferData(m_bufferTarget, m_bufferSize, refBuf.getPtr(), m_usage); in iterate()
Des3fBufferCopyTests.cpp99 glBufferData(m_srcTarget, m_srcSize, srcRef.getPtr(), m_srcHint); in iterate()
105 glBufferData(m_dstTarget, m_dstSize, dstRef.getPtr(), m_dstHint); in iterate()
203 glBufferData(m_srcTarget, size, ref.getPtr(), m_hint); in iterate()
/external/deqp/modules/gles2/functional/
Des2fNegativeBufferApiTests.cpp81 glBufferData(-1, 0, NULL, GL_STREAM_DRAW); in init()
86 glBufferData(GL_ARRAY_BUFFER, 0, NULL, -1); in init()
91 glBufferData(GL_ARRAY_BUFFER, -1, NULL, GL_STREAM_DRAW); in init()
97 glBufferData(GL_ARRAY_BUFFER, 0, NULL, GL_STREAM_DRAW); in init()
108 glBufferData(GL_ARRAY_BUFFER, 10, 0, GL_STREAM_DRAW); in init()
128 glBufferData(GL_ARRAY_BUFFER, 10, 0, GL_STREAM_DRAW); in init()
Des2fBufferObjectQueryTests.cpp201 glBufferData(m_bufferTarget, len, DE_NULL, GL_STREAM_DRAW); in testBuffer()
229 glBufferData(m_bufferTarget, 16, DE_NULL, usages[ndx]); in testBuffer()
/external/autotest/client/site_tests/graphics_SanAngeles/src/
Dimportgl.h63 FNDEF(void, glBufferData, (GLenum target, GLsizeiptr size,
114 #define glBufferData FNPTR(glBufferData) macro
Dimportvbo.h35 #define glBufferData FP_glBufferDataARB macro
/external/deqp/modules/glshared/
DglsMemoryStressCase.cpp200 GLU_CHECK_CALL(glBufferData(GL_ARRAY_BUFFER, sizeof(s_quadCoords), s_quadCoords, GL_STATIC_DRAW)); in TextureRenderer()
204 …GLU_CHECK_CALL(glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(s_quadIndices), s_quadIndices, GL_STAT… in TextureRenderer()
362 GLU_CHECK_CALL(glBufferData(GL_ARRAY_BUFFER, sizeof(s_quadCoords), s_quadCoords, GL_STATIC_DRAW)); in BufferRenderer()
366 …GLU_CHECK_CALL(glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(s_quadIndices), s_quadIndices, GL_STAT… in BufferRenderer()
704 glBufferData(GL_ARRAY_BUFFER, size, &(m_dummyData[0]), GL_DYNAMIC_DRAW); in allocateBuffer()
707 glBufferData(GL_ARRAY_BUFFER, size, NULL, GL_DYNAMIC_DRAW); in allocateBuffer()
DglsBufferTestUtil.cpp603glBufferData (GL_ARRAY_BUFFER, (glw::GLsizeiptr)(positions.size()*sizeof(positions[0])), &posit… in verify()
609glBufferData (GL_ELEMENT_ARRAY_BUFFER, (glw::GLsizeiptr)(indices.size()*sizeof(indices[0])), &i… in verify()
810glBufferData (GL_ARRAY_BUFFER, (glw::GLsizeiptr)(positions.size()*sizeof(positions[0])), &positi… in verify()
814glBufferData (GL_ARRAY_BUFFER, (glw::GLsizeiptr)(colors.size()*sizeof(colors[0])), &colors[0], G… in verify()
827glBufferData (GL_ARRAY_BUFFER, (glw::GLsizeiptr)(fetchedPos.size()*sizeof(fetchedPos[0])), &fetc… in verify()
831glBufferData (GL_ARRAY_BUFFER, (glw::GLsizeiptr)(fetchedColor.size()*sizeof(fetchedColor[0])), &… in verify()
/external/autotest/client/deps/glbench/src/
Dmain.h25 F(glBufferData, PFNGLBUFFERDATAPROC) \
57 F(glBufferData, PFNGLBUFFERDATAPROC) \
/external/replicaisland/src/com/replica/replicaisland/
DGrid.java350 gl11.glBufferData(GL11.GL_ARRAY_BUFFER, vertexSize, in generateHardwareBuffers()
361 gl11.glBufferData(GL11.GL_ARRAY_BUFFER, texCoordSize, in generateHardwareBuffers()
376 gl11.glBufferData(GL11.GL_ELEMENT_ARRAY_BUFFER, indexSize, mIndexBuffer, in generateHardwareBuffers()
/external/deqp/modules/gles31/stress/
Des31sDrawTests.cpp204 …gl.glBufferData(GL_ELEMENT_ARRAY_BUFFER, (int)(indices.size() * sizeof(deUint16)), &indices[0], GL… 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/deqp/modules/gles31/functional/
Des31fNegativeBufferApiTests.cpp76 ctx.glBufferData(-1, 0, NULL, GL_STREAM_DRAW); in buffer_data()
81 ctx.glBufferData(GL_ARRAY_BUFFER, 0, NULL, -1); in buffer_data()
86 ctx.glBufferData(GL_ARRAY_BUFFER, -1, NULL, GL_STREAM_DRAW); in buffer_data()
92 ctx.glBufferData(GL_ARRAY_BUFFER, 0, NULL, GL_STREAM_DRAW); in buffer_data()
104 ctx.glBufferData(GL_ARRAY_BUFFER, 10, 0, GL_STREAM_DRAW); in buffer_sub_data()
133 ctx.glBufferData(GL_ARRAY_BUFFER, 10, 0, GL_STREAM_DRAW); in buffer_sub_data_size_offset()
372 ctx.glBufferData(GL_UNIFORM_BUFFER, 16, NULL, GL_STREAM_DRAW); in bind_buffer_range()
376 ctx.glBufferData(GL_TRANSFORM_FEEDBACK_BUFFER, 16, NULL, GL_STREAM_DRAW); in bind_buffer_range()
380 ctx.glBufferData(GL_ATOMIC_COUNTER_BUFFER, 16, NULL, GL_STREAM_DRAW); in bind_buffer_range()
470 ctx.glBufferData(GL_UNIFORM_BUFFER, 16, NULL, GL_STREAM_DRAW); in bind_buffer_base()
[all …]
/external/deqp/doc/testspecs/GLES3/
Dperformance.buffer.data_upload.txt26 + Performance of glBufferData and glBufferSubData
128 (GL_ELEMENT_ARRAY_BUFFER) buffer contents with glBufferData, and issue render with
152 case if the upload method is not glBufferData, glBufferData is called with NULL data
155 target buffer upload with glBufferData. The rendering does not depend on this second
/external/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/
DLwjgl3GL20.java112 public void glBufferData (int target, int size, Buffer data, int usage) { in glBufferData() method in Lwjgl3GL20
114 GL15.glBufferData(target, size, usage); in glBufferData()
116 GL15.glBufferData(target, (ByteBuffer)data, usage); in glBufferData()
118 GL15.glBufferData(target, (IntBuffer)data, usage); in glBufferData()
120 GL15.glBufferData(target, (FloatBuffer)data, usage); in glBufferData()
122 GL15.glBufferData(target, (DoubleBuffer)data, usage); in glBufferData()
124 GL15.glBufferData(target, (ShortBuffer)data, usage); in glBufferData()
/external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/
DLwjglGL20.java116 public void glBufferData (int target, int size, Buffer data, int usage) { in glBufferData() method in LwjglGL20
118 GL15.glBufferData(target, size, usage); in glBufferData()
120 GL15.glBufferData(target, (ByteBuffer)data, usage); in glBufferData()
122 GL15.glBufferData(target, (IntBuffer)data, usage); in glBufferData()
124 GL15.glBufferData(target, (FloatBuffer)data, usage); in glBufferData()
126 GL15.glBufferData(target, (DoubleBuffer)data, usage); in glBufferData()
128 GL15.glBufferData(target, (ShortBuffer)data, usage); in glBufferData()

12345