Home
last modified time | relevance | path

Searched refs:descriptorInfo (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/libs/ui/
DGralloc2.cpp102 IMapper::BufferDescriptorInfo* descriptorInfo) const { in validateBufferDescriptorInfo()
108 if (descriptorInfo->usage & ~validUsageBits) { in validateBufferDescriptorInfo()
110 descriptorInfo->usage & ~validUsageBits); in validateBufferDescriptorInfo()
118 IMapper::BufferDescriptorInfo* descriptorInfo = in createDescriptor() local
122 status_t status = validateBufferDescriptorInfo(descriptorInfo); in createDescriptor()
140 ret = mMapperV2_1->createDescriptor_2_1(*descriptorInfo, hidl_cb); in createDescriptor()
143 descriptorInfo->width, in createDescriptor()
144 descriptorInfo->height, in createDescriptor()
145 descriptorInfo->layerCount, in createDescriptor()
146 static_cast<hardware::graphics::common::V1_0::PixelFormat>(descriptorInfo->format), in createDescriptor()
[all …]
DGralloc3.cpp96 IMapper::BufferDescriptorInfo* descriptorInfo) const { in validateBufferDescriptorInfo()
99 if (descriptorInfo->usage & ~validUsageBits) { in validateBufferDescriptorInfo()
101 descriptorInfo->usage & ~validUsageBits); in validateBufferDescriptorInfo()
109 IMapper::BufferDescriptorInfo* descriptorInfo = in createDescriptor() local
113 status_t status = validateBufferDescriptorInfo(descriptorInfo); in createDescriptor()
127 hardware::Return<void> ret = mMapper->createDescriptor(*descriptorInfo, hidl_cb); in createDescriptor()
158 IMapper::BufferDescriptorInfo descriptorInfo; in validateBufferSize() local
159 sBufferDescriptorInfo(width, height, format, layerCount, usage, &descriptorInfo); in validateBufferSize()
162 auto ret = mMapper->validateBufferSize(buffer, descriptorInfo, stride); in validateBufferSize()
316 IMapper::BufferDescriptorInfo descriptorInfo; in isSupported() local
[all …]
DGralloc4.cpp106 IMapper::BufferDescriptorInfo* descriptorInfo) const { in validateBufferDescriptorInfo()
109 if (descriptorInfo->usage & ~validUsageBits) { in validateBufferDescriptorInfo()
111 descriptorInfo->usage & ~validUsageBits); in validateBufferDescriptorInfo()
119 IMapper::BufferDescriptorInfo* descriptorInfo = in createDescriptor() local
123 status_t status = validateBufferDescriptorInfo(descriptorInfo); in createDescriptor()
137 hardware::Return<void> ret = mMapper->createDescriptor(*descriptorInfo, hidl_cb); in createDescriptor()
168 IMapper::BufferDescriptorInfo descriptorInfo; in validateBufferSize() local
170 &descriptorInfo); in validateBufferSize()
173 auto ret = mMapper->validateBufferSize(buffer, descriptorInfo, stride); in validateBufferSize()
409 IMapper::BufferDescriptorInfo descriptorInfo; in isSupported() local
[all …]
/frameworks/native/libs/ui/include/ui/
DGralloc3.h69 hardware::graphics::mapper::V3_0::IMapper::BufferDescriptorInfo* descriptorInfo) const;
DGralloc2.h67 hardware::graphics::mapper::V2_1::IMapper::BufferDescriptorInfo* descriptorInfo) const;
DGralloc4.h157 hardware::graphics::mapper::V4_0::IMapper::BufferDescriptorInfo* descriptorInfo) const;