Home
last modified time | relevance | path

Searched refs:gem_handles (Results 1 – 3 of 3) sorted by relevance

/external/drm_hwcomposer/platform/
Dplatformdrmgeneric.cpp142 ret = drmPrimeFDToHandle(drm_->fd(), bo->prime_fds[0], &bo->gem_handles[0]); in ImportBuffer()
155 bo->gem_handles[i] = bo->gem_handles[0]; in ImportBuffer()
161 bo->gem_handles, bo->pitches, bo->offsets, &bo->fb_id, in ImportBuffer()
165 bo->format, bo->gem_handles, bo->pitches, in ImportBuffer()
175 ImportHandle(bo->gem_handles[0]); in ImportBuffer()
186 if (!bo->gem_handles[i]) in ReleaseBuffer()
189 if (ReleaseHandle(bo->gem_handles[i])) { in ReleaseBuffer()
190 ALOGE("Failed to release gem handle %d", bo->gem_handles[i]); in ReleaseBuffer()
193 if (bo->gem_handles[j] == bo->gem_handles[i]) in ReleaseBuffer()
194 bo->gem_handles[j] = 0; in ReleaseBuffer()
[all …]
/external/drm_hwcomposer/include/
Ddrmhwcgralloc.h33 uint32_t gem_handles[HWC_DRM_BO_MAX_PLANES]; member
/external/drm_hwcomposer/utils/
Dhwcutils.cpp119 if (bo->gem_handles[layer_count] == 0) in ImportBuffer()