/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
D | BindingPerf.cpp | 129 for (size_t bufferIdx = 0; bufferIdx < mBuffers.size(); bufferIdx++) in initializeBenchmark() local 131 glBindBuffer(GL_ARRAY_BUFFER, mBuffers[bufferIdx]); in initializeBenchmark() 194 for (GLuint bufferIdx = 0; bufferIdx < buffersSize; bufferIdx++) in drawBenchmark() local 197 glBindBuffer(binding, buffers[bufferIdx]); in drawBenchmark() 206 GLuint vertexAttribIndex = bufferIdx % mMaxVertexAttribs; in drawBenchmark()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/perf_tests/ |
D | BindingPerf.cpp | 111 for (size_t bufferIdx = 0; bufferIdx < mBuffers.size(); bufferIdx++) in initializeBenchmark() local 113 glBindBuffer(GL_ARRAY_BUFFER, mBuffers[bufferIdx]); in initializeBenchmark() 167 for (size_t bufferIdx = 0; bufferIdx < buffersSize; bufferIdx++) in drawBenchmark() local 170 glBindBuffer(binding, buffers[bufferIdx]); in drawBenchmark()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | SemaphoreGL.cpp | 24 for (GLuint bufferIdx = 0; bufferIdx < bufferBarriers.size(); bufferIdx++) in GatherNativeBufferIDs() local 26 (*outIDs)[bufferIdx] = GetImplAs<BufferGL>(bufferBarriers[bufferIdx])->getBufferID(); in GatherNativeBufferIDs()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | SemaphoreGL.cpp | 24 for (GLuint bufferIdx = 0; bufferIdx < bufferBarriers.size(); bufferIdx++) in GatherNativeBufferIDs() local 26 (*outIDs)[bufferIdx] = GetImplAs<BufferGL>(bufferBarriers[bufferIdx])->getBufferID(); in GatherNativeBufferIDs()
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkImageUtil.cpp | 4730 for (deUint32 bufferIdx = 0; bufferIdx < 2; bufferIdx++) in initColorImageChessboardPattern() local 4732 buffers[bufferIdx] = createBuffer(vk, device, &bufferParams); in initColorImageChessboardPattern() 4733 …bufferAllocs[bufferIdx] = allocator.allocate(getBufferMemoryRequirements(vk, device, *buffers[buff… in initColorImageChessboardPattern() 4734 …CK(vk.bindBufferMemory(device, *buffers[bufferIdx], bufferAllocs[bufferIdx]->getMemory(), bufferAl… in initColorImageChessboardPattern() 4736 deUint32* dstPtr = (deUint32*)bufferAllocs[bufferIdx]->getHostPtr(); in initColorImageChessboardPattern() 4741 access.setPixel(colorValues[bufferIdx], x, y, 0); in initColorImageChessboardPattern() 4743 flushAlloc(vk, device, *bufferAllocs[bufferIdx]); in initColorImageChessboardPattern() 4755 for (deUint32 bufferIdx = 0; bufferIdx < 2; bufferIdx++) in initColorImageChessboardPattern() local 4757 …ions = generateChessboardCopyRegions(tileSize, imageWidth, imageHeight, bufferIdx, VK_IMAGE_ASPECT… in initColorImageChessboardPattern() 4759 …vk.cmdCopyBufferToImage(*cmdBuffer, *buffers[bufferIdx], image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIM… in initColorImageChessboardPattern() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/ |
D | mtl_glslang_utils.mm | 447 for (uint32_t bufferIdx = 0; bufferIdx < blocks.size(); ++bufferIdx) 449 const gl::InterfaceBlock &block = blocks[bufferIdx]; 452 uboOriginalBindings[block.mappedName] = bufferIdx; 457 for (uint32_t bufferIdx = 0; bufferIdx < kMaxShaderXFBs; ++bufferIdx) 459 std::string bufferName = rx::GetXfbBufferName(bufferIdx); 464 xfbOriginalBindings[info.binding] = bufferIdx;
|
D | mtl_glslang_mtl_utils.mm | 372 for (uint32_t bufferIdx = 0; bufferIdx < blocks.size(); ++bufferIdx) 374 const gl::InterfaceBlock &block = blocks[bufferIdx]; 377 uboOriginalBindings[block.name] = bufferIdx;
|
D | VertexArrayMtl.mm | 455 uint32_t bufferIdx = mtl::kVboBindingIndexStart + v; 462 desc.attributes[v].bufferIndex = bufferIdx; 466 ASSERT(bufferIdx < mtl::kMaxVertexAttribs); 469 desc.layouts[bufferIdx].stepFunction = MTLVertexStepFunctionPerVertex; 470 desc.layouts[bufferIdx].stepRate = 1; 474 desc.layouts[bufferIdx].stepFunction = MTLVertexStepFunctionPerInstance; 475 desc.layouts[bufferIdx].stepRate = binding.getDivisor(); 478 desc.layouts[bufferIdx].stride = mCurrentArrayBufferStrides[v]; 483 bufferOffset, bufferIdx); 490 mCurrentArrayInlineDataSizes[v], bufferIdx);
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_video_dec.cpp | 270 for (size_t bufferIdx = 0; bufferIdx < num_buffers; bufferIdx++) { in d3d12_video_decoder_decode_bitstream() local 271 totalReceivedBuffersSize += sizes[bufferIdx]; in d3d12_video_decoder_decode_bitstream() 286 for (size_t bufferIdx = 0; bufferIdx < num_buffers; bufferIdx++) { in d3d12_video_decoder_decode_bitstream() local 287 memcpy(newSliceDataPositionDstBase + dstOffset, buffers[bufferIdx], sizes[bufferIdx]); in d3d12_video_decoder_decode_bitstream() 288 dstOffset += sizes[bufferIdx]; in d3d12_video_decoder_decode_bitstream()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
D | vktImageDepthStencilDescriptorTests.cpp | 1231 for (size_t bufferIdx = 0u; bufferIdx < storageVerifBuffers.size(); ++bufferIdx) in iterate() local 1233 const auto& verifBuffer = storageVerifBuffers[bufferIdx]; in iterate() 1237 const auto bufferFormat = getAspectStorageFormat(descriptors.at(bufferIdx).aspect); in iterate() 1240 const std::string resultName = "Storage" + de::toString(bufferIdx); in iterate() 1242 if (descriptors.at(bufferIdx).aspect == VK_IMAGE_ASPECT_DEPTH_BIT) in iterate() 1245 …TCU_FAIL("Unexpected value in depth storage buffer " + de::toString(bufferIdx) + "; check log for … in iterate() 1247 else if (descriptors.at(bufferIdx).aspect == VK_IMAGE_ASPECT_STENCIL_BIT) in iterate() 1258 …TCU_FAIL("Unexpected value in stencil storage buffer " + de::toString(bufferIdx) + "; check log fo… in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
D | vktImageDepthStencilDescriptorTests.cpp | 1231 for (size_t bufferIdx = 0u; bufferIdx < storageVerifBuffers.size(); ++bufferIdx) in iterate() local 1233 const auto& verifBuffer = storageVerifBuffers[bufferIdx]; in iterate() 1237 const auto bufferFormat = getAspectStorageFormat(descriptors.at(bufferIdx).aspect); in iterate() 1240 const std::string resultName = "Storage" + de::toString(bufferIdx); in iterate() 1242 if (descriptors.at(bufferIdx).aspect == VK_IMAGE_ASPECT_DEPTH_BIT) in iterate() 1245 …TCU_FAIL("Unexpected value in depth storage buffer " + de::toString(bufferIdx) + "; check log for … in iterate() 1247 else if (descriptors.at(bufferIdx).aspect == VK_IMAGE_ASPECT_STENCIL_BIT) in iterate() 1258 …TCU_FAIL("Unexpected value in stencil storage buffer " + de::toString(bufferIdx) + "; check log fo… in iterate()
|