Home
last modified time | relevance | path

Searched refs:descriptorId (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/
DGralloc1On0Adapter.h151 gralloc1_buffer_descriptor_t descriptorId, in callDescriptorFunction() argument
153 auto descriptor = getAdapter(device)->getDescriptor(descriptorId); in callDescriptorFunction()
162 gralloc1_buffer_descriptor_t descriptorId, uint64_t intUsage) { in setConsumerUsageHook() argument
164 return callDescriptorFunction(device, descriptorId, in setConsumerUsageHook()
169 gralloc1_buffer_descriptor_t descriptorId, uint32_t width, in setDimensionsHook() argument
171 return callDescriptorFunction(device, descriptorId, in setDimensionsHook()
176 gralloc1_buffer_descriptor_t descriptorId, int32_t format) { in setFormatHook() argument
177 return callDescriptorFunction(device, descriptorId, in setFormatHook()
182 gralloc1_buffer_descriptor_t descriptorId, uint32_t layerCount) { in setLayerCountHook() argument
183 return callDescriptorFunction(device, descriptorId, in setLayerCountHook()
[all …]
DGralloc1On0Adapter.cpp204 auto descriptorId = sNextBufferDescriptorId++; in createDescriptor() local
206 mDescriptors.emplace(descriptorId, std::make_shared<Descriptor>()); in createDescriptor()
208 ALOGV("Created descriptor %" PRIu64, descriptorId); in createDescriptor()
210 *outDescriptor = descriptorId; in createDescriptor()
542 Gralloc1On0Adapter::getDescriptor(gralloc1_buffer_descriptor_t descriptorId) in getDescriptor() argument
545 if (mDescriptors.count(descriptorId) == 0) { in getDescriptor()
549 return mDescriptors[descriptorId]; in getDescriptor()