Home
last modified time | relevance | path

Searched refs:bufferData (Results 1 – 25 of 204) sorted by relevance

123456789

/external/deqp/external/openglcts/modules/glesext/gpu_shader5/
DesextcGPUShader5AtomicCountersArrayIndexing.cpp101 glw::GLuint bufferData[m_atomic_counters_array_size]; in initTest() local
104 bufferData[index] = index; in initTest()
109 …gl.bufferData(GL_ATOMIC_COUNTER_BUFFER, m_atomic_counters_array_size * sizeof(glw::GLuint), buffer… in initTest()
140 glw::GLuint* bufferData = in iterate() local
148 …if (expectedResult != bufferData[0] || expectedResult + 1 != bufferData[1] || expectedResult + 2 !… in iterate()
149 expectedResult + 3 != bufferData[3]) in iterate()
154 << " (" << bufferData[0] << " ," << bufferData[1] << " ," << bufferData[2] << " ," in iterate()
155 << bufferData[3] << ")" << tcu::TestLog::EndMessage; in iterate()
DesextcGPUShader5PreciseQualifier.cpp155 gl.bufferData(GL_ARRAY_BUFFER, sizeof(glw::GLfloat) * m_n_components, DE_NULL, GL_STATIC_COPY); in initTest()
168 gl.bufferData(GL_ARRAY_BUFFER, sizeof(glw::GLfloat) * m_n_components, DE_NULL, GL_STATIC_DRAW); in initTest()
175 gl.bufferData(GL_ARRAY_BUFFER, sizeof(glw::GLfloat) * m_n_components, DE_NULL, GL_STATIC_DRAW); in initTest()
368 …gl.bufferData(GL_ARRAY_BUFFER, sizeof(glw::GLfloat) * m_n_components, vertex_data_positions, GL_ST… in drawAndGetFeedbackResult()
372 …gl.bufferData(GL_ARRAY_BUFFER, sizeof(glw::GLfloat) * m_n_components, vertex_data_weights, GL_STAT… in drawAndGetFeedbackResult()
DesextcGPUShader5FmaPrecision.cpp200 gl.bufferData(GL_ARRAY_BUFFER, sizeof(m_data_a), m_data_a, GL_STATIC_READ); in initTest()
205 gl.bufferData(GL_ARRAY_BUFFER, sizeof(m_data_b), m_data_b, GL_STATIC_READ); in initTest()
210 gl.bufferData(GL_ARRAY_BUFFER, sizeof(m_data_c), m_data_c, GL_STATIC_READ); in initTest()
246 gl.bufferData(GL_ARRAY_BUFFER, m_n_elements * S * sizeof(glw::GLfloat), DE_NULL, GL_DYNAMIC_COPY); in initTest()
251 gl.bufferData(GL_ARRAY_BUFFER, m_n_elements * S * sizeof(glw::GLfloat), DE_NULL, GL_DYNAMIC_COPY); in initTest()
DesextcGPUShader5UniformBlocksArrayIndexing.cpp146 gl.bufferData(GL_ARRAY_BUFFER, m_n_position_components * sizeof(glw::GLfloat) * nVaryings, DE_NULL, in initTest()
198 gl.bufferData(GL_UNIFORM_BUFFER, m_n_position_components * sizeof(float), in iterate()
/external/autotest/client/deps/webgl_mpd/src/resources/
DJ3DI.js215 ctx.bufferData(ctx.ARRAY_BUFFER, normals, ctx.STATIC_DRAW);
219 ctx.bufferData(ctx.ARRAY_BUFFER, texCoords, ctx.STATIC_DRAW);
223 ctx.bufferData(ctx.ARRAY_BUFFER, vertices, ctx.STATIC_DRAW);
229 ctx.bufferData(ctx.ELEMENT_ARRAY_BUFFER, indices, ctx.STATIC_DRAW);
301 ctx.bufferData(ctx.ARRAY_BUFFER, new Float32Array(normalData), ctx.STATIC_DRAW);
305 ctx.bufferData(ctx.ARRAY_BUFFER, new Float32Array(texCoordData), ctx.STATIC_DRAW);
309 ctx.bufferData(ctx.ARRAY_BUFFER, new Float32Array(geometryData), ctx.STATIC_DRAW);
314 ctx.bufferData(ctx.ELEMENT_ARRAY_BUFFER, new Uint16Array(indexData), ctx.STREAM_DRAW);
497 obj.ctx.bufferData(obj.ctx.ARRAY_BUFFER, new Float32Array(normalArray), obj.ctx.STATIC_DRAW);
501 obj.ctx.bufferData(obj.ctx.ARRAY_BUFFER, new Float32Array(textureArray), obj.ctx.STATIC_DRAW);
[all …]
/external/deqp/external/openglcts/modules/gl/
Dgl4cShaderDrawParametersTests.cpp187 gl.bufferData(GL_ARRAY_BUFFER, 24 * sizeof(GLfloat), vertices, GL_STATIC_DRAW); in init()
197 gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, 6 * sizeof(GLushort), elements, GL_STATIC_DRAW); in init()
436 …gl.bufferData(GL_DRAW_INDIRECT_BUFFER, 1 * sizeof(SDPDrawArraysIndirectCommand), indirect, GL_STAT… in initChild()
481 …gl.bufferData(GL_DRAW_INDIRECT_BUFFER, 1 * sizeof(SDPDrawElementsIndirectCommand), indirect, GL_ST… in initChild()
640 …gl.bufferData(GL_DRAW_INDIRECT_BUFFER, 3 * sizeof(SDPDrawArraysIndirectCommand), indirect, GL_STAT… in initChild()
693 …gl.bufferData(GL_DRAW_INDIRECT_BUFFER, 3 * sizeof(SDPDrawElementsIndirectCommand), indirect, GL_ST… in initChild()
756 …gl.bufferData(GL_DRAW_INDIRECT_BUFFER, 4 * sizeof(SDPDrawArraysIndirectCommand), indirect, GL_STAT… in initChild()
766 gl.bufferData(GL_PARAMETER_BUFFER_ARB, 3 * sizeof(GLushort), parameters, GL_STATIC_DRAW); in initChild()
826 …gl.bufferData(GL_DRAW_INDIRECT_BUFFER, 3 * sizeof(SDPDrawElementsIndirectCommand), indirect, GL_ST… in initChild()
836 gl.bufferData(GL_PARAMETER_BUFFER_ARB, 3 * sizeof(GLushort), parameters, GL_STATIC_DRAW); in initChild()
Dgl4cIndirectParametersTests.cpp123 gl.bufferData(GL_PARAMETER_BUFFER_ARB, 10 * sizeof(GLint), data, GL_DYNAMIC_DRAW); in iterate()
197 gl.bufferData(GL_ARRAY_BUFFER, 10 * sizeof(GLint), data, GL_DYNAMIC_DRAW); in iterate()
371 gl.bufferData(GL_ARRAY_BUFFER, 24 * sizeof(GLfloat), vertices, GL_STATIC_DRAW); in init()
381 …gl.bufferData(GL_DRAW_INDIRECT_BUFFER, 2 * sizeof(DrawArraysIndirectCommand), indirect, GL_STATIC_… in init()
391 gl.bufferData(GL_PARAMETER_BUFFER_ARB, 100 * sizeof(GLushort), parameters, GL_STATIC_DRAW); in init()
554 gl.bufferData(GL_ARRAY_BUFFER, 24 * sizeof(GLfloat), vertices, GL_STATIC_DRAW); in init()
564 gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, 6 * sizeof(GLushort), elements, GL_STATIC_DRAW); in init()
574 …gl.bufferData(GL_DRAW_INDIRECT_BUFFER, 3 * sizeof(DrawElementsIndirectCommand), indirect, GL_STATI… in init()
584 gl.bufferData(GL_PARAMETER_BUFFER_ARB, 2 * sizeof(GLushort), parameters, GL_STATIC_DRAW); in init()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DPlayerBufferPeriodActivity.java42 int[] bufferData = bundle.getIntArray("playerBufferPeriodArray"); in onCreate() local
44 histogramView.setBufferPeriodArray(bufferData); in onCreate()
DRecorderBufferPeriodActivity.java44 int[] bufferData = bundle.getIntArray("recorderBufferPeriodArray"); in onCreate() local
46 histogramView.setBufferPeriodArray(bufferData); in onCreate()
DPerformanceMeasurement.java48 public PerformanceMeasurement(int expectedBufferPeriod, int[] bufferData) { in PerformanceMeasurement() argument
49 mBufferData = bufferData; in PerformanceMeasurement()
/external/deqp/framework/opengl/simplereference/
DsglrContextUtil.cpp78 …ctx.bufferData(GL_ARRAY_BUFFER, DE_LENGTH_OF_ARRAY(position)*sizeof(float), &position[0], GL_STATI… in drawQuadWithVaoBuffers()
89 …ctx.bufferData(GL_ARRAY_BUFFER, DE_LENGTH_OF_ARRAY(coord)*sizeof(float), &coord[0], GL_STATIC_DRAW… in drawQuadWithVaoBuffers()
102 …ctx.bufferData(GL_ELEMENT_ARRAY_BUFFER, DE_LENGTH_OF_ARRAY(indices)*sizeof(deUint16), &indices[0],… in drawQuadWithVaoBuffers()
/external/deqp/modules/egl/
DteglAndroidUtil.cpp146 void* bufferData = DE_NULL; in createBuffer() local
153 checkStatus(graphicBuffer.lock(GraphicBuffer::USAGE_SW_WRITE_RARELY, &bufferData)); in createBuffer()
155 PixelBufferAccess nativeBuffer(texFormat, 64, 64, 1, bufferData); in createBuffer()
/external/deqp/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderAdjacency.cpp320 gl.bufferData(GL_ARRAY_BUFFER, m_test_data.m_geometry_bo_size * 4, 0, GL_DYNAMIC_DRAW); in initTest()
322 gl.bufferData(GL_ARRAY_BUFFER, m_test_data.m_geometry_bo_size * 4, 0, GL_DYNAMIC_DRAW); in initTest()
324 …gl.bufferData(GL_ARRAY_BUFFER, m_test_data.m_vertex_data_bo_size, m_test_data.m_vertex_data, GL_DY… in initTest()
334 gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, m_test_data.m_index_data_bo_size, m_test_data.m_index_data, in initTest()
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderMaxPatchVertices.cpp436 gl.bufferData(GL_ARRAY_BUFFER, m_gl_max_patch_vertices * 4 /* components */ * sizeof(glw::GLfloat), in initVertexBufferObjects()
460 gl.bufferData(GL_ARRAY_BUFFER, m_gl_max_patch_vertices * 4 /* components */ * sizeof(glw::GLint), in initVertexBufferObjects()
503 gl.bufferData(GL_TRANSFORM_FEEDBACK_BUFFER, in initTransformFeedbackBufferObjects()
511 gl.bufferData(GL_TRANSFORM_FEEDBACK_BUFFER, in initTransformFeedbackBufferObjects()
528 gl.bufferData(GL_TRANSFORM_FEEDBACK_BUFFER, in initTransformFeedbackBufferObjects()
536 gl.bufferData(GL_TRANSFORM_FEEDBACK_BUFFER, in initTransformFeedbackBufferObjects()
/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()
1367 …gl.bufferData(GL_DRAW_INDIRECT_BUFFER, (glw::GLsizeiptr)(sizeof(DrawArraysCommand)*cmds.size()), &… in createDrawCommand()
1390 …gl.bufferData(GL_DRAW_INDIRECT_BUFFER, (glw::GLsizeiptr)(sizeof(DrawElementsCommand)*cmds.size()),… in createDrawCommand()
1435 …gl.bufferData(GL_ARRAY_BUFFER, (int)(buffer.size() * sizeof(tcu::Vec4)), buffer[0].getPtr(), GL_ST… in createDrawData()
1458 …gl.bufferData(GL_ARRAY_BUFFER, (int)(buffer.size() * sizeof(tcu::Vec4)), buffer[0].getPtr(), GL_ST… in createDrawData()
[all …]
Des31fBasicComputeShaderTests.cpp182 gl.bufferData(GL_UNIFORM_BUFFER, (glw::GLsizeiptr)blockInfo.dataSize, DE_NULL, GL_STATIC_DRAW); in iterate()
202 gl.bufferData(GL_SHADER_STORAGE_BUFFER, blockSize, DE_NULL, GL_STREAM_READ); in iterate()
304 …gl.bufferData(GL_SHADER_STORAGE_BUFFER, (glw::GLsizeiptr)blockInfo.dataSize, DE_NULL, GL_STATIC_DR… in iterate()
325 gl.bufferData(GL_SHADER_STORAGE_BUFFER, blockInfo.dataSize, DE_NULL, GL_STREAM_READ); in iterate()
425 gl.bufferData(GL_SHADER_STORAGE_BUFFER, blockSize, DE_NULL, GL_STREAM_DRAW); in iterate()
540 gl.bufferData(GL_SHADER_STORAGE_BUFFER, block0Size, DE_NULL, GL_STREAM_DRAW); in iterate()
547 gl.bufferData(GL_SHADER_STORAGE_BUFFER, block1Size, DE_NULL, GL_STREAM_DRAW); in iterate()
653 gl.bufferData(GL_SHADER_STORAGE_BUFFER, blockSize, DE_NULL, GL_STREAM_READ); in iterate()
758 gl.bufferData(GL_SHADER_STORAGE_BUFFER, (glw::GLsizeiptr)bufferSize, DE_NULL, GL_STATIC_DRAW); in iterate()
769 gl.bufferData(GL_SHADER_STORAGE_BUFFER, blockSize, DE_NULL, GL_STREAM_READ); in iterate()
[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()
281 gl.bufferData(GL_SHADER_STORAGE_BUFFER, (glw::GLsizei)data.size(), &data[0], GL_STATIC_READ); in createResultBuffer()
Des31fSSBOArrayLengthTests.cpp105 gl.bufferData(GL_SHADER_STORAGE_BUFFER, 2 * (int)sizeof(deUint32), &invalidValue, GL_DYNAMIC_COPY); in init()
190 …gl.bufferData(GL_SHADER_STORAGE_BUFFER, s_fixedBufferSize * (int)sizeof(float), DE_NULL, GL_DYNAMI… in iterate()
/external/deqp/modules/gles3/performance/
Des3pBufferDataUploadTests.cpp2042 gl.bufferData(GL_ARRAY_BUFFER, randomSize, &zeroData[0], usage); in iterate()
2086 gl.bufferData(GL_ARRAY_BUFFER, randomSize, &zeroData[0], usage); in iterate()
2107 gl.bufferData(GL_ARRAY_BUFFER, randomSize, &zeroData[0], usage); in iterate()
2398 gl.bufferData(GL_ARRAY_BUFFER, dummyUploadSize, &dummyData[0], m_bufferUsage); in createBuffer()
2411 gl.bufferData(GL_ARRAY_BUFFER, bufferSize, DE_NULL, m_bufferUsage); in createBuffer()
2415 gl.bufferData(GL_ARRAY_BUFFER, bufferSize, &dummyData[0], m_bufferUsage); in createBuffer()
2448 gl.bufferData(GL_ARRAY_BUFFER, bufferSize, &dummyData[0], m_bufferUsage); in deleteBuffer()
2590 gl.bufferData(GL_ARRAY_BUFFER, bufferSize, &m_zeroData[0], m_bufferUsage); in testBufferUpload()
2654 gl.bufferData(GL_ARRAY_BUFFER, bufferSize, DE_NULL, m_bufferUsage); in testBufferUpload()
2819 gl.bufferData(GL_ARRAY_BUFFER, bufferSize, DE_NULL, m_bufferUsage); in attemptBufferMap()
[all …]
/external/deqp/modules/gles2/performance/
Des2pDrawCallBatchingTests.cpp361 …gl.bufferData(GL_ARRAY_BUFFER, 4 * 3 * m_spec.triangleCount * m_spec.drawCallCount, &(m_staticAttr… in createArrayBuffers()
375 …gl.bufferData(GL_ARRAY_BUFFER, 4 * 3 * m_spec.triangleCount, &(m_staticAttributeDatas[attribute][0… in createArrayBuffers()
392 …gl.bufferData(GL_ARRAY_BUFFER, 4 * 3 * m_spec.triangleCount * m_spec.drawCallCount, &(m_dynamicAtt… in createArrayBuffers()
410 …gl.bufferData(GL_ARRAY_BUFFER, 4 * 3 * m_spec.triangleCount * m_spec.drawCallCount, &(m_dynamicAtt… in createArrayBuffers()
434 …gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, 3 * m_spec.triangleCount, &(m_dynamicIndexData[drawNdx * m_… in createIndexBuffer()
446 …gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, 3 * m_spec.triangleCount * m_spec.drawCallCount, &(m_dynami… in createIndexBuffer()
460 …gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, 3 * m_spec.triangleCount * m_spec.drawCallCount, &(m_static… in createIndexBuffer()
472 …gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, 3 * m_spec.triangleCount, &(m_staticIndexData[0]), GL_STATI… in createIndexBuffer()
/external/webrtc/webrtc/modules/audio_device/linux/
Daudio_device_pulse_linux.cc2444 const void* bufferData, in ReadRecordedData() argument
2471 memcpy(&_recBuffer[_recordBufferUsed], bufferData, copy); in ReadRecordedData()
2473 bufferData = static_cast<const char *> (bufferData) + copy; in ReadRecordedData()
2497 static_cast<int8_t *> (const_cast<void *> (bufferData)), in ReadRecordedData()
2504 bufferData = static_cast<const char *> (bufferData) + in ReadRecordedData()
2515 memcpy(_recBuffer, bufferData, size); in ReadRecordedData()
2523 int8_t *bufferData, in ProcessRecordedData() argument
2530 _ptrAudioBuffer->SetRecordedBuffer(bufferData, bufferSizeInSamples); in ProcessRecordedData()
/external/deqp/external/openglcts/modules/glesext/texture_buffer/
DesextcTextureBufferParamValueIntToFloatConversion.cpp99 …gl.bufferData(m_glExtTokens.TEXTURE_BUFFER, m_texture_buffer_size * sizeof(glw::GLubyte), &dataBuf… in initTest()
136 gl.bufferData(GL_ARRAY_BUFFER, m_texture_buffer_size * sizeof(glw::GLfloat), 0, GL_DYNAMIC_COPY); in initTest()
DesextcTextureBufferMAXSizeValidation.cpp85 …gl.bufferData(m_glExtTokens.TEXTURE_BUFFER, m_max_tex_buffer_size * sizeof(glw::GLubyte), DE_NULL,… in initTest()
133 gl.bufferData(GL_ARRAY_BUFFER, m_n_vec_components * sizeof(glw::GLuint), 0, GL_DYNAMIC_COPY); in initTest()
/external/swiftshader/src/OpenGL/libGLES_CM/
DBuffer.h39 void bufferData(const void *data, GLsizeiptr size, GLenum usage);
DBuffer.cpp43 void Buffer::bufferData(const void *data, GLsizeiptr size, GLenum usage) in bufferData() function in es1::Buffer

123456789