Searched refs:cb_handle_t (Results 1 – 7 of 7) sorted by relevance
25 #define CB_HANDLE_NUM_INTS(nfds) (int)((sizeof(cb_handle_t) - (nfds)*sizeof(int)) / sizeof(int))30 struct cb_handle_t : public native_handle { struct32 cb_handle_t(int p_fd, int p_ashmemSize, int p_usage, in cb_handle_t() function59 ~cb_handle_t() { in ~cb_handle_t() argument74 static bool validate(const cb_handle_t* hnd) { in validate() argument
86 static int map_buffer(cb_handle_t *cb, void **vaddr) in map_buffer()293 cb_handle_t *cb = new cb_handle_t(fd, ashmem_size, usage, in gralloc_alloc()359 const cb_handle_t *cb = (const cb_handle_t *)handle; in gralloc_free()360 if (!cb_handle_t::validate((cb_handle_t*)cb)) { in gralloc_free()438 cb_handle_t *cb = (cb_handle_t *)buffer; in fb_post()440 if (!fbdev || !cb_handle_t::validate(cb) || !cb->canBePosted()) { in fb_post()529 cb_handle_t *cb = (cb_handle_t *)handle; in gralloc_register_buffer()530 if (!gr || !cb_handle_t::validate(cb)) { in gralloc_register_buffer()566 cb_handle_t *cb = (cb_handle_t *)handle; in gralloc_unregister_buffer()567 if (!gr || !cb_handle_t::validate(cb)) { in gralloc_unregister_buffer()[all …]
72 rcEnc->rcBindTexture(rcEnc, ((cb_handle_t *)(native_buffer->handle))->hostHandle); in glEGLImageTargetTexture2DOES()96 rcEnc->rcBindRenderbuffer(rcEnc, ((cb_handle_t *)(native_buffer->handle))->hostHandle); in glEGLImageTargetRenderbufferStorageOES()
72 ((cb_handle_t *)(native_buffer->handle))->hostHandle); in glEGLImageTargetTexture2DOES()98 ((cb_handle_t *)(native_buffer->handle))->hostHandle); in glEGLImageTargetRenderbufferStorageOES()
281 ((cb_handle_t*)(buffer->handle))->hostHandle); in init()328 ((cb_handle_t *)(buffer->handle))->hostHandle); in swapBuffers()1196 cb_handle_t *cb = (cb_handle_t *)(native_buffer->handle); in eglCreateImageKHR()
866 const cb_handle_t *privBuffer = in processCaptureRequest()867 static_cast<const cb_handle_t*>(*srcBuf.buffer); in processCaptureRequest()
482 const cb_handle_t *streamBuffer = in registerStreamBuffers()483 reinterpret_cast<const cb_handle_t*>(buffers[0]); in registerStreamBuffers()