Home
last modified time | relevance | path

Searched refs:indexData (Results 1 – 25 of 35) sorted by relevance

12

/external/angle/src/tests/gl_tests/
DIndexBufferOffsetTest.cpp121 std::vector<GLubyte> indexData(6 * 3 * sizeof(GLuint), 0); in runTest() local
122 memcpy(indexData.data() + indexDataWidth, indexDataIn, indexDataWidth); in runTest()
139 glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, 0, indexDataWidth, indexData.data()); in runTest()
141 indexData.data() + indexDataWidth); in runTest()
143 indexData.data() + 2 * indexDataWidth); in runTest()
147 glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, 0, 3 * indexDataWidth, indexData.data()); in runTest()
167 indexData.data()); in runTest()
169 indexData.data() + indexDataWidth); in runTest()
174 indexData.data()); in runTest()
204 GLubyte indexData[] = {0, 1, 2, 1, 2, 3}; in TEST_P() local
[all …]
DDrawElementsTest.cpp151 std::vector<GLuint> indexData[2]; in TEST_P() local
152 indexData[0].push_back(0); in TEST_P()
153 indexData[0].push_back(1); in TEST_P()
154 indexData[0].push_back(2); in TEST_P()
155 indexData[0].push_back(2); in TEST_P()
156 indexData[0].push_back(3); in TEST_P()
157 indexData[0].push_back(0); in TEST_P()
159 indexData[1] = indexData[0]; in TEST_P()
160 for (GLuint &item : indexData[1]) in TEST_P()
176 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLuint) * indexData[0].size(), &indexData[0][0], in TEST_P()
[all …]
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()
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()
1514 std::array<GLshort, 12> indexData = {{0, 1, 2, 2, 1, 3, 0, 1, 2, 2, 1, 3}}; in TEST_P() local
1518 glBufferData(GL_ELEMENT_ARRAY_BUFFER, indexData.size() * sizeof(GLshort), indexData.data(), in TEST_P()
1558 std::array<GLshort, 6> indexData = {{0, 1, 2, 2, 1, 3}}; in TEST_P() local
1562 glBufferData(GL_ELEMENT_ARRAY_BUFFER, indexData.size() * sizeof(GLshort), indexData.data(), in TEST_P()
1607 std::array<GLshort, 6> indexData = {{0, 1, 2, 2, 1, 3}}; in TEST_P() local
1611 glBufferData(GL_ELEMENT_ARRAY_BUFFER, indexData.size() * sizeof(GLshort), indexData.data(), in TEST_P()
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()
DStateChangeTest.cpp6581 GLushort indexData[] = {0, 1, 2, 3}; in TEST_P() local
6585 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indexData), indexData, GL_STATIC_DRAW); in TEST_P()
/external/skia/src/gpu/tessellate/
DGrStencilPathShader.cpp328 auto indexData = static_cast<uint16_t*>(buffer->map()); in FindOrMakeMiddleOutIndexBuffer() local
330 if (!indexData) { in FindOrMakeMiddleOutIndexBuffer()
332 indexData = stagingBuffer.reset(kIndexCount); in FindOrMakeMiddleOutIndexBuffer()
339 indexData[i++] = (1 << kMaxResolveLevel) + 4; // % 4 == 0 in FindOrMakeMiddleOutIndexBuffer()
340 indexData[i++] = (1 << kMaxResolveLevel) + 5; // % 4 == 1 in FindOrMakeMiddleOutIndexBuffer()
341 indexData[i++] = (1 << kMaxResolveLevel) + 6; // % 4 == 2 in FindOrMakeMiddleOutIndexBuffer()
350 indexData[i++] = T; in FindOrMakeMiddleOutIndexBuffer()
351 indexData[i++] = (T += advance); in FindOrMakeMiddleOutIndexBuffer()
352 indexData[i++] = (T += advance); in FindOrMakeMiddleOutIndexBuffer()
/external/autotest/client/deps/webgl_mpd/src/resources/
DJ3DI.js255 var indexData = [ ];
287 indexData.push(first);
288 indexData.push(second);
289 indexData.push(first+1);
291 indexData.push(second);
292 indexData.push(second+1);
293 indexData.push(first+1);
311 retval.numIndices = indexData.length;
314 ctx.bufferData(ctx.ELEMENT_ARRAY_BUFFER, new Uint16Array(indexData), ctx.STREAM_DRAW);
/external/angle/src/tests/perf_tests/
DIndexDataManagerTest.cpp170 std::vector<GLushort> indexData(mIndexCount); local
173 indexData[index] = static_cast<GLushort>(index);
177 mIndexBuffer.bufferData(nullptr, gl::BufferBinding::Array, &indexData[0],
178 indexData.size() * sizeof(GLushort), gl::BufferUsage::StaticDraw));
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()
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()
/external/llvm-project/lld/lib/ReaderWriter/MachO/
DCompactUnwindPass.cpp166 uint8_t *indexData = &_contents[_topLevelIndexOffset]; in addTopLevelIndexes() local
173 write32(indexData + (3 * i + 1) * sizeof(uint32_t), pageLoc, _isBig); in addTopLevelIndexes()
174 write32(indexData + (3 * i + 2) * sizeof(uint32_t), in addTopLevelIndexes()
188 write32(indexData + (3 * pages.size() + 2) * sizeof(uint32_t), in addTopLevelIndexes()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineInputAssemblyTests.cpp87 std::vector<deUint32>& indexData,
111 std::vector<deUint32>& indexData,
131 std::vector<deUint32>& indexData,
327 …logy, int primitiveCount, VkIndexType indexType, std::vector<deUint32>& indexData, std::vector<Ver… in createBufferData() argument
656 indexData = indices; in createBufferData()
681 …logy, int primitiveCount, VkIndexType indexType, std::vector<deUint32>& indexData, std::vector<Ver… in createBufferData() argument
936 indexData = indices; in createBufferData()
/external/replicaisland/src/com/replica/replicaisland/
DHitReactionComponent.java310 public void setSpawnGameEventOnHit(int hitType, int gameFlowEventType, int indexData) { in setSpawnGameEventOnHit() argument
313 mGameEventIndexData = indexData; in setSpawnGameEventOnHit()
/external/skqp/experimental/nima/
DNimaActor.cpp199 uint16_t* indexData = fActorImage->triangles(); in updateVertices() local
243 memcpy(fIndices.data(), indexData, indexCount * sizeof(uint16_t)); in updateVertices()
/external/deqp/modules/gles3/performance/
Des3pBufferDataUploadTests.cpp3920 static void generateLayeredGridIndexData (std::vector<deUint32>& indexData, const LayeredGridSpec& … in generateLayeredGridIndexData() argument
3922 indexData.resize(getLayeredGridNumVertices(scene) * 2); in generateLayeredGridIndexData()
3925 indexData[ndx] = ndx; in generateLayeredGridIndexData()
4250 std::vector<deUint32> indexData; in uploadScene() local
4252 generateLayeredGridIndexData(indexData, scene); in uploadScene()
4257 …gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, (int)(indexData.size() * sizeof(deUint32)), &indexData[0], … in uploadScene()
4344 std::vector<deUint32> indexData; in runSample() local
4356 generateLayeredGridIndexData(indexData, sample.scene); in runSample()
4358 …gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, (int)(indexData.size() * sizeof(deUint32)), &indexData[0], … in runSample()
4477 std::vector<deUint32> indexData; in runSample() local
[all …]
/external/deqp-deps/amber/src/dawn/
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()
/external/llvm-project/libunwind/src/
DUnwindCursor.hpp1370 uint32_t indexData = _addressSpace.get32(indexDataAddr); in getInfoFromEHABISection() local
1371 if (indexData == UNW_EXIDX_CANTUNWIND) in getInfoFromEHABISection()
1381 if (indexData & 0x80000000) { in getInfoFromEHABISection()
1384 exceptionTableData = indexData; in getInfoFromEHABISection()
1387 exceptionTableAddr = indexDataAddr + signExtendPrel31(indexData); in getInfoFromEHABISection()
/external/deqp/external/vulkancts/framework/vulkan/
DvkRayTracingUtil.cpp1292 VkDeviceOrHostAddressConstKHR vertexData, indexData; in prepareGeometries() local
1305indexData = makeDeviceOrHostAddressConstKHR(vk, device, m_indexBuffer->get(), indexBufferOffset); in prepareGeometries()
1309 indexData = makeDeviceOrHostAddressConstKHR(DE_NULL); in prepareGeometries()
1315 indexData = makeDeviceOrHostAddressConstKHR(geometryData->getIndexPointer()); in prepareGeometries()
1317 indexData = makeDeviceOrHostAddressConstKHR(DE_NULL); in prepareGeometries()
1329 indexData, // VkDeviceOrHostAddressConstKHR indexData; in prepareGeometries()
/external/mesa3d/include/vulkan/
Dvulkan_beta.h175 VkDeviceOrHostAddressConstKHR indexData; member
/external/swiftshader/include/vulkan/
Dvulkan_beta.h175 VkDeviceOrHostAddressConstKHR indexData; member
/external/vulkan-headers/include/vulkan/
Dvulkan_beta.h175 VkDeviceOrHostAddressConstKHR indexData; member
/external/vulkan-validation-layers/layers/generated/
Dlayer_chassis_dispatch.cpp6029 if (pCreateInfo->info.pGeometries[index2].geometry.triangles.indexData) { in DispatchCreateAccelerationStructureNV()
6030 …[index2].geometry.triangles.indexData = layer_data->Unwrap(pCreateInfo->info.pGeometries[index2].g… in DispatchCreateAccelerationStructureNV()
6143 if (pInfo->pGeometries[index1].geometry.triangles.indexData) { in DispatchCmdBuildAccelerationStructureNV()
6144 …tries[index1].geometry.triangles.indexData = layer_data->Unwrap(pInfo->pGeometries[index1].geometr… in DispatchCmdBuildAccelerationStructureNV()
Dobject_tracker.cpp4545 …Object(device, pCreateInfo->info.pGeometries[index2].geometry.triangles.indexData, kVulkanObjectTy… in PreCallValidateCreateAccelerationStructureNV()
4631 …dateObject(commandBuffer, pInfo->pGeometries[index1].geometry.triangles.indexData, kVulkanObjectTy… in PreCallValidateCmdBuildAccelerationStructureNV()
/external/vulkan-validation-layers/tests/
Dvklayertests_others.cpp4253 valid_geometry_triangles.geometry.triangles.indexData = ibo.handle(); in TEST_F()
4366 geometry.geometry.triangles.indexData = VK_NULL_HANDLE; in TEST_F()
4378 geometry.geometry.triangles.indexData = ibo.handle(); in TEST_F()
4454 geometry->geometry.triangles.indexData = ibo->handle(); in GetSimpleGeometryForAccelerationStructureTests()

12