Displaying 1 result from an estimated 1 matches for "gbm_bo_lock_front_buffer".
2019 Feb 14
2
[Bug 109631] New: Moving gbm bo from GART to VRAM does not wait for rendering
...lowing situation. This assumes that
one has opened DRM and EGL devices.
- create a gbm surface with gbm_surface_create and usage GBM_BO_USE_LINEAR
- create an EGLSurface from the gbm surface with
eglCreatePlatformWindowSurfaceEXT
- render something to it using GLES
- get the resulting buffer using gbm_bo_lock_front_buffer
- attach it to the hardware cursor using drmModeSetCursor
- the cursor is not displayed
During these steps the following things happen in the DRM driver:
- when the surface is made current using eglMakeCurrent a new bo is created in
NOUVEAU_GBM_DOMAIN_GART (due to GBM_BO_USE_LINEAR)
- the renderin...