Lines Matching refs:virgl_egl

32 struct virgl_egl;
36 struct virgl_egl *virgl_egl_init(struct virgl_gbm *gbm, bool surfaceless, bool gles);
38 void virgl_egl_destroy(struct virgl_egl *egl);
40 virgl_renderer_gl_context virgl_egl_create_context(struct virgl_egl *egl,
43 void virgl_egl_destroy_context(struct virgl_egl *egl, virgl_renderer_gl_context virglctx);
45 int virgl_egl_make_context_current(struct virgl_egl *egl, virgl_renderer_gl_context virglctx);
47 virgl_renderer_gl_context virgl_egl_get_current_context(struct virgl_egl *egl);
49 bool virgl_has_egl_khr_gl_colorspace(struct virgl_egl *egl);
51 int virgl_egl_get_fourcc_for_texture(struct virgl_egl *egl, uint32_t tex_id, uint32_t format,
54 int virgl_egl_get_fd_for_texture(struct virgl_egl *egl, uint32_t tex_id, int *fd);
56 int virgl_egl_get_fd_for_texture2(struct virgl_egl *egl, uint32_t tex_id, int *fd, int *stride,
59 void *virgl_egl_image_from_dmabuf(struct virgl_egl *egl,
68 void virgl_egl_image_destroy(struct virgl_egl *egl, void *image);
70 void *virgl_egl_image_from_gbm_bo(struct virgl_egl *egl, struct gbm_bo *bo);
71 void *virgl_egl_aux_plane_image_from_gbm_bo(struct virgl_egl *egl, struct gbm_bo *bo, int plane);
73 bool virgl_egl_supports_fences(struct virgl_egl *egl);
74 EGLSyncKHR virgl_egl_fence_create(struct virgl_egl *egl);
75 void virgl_egl_fence_destroy(struct virgl_egl *egl, EGLSyncKHR fence);
76 bool virgl_egl_client_wait_fence(struct virgl_egl *egl, EGLSyncKHR fence, uint64_t timeout);
77 bool virgl_egl_export_signaled_fence(struct virgl_egl *egl, int *out_fd);
78 bool virgl_egl_export_fence(struct virgl_egl *egl, EGLSyncKHR fence, int *out_fd);