Lines Matching refs:virgl_egl

72 struct virgl_egl {  struct
110 static int virgl_egl_init_extensions(struct virgl_egl *egl, const char *extensions) in virgl_egl_init_extensions()
125 struct virgl_egl *virgl_egl_init(struct virgl_gbm *gbm, bool surfaceless, bool gles) in virgl_egl_init()
144 struct virgl_egl *egl; in virgl_egl_init()
146 egl = calloc(1, sizeof(struct virgl_egl)); in virgl_egl_init()
258 void virgl_egl_destroy(struct virgl_egl *egl) in virgl_egl_destroy()
270 virgl_renderer_gl_context virgl_egl_create_context(struct virgl_egl *egl, struct virgl_gl_ctx_param… in virgl_egl_create_context()
285 void virgl_egl_destroy_context(struct virgl_egl *egl, virgl_renderer_gl_context virglctx) in virgl_egl_destroy_context()
291 int virgl_egl_make_context_current(struct virgl_egl *egl, virgl_renderer_gl_context virglctx) in virgl_egl_make_context_current()
299 virgl_renderer_gl_context virgl_egl_get_current_context(UNUSED struct virgl_egl *egl) in virgl_egl_get_current_context()
305 int virgl_egl_get_fourcc_for_texture(struct virgl_egl *egl, uint32_t tex_id, uint32_t format, int *… in virgl_egl_get_fourcc_for_texture()
338 int virgl_egl_get_fd_for_texture2(struct virgl_egl *egl, uint32_t tex_id, int *fd, in virgl_egl_get_fd_for_texture2()
361 int virgl_egl_get_fd_for_texture(struct virgl_egl *egl, uint32_t tex_id, int *fd) in virgl_egl_get_fd_for_texture()
404 bool virgl_has_egl_khr_gl_colorspace(struct virgl_egl *egl) in virgl_has_egl_khr_gl_colorspace()
409 void *virgl_egl_image_from_dmabuf(struct virgl_egl *egl, in virgl_egl_image_from_dmabuf()
470 void virgl_egl_image_destroy(struct virgl_egl *egl, void *image) in virgl_egl_image_destroy()
476 void *virgl_egl_image_from_gbm_bo(struct virgl_egl *egl, struct gbm_bo *bo) in virgl_egl_image_from_gbm_bo()
517 void *virgl_egl_aux_plane_image_from_gbm_bo(struct virgl_egl *egl, struct gbm_bo *bo, int plane) in virgl_egl_aux_plane_image_from_gbm_bo()
552 bool virgl_egl_supports_fences(struct virgl_egl *egl) in virgl_egl_supports_fences()
557 EGLSyncKHR virgl_egl_fence_create(struct virgl_egl *egl) in virgl_egl_fence_create()
566 void virgl_egl_fence_destroy(struct virgl_egl *egl, EGLSyncKHR fence) { in virgl_egl_fence_destroy()
570 bool virgl_egl_client_wait_fence(struct virgl_egl *egl, EGLSyncKHR fence, uint64_t timeout) in virgl_egl_client_wait_fence()
579 bool virgl_egl_export_signaled_fence(struct virgl_egl *egl, int *out_fd) { in virgl_egl_export_signaled_fence()
583 bool virgl_egl_export_fence(struct virgl_egl *egl, EGLSyncKHR fence, int *out_fd) { in virgl_egl_export_fence()