Searched refs:descriptorInfo (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/libs/ui/ |
D | Gralloc2.cpp | 102 IMapper::BufferDescriptorInfo* descriptorInfo) const { in validateBufferDescriptorInfo() 108 if (descriptorInfo->usage & ~validUsageBits) { in validateBufferDescriptorInfo() 110 descriptorInfo->usage & ~validUsageBits); in validateBufferDescriptorInfo() 116 if (descriptorInfo->usage & BufferUsage::GPU_DATA_BUFFER && in validateBufferDescriptorInfo() 117 descriptorInfo->format != hardware::graphics::common::V1_1::PixelFormat::BLOB) { in validateBufferDescriptorInfo() 127 IMapper::BufferDescriptorInfo* descriptorInfo = in createDescriptor() local 131 status_t status = validateBufferDescriptorInfo(descriptorInfo); in createDescriptor() 149 ret = mMapperV2_1->createDescriptor_2_1(*descriptorInfo, hidl_cb); in createDescriptor() 152 descriptorInfo->width, in createDescriptor() 153 descriptorInfo->height, in createDescriptor() [all …]
|
D | Gralloc3.cpp | 96 IMapper::BufferDescriptorInfo* descriptorInfo) const { in validateBufferDescriptorInfo() 99 if (descriptorInfo->usage & ~validUsageBits) { in validateBufferDescriptorInfo() 101 descriptorInfo->usage & ~validUsageBits); in validateBufferDescriptorInfo() 107 if (descriptorInfo->usage & BufferUsage::GPU_DATA_BUFFER && in validateBufferDescriptorInfo() 108 descriptorInfo->format != hardware::graphics::common::V1_2::PixelFormat::BLOB) { in validateBufferDescriptorInfo() 118 IMapper::BufferDescriptorInfo* descriptorInfo = in createDescriptor() local 122 status_t status = validateBufferDescriptorInfo(descriptorInfo); in createDescriptor() 136 hardware::Return<void> ret = mMapper->createDescriptor(*descriptorInfo, hidl_cb); in createDescriptor() 167 IMapper::BufferDescriptorInfo descriptorInfo; in validateBufferSize() local 168 sBufferDescriptorInfo(width, height, format, layerCount, usage, &descriptorInfo); in validateBufferSize() [all …]
|
D | Gralloc4.cpp | 116 static status_t validateBufferDescriptorInfo(IMapper::BufferDescriptorInfo* descriptorInfo) { in validateBufferDescriptorInfo() argument 122 if (descriptorInfo->usage & ~validUsageBits) { in validateBufferDescriptorInfo() 124 descriptorInfo->usage & ~validUsageBits); in validateBufferDescriptorInfo() 131 descriptorInfo->format != hardware::graphics::common::V1_2::PixelFormat::BLOB && in validateBufferDescriptorInfo() 132 descriptorInfo->usage & BufferUsage::GPU_DATA_BUFFER) { in validateBufferDescriptorInfo() 178 IMapper::BufferDescriptorInfo* descriptorInfo = in createDescriptor() local 182 status_t status = validateBufferDescriptorInfo(descriptorInfo); in createDescriptor() 196 hardware::Return<void> ret = mMapper->createDescriptor(*descriptorInfo, hidl_cb); in createDescriptor() 227 IMapper::BufferDescriptorInfo descriptorInfo; in validateBufferSize() local 229 usage, &descriptorInfo) != OK) { in validateBufferSize() [all …]
|
D | Gralloc5.cpp | 208 BufferDescriptorInfo descriptorInfo{ in makeDescriptor() local 215 auto nameLength = std::min(requestorName.length(), descriptorInfo.name.size() - 1); in makeDescriptor() 216 memcpy(descriptorInfo.name.data(), requestorName.data(), nameLength); in makeDescriptor() 218 return descriptorInfo; in makeDescriptor() 246 auto descriptorInfo = makeDescriptor(request.requestorName, request.width, request.height, in allocate() local 248 if (!descriptorInfo) { in allocate() 252 descriptorInfo->additionalOptions.reserve(request.extras.size()); in allocate() 257 descriptorInfo->additionalOptions.push_back(std::move(type)); in allocate() 261 auto status = mAllocator->allocate2(*descriptorInfo, 1, &result); in allocate() 731 auto descriptorInfo = makeDescriptor("", width, height, format, layerCount, usage); in isSupported() local [all …]
|
/frameworks/native/libs/ui/include/ui/ |
D | Gralloc2.h | 67 hardware::graphics::mapper::V2_1::IMapper::BufferDescriptorInfo* descriptorInfo) const;
|
D | Gralloc3.h | 69 hardware::graphics::mapper::V3_0::IMapper::BufferDescriptorInfo* descriptorInfo) const;
|