Lines Matching refs:hostHandle
326 cb->hostHandle = rcEnc->rcCreateColorBuffer(rcEnc, w, h, glFormat); in gralloc_alloc()
327 D("Created host ColorBuffer 0x%x\n", cb->hostHandle); in gralloc_alloc()
330 if (!cb->hostHandle) { in gralloc_alloc()
366 if (cb->hostHandle != 0) { in gralloc_free()
368 D("Closing host ColorBuffer 0x%x\n", cb->hostHandle); in gralloc_free()
369 rcEnc->rcCloseColorBuffer(rcEnc, cb->hostHandle); in gralloc_free()
455 rcEnc->rcFBPost(rcEnc, cb->hostHandle); in fb_post()
529 if (cb->hostHandle != 0) { in gralloc_register_buffer()
531 D("Opening host ColorBuffer 0x%x\n", cb->hostHandle); in gralloc_register_buffer()
532 rcEnc->rcOpenColorBuffer(rcEnc, cb->hostHandle); in gralloc_register_buffer()
566 if (cb->hostHandle != 0) { in gralloc_unregister_buffer()
568 D("Closing host ColorBuffer 0x%x\n", cb->hostHandle); in gralloc_unregister_buffer()
569 rcEnc->rcCloseColorBuffer(rcEnc, cb->hostHandle); in gralloc_unregister_buffer()
655 if (cb->hostHandle) { in gralloc_lock()
662 int hostSyncStatus = rcEnc->rcColorBufferCacheFlush(rcEnc, cb->hostHandle, in gralloc_lock()
715 if (cb->lockedWidth > 0 && cb->lockedHeight > 0 && cb->hostHandle) { in gralloc_unlock()
742 rcEnc->rcUpdateColorBuffer(rcEnc, cb->hostHandle, in gralloc_unlock()
751 rcEnc->rcUpdateColorBuffer(rcEnc, cb->hostHandle, 0, 0, in gralloc_unlock()