Skip to content
Commit 86c62e49 authored by Rob Herring's avatar Rob Herring
Browse files

android: add helper to convert buffer_handle_t to gralloc_handle_t ptr



Clients frequently need to convert a buffer_handle_t (aka
native_handle_t *) to a gralloc_handle_t ptr. This is a simple cast, but
add an inline function to do the conversion.

Reviewed-by: default avatarRobert Foss <robert.foss@collabora.com>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 652bcea5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment