Home
last modified time | relevance | path

Searched refs:indexData (Results 1 - 25 of 31) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DIndexBufferOffsetTest.cpp128 std::vector<GLubyte> indexData(6 * 3 * sizeof(GLuint), 0); in runTest()
129 memcpy(indexData.data() + indexDataWidth, indexDataIn, indexDataWidth); in runTest()
146 glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, 0, indexDataWidth, indexData.data()); in runTest()
148 indexData.data() + indexDataWidth); in runTest()
150 indexData.data() + 2 * indexDataWidth); in runTest()
154 glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, 0, 4, indexData.data()); in runTest()
156 indexData.data() + 4); in runTest()
160 glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, 0, 3 * indexDataWidth - 4, indexData.data()); in runTest()
162 indexData.data() + 3 * indexDataWidth - 4); in runTest()
167 glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, 0, 3 * indexDataWidth, indexData in runTest()
237 GLubyte indexData[] = {0, 1, 2, 1, 2, 3}; TEST_P() local
244 GLushort indexData[] = {0, 1, 2, 1, 2, 3}; TEST_P() local
254 GLuint indexData[] = {0, 1, 2, 1, 2, 3}; TEST_P() local
261 GLubyte indexData[] = {0, 1, 2, 1, 2, 3}; TEST_P() local
268 GLushort indexData[] = {0, 1, 2, 1, 2, 3}; TEST_P() local
278 GLuint indexData[] = {0, 1, 2, 1, 2, 3}; TEST_P() local
291 GLubyte indexData[] = {0, 1, 2, 1, 2, 3}; TEST_P() local
301 GLushort indexData[] = {0, 1, 2, 1, 2, 3}; TEST_P() local
314 GLuint indexData[] = {0, 1, 2, 1, 2, 3}; TEST_P() local
328 GLubyte indexData[] = {0, 1, 2, 1, 2, 3}; TEST_P() local
339 GLushort indexData[] = {0, 1, 2, 1, 2, 3}; TEST_P() local
353 GLuint indexData[] = {0, 1, 2, 1, 2, 3}; TEST_P() local
365 GLushort indexData[] = {0, 1, 2, 1, 2, 3}; TEST_P() local
440 GLubyte indexData[] = {99, 0, 1, 2, 1, 2, 3}; TEST_P() local
[all...]
H A DDrawElementsTest.cpp194 std::vector<GLuint> indexData[2]; in TEST_P() local
195 indexData[0].push_back(0); in TEST_P()
196 indexData[0].push_back(1); in TEST_P()
197 indexData[0].push_back(2); in TEST_P()
198 indexData[0].push_back(2); in TEST_P()
199 indexData[0].push_back(3); in TEST_P()
200 indexData[0].push_back(0); in TEST_P()
202 indexData[1] = indexData[0]; in TEST_P()
203 for (GLuint &item : indexData[ in TEST_P()
377 std::vector<GLubyte> indexData[2]; TEST_P() local
[all...]
H A DProvokingVertexTest.cpp254 GLint indexData[] = {0, 1, 2, -1, 1, 2, 3, 4, -1, 3, 4, 5}; in TEST_P() local
268 glDrawElements(GL_TRIANGLE_STRIP, 12, GL_UNSIGNED_INT, indexData); in TEST_P()
281 GLint vertexA = indexData[triOffsets[triIndex] + 0]; in TEST_P()
282 GLint vertexB = indexData[triOffsets[triIndex] + 1]; in TEST_P()
283 GLint vertexC = indexData[triOffsets[triIndex] + 2]; in TEST_P()
H A DSRGBFramebufferTest.cpp337 unsigned int indexData[] = {0}; in TEST_P() local
340 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(int), indexData, GL_STATIC_DRAW); in TEST_P()
H A DUniformBufferTest.cpp1469 std::array<GLshort, 12> indexData = {{0, 1, 2, 2, 1, 3, 0, 1, 2, 2, 1, 3}}; in TEST_P() local
1473 glBufferData(GL_ELEMENT_ARRAY_BUFFER, indexData.size() * sizeof(GLshort), indexData.data(), in TEST_P()
1528 std::array<GLshort, 12> indexData = {{0, 1, 2, 2, 1, 3, 0, 1, 2, 2, 1, 3}}; in TEST_P() local
1532 glBufferData(GL_ELEMENT_ARRAY_BUFFER, indexData.size() * sizeof(GLshort), indexData.data(), in TEST_P()
1586 std::array<GLshort, 6> indexData = {{0, 1, 2, 2, 1, 3}}; in TEST_P() local
1590 glBufferData(GL_ELEMENT_ARRAY_BUFFER, indexData.size() * sizeof(GLshort), indexData.data(), in TEST_P()
1649 std::array<GLshort, 6> indexData in TEST_P() local
[all...]
H A DGLSLTest.cpp1214 GLushort indexData[] = {1, 2, 5, 3, 10000}; in TEST_P() local
1217 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indexData), indexData, GL_STATIC_DRAW); in TEST_P()
1225 GLint expected = indexData[first + count - 1]; in TEST_P()
1269 GLubyte indexData[] = {1, 2, 5, 3, 100}; in TEST_P() local
1272 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indexData), indexData, GL_STATIC_DRAW); in TEST_P()
1280 GLint expected = indexData[first + count - 1]; in TEST_P()
1349 GLubyte indexData[] = {1, 4, 5, 2, 50, 61}; in TEST_P() local
1352 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indexData), indexDat in TEST_P()
1389 GLubyte indexData[] = {1, 4, 5, 2, 50, 61, 32, 33}; TEST_P() local
[all...]
H A DBufferDataTest.cpp281 unsigned int indexData[] = {0, 1}; in TEST_P() local
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()
H A DStateChangeTest.cpp6666 GLushort indexData[] = {0, 1, 2, 3};
6670 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indexData), indexData, GL_STATIC_DRAW);
/third_party/skia/src/gpu/tessellate/
H A DPathCurveTessellator.cpp174 SkTArray<std::array<uint16_t, 3>> indexData(triangleCount); in WriteFixedIndexBufferBaseIndex()
180 const auto* neighborInLastResolveLevel = &indexData.push_back({baseIndex, in WriteFixedIndexBufferBaseIndex()
189 SkDEBUGCODE(auto* firstTriangleInCurrentResolveLevel = indexData.end()); in WriteFixedIndexBufferBaseIndex()
195 indexData.push_back({(*neighborInLastResolveLevel)[0], in WriteFixedIndexBufferBaseIndex()
199 indexData.push_back({(*neighborInLastResolveLevel)[1], in WriteFixedIndexBufferBaseIndex()
206 SkASSERT(indexData.count() == triangleCount); in WriteFixedIndexBufferBaseIndex()
209 vertexWriter.writeArray(indexData.data(), indexData.count()); in WriteFixedIndexBufferBaseIndex()
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
H A DDynamicPromotionPerfTest.cpp90 std::vector<GLushort> indexData; in initializeBenchmark() local
100 indexData.push_back(static_cast<GLushort>(index)); in initializeBenchmark()
120 glBufferData(GL_ELEMENT_ARRAY_BUFFER, elementArraySize, indexData.data(), GL_DYNAMIC_DRAW); in initializeBenchmark()
H A DIndexDataManagerTest.cpp170 std::vector<GLushort> indexData(mIndexCount);
173 indexData[index] = static_cast<GLushort>(index);
177 mIndexBuffer.bufferData(nullptr, gl::BufferBinding::Array, &indexData[0],
178 indexData.size() * sizeof(GLushort), gl::BufferUsage::StaticDraw));
H A DInstancingPerf.cpp147 std::vector<GLuint> indexData; in initializeBenchmark() local
157 indexData.push_back(baseIndexData[indexIndex] + pointIndex * pointVertexStride); in initializeBenchmark()
175 indexData.push_back(index); in initializeBenchmark()
198 glBufferData(GL_ELEMENT_ARRAY_BUFFER, VectorSizeBytes(indexData), &indexData[0], in initializeBenchmark()
/third_party/skia/third_party/externals/dawn/examples/
H A DCppHelloTriangle.cpp39 static const uint32_t indexData[3] = { in initBuffers() local
45 utils::CreateBufferFromData(device, indexData, sizeof(indexData), wgpu::BufferUsage::Index); in initBuffers()
H A DCubeReflection.cpp47 static const uint32_t indexData[6 * 6] = {0, 1, 2, 0, 2, 3, in initBuffers() local
59 utils::CreateBufferFromData(device, indexData, sizeof(indexData), wgpu::BufferUsage::Index); in initBuffers()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineInputAssemblyTests.cpp99 std::vector<deUint32>& indexData,
124 std::vector<deUint32>& indexData,
147 std::vector<deUint32>& indexData,
159 std::vector<deUint32>& indexData,
402 void PrimitiveTopologyTest::createBufferData (VkPrimitiveTopology topology, int primitiveCount, VkIndexType indexType, std::vector<deUint32>& indexData, std::vector<Vertex4RGBA>& vertexData) const in createBufferData() argument
731 indexData = indices; in createBufferData()
816 void PrimitiveRestartTest::createBufferData (VkPrimitiveTopology topology, int primitiveCount, VkIndexType indexType, std::vector<deUint32>& indexData, std::vector<Vertex4RGBA>& vertexData) const in createBufferData() argument
1113 indexData = indices; in createBufferData()
1123 std::vector<deUint32>& indexData, in createListPrimitives()
1141 indexData in createListPrimitives()
1116 createListPrimitives(int primitiveCount, float originX, float originY, float primitiveSizeX, float primitiveSizeY, int verticesPerPrimitive, VkIndexType indexType, std::vector<deUint32>& indexData, std::vector<Vertex4RGBA>& vertexData, std::vector<deUint32> adjacencies) const createListPrimitives() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineInputAssemblyTests.cpp98 std::vector<deUint32>& indexData,
124 std::vector<deUint32>& indexData,
148 std::vector<deUint32>& indexData,
160 std::vector<deUint32>& indexData,
405 void PrimitiveTopologyTest::createBufferData (VkPrimitiveTopology topology, int primitiveCount, VkIndexType indexType, std::vector<deUint32>& indexData, std::vector<Vertex4RGBA>& vertexData) const in createBufferData() argument
734 indexData = indices; in createBufferData()
820 void PrimitiveRestartTest::createBufferData (VkPrimitiveTopology topology, int primitiveCount, VkIndexType indexType, std::vector<deUint32>& indexData, std::vector<Vertex4RGBA>& vertexData) const in createBufferData() argument
1117 indexData = indices; in createBufferData()
1127 std::vector<deUint32>& indexData, in createListPrimitives()
1145 indexData in createListPrimitives()
1120 createListPrimitives(int primitiveCount, float originX, float originY, float primitiveSizeX, float primitiveSizeY, int verticesPerPrimitive, VkIndexType indexType, std::vector<deUint32>& indexData, std::vector<Vertex4RGBA>& vertexData, std::vector<deUint32> adjacencies) const createListPrimitives() argument
[all...]
/third_party/vk-gl-cts/modules/gles3/performance/
H A Des3pBufferDataUploadTests.cpp3920 static void generateLayeredGridIndexData (std::vector<deUint32>& indexData, const LayeredGridSpec& scene)
3922 indexData.resize(getLayeredGridNumVertices(scene) * 2);
3925 indexData[ndx] = ndx;
4250 std::vector<deUint32> indexData;
4252 generateLayeredGridIndexData(indexData, scene);
4257 gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, (int)(indexData.size() * sizeof(deUint32)), &indexData[0], GL_STATIC_DRAW);
4344 std::vector<deUint32> indexData;
4356 generateLayeredGridIndexData(indexData, sample.scene);
4358 gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, (int)(indexData
[all...]
/third_party/vk-gl-cts/external/amber/src/src/dawn/
H A Dengine_dawn.cc1265 static const uint32_t indexData[3 * 2] = { in DoDrawRect() local
1269 *device_, indexData, sizeof(indexData), ::dawn::BufferUsage::Index); in DoDrawRect()
1346 std::vector<uint32_t> indexData; in DoDrawArrays() local
1349 indexData.emplace_back(i); in DoDrawArrays()
1352 *device_, indexData.data(), indexData.size() * sizeof(uint32_t), in DoDrawArrays()
/third_party/skia/third_party/externals/d3d12allocator/src/
H A DD3D12Sample.cpp966 D3D12_SUBRESOURCE_DATA indexData = {}; in InitD3D() local
967 indexData.pData = iList; // pointer to our index array in InitD3D()
968 indexData.RowPitch = iBufferSize; // size of all our index buffer in InitD3D()
969 indexData.SlicePitch = iBufferSize; // also the size of our index buffer in InitD3D()
973 r = UpdateSubresources(g_CommandList, g_IndexBuffer, iBufferUploadHeap, 0, 0, 1, &indexData); in InitD3D()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkRayTracingUtil.cpp1490 VkDeviceOrHostAddressConstKHR vertexData, indexData; in prepareGeometries() local
1506 indexData = makeDeviceOrHostAddressConstKHR(vk, device, getIndexBuffer()->get(), indexBufferOffset); in prepareGeometries()
1510 indexData = makeDeviceOrHostAddressConstKHR(DE_NULL); in prepareGeometries()
1516 indexData = makeDeviceOrHostAddressConstKHR(geometryData->getIndexPointer()); in prepareGeometries()
1518 indexData = makeDeviceOrHostAddressConstKHR(DE_NULL); in prepareGeometries()
1530 indexData, // VkDeviceOrHostAddressConstKHR indexData; in prepareGeometries()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/query_pool/
H A DvktQueryPoolOcclusionTests.cpp1031 const deInt32 indexData = m_testVector.queryResultsDstOffset ? (deInt32)m_testVector.queryResultsStride : 0u; in captureResults() local
1035 deMemcpy(&resultsBuffer[0], &allocationData[indexData], resultsBuffer.size()); in captureResults()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/query_pool/
H A DvktQueryPoolOcclusionTests.cpp1031 const deInt32 indexData = m_testVector.queryResultsDstOffset ? (deInt32)m_testVector.queryResultsStride : 0u; in captureResults() local
1035 deMemcpy(&resultsBuffer[0], &allocationData[indexData], resultsBuffer.size()); in captureResults()
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_acceleration_structure.c242 const char *index_data = (const char *)tri_data->indexData.hostAddress; in build_triangles()
2113 prim_consts.index_addr = geom->geometry.triangles.indexData.deviceAddress; in radv_CmdBuildAccelerationStructuresKHR()
/third_party/skia/include/third_party/vulkan/vulkan/
H A Dvulkan_core.h10036 VkBuffer indexData; member
12227 VkDeviceOrHostAddressConstKHR indexData; member
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
H A Dvulkan_structs.hpp209 , indexData( indexData_ )
277 indexData = indexData_;
307 VULKAN_HPP_NAMESPACE::DeviceOrHostAddressConstKHR indexData = {}; member
1332 , indexData( indexData_ )
1394 indexData = indexData_;
1447 ( indexData == rhs.indexData ) && ( indexOffset == rhs.indexOffset ) && ( indexCount == rhs.indexCount ) &&
1466 VULKAN_HPP_NAMESPACE::Buffer indexData = {}; member
[all...]

Completed in 146 milliseconds

12