Home
last modified time | relevance | path

Searched refs:bufferUsage (Results 1 – 23 of 23) sorted by relevance

/external/minigbm/cros_gralloc/gralloc3/
DCrosGralloc3Utils.cc90 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 …]
DCrosGralloc3Mapper.h50 uint64_t bufferUsage, uint32_t* outDrmFormat);
DCrosGralloc3Mapper.cc457 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/
DCrosGralloc4Utils.cc94 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 …]
DCrosGralloc4Mapper.h76 uint64_t bufferUsage, uint32_t* outDrmFormat);
DCrosGralloc4Mapper.cc632 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/
Dglobals.ts358 get bufferUsage() {
374 setBufferUsage(bufferUsage: number) {
375 this._bufferUsage = bufferUsage;
Drecord_page.ts984 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/
DVulkanRuntime.cpp79 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()
DVulkanRuntime.h159 VkBufferUsageFlagBits &bufferUsage);
/external/deqp/external/openglcts/modules/gl/
Dgl4cIndirectParametersTests.cpp152 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/
Dengine_dawn.cc1621 ::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/
DvktRenderPassSparseRenderTargetTests.cpp177 …const VkBufferUsageFlags bufferUsage (VK_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUFFER_USAGE_TRANSFE… in createBuffer() local
186 bufferUsage, in createBuffer()
DvktRenderPassSampleReadTests.cpp216 …const VkBufferUsageFlags bufferUsage (VK_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUFFER_USAGE_TRANSFE… in createBuffer() local
225 bufferUsage, in createBuffer()
DvktRenderPassDepthStencilResolveTests.cpp833 …const VkBufferUsageFlags bufferUsage (VK_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUFFER_USAGE_TRANSFE… in createBuffer() local
843 bufferUsage, in createBuffer()
DvktRenderPassSubpassDependencyTests.cpp302 …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()
DvktRenderPassMultisampleTests.cpp409 …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/
DvktDrawAhbTests.cpp284 …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/
DvktDescriptorSetsIndexingTests.cpp318 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
3943bufferUsage, 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/
Des3pBufferDataUploadTests.cpp2202 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/
Dactions.ts729 state.bufferUsage = args.percentage;
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktOpaqueTypeIndexingTests.cpp1200 …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/
DvktMemoryPipelineBarrierTests.cpp9472 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()