Home
last modified time | relevance | path

Searched refs:cb_handle_t (Results 1 – 7 of 7) sorted by relevance

/device/generic/goldfish/opengl/system/OpenglSystemCommon/
Dgralloc_cb.h25 #define CB_HANDLE_NUM_INTS(nfds) (int)((sizeof(cb_handle_t) - (nfds)*sizeof(int)) / sizeof(int))
30 struct cb_handle_t : public native_handle { struct
32 cb_handle_t(int p_fd, int p_ashmemSize, int p_usage, in cb_handle_t() function
59 ~cb_handle_t() { in ~cb_handle_t() argument
74 static bool validate(const cb_handle_t* hnd) { in validate() argument
/device/generic/goldfish/opengl/system/gralloc/
Dgralloc.cpp86 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 …]
/device/generic/goldfish/opengl/system/GLESv2/
Dgl2.cpp72 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()
/device/generic/goldfish/opengl/system/GLESv1/
Dgl.cpp72 ((cb_handle_t *)(native_buffer->handle))->hostHandle); in glEGLImageTargetTexture2DOES()
98 ((cb_handle_t *)(native_buffer->handle))->hostHandle); in glEGLImageTargetRenderbufferStorageOES()
/device/generic/goldfish/opengl/system/egl/
Degl.cpp281 ((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()
/device/generic/goldfish/camera/
DEmulatedFakeCamera3.cpp866 const cb_handle_t *privBuffer = in processCaptureRequest()
867 static_cast<const cb_handle_t*>(*srcBuf.buffer); in processCaptureRequest()
DEmulatedFakeCamera2.cpp482 const cb_handle_t *streamBuffer = in registerStreamBuffers()
483 reinterpret_cast<const cb_handle_t*>(buffers[0]); in registerStreamBuffers()