Searched refs:gem_handles (Results 1 – 3 of 3) sorted by relevance
111 bo->gem_handles[0] = gem_handle; in ImportBuffer()115 bo->gem_handles, bo->pitches, bo->offsets, &bo->fb_id, 0); in ImportBuffer()131 int num_gem_handles = sizeof(bo->gem_handles) / sizeof(bo->gem_handles[0]); in ReleaseBuffer()133 if (!bo->gem_handles[i]) in ReleaseBuffer()136 gem_close.handle = bo->gem_handles[i]; in ReleaseBuffer()141 bo->gem_handles[i] = 0; in ReleaseBuffer()
102 buf->bo.gem_handles, buf->bo.pitches, buf->bo.offsets, in ImportBuffer()154 int num_gem_handles = sizeof(bo->gem_handles) / sizeof(bo->gem_handles[0]); in ReleaseBufferImpl()156 if (!bo->gem_handles[i]) in ReleaseBufferImpl()159 gem_close.handle = bo->gem_handles[i]; in ReleaseBufferImpl()166 if (bo->gem_handles[j] == bo->gem_handles[i]) in ReleaseBufferImpl()167 bo->gem_handles[j] = 0; in ReleaseBufferImpl()168 bo->gem_handles[i] = 0; in ReleaseBufferImpl()
61 uint32_t gem_handles[4]; member