# GrallocBuffer ## **Overview** **Related Modules:** [Display](display.md) **Description:** Defines the memory buffer, including the buffer handle, memory type, memory size, and virtual memory address. ## **Summary** ## Data Fields

Variable Name

Description

hdl

BufferHandle

type

MemType

size

uint32_t

virAddr

void *

## **Details** ## **Field Documentation** ## hdl ``` [BufferHandle](bufferhandle.md) GrallocBuffer::hdl ``` **Description:** Buffer handle ## size ``` uint32_t GrallocBuffer::size ``` **Description:** Size of the requested memory ## type ``` [MemType](display.md#gabd31f838aefffa46191d0d7dc36a96b2) GrallocBuffer::type ``` **Description:** Type of the requested memory ## virAddr ``` void* GrallocBuffer::virAddr ``` **Description:** Virtual address of the requested memory