Lines Matching refs:GrallocImpl

71     gralloc::GrallocImpl * /*gralloc1_device_t*/ dev = gralloc::GrallocImpl::GetInstance(module);  in gralloc_device_open()
84 std::atomic<uint64_t> GrallocImpl::next_descriptor_id_(1);
86 GrallocImpl::GrallocImpl(const hw_module_t *module) { in GrallocImpl() function in gralloc::GrallocImpl
148 bool GrallocImpl::Init() { in Init()
153 GrallocImpl::~GrallocImpl() {} in ~GrallocImpl()
155 gralloc1_error_t GrallocImpl::CreateBufferDescriptorLocked( in CreateBufferDescriptorLocked()
164 gralloc1_error_t GrallocImpl::DestroyBufferDescriptorLocked( in DestroyBufferDescriptorLocked()
175 int GrallocImpl::CloseDevice(hw_device_t *device __unused) { in CloseDevice()
180 void GrallocImpl::GetCapabilities(struct gralloc1_device *device, uint32_t *out_count, in GetCapabilities()
193 gralloc1_function_pointer_t GrallocImpl::GetFunction(gralloc1_device_t *device, int32_t function) { in GetFunction()
253 void GrallocImpl::Dump(gralloc1_device_t *device, uint32_t *out_size, in Dump()
267 GrallocImpl const *dev = GRALLOC_IMPL(device); in Dump()
277 gralloc1_error_t GrallocImpl::CheckDeviceAndHandle(gralloc1_device_t *device, in CheckDeviceAndHandle()
288 int32_t GrallocImpl::CreateBufferDescriptor(gralloc1_device_t *device, in CreateBufferDescriptor()
293 auto *dev = reinterpret_cast<GrallocImpl *>(device); in CreateBufferDescriptor()
297 int32_t GrallocImpl::DestroyBufferDescriptor(gralloc1_device_t *device, in DestroyBufferDescriptor()
302 auto *dev = reinterpret_cast<GrallocImpl *>(device); in DestroyBufferDescriptor()
306 int32_t GrallocImpl::SetConsumerUsage(gralloc1_device_t *device, in SetConsumerUsage()
312 auto *dev = reinterpret_cast<GrallocImpl *>(device); in SetConsumerUsage()
319 int32_t GrallocImpl::SetBufferDimensions(gralloc1_device_t *device, in SetBufferDimensions()
325 auto *dev = reinterpret_cast<GrallocImpl *>(device); in SetBufferDimensions()
332 int32_t GrallocImpl::SetColorFormat(gralloc1_device_t *device, in SetColorFormat()
338 auto *dev = reinterpret_cast<GrallocImpl *>(device); in SetColorFormat()
344 int32_t GrallocImpl::SetLayerCount(gralloc1_device_t *device, in SetLayerCount()
350 auto *dev = reinterpret_cast<GrallocImpl *>(device); in SetLayerCount()
356 int32_t GrallocImpl::SetProducerUsage(gralloc1_device_t *device, in SetProducerUsage()
362 auto *dev = reinterpret_cast<GrallocImpl *>(device); in SetProducerUsage()
368 int32_t GrallocImpl::GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer, in GetBackingStore()
383 int32_t GrallocImpl::GetConsumerUsage(gralloc1_device_t *device, buffer_handle_t buffer, in GetConsumerUsage()
397 int32_t GrallocImpl::GetBufferDimensions(gralloc1_device_t *device, buffer_handle_t buffer, in GetBufferDimensions()
413 int32_t GrallocImpl::GetColorFormat(gralloc1_device_t *device, buffer_handle_t buffer, in GetColorFormat()
427 int32_t GrallocImpl::GetLayerCount(gralloc1_device_t *device, buffer_handle_t buffer, in GetLayerCount()
441 int32_t GrallocImpl::GetProducerUsage(gralloc1_device_t *device, buffer_handle_t buffer, in GetProducerUsage()
455 int32_t GrallocImpl::GetBufferStride(gralloc1_device_t *device, buffer_handle_t buffer, in GetBufferStride()
469 gralloc1_error_t GrallocImpl::AllocateBuffer(const gralloc1_buffer_descriptor_t *descriptor_ids, in AllocateBuffer()
491 int32_t GrallocImpl::AllocateBuffers(gralloc1_device_t *device, uint32_t num_descriptors, in AllocateBuffers()
506 auto *dev = reinterpret_cast<GrallocImpl *>(device); in AllocateBuffers()
512 int32_t GrallocImpl::RetainBuffer(gralloc1_device_t *device, buffer_handle_t buffer) { in RetainBuffer()
516 GrallocImpl const *dev = GRALLOC_IMPL(device); in RetainBuffer()
523 int32_t GrallocImpl::ReleaseBuffer(gralloc1_device_t *device, buffer_handle_t buffer) { in ReleaseBuffer()
529 GrallocImpl const *dev = GRALLOC_IMPL(device); in ReleaseBuffer()
533 int32_t GrallocImpl::GetFlexLayout(const private_handle_t *hnd, in GetFlexLayout()
576 int32_t GrallocImpl::GetNumFlexPlanes(gralloc1_device_t *device, buffer_handle_t buffer, in GetNumFlexPlanes()
600 int32_t GrallocImpl::LockBuffer(gralloc1_device_t *device, buffer_handle_t buffer, in LockBuffer()
625 GrallocImpl const *dev = GRALLOC_IMPL(device); in LockBuffer()
642 int32_t GrallocImpl::LockFlex(gralloc1_device_t *device, buffer_handle_t buffer, in LockFlex()
654 int32_t status = GrallocImpl::LockBuffer(device, buffer, prod_usage, cons_usage, region, in LockFlex()
660 auto *dev = reinterpret_cast<GrallocImpl *>(device); in LockFlex()
666 int32_t GrallocImpl::UnlockBuffer(gralloc1_device_t *device, buffer_handle_t buffer, in UnlockBuffer()
678 GrallocImpl const *dev = GRALLOC_IMPL(device); in UnlockBuffer()
893 int32_t GrallocImpl::Gralloc1Perform(gralloc1_device_t *device, int operation, ...) { in Gralloc1Perform()