Lines Matching refs:GrallocImpl
66 gralloc1::GrallocImpl * /*gralloc1_device_t*/ dev = gralloc1::GrallocImpl::GetInstance(module); in gralloc_device_open()
79 GrallocImpl::GrallocImpl(const hw_module_t *module) { in GrallocImpl() function in gralloc1::GrallocImpl
90 bool GrallocImpl::Init() { in Init()
95 GrallocImpl::~GrallocImpl() { in ~GrallocImpl()
98 int GrallocImpl::CloseDevice(hw_device_t *device __unused) { in CloseDevice()
103 void GrallocImpl::GetCapabilities(struct gralloc1_device *device, uint32_t *out_count, in GetCapabilities()
116 gralloc1_function_pointer_t GrallocImpl::GetFunction(gralloc1_device_t *device, int32_t function) { in GetFunction()
176 gralloc1_error_t GrallocImpl::Dump(gralloc1_device_t *device, uint32_t *out_size, in Dump()
190 GrallocImpl const *dev = GRALLOC_IMPL(device); in Dump()
200 gralloc1_error_t GrallocImpl::CheckDeviceAndHandle(gralloc1_device_t *device, in CheckDeviceAndHandle()
211 gralloc1_error_t GrallocImpl::CreateBufferDescriptor(gralloc1_device_t *device, in CreateBufferDescriptor()
216 GrallocImpl const *dev = GRALLOC_IMPL(device); in CreateBufferDescriptor()
220 gralloc1_error_t GrallocImpl::DestroyBufferDescriptor(gralloc1_device_t *device, in DestroyBufferDescriptor()
225 GrallocImpl const *dev = GRALLOC_IMPL(device); in DestroyBufferDescriptor()
229 gralloc1_error_t GrallocImpl::SetConsumerUsage(gralloc1_device_t *device, in SetConsumerUsage()
235 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetConsumerUsage()
241 gralloc1_error_t GrallocImpl::SetBufferDimensions(gralloc1_device_t *device, in SetBufferDimensions()
247 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetBufferDimensions()
254 gralloc1_error_t GrallocImpl::SetColorFormat(gralloc1_device_t *device, in SetColorFormat()
260 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetColorFormat()
266 gralloc1_error_t GrallocImpl::SetLayerCount(gralloc1_device_t *device, in SetLayerCount()
272 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetLayerCount()
279 gralloc1_error_t GrallocImpl::SetProducerUsage(gralloc1_device_t *device, in SetProducerUsage()
285 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetProducerUsage()
291 gralloc1_error_t GrallocImpl::GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer, in GetBackingStore()
303 gralloc1_error_t GrallocImpl::GetConsumerUsage(gralloc1_device_t *device, buffer_handle_t buffer, in GetConsumerUsage()
313 gralloc1_error_t GrallocImpl::GetBufferDimensions(gralloc1_device_t *device, buffer_handle_t buffer, in GetBufferDimensions()
325 gralloc1_error_t GrallocImpl::GetColorFormat(gralloc1_device_t *device, buffer_handle_t buffer, in GetColorFormat()
335 gralloc1_error_t GrallocImpl::GetLayerCount(gralloc1_device_t *device, buffer_handle_t buffer, in GetLayerCount()
345 gralloc1_error_t GrallocImpl::GetProducerUsage(gralloc1_device_t *device, buffer_handle_t buffer, in GetProducerUsage()
360 gralloc1_error_t GrallocImpl::GetBufferStride(gralloc1_device_t *device, buffer_handle_t buffer, in GetBufferStride()
374 gralloc1_error_t GrallocImpl::AllocateBuffers(gralloc1_device_t *device, uint32_t num_descriptors, in AllocateBuffers()
385 GrallocImpl const *dev = GRALLOC_IMPL(device); in AllocateBuffers()
392 gralloc1_error_t GrallocImpl::RetainBuffer(gralloc1_device_t *device, buffer_handle_t buffer) { in RetainBuffer()
396 GrallocImpl const *dev = GRALLOC_IMPL(device); in RetainBuffer()
403 gralloc1_error_t GrallocImpl::ReleaseBuffer(gralloc1_device_t *device, buffer_handle_t buffer) { in ReleaseBuffer()
409 GrallocImpl const *dev = GRALLOC_IMPL(device); in ReleaseBuffer()
413 gralloc1_error_t GrallocImpl::GetNumFlexPlanes(gralloc1_device_t *device, buffer_handle_t buffer, in GetNumFlexPlanes()
421 GrallocImpl const *dev = GRALLOC_IMPL(device); in GetNumFlexPlanes()
434 gralloc1_error_t GrallocImpl::LockBuffer(gralloc1_device_t *device, buffer_handle_t buffer, in LockBuffer()
456 GrallocImpl const *dev = GRALLOC_IMPL(device); in LockBuffer()
473 gralloc1_error_t GrallocImpl::LockFlex(gralloc1_device_t *device, buffer_handle_t buffer, in LockFlex()
485 gralloc1_error_t status = GrallocImpl::LockBuffer(device, buffer, prod_usage, cons_usage, region, in LockFlex()
491 GrallocImpl const *dev = GRALLOC_IMPL(device); in LockFlex()
497 gralloc1_error_t GrallocImpl::UnlockBuffer(gralloc1_device_t *device, buffer_handle_t buffer, in UnlockBuffer()
509 GrallocImpl const *dev = GRALLOC_IMPL(device); in UnlockBuffer()
516 gralloc1_error_t GrallocImpl::Gralloc1Perform(gralloc1_device_t *device, int operation, ...) { in Gralloc1Perform()
523 GrallocImpl const *dev = GRALLOC_IMPL(device); in Gralloc1Perform()