• Home
  • Raw
  • Download

Lines Matching refs:egl_display

52    EGLDisplay egl_display;  member
181 d->egl_display = get_platform_display (EGL_PLATFORM_SURFACELESS_MESA, in virgl_egl_init()
184 d->egl_display = get_platform_display (EGL_PLATFORM_GBM_KHR, in virgl_egl_init()
194 d->egl_display = get_platform_display (EGL_PLATFORM_SURFACELESS_MESA, in virgl_egl_init()
197 d->egl_display = get_platform_display (EGL_PLATFORM_GBM_KHR, in virgl_egl_init()
200 d->egl_display = eglGetDisplay((EGLNativeDisplayType)d->gbm_dev); in virgl_egl_init()
203 if (!d->egl_display) in virgl_egl_init()
206 b = eglInitialize(d->egl_display, &major, &minor); in virgl_egl_init()
210 extension_list = eglQueryString(d->egl_display, EGL_EXTENSIONS); in virgl_egl_init()
214 eglQueryString(d->egl_display, EGL_VERSION)); in virgl_egl_init()
216 eglQueryString(d->egl_display, EGL_VENDOR)); in virgl_egl_init()
244 b = eglChooseConfig(d->egl_display, conf_att, &d->egl_conf, in virgl_egl_init()
250 d->egl_ctx = eglCreateContext(d->egl_display, in virgl_egl_init()
258 eglMakeCurrent(d->egl_display, EGL_NO_SURFACE, EGL_NO_SURFACE, in virgl_egl_init()
268 eglMakeCurrent(d->egl_display, EGL_NO_SURFACE, EGL_NO_SURFACE, in virgl_egl_destroy()
270 eglDestroyContext(d->egl_display, d->egl_ctx); in virgl_egl_destroy()
271 eglTerminate(d->egl_display); in virgl_egl_destroy()
287 eglctx = eglCreateContext(ve->egl_display, in virgl_egl_create_context()
297 eglDestroyContext(ve->egl_display, eglctx); in virgl_egl_destroy_context()
304 return eglMakeCurrent(ve->egl_display, EGL_NO_SURFACE, EGL_NO_SURFACE, in virgl_egl_make_context_current()
328 …image = eglCreateImageKHR(ve->egl_display, eglGetCurrentContext(), EGL_GL_TEXTURE_2D_KHR, (EGLClie… in virgl_egl_get_fourcc_for_texture()
333 b = eglExportDMABUFImageQueryMESA(ve->egl_display, image, fourcc, NULL, NULL); in virgl_egl_get_fourcc_for_texture()
338 eglDestroyImageKHR(ve->egl_display, image); in virgl_egl_get_fourcc_for_texture()
352 EGLImageKHR image = eglCreateImageKHR(ve->egl_display, eglGetCurrentContext(), in virgl_egl_get_fd_for_texture2()
360 if (!eglExportDMABUFImageMESA(ve->egl_display, image, fd, in virgl_egl_get_fd_for_texture2()
367 eglDestroyImageKHR(ve->egl_display, image); in virgl_egl_get_fd_for_texture2()
380 …image = eglCreateImageKHR(ve->egl_display, eglGetCurrentContext(), EGL_GL_TEXTURE_2D_KHR, (EGLClie… in virgl_egl_get_fd_for_texture()
388 b = eglExportDMABUFImageMESA(ve->egl_display, in virgl_egl_get_fd_for_texture()
402 b = eglExportDRMImageMESA(ve->egl_display, in virgl_egl_get_fd_for_texture()
421 eglDestroyImageKHR(ve->egl_display, image); in virgl_egl_get_fd_for_texture()