Home
last modified time | relevance | path

Searched refs:egl_ctx (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/external/drm-cursor/
H A Ddrm_egl.c84 } egl_ctx; typedef
88 egl_ctx *ctx = data; in egl_free_ctx()
127 static int egl_flush_surfaces(egl_ctx *ctx) in egl_flush_surfaces()
185 egl_ctx *ctx; in egl_init_ctx()
375 static int egl_attach_dmabuf(egl_ctx *ctx, int dma_fd, int width, int height) in egl_attach_dmabuf()
431 egl_ctx *ctx = data; in egl_convert_fb()
H A Ddrm_cursor.c149 void *egl_ctx; member
904 if (!crtc->egl_ctx) { in drm_crtc_create_fb()
917 crtc->egl_ctx = egl_init_ctx(ctx->fd, ctx->num_surfaces, format, modifier); in drm_crtc_create_fb()
918 if (!crtc->egl_ctx) { in drm_crtc_create_fb()
925 egl_convert_fb(ctx->fd, crtc->egl_ctx, handle, width, height, in drm_crtc_create_fb()
1068 if (crtc->egl_ctx) in drm_crtc_thread_fn()
1069 egl_free_ctx(crtc->egl_ctx); in drm_crtc_thread_fn()