Searched refs:gem_handles (Results 1 – 3 of 3) sorted by relevance
103 bo->gem_handles[0] = gem_handle; in ImportBuffer()107 bo->gem_handles, bo->pitches, bo->offsets, &bo->fb_id, 0); in ImportBuffer()123 int num_gem_handles = sizeof(bo->gem_handles) / sizeof(bo->gem_handles[0]); in ReleaseBuffer()125 if (!bo->gem_handles[i]) in ReleaseBuffer()128 gem_close.handle = bo->gem_handles[i]; in ReleaseBuffer()133 bo->gem_handles[i] = 0; in ReleaseBuffer()
103 buf->bo.gem_handles, buf->bo.pitches, buf->bo.offsets, in ImportBuffer()155 int num_gem_handles = sizeof(bo->gem_handles) / sizeof(bo->gem_handles[0]); in ReleaseBufferImpl()157 if (!bo->gem_handles[i]) in ReleaseBufferImpl()160 gem_close.handle = bo->gem_handles[i]; in ReleaseBufferImpl()167 if (bo->gem_handles[j] == bo->gem_handles[i]) in ReleaseBufferImpl()168 bo->gem_handles[j] = 0; in ReleaseBufferImpl()169 bo->gem_handles[i] = 0; in ReleaseBufferImpl()
61 uint32_t gem_handles[4]; member