Home
last modified time | relevance | path

Searched refs:GL_STATIC_DRAW (Results 26 – 50 of 2430) sorted by relevance

12345678910>>...98

/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/arb_draw_indirect/
H A Ddraw-arrays-base-instance.c100 glBufferData(GL_ARRAY_BUFFER, sizeof(vertices_data), vertices_data, GL_STATIC_DRAW); in piglit_init()
106 glBufferData(GL_ARRAY_BUFFER, sizeof(instance_data), instance_data, GL_STATIC_DRAW); in piglit_init()
113 glBufferData(GL_DRAW_INDIRECT_BUFFER, sizeof(indirect_data), indirect_data, GL_STATIC_DRAW); in piglit_init()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/gpu/command_buffer/service/
H A Dbuffer_manager_unittest.cc88 DoBufferData(buffer, kTarget, sizeof(data), GL_STATIC_DRAW, nullptr, in RunGetMaxValueForRangeUint8Test()
135 DoBufferData(buffer, kTarget, sizeof(data), GL_STATIC_DRAW, nullptr, in RunGetMaxValueForRangeUint16Test()
185 DoBufferData(buffer, kTarget, sizeof(data), GL_STATIC_DRAW, nullptr, in RunGetMaxValueForRangeUint32Test()
278 EXPECT_EQ(static_cast<GLenum>(GL_STATIC_DRAW), buffer1->usage()); in TEST_F()
355 DoBufferData(buffer, kTarget, sizeof(data), GL_STATIC_DRAW, nullptr, in TEST_F()
363 DoBufferData(buffer, kTarget, 1, GL_STATIC_DRAW, nullptr, GL_NO_ERROR); in TEST_F()
379 DoBufferData(buffer, kTarget, kDataSize, GL_STATIC_DRAW, nullptr, in TEST_F()
433 DoBufferData(buffer.get(), kTarget, kDataSize, GL_STATIC_DRAW, nullptr, in TEST_F()
476 buffer, kTarget, sizeof(data1), GL_STATIC_DRAW, data1, GL_NO_ERROR); in TEST_F()
484 buffer, kTarget, sizeof(data2), GL_STATIC_DRAW, data2, GL_NO_ERROR); in TEST_F()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/gpu/command_buffer/service/
H A Dbuffer_manager_unittest.cc88 DoBufferData(buffer, kTarget, sizeof(data), GL_STATIC_DRAW, nullptr, in RunGetMaxValueForRangeUint8Test()
135 DoBufferData(buffer, kTarget, sizeof(data), GL_STATIC_DRAW, nullptr, in RunGetMaxValueForRangeUint16Test()
185 DoBufferData(buffer, kTarget, sizeof(data), GL_STATIC_DRAW, nullptr, in RunGetMaxValueForRangeUint32Test()
278 EXPECT_EQ(static_cast<GLenum>(GL_STATIC_DRAW), buffer1->usage()); in TEST_F()
355 DoBufferData(buffer, kTarget, sizeof(data), GL_STATIC_DRAW, nullptr, in TEST_F()
363 DoBufferData(buffer, kTarget, 1, GL_STATIC_DRAW, nullptr, GL_NO_ERROR); in TEST_F()
379 DoBufferData(buffer, kTarget, kDataSize, GL_STATIC_DRAW, nullptr, in TEST_F()
433 DoBufferData(buffer.get(), kTarget, kDataSize, GL_STATIC_DRAW, nullptr, in TEST_F()
476 buffer, kTarget, sizeof(data1), GL_STATIC_DRAW, data1, GL_NO_ERROR); in TEST_F()
484 buffer, kTarget, sizeof(data2), GL_STATIC_DRAW, data2, GL_NO_ERROR); in TEST_F()
[all …]
/dports/x11-toolkits/qt5-datavis3d/kde-qtdatavis3d-5.15.2p2/src/datavisualization/utils/
H A Dobjecthelper.cpp156 GL_STATIC_DRAW); in load()
162 GL_STATIC_DRAW); in load()
167 &m_indexedUVs.at(0), GL_STATIC_DRAW); in load()
172 &m_indices.at(0), GL_STATIC_DRAW); in load()
/dports/cad/horizon-eda/horizon-2.1.0/src/canvas3d/
H A Dface_renderer.cpp39 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(elements), elements, GL_STATIC_DRAW); in create_vao()
58 glBufferData(GL_ARRAY_BUFFER, sizeof(ivertices), ivertices, GL_STATIC_DRAW); in create_vao()
115 GL_STATIC_DRAW); in push()
119 GL_STATIC_DRAW); in push()
128 ca.package_transforms.data(), GL_STATIC_DRAW); in push()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/src/tests/gl_tests/
H A DStateChangeTest.cpp935 GL_STATIC_DRAW); in TEST_P()
1286 GL_STATIC_DRAW); in TEST_P()
1291 GL_STATIC_DRAW); in TEST_P()
1327 GL_STATIC_DRAW); in TEST_P()
1332 GL_STATIC_DRAW); in TEST_P()
1369 GL_STATIC_DRAW); in TEST_P()
1374 GL_STATIC_DRAW); in TEST_P()
1636 GL_STATIC_DRAW); in TEST_P()
1641 GL_STATIC_DRAW); in TEST_P()
1692 GL_STATIC_DRAW); in TEST_P()
[all …]
H A DAtomicCounterBufferTest.cpp179 glBufferData(GL_ATOMIC_COUNTER_BUFFER, sizeof(bufferData), bufferData, GL_STATIC_DRAW); in TEST_P()
236 glBufferData(GL_ATOMIC_COUNTER_BUFFER, sizeof(bufferData), bufferData, GL_STATIC_DRAW); in TEST_P()
284 (bufferIndex == 0) ? bufferData : nullptr, GL_STATIC_DRAW); in TEST_P()
347 glBufferData(GL_ATOMIC_COUNTER_BUFFER, sizeof(bufferData), bufferData, GL_STATIC_DRAW); in TEST_P()
403 glBufferData(GL_ATOMIC_COUNTER_BUFFER, sizeof(initialData), initialData, GL_STATIC_DRAW); in TEST_P()
548 glBufferData(GL_ATOMIC_COUNTER_BUFFER, sizeof(bufferData), bufferData, GL_STATIC_DRAW); in TEST_P()
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/arb_shader_draw_parameters/
H A Ddrawid-indirect.c167 glBufferData(GL_ARRAY_BUFFER, sizeof(geometry), &geometry, GL_STATIC_DRAW); in piglit_display()
183 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indices), indices, GL_STATIC_DRAW); in piglit_display()
204 glBufferData(GL_DRAW_INDIRECT_BUFFER, sizeof(cmds), cmds, GL_STATIC_DRAW); in piglit_display()
H A Dbasevertex.c187 GL_STATIC_DRAW); in draw_indirect()
259 glBufferData(GL_ARRAY_BUFFER, 2048, NULL, GL_STATIC_DRAW); in piglit_display()
263 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof indices, indices, GL_STATIC_DRAW); in piglit_display()
/dports/games/ufoai/ufoai-2.5-source/src/client/renderer/
H A Dr_misc.cpp385 qglBufferData(GL_ARRAY_BUFFER, vertind * sizeof(GLfloat), mod->bsp.verts, GL_STATIC_DRAW); in R_ReinitOpenglContext()
389 qglBufferData(GL_ARRAY_BUFFER, coordind * sizeof(GLfloat), mod->bsp.texcoords, GL_STATIC_DRAW); in R_ReinitOpenglContext()
393 qglBufferData(GL_ARRAY_BUFFER, coordind * sizeof(GLfloat), mod->bsp.lmtexcoords, GL_STATIC_DRAW); in R_ReinitOpenglContext()
397 qglBufferData(GL_ARRAY_BUFFER, vertind * sizeof(GLfloat), mod->bsp.normals, GL_STATIC_DRAW); in R_ReinitOpenglContext()
401 qglBufferData(GL_ARRAY_BUFFER, tangind * sizeof(GLfloat), mod->bsp.tangents, GL_STATIC_DRAW); in R_ReinitOpenglContext()
405 …NT_ARRAY_BUFFER, mod->bsp.numIndexes * sizeof(glElementIndex_t), mod->bsp.indexes, GL_STATIC_DRAW); in R_ReinitOpenglContext()
/dports/graphics/reactphysics3d/reactphysics3d-0.8.0/testbed/common/
H A DSphere.cpp163 mVBOVertices.copyDataIntoVBO(sizeVertices, getVerticesPointer(), GL_STATIC_DRAW); in createVBOAndVAO()
170 mVBONormals.copyDataIntoVBO(sizeNormals, getNormalsPointer(), GL_STATIC_DRAW); in createVBOAndVAO()
178 …TextureCoords.copyDataIntoVBO(sizeTextureCoords, getUVTextureCoordinatesPointer(), GL_STATIC_DRAW); in createVBOAndVAO()
186 mVBOIndices.copyDataIntoVBO(sizeIndices, getIndicesPointer(), GL_STATIC_DRAW); in createVBOAndVAO()
H A DCapsule.cpp164 mVBOVertices.copyDataIntoVBO(sizeVertices, getVerticesPointer(), GL_STATIC_DRAW); in createVBOAndVAO()
171 mVBONormals.copyDataIntoVBO(sizeNormals, getNormalsPointer(), GL_STATIC_DRAW); in createVBOAndVAO()
179 …TextureCoords.copyDataIntoVBO(sizeTextureCoords, getUVTextureCoordinatesPointer(), GL_STATIC_DRAW); in createVBOAndVAO()
187 mVBOIndices.copyDataIntoVBO(sizeIndices, getIndicesPointer(), GL_STATIC_DRAW); in createVBOAndVAO()
H A DConcaveMesh.cpp166 mVBOVertices.copyDataIntoVBO(sizeVertices, getVerticesPointer(), GL_STATIC_DRAW); in createVBOAndVAO()
173 mVBONormals.copyDataIntoVBO(sizeNormals, getNormalsPointer(), GL_STATIC_DRAW); in createVBOAndVAO()
181 …TextureCoords.copyDataIntoVBO(sizeTextureCoords, getUVTextureCoordinatesPointer(), GL_STATIC_DRAW); in createVBOAndVAO()
189 mVBOIndices.copyDataIntoVBO(sizeIndices, getIndicesPointer(), GL_STATIC_DRAW); in createVBOAndVAO()
H A DBox.cpp170 mVBOVertices.copyDataIntoVBO(sizeVertices, getVerticesPointer(), GL_STATIC_DRAW); in createVBOAndVAO()
177 mVBONormals.copyDataIntoVBO(sizeNormals, getNormalsPointer(), GL_STATIC_DRAW); in createVBOAndVAO()
185 …TextureCoords.copyDataIntoVBO(sizeTextureCoords, getUVTextureCoordinatesPointer(), GL_STATIC_DRAW); in createVBOAndVAO()
193 mVBOIndices.copyDataIntoVBO(sizeIndices, getIndicesPointer(), GL_STATIC_DRAW); in createVBOAndVAO()
H A DDumbbell.cpp187 mVBOVertices.copyDataIntoVBO(sizeVertices, getVerticesPointer(), GL_STATIC_DRAW); in createVBOAndVAO()
194 mVBONormals.copyDataIntoVBO(sizeNormals, getNormalsPointer(), GL_STATIC_DRAW); in createVBOAndVAO()
202 …TextureCoords.copyDataIntoVBO(sizeTextureCoords, getUVTextureCoordinatesPointer(), GL_STATIC_DRAW); in createVBOAndVAO()
210 mVBOIndices.copyDataIntoVBO(sizeIndices, getIndicesPointer(), GL_STATIC_DRAW); in createVBOAndVAO()
H A DVisualContactPoint.cpp206 mVBOVertices.copyDataIntoVBO(sizeVertices, mMesh.getVerticesPointer(), GL_STATIC_DRAW); in createVBOAndVAO()
213 mVBONormals.copyDataIntoVBO(sizeNormals, mMesh.getNormalsPointer(), GL_STATIC_DRAW); in createVBOAndVAO()
220 mVBOIndices.copyDataIntoVBO(sizeIndices, mMesh.getIndicesPointer(), GL_STATIC_DRAW); in createVBOAndVAO()
247 …esNormalLine.copyDataIntoVBO(sizeNormalLineVertices, &mContactNormalLinePoints[0], GL_STATIC_DRAW); in createContactNormalLineVBOAndVAO()
H A DConvexMesh.cpp184 mVBOVertices.copyDataIntoVBO(sizeVertices, getVerticesPointer(), GL_STATIC_DRAW); in createVBOAndVAO()
191 mVBONormals.copyDataIntoVBO(sizeNormals, getNormalsPointer(), GL_STATIC_DRAW); in createVBOAndVAO()
199 …TextureCoords.copyDataIntoVBO(sizeTextureCoords, getUVTextureCoordinatesPointer(), GL_STATIC_DRAW); in createVBOAndVAO()
207 mVBOIndices.copyDataIntoVBO(sizeIndices, getIndicesPointer(), GL_STATIC_DRAW); in createVBOAndVAO()
/dports/www/chromium-legacy/chromium-88.0.4324.182/gpu/command_buffer/tests/
H A Dgl_stream_draw_unittest.cc82 GLTestHelper::SetupColorsForUnitQuad(color_loc, float_green, GL_STATIC_DRAW); in TEST_F()
117 GLTestHelper::SetupColorsForUnitQuad(color_loc, float_green, GL_STATIC_DRAW); in TEST_F()
120 GL_ELEMENT_ARRAY_BUFFER, sizeof(indices), indices, GL_STATIC_DRAW); in TEST_F()
158 GLTestHelper::SetupColorsForUnitQuad(color_loc, float_green, GL_STATIC_DRAW); in TEST_F()
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/arb_shader_atomic_counters/
H A Dcommon.c114 buf, GL_STATIC_DRAW); in atomic_counters_draw_point()
141 buf, GL_STATIC_DRAW); in atomic_counters_draw_rect()
169 buf, GL_STATIC_DRAW); in atomic_counters_draw_patch()
180 glBufferData(GL_ARRAY_BUFFER, sizeof(verts), verts, GL_STATIC_DRAW); in atomic_counters_draw_patch()
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/arb_bindless_texture/
H A Dillegal.c173 glBufferData(GL_TEXTURE_BUFFER, sizeof(red), red, GL_STATIC_DRAW); in call_TexBuffer_when_texture_is_referenced()
207 glBufferData(GL_TEXTURE_BUFFER, sizeof(red), red, GL_STATIC_DRAW); in call_BufferData_when_texture_is_referenced()
213 glBufferData(GL_TEXTURE_BUFFER, sizeof(red), red, GL_STATIC_DRAW); in call_BufferData_when_texture_is_referenced()
224 glBufferData(GL_TEXTURE_BUFFER, sizeof(red), red, GL_STATIC_DRAW); in call_BufferData_when_texture_is_referenced()
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/plugins_unsupported/fgt/edit_virtual_scan/vs/
H A Dsimple_renderer.h158 glBufferData( GL_ARRAY_BUFFER, verticesSize, vData, GL_STATIC_DRAW ); in createBuffers()
167 glBufferData( GL_ARRAY_BUFFER, verticesSize, nData, GL_STATIC_DRAW ); in createBuffers()
175 glBufferData( GL_ARRAY_BUFFER, colorSize, cData, GL_STATIC_DRAW ); in createBuffers()
198 glBufferData( GL_ELEMENT_ARRAY_BUFFER, indicesSize, iData, GL_STATIC_DRAW ); in createBuffers()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/external/openglcts/modules/gl/
H A 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()
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/libigl/igl/opengl/
H A Dcreate_index_vbo.cpp28 GL_STATIC_DRAW); in create_index_vbo()
38 GL_STATIC_DRAW); in create_index_vbo()
/dports/graphics/wings/libigl-2.1.0/include/igl/opengl/
H A Dcreate_index_vbo.cpp28 GL_STATIC_DRAW); in create_index_vbo()
38 GL_STATIC_DRAW); in create_index_vbo()
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/arb_draw_elements_base_vertex/
H A Dmultidrawelements.c153 glBufferData(GL_ARRAY_BUFFER, vertices_size, vertices, GL_STATIC_DRAW); in piglit_init()
162 indices, GL_STATIC_DRAW); in piglit_init()
196 GL_STATIC_DRAW); in piglit_display()

12345678910>>...98