Home
last modified time | relevance | path

Searched refs:GL_SHADER_STORAGE_BUFFER (Results 1 – 25 of 67) sorted by relevance

123

/external/deqp/external/openglcts/modules/gles31/
Des31cShaderStorageBufferObjectTests.cpp513 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer); in Run()
514 glBufferData(GL_SHADER_STORAGE_BUFFER, sizeof(data), data, GL_STATIC_DRAW); in Run()
515 glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in Run()
522 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 1, m_buffer); in Run()
524 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 1, 0); in Run()
564 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer); in Run()
565 glBufferData(GL_SHADER_STORAGE_BUFFER, 4, 0, GL_STATIC_READ); in Run()
566 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_buffer); in Run()
572 GLint* out_data = (GLint*)glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, 4, GL_MAP_READ_BIT); in Run()
752 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, i, m_buffer[0]); in Run()
[all …]
Des31cComputeShaderTests.cpp531 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_buffer); in Setup()
532 glBufferData(GL_SHADER_STORAGE_BUFFER, sizeof(vec4), NULL, GL_DYNAMIC_DRAW); in Setup()
533 glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in Setup()
544 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer); in Run()
546 …data = static_cast<vec4*>(glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, sizeof(vec4), GL_MAP_RE… in Run()
552 glUnmapBuffer(GL_SHADER_STORAGE_BUFFER); in Run()
553 glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in Run()
637 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, binding, m_storage_buffer); in RunIteration()
638 glBufferData(GL_SHADER_STORAGE_BUFFER, sizeof(uvec4) * kSize, NULL, GL_DYNAMIC_DRAW); in RunIteration()
639 glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in RunIteration()
[all …]
Des31cShaderAtomicCountersTests.cpp969 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_buffer); in Run()
970 glBufferData(GL_SHADER_STORAGE_BUFFER, 512 * sizeof(GLuint), NULL, GL_DYNAMIC_DRAW); in Run()
971 glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in Run()
978 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer); in Run()
981 …glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, 512 * sizeof(GLuint), GL_MAP_READ_BIT | GL_MAP_WRITE… in Run()
1002 glUnmapBuffer(GL_SHADER_STORAGE_BUFFER); in Run()
1003 glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in Run()
1470 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_buffer); in Run()
1471 glBufferData(GL_SHADER_STORAGE_BUFFER, sizeof(Vec4), NULL, GL_DYNAMIC_DRAW); in Run()
1472 glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in Run()
[all …]
Des31cShaderImageLoadStoreTests.cpp1141 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_buffer); in Write()
1142 glBufferData(GL_SHADER_STORAGE_BUFFER, kSize * kSize * 4 * 4, &out_data[0], GL_STATIC_DRAW); in Write()
1147 …T* map_data = (T*)glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, kSize * kSize * 4 * 4, GL_MAP_READ… in Write()
1267 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_buffer); in WriteCS()
1268 glBufferData(GL_SHADER_STORAGE_BUFFER, kSize * kSize * 4 * 4, &out_data[0], GL_STATIC_DRAW); in WriteCS()
1273 …T* map_data = (T*)glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, kSize * kSize * 4 * 4, GL_MAP_READ… in WriteCS()
1428 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_buffer); in Read()
1429 glBufferData(GL_SHADER_STORAGE_BUFFER, kSize * kSize * 4 * 4, &out_data[0], GL_STATIC_DRAW); in Read()
1433 …T* map_data = (T*)glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, kSize * kSize * 4 * 4, GL_MAP_READ… in Read()
1566 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_buffer); in ReadCS()
[all …]
/external/deqp/external/openglcts/modules/gl/
Dgl4cShaderStorageBufferObjectTests.cpp635 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, index, m_buffer); in RunIteration()
637 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, index, 0); in RunIteration()
669 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer); in Run()
670 glBufferData(GL_SHADER_STORAGE_BUFFER, sizeof(data), data, GL_STATIC_DRAW); in Run()
671 glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in Run()
718 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer); in Run()
719 glBufferData(GL_SHADER_STORAGE_BUFFER, 4, 0, GL_STATIC_READ); in Run()
720 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_buffer); in Run()
726 GLint* out_data = (GLint*)glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, 4, GL_MAP_READ_BIT); in Run()
930 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, i, m_buffer[0]); in Run()
[all …]
Dgl4cES31CompatibilityShaderStorageBufferObjectTests.cpp517 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer); in Run()
518 glBufferData(GL_SHADER_STORAGE_BUFFER, sizeof(data), data, GL_STATIC_DRAW); in Run()
519 glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in Run()
526 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 1, m_buffer); in Run()
528 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 1, 0); in Run()
568 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer); in Run()
569 glBufferData(GL_SHADER_STORAGE_BUFFER, 4, 0, GL_STATIC_READ); in Run()
570 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_buffer); in Run()
576 GLint* out_data = (GLint*)glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, 4, GL_MAP_READ_BIT); in Run()
756 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, i, m_buffer[0]); in Run()
[all …]
Dgl4cComputeShaderTests.cpp522 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_buffer); in Setup()
523 glBufferData(GL_SHADER_STORAGE_BUFFER, sizeof(vec4), NULL, GL_DYNAMIC_DRAW); in Setup()
524 glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in Setup()
535 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer); in Run()
537 …data = static_cast<vec4*>(glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, sizeof(vec4), GL_MAP_RE… in Run()
543 glUnmapBuffer(GL_SHADER_STORAGE_BUFFER); in Run()
544 glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in Run()
628 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, binding, m_storage_buffer); in RunIteration()
629 glBufferData(GL_SHADER_STORAGE_BUFFER, sizeof(uvec4) * kSize, NULL, GL_DYNAMIC_DRAW); in RunIteration()
630 glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in RunIteration()
[all …]
Dgl4cES31CompatibilityShaderImageLoadStoreTests.cpp1175 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_buffer); in Write()
1176 glBufferData(GL_SHADER_STORAGE_BUFFER, kSize * kSize * 4 * 4, &out_data[0], GL_STATIC_DRAW); in Write()
1181 …T* map_data = (T*)glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, kSize * kSize * 4 * 4, GL_MAP_READ… in Write()
1301 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_buffer); in WriteCS()
1302 glBufferData(GL_SHADER_STORAGE_BUFFER, kSize * kSize * 4 * 4, &out_data[0], GL_STATIC_DRAW); in WriteCS()
1307 …T* map_data = (T*)glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, kSize * kSize * 4 * 4, GL_MAP_READ… in WriteCS()
1463 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_buffer); in Read()
1464 glBufferData(GL_SHADER_STORAGE_BUFFER, kSize * kSize * 4 * 4, &out_data[0], GL_STATIC_DRAW); in Read()
1468 …T* map_data = (T*)glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, kSize * kSize * 4 * 4, GL_MAP_READ… in Read()
1601 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_buffer); in ReadCS()
[all …]
Dgl4cTextureGatherTests.cpp1090 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_buffer); in TestCompute()
1091 glBufferData(GL_SHADER_STORAGE_BUFFER, sizeof(Vec4), NULL, GL_DYNAMIC_DRAW); in TestCompute()
1092 glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in TestCompute()
1096 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer); in TestCompute()
1099 glUnmapBuffer(GL_SHADER_STORAGE_BUFFER); in TestCompute()
1100 glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in TestCompute()
1109 …data = static_cast<Vec4*>(glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, sizeof(Vec4), GL_MAP_READ_… in VerifyCompute()
1215 …data = static_cast<IVec4*>(glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, sizeof(IVec4), GL_MAP_REA… in VerifyCompute()
1282 …data = static_cast<IVec4*>(glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, sizeof(IVec4), GL_MAP_REA… in VerifyCompute()
1441 …data = static_cast<IVec4*>(glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, sizeof(IVec4), GL_MAP_REA… in VerifyCompute()
[all …]
Dgl4cShaderAtomicCountersTests.cpp3956 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_buffer); in Run()
3957 glBufferData(GL_SHADER_STORAGE_BUFFER, 512 * sizeof(GLuint), NULL, GL_DYNAMIC_DRAW); in Run()
3958 glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in Run()
3964 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer); in Run()
3966 glGetBufferSubData(GL_SHADER_STORAGE_BUFFER, 0, 512 * sizeof(GLuint), &data[0]); in Run()
4283 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_ssbo); in Run()
4284 glBufferData(GL_SHADER_STORAGE_BUFFER, (GLsizeiptr)(data.size() * 4), &data[0], GL_DYNAMIC_READ); in Run()
4315 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_ssbo); in Run()
4317 …data = static_cast<GLuint*>(glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, 100 * 4, GL_MAP_READ_BIT… in Run()
4328 glUnmapBuffer(GL_SHADER_STORAGE_BUFFER); in Run()
[all …]
/external/deqp/modules/gles31/functional/
Des31fBasicComputeShaderTests.cpp201 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *outputBuffer); in iterate()
202 gl.bufferData(GL_SHADER_STORAGE_BUFFER, blockSize, DE_NULL, GL_STREAM_READ); in iterate()
203 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 1, *outputBuffer); in iterate()
217 const BufferMemMap bufMap (gl, GL_SHADER_STORAGE_BUFFER, 0, blockSize, GL_MAP_READ_BIT); in iterate()
303 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *inputBuffer); in iterate()
304 …gl.bufferData(GL_SHADER_STORAGE_BUFFER, (glw::GLsizeiptr)blockInfo.dataSize, DE_NULL, GL_STATIC_DR… in iterate()
309 …const BufferMemMap bufMap(gl, GL_SHADER_STORAGE_BUFFER, 0, (int)blockInfo.dataSize, GL_MAP_WRITE_B… in iterate()
315 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, blockInfo.bufferBinding, *inputBuffer); in iterate()
324 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *outputBuffer); in iterate()
325 gl.bufferData(GL_SHADER_STORAGE_BUFFER, blockInfo.dataSize, DE_NULL, GL_STREAM_READ); in iterate()
[all …]
Des31fSSBOArrayLengthTests.cpp104 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, m_outputBufferID); in init()
105 gl.bufferData(GL_SHADER_STORAGE_BUFFER, 2 * (int)sizeof(deUint32), &invalidValue, GL_DYNAMIC_COPY); in init()
108 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, m_targetBufferID); in init()
112 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_outputBufferID); in init()
113 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 1, m_targetBufferID); in init()
189 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, m_targetBufferID); in iterate()
190 …gl.bufferData(GL_SHADER_STORAGE_BUFFER, s_fixedBufferSize * (int)sizeof(float), DE_NULL, GL_DYNAMI… in iterate()
207 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, m_outputBufferID); in iterate()
208 ptr = gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, (int)sizeof(deUint32), GL_MAP_READ_BIT); in iterate()
222 if (gl.unmapBuffer(GL_SHADER_STORAGE_BUFFER) == GL_FALSE) in iterate()
Des31fSynchronizationTests.cpp232 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, m_storageBuf); in init()
233 gl.bufferData(GL_SHADER_STORAGE_BUFFER, bufferSize, &zeroBuffer[0], GL_STATIC_DRAW); in init()
272 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, m_resultBuf); in init()
273 gl.bufferData(GL_SHADER_STORAGE_BUFFER, bufferSize, &negativeBuffer[0], GL_STATIC_DRAW); in init()
338 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 1, m_storageBuf); in runCompute()
343 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 1, m_storageBuf); in runCompute()
344 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 2, m_storageBuf); in runCompute()
367 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_resultBuf); in runCompute()
384 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, m_resultBuf); in verifyResults()
386 …mapped = gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, m_workWidth * m_workHeight * sizeof(deInt3… in verifyResults()
[all …]
Des31fIndirectComputeDispatchTests.cpp252 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 1, buffer); in createCmdBufferCompute()
280 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, buffer); in createResultBuffer()
281 gl.bufferData(GL_SHADER_STORAGE_BUFFER, (glw::GLsizei)data.size(), &data[0], GL_STATIC_READ); in createResultBuffer()
304 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, buffer); in verifyResultBuffer()
305 mapPtr = gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, resultBufferSize, GL_MAP_READ_BIT); in verifyResultBuffer()
330 gl.unmapBuffer(GL_SHADER_STORAGE_BUFFER); in verifyResultBuffer()
333 gl.unmapBuffer(GL_SHADER_STORAGE_BUFFER); in verifyResultBuffer()
375 …gl.bindBufferRange(GL_SHADER_STORAGE_BUFFER, 0, *resultBuffer, (glw::GLintptr)curOffset, resultBlo… in iterate()
Des31fAtomicCounterTests.cpp954 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *outputBuffer); in iterate()
955 gl.bufferData(GL_SHADER_STORAGE_BUFFER, ssoSize, NULL, GL_STATIC_DRAW); in iterate()
961 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *counterBuffer); in iterate()
962 gl.bufferData(GL_SHADER_STORAGE_BUFFER, counterBufferSize, &(data[0]), GL_STATIC_DRAW); in iterate()
967 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 1, *outputBuffer); in iterate()
986 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *outputBuffer); in iterate()
989 …void* ptr = gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, (GLsizeiptr)(output.size() * sizeof(deU… in iterate()
994 if (!gl.unmapBuffer(GL_SHADER_STORAGE_BUFFER)) in iterate()
1000 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in iterate()
1006 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *counterBuffer); in iterate()
[all …]
Des31fShaderAtomicOpTests.cpp224 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *inoutBuffer); in iterate()
225 gl.bufferData(GL_SHADER_STORAGE_BUFFER, blockInfo.dataSize, &bufData[0], GL_STATIC_READ); in iterate()
226 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, *inoutBuffer); in iterate()
234 …const void* resPtr = gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, blockInfo.dataSize, GL_MAP_R… in iterate()
245 gl.unmapBuffer(GL_SHADER_STORAGE_BUFFER); in iterate()
1031 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *inoutBuffer); in iterate()
1032 gl.bufferData(GL_SHADER_STORAGE_BUFFER, blockInfo.dataSize, &bufData[0], GL_STATIC_READ); in iterate()
1033 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, *inoutBuffer); in iterate()
1041 …const void* resPtr = gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, blockInfo.dataSize, GL_MAP_… in iterate()
1077 gl.unmapBuffer(GL_SHADER_STORAGE_BUFFER); in iterate()
Des31fShaderSharedVarTests.cpp306 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *outputBuffer); in iterate()
307 gl.bufferData(GL_SHADER_STORAGE_BUFFER, outBlockInfo.dataSize, &emptyData[0], GL_STATIC_READ); in iterate()
308 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, *outputBuffer); in iterate()
318 …const void* resPtr = gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, outBlockInfo.dataSize, GL… in iterate()
340 gl.unmapBuffer(GL_SHADER_STORAGE_BUFFER); in iterate()
Des31fComputeShaderBuiltinVarTests.cpp226 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *outputBuffer); in iterate()
227 gl.bufferData(GL_SHADER_STORAGE_BUFFER, (glw::GLsizeiptr)bufferSize, DE_NULL, GL_STREAM_READ); in iterate()
228 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, *outputBuffer); in iterate()
239 const void* ptr = gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, bufferSize, GL_MAP_READ_BIT); in iterate()
282 gl.unmapBuffer(GL_SHADER_STORAGE_BUFFER); in iterate()
/external/deqp/external/openglcts/modules/glesext/gpu_shader5/
DesextcGPUShader5SSBOArrayIndexing.cpp132 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, index, m_ssbo_buffer_ids[index]); in initTest()
191 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, m_ssbo_buffer_ids[index]); in iterate()
195 …(const glw::GLuint*)gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, sizeof(glw::GLuint), GL_MAP_REA… in iterate()
207 gl.unmapBuffer(GL_SHADER_STORAGE_BUFFER); in iterate()
233 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in deinit()
/external/deqp/external/openglcts/modules/glesext/texture_buffer/
DesextcTextureBufferParamValueIntToFloatConversion.cpp195 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_ssbo_id); in iterate()
218 GL_SHADER_STORAGE_BUFFER, 0, m_texture_buffer_size * sizeof(glw::GLfloat), GL_MAP_READ_BIT); in iterate()
238 gl.unmapBuffer(GL_SHADER_STORAGE_BUFFER); in iterate()
265 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, 0); in deinit()
DesextcTextureBufferMAXSizeValidation.cpp223 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_ssbo_id); in iterate()
245 glw::GLuint* result = (glw::GLuint*)gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, in iterate()
274 gl.unmapBuffer(GL_SHADER_STORAGE_BUFFER); in iterate()
292 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, 0); in deinit()
DesextcTextureBufferOperations.cpp389 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_ssbo_bo_id); in iterateFirstPhase()
405 …glw::GLint* result_mapped = (glw::GLint*)gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, size, GL_M… in iterateFirstPhase()
410 gl.unmapBuffer(GL_SHADER_STORAGE_BUFFER); in iterateFirstPhase()
414 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, 0); in iterateFirstPhase()
660 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, 0); in deinitFirstPhase()
1496 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_tb_bo_id); in initializeBufferObjectData()
1508 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in initializeBufferObjectData()
1563 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in deinit()
/external/deqp/external/openglcts/modules/common/
DglcLimitTest.inl111 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, buffer);
112 gl.bufferData(GL_SHADER_STORAGE_BUFFER, sizeof(DataType), NULL, GL_DYNAMIC_DRAW);
113 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, 0);
117 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, buffer);
119 …DataType* data = static_cast<DataType*>(gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, sizeof(Data…
121 gl.unmapBuffer(GL_SHADER_STORAGE_BUFFER);
122 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, 0);
/external/deqp/modules/glshared/
DglsShaderExecUtil.cpp886 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *m_inputBuffer); in resizeInputBuffer()
887 gl.bufferData(GL_SHADER_STORAGE_BUFFER, newSize, DE_NULL, GL_STATIC_DRAW); in resizeInputBuffer()
894 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *m_outputBuffer); in resizeOutputBuffer()
895 gl.bufferData(GL_SHADER_STORAGE_BUFFER, newSize, DE_NULL, GL_STATIC_DRAW); in resizeOutputBuffer()
1032 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, buffer); in uploadInputBuffer()
1033 void* mapPtr = gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, inputBufferSize, GL_MAP_WRITE_BIT); in uploadInputBuffer()
1050 gl.unmapBuffer(GL_SHADER_STORAGE_BUFFER); in uploadInputBuffer()
1054 gl.unmapBuffer(GL_SHADER_STORAGE_BUFFER); in uploadInputBuffer()
1067 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, buffer); in readOutputBuffer()
1068 void* mapPtr = gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, outputBufferSize, GL_MAP_READ_BIT); in readOutputBuffer()
[all …]
/external/tensorflow/tensorflow/lite/g3doc/performance/
Dgpu_advanced.md205 glBindBuffer(GL_SHADER_STORAGE_BUFFER, id[0]);
206 glBufferData(GL_SHADER_STORAGE_BUFFER, inputSize, null, GL_STREAM_COPY);
207 glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0); // unbind
237 glBindBuffer(GL_SHADER_STORAGE_BUFFER, id[0]);
238 glBufferData(GL_SHADER_STORAGE_BUFFER, outputSize, null, GL_STREAM_COPY);
239 glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0); // unbind

123