/external/minigbm/cros_gralloc/gralloc3/ |
D | CrosGralloc3Utils.cc | 90 std::string getUsageString(hidl_bitfield<BufferUsage> bufferUsage) { in getUsageString() argument 93 Underlying usage = static_cast<Underlying>(bufferUsage); in getUsageString() 253 uint64_t bufferUsage = BO_USE_NONE; in convertToBufferUsage() local 257 bufferUsage |= BO_USE_SW_READ_RARELY; in convertToBufferUsage() 261 bufferUsage |= BO_USE_SW_READ_OFTEN; in convertToBufferUsage() 265 bufferUsage |= BO_USE_SW_WRITE_RARELY; in convertToBufferUsage() 269 bufferUsage |= BO_USE_SW_WRITE_OFTEN; in convertToBufferUsage() 272 bufferUsage |= BO_USE_TEXTURE; in convertToBufferUsage() 275 bufferUsage |= BO_USE_RENDERING; in convertToBufferUsage() 279 bufferUsage |= BO_USE_SCANOUT | BO_USE_TEXTURE; in convertToBufferUsage() [all …]
|
D | CrosGralloc3Mapper.h | 50 uint64_t bufferUsage, uint32_t* outDrmFormat);
|
D | CrosGralloc3Mapper.cc | 457 int CrosGralloc3Mapper::getResolvedDrmFormat(PixelFormat pixelFormat, uint64_t bufferUsage, in getResolvedDrmFormat() argument 468 if (convertToBufferUsage(bufferUsage, &usage)) { in getResolvedDrmFormat() 469 std::string usageString = getUsageString(bufferUsage); in getResolvedDrmFormat()
|
/external/minigbm/cros_gralloc/gralloc4/ |
D | CrosGralloc4Utils.cc | 94 std::string getUsageString(hidl_bitfield<BufferUsage> bufferUsage) { in getUsageString() argument 97 Underlying usage = static_cast<Underlying>(bufferUsage); in getUsageString() 257 uint64_t bufferUsage = BO_USE_NONE; in convertToBufferUsage() local 261 bufferUsage |= BO_USE_SW_READ_RARELY; in convertToBufferUsage() 265 bufferUsage |= BO_USE_SW_READ_OFTEN; in convertToBufferUsage() 269 bufferUsage |= BO_USE_SW_WRITE_RARELY; in convertToBufferUsage() 273 bufferUsage |= BO_USE_SW_WRITE_OFTEN; in convertToBufferUsage() 276 bufferUsage |= BO_USE_TEXTURE; in convertToBufferUsage() 279 bufferUsage |= BO_USE_RENDERING; in convertToBufferUsage() 283 bufferUsage |= BO_USE_SCANOUT | BO_USE_TEXTURE; in convertToBufferUsage() [all …]
|
D | CrosGralloc4Mapper.h | 76 uint64_t bufferUsage, uint32_t* outDrmFormat);
|
D | CrosGralloc4Mapper.cc | 632 int CrosGralloc4Mapper::getResolvedDrmFormat(PixelFormat pixelFormat, uint64_t bufferUsage, in getResolvedDrmFormat() argument 643 if (convertToBufferUsage(bufferUsage, &usage)) { in getResolvedDrmFormat() 644 std::string usageString = getUsageString(bufferUsage); in getResolvedDrmFormat()
|
/external/perfetto/ui/src/frontend/ |
D | globals.ts | 358 get bufferUsage() { 374 setBufferUsage(bufferUsage: number) { 375 this._bufferUsage = bufferUsage;
|
D | record_page.ts | 984 const bufferUsage = globals.bufferUsage ? globals.bufferUsage : 0.0; constant 986 if (bufferUsage === 0) return []; 991 m('progress', {max: 100, value: bufferUsage * 100}));
|
/external/llvm-project/mlir/tools/mlir-vulkan-runner/ |
D | VulkanRuntime.cpp | 79 SPIRVStorageClass storageClass, VkBufferUsageFlagBits &bufferUsage) { in mapStorageClassToBufferUsageFlag() argument 82 bufferUsage = VK_BUFFER_USAGE_STORAGE_BUFFER_BIT; in mapStorageClassToBufferUsageFlag() 85 bufferUsage = VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT; in mapStorageClassToBufferUsageFlag() 386 VkBufferUsageFlagBits bufferUsage = {}; in createMemoryBuffers() local 413 bufferUsage))) { in createMemoryBuffers() 455 bufferCreateInfo.usage = bufferUsage | VK_BUFFER_USAGE_TRANSFER_DST_BIT | in createMemoryBuffers()
|
D | VulkanRuntime.h | 159 VkBufferUsageFlagBits &bufferUsage);
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cIndirectParametersTests.cpp | 152 GLint bufferUsage; in iterate() local 155 gl.getBufferParameteriv(GL_PARAMETER_BUFFER_ARB, GL_BUFFER_USAGE, &bufferUsage); in iterate() 163 else if (bufferUsage != GL_DYNAMIC_DRAW) in iterate()
|
/external/deqp-deps/amber/src/dawn/ |
D | engine_dawn.cc | 1621 ::dawn::BufferUsage bufferUsage; in AttachBuffersAndTextures() 1625 bufferUsage = ::dawn::BufferUsage::Storage; in AttachBuffersAndTextures() 1630 bufferUsage = ::dawn::BufferUsage::Uniform; in AttachBuffersAndTextures() 1649 bufferUsage | ::dawn::BufferUsage::CopySrc | in AttachBuffersAndTextures() 1720 ::dawn::BufferUsage bufferUsage; in AttachBuffers() 1724 bufferUsage = ::dawn::BufferUsage::Storage; in AttachBuffers() 1729 bufferUsage = ::dawn::BufferUsage::Uniform; in AttachBuffers() 1748 bufferUsage | ::dawn::BufferUsage::CopySrc | in AttachBuffers()
|
/external/deqp/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassSparseRenderTargetTests.cpp | 177 …const VkBufferUsageFlags bufferUsage (VK_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUFFER_USAGE_TRANSFE… in createBuffer() local 186 bufferUsage, in createBuffer()
|
D | vktRenderPassSampleReadTests.cpp | 216 …const VkBufferUsageFlags bufferUsage (VK_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUFFER_USAGE_TRANSFE… in createBuffer() local 225 bufferUsage, in createBuffer()
|
D | vktRenderPassDepthStencilResolveTests.cpp | 833 …const VkBufferUsageFlags bufferUsage (VK_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUFFER_USAGE_TRANSFE… in createBuffer() local 843 bufferUsage, in createBuffer()
|
D | vktRenderPassSubpassDependencyTests.cpp | 302 …const VkBufferUsageFlags bufferUsage (VK_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUFFER_USAGE_TRANSFER_… in createBuffer() local 310 bufferUsage, // VkBufferUsageFlags usage in createBuffer() 1940 …const VkBufferUsageFlags bufferUsage (VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT | VK_BUFFER_USAGE_STORAG… in iterateInternal() local 1947 bufferUsage, // VkBufferUsageFlags usage in iterateInternal()
|
D | vktRenderPassMultisampleTests.cpp | 409 …const VkBufferUsageFlags bufferUsage (VK_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUFFER_USAGE_TRANSFE… in createBuffer() local 418 bufferUsage, in createBuffer()
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawAhbTests.cpp | 284 …const VkBufferUsageFlags bufferUsage (VK_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUFFER_USAGE_TRANSFER_… in iterate() local 292 bufferUsage, // VkBufferUsageFlags usage in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/descriptor_indexing/ |
D | vktDescriptorSetsIndexingTests.cpp | 318 VkBufferUsageFlags bufferUsage); 325 VkBufferUsageFlags bufferUsage, 948 VkBufferUsageFlags bufferUsage) in createBuffers() argument 951 …VkDeviceSize bufferSize = ut::createBufferAndBind(buffer, m_context, bufferUsage, (roundedSize * … in createBuffers() 971 VkBufferUsageFlags bufferUsage, in createImages() argument 981 …erSize = createBuffers(bufferInfos, buffer, imageCount, imageSize, sizeof(tcu::Vec4), bufferUsage); in createImages() 3936 …const VkBufferUsageFlags bufferUsage = VK_BUFFER_USAGE_STORAGE_BUFFER_BIT | VK_BUFFER_USAGE_TRANSF… in createAndPopulateDescriptors() local 3943 … bufferUsage, imageExtent, imageFormat, VK_IMAGE_LAYOUT_UNDEFINED, variables.validDescriptorCount); in createAndPopulateDescriptors() 3956 bufferUsage, m_testParams.frameResolution, imageFormat, VK_IMAGE_LAYOUT_UNDEFINED, 1); in createAndPopulateDescriptors()
|
/external/deqp/modules/gles3/performance/ |
D | es3pBufferDataUploadTests.cpp | 2202 deUint32 bufferUsage, 2245 …* desc, int bufferSizeMin, int bufferSizeMax, int numSamples, deUint32 bufferUsage, CaseType caseT… in BasicUploadCase() argument 2250 , m_bufferUsage (bufferUsage) in BasicUploadCase() 2553 …* desc, int minBufferSize, int maxBufferSize, int numSamples, deUint32 bufferUsage, CaseType caseT… 2561 …* desc, int minBufferSize, int maxBufferSize, int numSamples, deUint32 bufferUsage, CaseType caseT… in BufferDataUploadCase() argument 2562 …onDuration>(ctx, name, desc, minBufferSize, maxBufferSize, numSamples, bufferUsage, caseType, RESU… in BufferDataUploadCase() 2609 …* desc, int minBufferSize, int maxBufferSize, int numSamples, deUint32 bufferUsage, CaseType paren… 2620 …* desc, int minBufferSize, int maxBufferSize, int numSamples, deUint32 bufferUsage, CaseType paren… in BufferSubDataUploadCase() argument 2621 …nDuration> (ctx, name, desc, minBufferSize, maxBufferSize, numSamples, bufferUsage, parentCase, RE… in BufferSubDataUploadCase() 2694 …* desc, int minBufferSize, int maxBufferSize, int numSamples, deUint32 bufferUsage, deUint32 mapFl… [all …]
|
/external/perfetto/ui/src/common/ |
D | actions.ts | 729 state.bufferUsage = args.percentage;
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktOpaqueTypeIndexingTests.cpp | 1200 …const VkBufferUsageFlags bufferUsage = m_blockType == BLOCKTYPE_UNIFORM ? VK_BUFFER_USAGE_UNIFOR… in iterate() local 1225 buffers[bufferNdx] = BufferSp(new Buffer(m_context, bufferUsage, sizeof(deUint32))); in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryPipelineBarrierTests.cpp | 9472 const vk::VkBufferUsageFlags bufferUsage = usageToBufferUsageFlags(m_config.usage); in createCommandsAndAllocateMemory() local 9474 const vk::VkDeviceSize maxBufferSize = bufferUsage != 0 in createCommandsAndAllocateMemory() 9475 …? roundBufferSizeToWxHx4(findMaxBufferSize(vkd, device, bufferUsage, m_config.sharing, queues, m_c… in createCommandsAndAllocateMemory()
|