ANativeWindow_Buffer
Struct that represents a windows buffer.
Summary
A pointer can be obtained using ANativeWindow_lock().
| Public attributes | |
|---|---|
| bits | void *The actual bits.  | 
| format | int32_tThe format of the buffer. One of AHardwareBuffer_Format.  | 
| height | int32_tThe number of pixels that are shown vertically.  | 
| reserved[6] | uint32_tDo not touch.  | 
| stride | int32_tThe number of pixels that a line in the buffer takes in memory.  | 
| width | int32_tThe number of pixels that are shown horizontally.  | 
Public attributes
bits
Declared inandroid/native_window.h
    void * ANativeWindow_Buffer::bits
The actual bits.
format
Declared inandroid/native_window.h
    int32_t ANativeWindow_Buffer::format
The format of the buffer. One of AHardwareBuffer_Format.
height
Declared inandroid/native_window.h
    int32_t ANativeWindow_Buffer::height
The number of pixels that are shown vertically.
reserved
Declared inandroid/native_window.h
    uint32_t ANativeWindow_Buffer::reserved[6]
Do not touch.
stride
Declared inandroid/native_window.h
    int32_t ANativeWindow_Buffer::stride
The number of pixels that a line in the buffer takes in memory.
This may be >= width.
width
Declared inandroid/native_window.h
    int32_t ANativeWindow_Buffer::width
The number of pixels that are shown horizontally.
