You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I emloyed: private_handle_t * gralloc_handle = reinterpret_cast<private_handle_t*>(const_cast<native_handle*>(graphicbuffer->getNativeBuffer()->handle)); int fd = gralloc_handle->fd;
to get the file descriptor
But it seemed to be wrong and always returned 0x00