Home
last modified time | relevance | path

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

12345678910>>...15

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DDrawElementsTest.cpp96 GL_STATIC_DRAW); in TEST_P()
132 GL_STATIC_DRAW); in TEST_P()
140 GL_STATIC_DRAW); in TEST_P()
220 GL_STATIC_DRAW); in TEST_P()
224 GL_STATIC_DRAW); in TEST_P()
228 GL_STATIC_DRAW); in TEST_P()
236 GL_STATIC_DRAW); in TEST_P()
242 GL_STATIC_DRAW); in TEST_P()
290 GL_STATIC_DRAW); in TEST_P()
296 GL_STATIC_DRAW); in TEST_P()
[all …]
DShaderStorageBufferTest.cpp82 matrixCase.mInputdata, GL_STATIC_DRAW); in runMatrixTest()
85 GL_STATIC_DRAW); in runMatrixTest()
127 GL_STATIC_DRAW); in runVectorTest()
131 GL_STATIC_DRAW); in runVectorTest()
288 glBufferData(GL_SHADER_STORAGE_BUFFER, kElementCount * kArrayStride, nullptr, GL_STATIC_DRAW); in TEST_P()
466 glBufferData(GL_SHADER_STORAGE_BUFFER, kBytesPerComponent, &kInitialData, GL_STATIC_DRAW); in TEST_P()
572 glBufferData(GL_SHADER_STORAGE_BUFFER, kBufferOffset + kBufferSize, nullptr, GL_STATIC_DRAW); in TEST_P()
667 glBufferData(GL_SHADER_STORAGE_BUFFER, 32, nullptr, GL_STATIC_DRAW); in TEST_P()
1087 glBufferData(GL_SHADER_STORAGE_BUFFER, totalSize, nullptr, GL_STATIC_DRAW); in TEST_P()
1107 glBufferData(GL_SHADER_STORAGE_BUFFER, totalSize, nullptr, GL_STATIC_DRAW); in TEST_P()
[all …]
DUniformBufferTest.cpp70 glBufferData(GL_UNIFORM_BUFFER, sizeof(float) * 4, floatData, GL_STATIC_DRAW); in TEST_P()
128 glBufferData(GL_UNIFORM_BUFFER, stride + vec4Size, v.data(), GL_STATIC_DRAW); in TEST_P()
171 glBufferData(GL_UNIFORM_BUFFER, vec4Size, v.data(), GL_STATIC_DRAW); in TEST_P()
274 glBufferData(GL_UNIFORM_BUFFER, v.size(), v.data(), GL_STATIC_DRAW); in TEST_P()
550 glBufferData(GL_UNIFORM_BUFFER, bigSize, zero.data(), GL_STATIC_DRAW); in TEST_P()
577 glBufferData(GL_UNIFORM_BUFFER, bigSize, expectedData.data(), GL_STATIC_DRAW); in TEST_P()
684 glBufferData(GL_UNIFORM_BUFFER, vec4Size, v.data(), GL_STATIC_DRAW); in TEST_P()
740 glBufferData(GL_UNIFORM_BUFFER, vec4Size, v.data(), GL_STATIC_DRAW); in TEST_P()
745 glBufferData(GL_UNIFORM_BUFFER, vec4Size, v.data(), GL_STATIC_DRAW); in TEST_P()
903 glBufferData(GL_UNIFORM_BUFFER, kDataSize, v.data(), GL_STATIC_DRAW); in TEST_P()
[all …]
DRobustBufferAccessBehaviorTest.cpp155 runIndexOutOfRangeTests(GL_STATIC_DRAW); in TEST_P()
200 glBufferData(GL_ARRAY_BUFFER, sizeof(vertices), vertices.data(), GL_STATIC_DRAW); in TEST_P()
209 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indicies), indicies.data(), GL_STATIC_DRAW); in TEST_P()
276 GL_STATIC_DRAW); in TEST_P()
376 glBufferData(GL_ARRAY_BUFFER, kNumQuads * sizeof(QuadVerts), quadVerts.data(), GL_STATIC_DRAW); in TEST_P()
387 glBufferData(GL_ARRAY_BUFFER, 9 * 5 * sizeof(GLfloat), defaultFloats.data(), GL_STATIC_DRAW); in TEST_P()
457 glBufferData(GL_ARRAY_BUFFER, kNumQuads * sizeof(QuadVerts), quadVerts.data(), GL_STATIC_DRAW); in TEST_P()
469 glBufferData(GL_ARRAY_BUFFER, 0, nullptr, GL_STATIC_DRAW); in TEST_P()
485 glBufferData(GL_ARRAY_BUFFER, sizeof(kFloats), kFloats, GL_STATIC_DRAW); in TEST_P()
513 glBufferData(GL_ARRAY_BUFFER, kNumQuads * sizeof(QuadVerts), quadVerts.data(), GL_STATIC_DRAW); in TEST_P()
DBufferDataTest.cpp97 glBufferData(GL_ARRAY_BUFFER, 0, zeroData, GL_STATIC_DRAW); in TEST_P()
284 glBufferData(GL_ARRAY_BUFFER, sizeof(char) * 6, vertexData, GL_STATIC_DRAW); in TEST_P()
293 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(int) * 1, indexData, GL_STATIC_DRAW); in TEST_P()
305 glBufferData(GL_COPY_READ_BUFFER, 4, &indexData[1], GL_STATIC_DRAW); in TEST_P()
338 glBufferData(GL_ARRAY_BUFFER, 1, singleByte, GL_STATIC_DRAW); in TEST_P()
344 glBufferData(GL_ARRAY_BUFFER, numBytes, nullptr, GL_STATIC_DRAW); in TEST_P()
372 glBufferData(GL_COPY_WRITE_BUFFER, numBytes, zeros, GL_STATIC_DRAW); in TEST_P()
434 glBufferData(GL_ARRAY_BUFFER, srcData.size(), srcData.data(), GL_STATIC_DRAW); in TEST_P()
509 glBufferData(GL_ARRAY_BUFFER, srcData.size(), srcData.data(), GL_STATIC_DRAW); in TEST_P()
583 glBufferData(GL_COPY_READ_BUFFER, srcData.size(), srcData.data(), GL_STATIC_DRAW); in TEST_P()
[all …]
DAtomicCounterBufferTest.cpp171 glBufferData(GL_ATOMIC_COUNTER_BUFFER, sizeof(bufferData), bufferData, GL_STATIC_DRAW); in TEST_P()
209 glBufferData(GL_ATOMIC_COUNTER_BUFFER, sizeof(bufferDataLeft), bufferDataLeft, GL_STATIC_DRAW); in TEST_P()
218 GL_STATIC_DRAW); in TEST_P()
267 glBufferData(GL_ATOMIC_COUNTER_BUFFER, sizeof(bufferData), bufferData, GL_STATIC_DRAW); in TEST_P()
311 (bufferIndex == 0) ? bufferData : nullptr, GL_STATIC_DRAW); in TEST_P()
370 glBufferData(GL_ATOMIC_COUNTER_BUFFER, sizeof(bufferData), bufferData, GL_STATIC_DRAW); in TEST_P()
422 glBufferData(GL_ATOMIC_COUNTER_BUFFER, sizeof(initialData), initialData, GL_STATIC_DRAW); in TEST_P()
563 glBufferData(GL_ATOMIC_COUNTER_BUFFER, sizeof(bufferData), bufferData, GL_STATIC_DRAW); in TEST_P()
DLineLoopTest.cpp184 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indices), indices, GL_STATIC_DRAW); in TEST_P()
198 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indices), indices, GL_STATIC_DRAW); in TEST_P()
217 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indices), indices, GL_STATIC_DRAW); in TEST_P()
452 lineloopWithRestartIndices, GL_STATIC_DRAW); in TEST_P()
455 glBufferData(GL_ARRAY_BUFFER, sizeof(vertices), vertices, GL_STATIC_DRAW); in TEST_P()
460 glBufferData(GL_ARRAY_BUFFER, sizeof(transform), transform, GL_STATIC_DRAW); in TEST_P()
541 glBufferData(GL_ARRAY_BUFFER, sizeof(loopPositions), loopPositions, GL_STATIC_DRAW); in runTest()
542 glBufferData(GL_ELEMENT_ARRAY_BUFFER, indicesSize, indices, GL_STATIC_DRAW); in runTest()
556 glBufferData(GL_DRAW_INDIRECT_BUFFER, sizeof(DrawCommand), &cmdBuffer, GL_STATIC_DRAW); in runTest()
DSimpleOperationTest.cpp141 GL_STATIC_DRAW); in TEST_P()
271 glBufferData(GL_ARRAY_BUFFER, data.size(), &data[0], GL_STATIC_DRAW); in TEST_P()
282 glBufferData(GL_ARRAY_BUFFER, 1024, nullptr, GL_STATIC_DRAW); in TEST_P()
296 glBufferData(GL_ARRAY_BUFFER, bufferSize, nullptr, GL_STATIC_DRAW); in TEST_P()
367 GL_STATIC_DRAW); in TEST_P()
408 GL_STATIC_DRAW); in TEST_P()
446 GL_STATIC_DRAW); in TEST_P()
488 GL_STATIC_DRAW); in testSetUp()
577 GL_STATIC_DRAW); in TEST_P()
597 GL_STATIC_DRAW); in TEST_P()
[all …]
DStateChangeTest.cpp330 glBufferData(GL_ARRAY_BUFFER, red.size() * sizeof(GLColor), red.data(), GL_STATIC_DRAW); in TEST_P()
354 glBufferData(GL_ARRAY_BUFFER, blue.size() * sizeof(GLColor), blue.data(), GL_STATIC_DRAW); in TEST_P()
425 glBufferData(GL_TRANSFORM_FEEDBACK_BUFFER, 6 * sizeof(float[4]), nullptr, GL_STATIC_DRAW); in TEST_P()
849 quadVertices.data(), GL_STATIC_DRAW); in TEST_P()
955 GL_STATIC_DRAW); in TEST_P()
991 glBufferData(GL_ARRAY_BUFFER, sizeof(Vector3) * 6, quadVertices.data(), GL_STATIC_DRAW); in TEST_P()
1087 glBufferData(GL_ARRAY_BUFFER, sizeof(Vector3) * 6, quadVertices.data(), GL_STATIC_DRAW); in TEST_P()
1110 glBufferData(GL_ARRAY_BUFFER, sizeof(GLColor) * 6, greenColors.data(), GL_STATIC_DRAW); in TEST_P()
1256 glBufferData(GL_ARRAY_BUFFER, size1, data1.data(), GL_STATIC_DRAW); in TEST_P()
1265 glBufferData(GL_TRANSFORM_FEEDBACK_BUFFER, size1, nullptr, GL_STATIC_DRAW); in TEST_P()
[all …]
DVertexAttributeTest.cpp198 glBufferData(GL_ARRAY_BUFFER, dataSize, test.inputData, GL_STATIC_DRAW); in setupTest()
401 glBufferData(GL_ARRAY_BUFFER, quadVerticesSize, nullptr, GL_STATIC_DRAW); in InitQuadVertexBuffer()
412 glBufferData(GL_ARRAY_BUFFER, quadVerticesSize + sizeof(Vector3), nullptr, GL_STATIC_DRAW); in InitQuadPlusOneVertexBuffer()
1116 GL_STATIC_DRAW); in TEST_P()
1125 SetupColorsForUnitQuad(colorLoc, kFloatGreen, GL_STATIC_DRAW, &colorBuffers[1]); in TEST_P()
1261 glBufferData(GL_ARRAY_BUFFER, dataSize, &singleFloat, GL_STATIC_DRAW); in TEST_P()
1290 glBufferData(GL_ARRAY_BUFFER, dataSize + TypeStride(GL_FLOAT), nullptr, GL_STATIC_DRAW); in TEST_P()
1331 glBufferData(GL_ARRAY_BUFFER, dataSize, nullptr, GL_STATIC_DRAW); in TEST_P()
1383 glBufferData(GL_ARRAY_BUFFER, dataSize, nullptr, GL_STATIC_DRAW); in TEST_P()
1439 glBufferData(GL_ARRAY_BUFFER, dataSize, nullptr, GL_STATIC_DRAW); in TEST_P()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DUniformBufferTest.cpp69 glBufferData(GL_UNIFORM_BUFFER, sizeof(float) * 4, floatData, GL_STATIC_DRAW); in TEST_P()
127 glBufferData(GL_UNIFORM_BUFFER, stride + vec4Size, v.data(), GL_STATIC_DRAW); in TEST_P()
170 glBufferData(GL_UNIFORM_BUFFER, vec4Size, v.data(), GL_STATIC_DRAW); in TEST_P()
285 glBufferData(GL_UNIFORM_BUFFER, v.size(), v.data(), GL_STATIC_DRAW); in TEST_P()
561 glBufferData(GL_UNIFORM_BUFFER, bigSize, zero.data(), GL_STATIC_DRAW); in TEST_P()
588 glBufferData(GL_UNIFORM_BUFFER, bigSize, expectedData.data(), GL_STATIC_DRAW); in TEST_P()
695 glBufferData(GL_UNIFORM_BUFFER, vec4Size, v.data(), GL_STATIC_DRAW); in TEST_P()
751 glBufferData(GL_UNIFORM_BUFFER, vec4Size, v.data(), GL_STATIC_DRAW); in TEST_P()
756 glBufferData(GL_UNIFORM_BUFFER, vec4Size, v.data(), GL_STATIC_DRAW); in TEST_P()
835 glBufferData(GL_UNIFORM_BUFFER, kDataSize, v.data(), GL_STATIC_DRAW); in TEST_P()
[all …]
DShaderStorageBufferTest.cpp82 matrixCase.mInputdata, GL_STATIC_DRAW); in runMatrixTest()
85 GL_STATIC_DRAW); in runMatrixTest()
127 GL_STATIC_DRAW); in runVectorTest()
131 GL_STATIC_DRAW); in runVectorTest()
288 glBufferData(GL_SHADER_STORAGE_BUFFER, kElementCount * kArrayStride, nullptr, GL_STATIC_DRAW); in TEST_P()
345 glBufferData(GL_SHADER_STORAGE_BUFFER, kBytesPerComponent, &kInitialData, GL_STATIC_DRAW); in TEST_P()
447 glBufferData(GL_SHADER_STORAGE_BUFFER, kBufferOffset + kBufferSize, nullptr, GL_STATIC_DRAW); in TEST_P()
542 glBufferData(GL_SHADER_STORAGE_BUFFER, 32, nullptr, GL_STATIC_DRAW); in TEST_P()
962 glBufferData(GL_SHADER_STORAGE_BUFFER, totalSize, nullptr, GL_STATIC_DRAW); in TEST_P()
982 glBufferData(GL_SHADER_STORAGE_BUFFER, totalSize, nullptr, GL_STATIC_DRAW); in TEST_P()
[all …]
DDrawElementsTest.cpp94 GL_STATIC_DRAW); in TEST_P()
207 GL_STATIC_DRAW); in TEST_P()
211 GL_STATIC_DRAW); in TEST_P()
215 GL_STATIC_DRAW); in TEST_P()
223 GL_STATIC_DRAW); in TEST_P()
229 GL_STATIC_DRAW); in TEST_P()
289 GL_STATIC_DRAW); in TEST_P()
297 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indices1), indices1, GL_STATIC_DRAW); in TEST_P()
308 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indices2), indices2, GL_STATIC_DRAW); in TEST_P()
DBufferDataTest.cpp97 glBufferData(GL_ARRAY_BUFFER, bufferSize, nullptr, GL_STATIC_DRAW); in TEST_P()
117 glBufferData(GL_ARRAY_BUFFER, 0, zeroData, GL_STATIC_DRAW); in TEST_P()
302 glBufferData(GL_ARRAY_BUFFER, sizeof(char) * 6, vertexData, GL_STATIC_DRAW); in TEST_P()
311 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(int) * 1, indexData, GL_STATIC_DRAW); in TEST_P()
323 glBufferData(GL_COPY_READ_BUFFER, 4, &indexData[1], GL_STATIC_DRAW); in TEST_P()
356 glBufferData(GL_ARRAY_BUFFER, 1, singleByte, GL_STATIC_DRAW); in TEST_P()
362 glBufferData(GL_ARRAY_BUFFER, numBytes, nullptr, GL_STATIC_DRAW); in TEST_P()
390 glBufferData(GL_COPY_WRITE_BUFFER, numBytes, zeros, GL_STATIC_DRAW); in TEST_P()
441 glBufferData(GL_COPY_READ_BUFFER, srcData.size(), srcData.data(), GL_STATIC_DRAW); in TEST_P()
497 glBufferData(GL_ARRAY_BUFFER, data.size(), nullptr, GL_STATIC_DRAW); in TEST_P()
[all …]
DRobustBufferAccessBehaviorTest.cpp158 runIndexOutOfRangeTests(GL_STATIC_DRAW); in TEST_P()
203 glBufferData(GL_ARRAY_BUFFER, sizeof(vertices), vertices.data(), GL_STATIC_DRAW); in TEST_P()
212 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indicies), indicies.data(), GL_STATIC_DRAW); in TEST_P()
279 GL_STATIC_DRAW); in TEST_P()
379 glBufferData(GL_ARRAY_BUFFER, kNumQuads * sizeof(QuadVerts), quadVerts.data(), GL_STATIC_DRAW); in TEST_P()
390 glBufferData(GL_ARRAY_BUFFER, 9 * 5 * sizeof(GLfloat), defaultFloats.data(), GL_STATIC_DRAW); in TEST_P()
460 glBufferData(GL_ARRAY_BUFFER, kNumQuads * sizeof(QuadVerts), quadVerts.data(), GL_STATIC_DRAW); in TEST_P()
472 glBufferData(GL_ARRAY_BUFFER, 0, nullptr, GL_STATIC_DRAW); in TEST_P()
488 glBufferData(GL_ARRAY_BUFFER, sizeof(kFloats), kFloats, GL_STATIC_DRAW); in TEST_P()
516 glBufferData(GL_ARRAY_BUFFER, kNumQuads * sizeof(QuadVerts), quadVerts.data(), GL_STATIC_DRAW); in TEST_P()
DStateChangeTest.cpp303 glBufferData(GL_ARRAY_BUFFER, red.size() * sizeof(GLColor), red.data(), GL_STATIC_DRAW); in TEST_P()
327 glBufferData(GL_ARRAY_BUFFER, blue.size() * sizeof(GLColor), blue.data(), GL_STATIC_DRAW); in TEST_P()
789 quadVertices.data(), GL_STATIC_DRAW); in TEST_P()
859 GL_STATIC_DRAW); in TEST_P()
918 glBufferData(GL_ARRAY_BUFFER, sizeof(Vector3) * 6, quadVertices.data(), GL_STATIC_DRAW); in TEST_P()
941 glBufferData(GL_ARRAY_BUFFER, sizeof(GLColor) * 6, greenColors.data(), GL_STATIC_DRAW); in TEST_P()
1080 glBufferData(GL_ARRAY_BUFFER, size1, data1.data(), GL_STATIC_DRAW); in TEST_P()
1089 glBufferData(GL_TRANSFORM_FEEDBACK_BUFFER, size1, nullptr, GL_STATIC_DRAW); in TEST_P()
1112 glBufferData(GL_ARRAY_BUFFER, size2, data2.data(), GL_STATIC_DRAW); in TEST_P()
1113 glBufferData(GL_TRANSFORM_FEEDBACK_BUFFER, size2, nullptr, GL_STATIC_DRAW); in TEST_P()
[all …]
DSimpleOperationTest.cpp143 GL_STATIC_DRAW); in TEST_P()
273 glBufferData(GL_ARRAY_BUFFER, data.size(), &data[0], GL_STATIC_DRAW); in TEST_P()
284 glBufferData(GL_ARRAY_BUFFER, 1024, nullptr, GL_STATIC_DRAW); in TEST_P()
298 glBufferData(GL_ARRAY_BUFFER, bufferSize, nullptr, GL_STATIC_DRAW); in TEST_P()
369 GL_STATIC_DRAW); in TEST_P()
410 GL_STATIC_DRAW); in TEST_P()
448 GL_STATIC_DRAW); in TEST_P()
491 GL_STATIC_DRAW); in TEST_P()
712 glBufferData(GL_ARRAY_BUFFER, colors1.size() * sizeof(GLColor), colors1.data(), GL_STATIC_DRAW); in TEST_P()
718 glBufferData(GL_ARRAY_BUFFER, colors2.size() * sizeof(GLColor), colors2.data(), GL_STATIC_DRAW); in TEST_P()
[all …]
DVertexAttributeTest.cpp108 glBufferData(GL_ARRAY_BUFFER, dataSize, test.inputData, GL_STATIC_DRAW); in setupTest()
669 GL_STATIC_DRAW); in TEST_P()
678 SetupColorsForUnitQuad(colorLoc, kFloatGreen, GL_STATIC_DRAW, &colorBuffers[1]); in TEST_P()
817 glBufferData(GL_ARRAY_BUFFER, dataSize, &singleFloat, GL_STATIC_DRAW); in TEST_P()
847 glBufferData(GL_ARRAY_BUFFER, quadVerticesSize + sizeof(Vector3), nullptr, GL_STATIC_DRAW); in TEST_P()
857 glBufferData(GL_ARRAY_BUFFER, dataSize + TypeStride(GL_FLOAT), nullptr, GL_STATIC_DRAW); in TEST_P()
892 glBufferData(GL_ARRAY_BUFFER, quadVerticesSize, quadVertices.data(), GL_STATIC_DRAW); in TEST_P()
900 glBufferData(GL_ARRAY_BUFFER, sizeof(inputData), inputData.data(), GL_STATIC_DRAW); in TEST_P()
1019 glBufferData(GL_ARRAY_BUFFER, quadVerticesSize, quadVertices.data(), GL_STATIC_DRAW); in initTest()
1035 glBufferData(GL_ARRAY_BUFFER, kExpectedDataSize, expectedData.data(), GL_STATIC_DRAW); in initTest()
[all …]
DAtomicCounterBufferTest.cpp179 glBufferData(GL_ATOMIC_COUNTER_BUFFER, sizeof(bufferData), bufferData, GL_STATIC_DRAW); in TEST_P()
213 glBufferData(GL_ATOMIC_COUNTER_BUFFER, sizeof(bufferData), bufferData, GL_STATIC_DRAW); in TEST_P()
269 glBufferData(GL_ATOMIC_COUNTER_BUFFER, sizeof(initialData), initialData, GL_STATIC_DRAW); in TEST_P()
414 glBufferData(GL_ATOMIC_COUNTER_BUFFER, sizeof(bufferData), bufferData, GL_STATIC_DRAW); in TEST_P()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/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 …rData(GL_DRAW_INDIRECT_BUFFER, 1 * sizeof(SDPDrawArraysIndirectCommand), indirect, GL_STATIC_DRAW); in initChild()
481 …ata(GL_DRAW_INDIRECT_BUFFER, 1 * sizeof(SDPDrawElementsIndirectCommand), indirect, GL_STATIC_DRAW); in initChild()
640 …rData(GL_DRAW_INDIRECT_BUFFER, 3 * sizeof(SDPDrawArraysIndirectCommand), indirect, GL_STATIC_DRAW); in initChild()
693 …ata(GL_DRAW_INDIRECT_BUFFER, 3 * sizeof(SDPDrawElementsIndirectCommand), indirect, GL_STATIC_DRAW); in initChild()
756 …rData(GL_DRAW_INDIRECT_BUFFER, 4 * sizeof(SDPDrawArraysIndirectCommand), indirect, GL_STATIC_DRAW); in initChild()
766 gl.bufferData(GL_PARAMETER_BUFFER_ARB, 3 * sizeof(GLushort), parameters, GL_STATIC_DRAW); in initChild()
826 …ata(GL_DRAW_INDIRECT_BUFFER, 3 * sizeof(SDPDrawElementsIndirectCommand), indirect, GL_STATIC_DRAW); in initChild()
836 gl.bufferData(GL_PARAMETER_BUFFER_ARB, 3 * sizeof(GLushort), parameters, GL_STATIC_DRAW); in initChild()
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cDrawIndirectTests.cpp1133 glBufferData(GL_DRAW_INDIRECT_BUFFER, 300, NULL, GL_STATIC_DRAW); in Run()
2001 …Data(GL_ARRAY_BUFFER, (GLsizeiptr)(coords.size() * sizeof(coords[0])), &coords[0], GL_STATIC_DRAW); in Run()
2030 glBufferData(GL_DRAW_INDIRECT_BUFFER, sizeof(indirectArrays), &indirectArrays, GL_STATIC_DRAW); in Run()
2047 GL_STATIC_DRAW); in Run()
2053 …glBufferData(GL_DRAW_INDIRECT_BUFFER, sizeof(indirectElements), &indirectElements, GL_STATIC_DRAW); in Run()
2167 NULL, GL_STATIC_DRAW); in Run()
2219 glBufferData(GL_DRAW_INDIRECT_BUFFER, sizeof(indirectArrays), &indirectArrays, GL_STATIC_DRAW); in Run()
2236 GL_STATIC_DRAW); in Run()
2242 …glBufferData(GL_DRAW_INDIRECT_BUFFER, sizeof(indirectElements), &indirectElements, GL_STATIC_DRAW); in Run()
2476 …Data(GL_ARRAY_BUFFER, (GLsizeiptr)(coords.size() * sizeof(coords[0])), &coords[0], GL_STATIC_DRAW); in Run()
[all …]

12345678910>>...15