Home
last modified time | relevance | path

Searched refs:native_dpy (Results 1 – 19 of 19) sorted by relevance

/external/libva/va/x11/
Ddri2_util.c76 VA_DRI2CreateDrawable(ctx->native_dpy, x_drawable); in dri2CreateDrawable()
84 VA_DRI2DestroyDrawable(ctx->native_dpy, dri_drawable->x_drawable); in dri2DestroyDrawable()
98 VA_DRI2SwapBuffers(ctx->native_dpy, dri_drawable->x_drawable, in dri2SwapBuffer()
107 region = XFixesCreateRegion(ctx->native_dpy, &xrect, 1); in dri2SwapBuffer()
108 VA_DRI2CopyRegion(ctx->native_dpy, dri_drawable->x_drawable, region, in dri2SwapBuffer()
110 XFixesDestroyRegion(ctx->native_dpy, region); in dri2SwapBuffer()
130 buffers = VA_DRI2GetBuffers(ctx->native_dpy, dri_drawable->x_drawable, in dri2GetRenderingBuffer()
210 if (!VA_DRI2QueryExtension(ctx->native_dpy, &event_base, &error_base)) in va_isDRI2Connected()
213 if (!VA_DRI2QueryVersion(ctx->native_dpy, &major, &minor)) in va_isDRI2Connected()
217 if (!VA_DRI2Connect(ctx->native_dpy, RootWindow(ctx->native_dpy, ctx->x11_screen), in va_isDRI2Connected()
[all …]
Dva_x11.c97 Display *native_dpy /* implementation specific */ in vaGetDisplay() argument
104 if (!native_dpy) in vaGetDisplay()
120 pDriverContext->native_dpy = (void *)native_dpy; in vaGetDisplay()
121 pDriverContext->x11_screen = XDefaultScreen(native_dpy); in vaGetDisplay()
Dva_dri3.c65 xcb_connection_t *conn = XGetXCBConnection(ctx->native_dpy); in va_isDRI3Connected()
Dva_dricommon.c79 dri_drawable->is_window = is_window(ctx->native_dpy, drawable); in do_drawable_hash()
Dva_nvctrl.c409 if (!VA_NVCTRLQueryDirectRenderingCapable(ctx->native_dpy, ctx->x11_screen, in va_NVCTRL_GetDriverNames()
413 if (!VA_NVCTRLGetClientDriverName(ctx->native_dpy, ctx->x11_screen, in va_NVCTRL_GetDriverNames()
Dva_fglrx.c248 if (!VA_FGLRXGetClientDriverName(ctx->native_dpy, ctx->x11_screen, in va_FGLRX_GetDriverNames()
/external/libva/va/android/
Dva_android.cpp98 void *native_dpy /* implementation specific */ in vaGetDisplay() argument
105 if (!native_dpy) in vaGetDisplay()
121 pDriverContext->native_dpy = (void *)native_dpy; in vaGetDisplay()
/external/libva/va/win32/
Dva_win32.c126 && pDisplayContext->pDriverContext->native_dpy) in va_DisplayContextDestroy()
127 free(pDisplayContext->pDriverContext->native_dpy); in va_DisplayContextDestroy()
140 const LUID * const adapter = pDisplayContext->pDriverContext->native_dpy; in va_DisplayContextGetDriverNames()
203 pDriverContext->native_dpy = calloc(1, sizeof(*adapter_luid)); in vaGetDisplayWin32()
204 memcpy(pDriverContext->native_dpy, adapter_luid, sizeof(*adapter_luid)); in vaGetDisplayWin32()
/external/libva/va/glx/
Dva_glx_impl.c223 glx_extensions = glXQueryExtensionsString(ctx->native_dpy, ctx->x11_screen); in check_tfp_extensions()
370 cs->display = ctx->native_dpy; in gl_create_context()
410 ctx->native_dpy, in gl_create_context()
500 root_window = RootWindow(ctx->native_dpy, ctx->x11_screen); in create_tfp_surface()
501 XGetWindowAttributes(ctx->native_dpy, root_window, &wattr); in create_tfp_surface()
505 ctx->native_dpy, in create_tfp_surface()
549 ctx->native_dpy, in create_tfp_surface()
573 ctx->native_dpy, in create_tfp_surface()
601 pOpenGLVTable->glx_destroy_pixmap(ctx->native_dpy, pSurfaceGLX->glx_pixmap); in destroy_tfp_surface()
606 XFreePixmap(ctx->native_dpy, pSurfaceGLX->pixmap); in destroy_tfp_surface()
[all …]
Dva_glx.c80 VADisplay vaGetDisplayGLX(Display *native_dpy) in vaGetDisplayGLX() argument
88 dpy = vaGetDisplay(native_dpy); in vaGetDisplayGLX()
/external/intel-media-driver/media_driver/linux/common/ddi/
Dmedia_libva_putsurface_linux.cpp289 visual = DefaultVisual(ctx->native_dpy, ctx->x11_screen); in DdiCodec_PutSurfaceLinuxVphalExt()
290 gc = (*pfn_XCreateGC)((Display*)ctx->native_dpy, (Drawable)draw, 0, nullptr); in DdiCodec_PutSurfaceLinuxVphalExt()
291 depth = DefaultDepth(ctx->native_dpy, ctx->x11_screen); in DdiCodec_PutSurfaceLinuxVphalExt()
296 (*pfn_XFreeGC)((Display*)ctx->native_dpy, gc); in DdiCodec_PutSurfaceLinuxVphalExt()
300 …ximg = (*pfn_XCreateImage)((Display*)ctx->native_dpy, visual, depth, ZPixmap, 0, nullptr,surf_widt… in DdiCodec_PutSurfaceLinuxVphalExt()
311 (*pfn_XFreeGC)((Display*)ctx->native_dpy, gc); in DdiCodec_PutSurfaceLinuxVphalExt()
321 (*pfn_XFreeGC)((Display*)ctx->native_dpy, gc); in DdiCodec_PutSurfaceLinuxVphalExt()
325 …(*pfn_XPutImage)((Display*)ctx->native_dpy, (Drawable)draw, gc, ximg, 0, 0, destx, desty, surf_wid… in DdiCodec_PutSurfaceLinuxVphalExt()
335 (*pfn_XFreeGC)((Display*)ctx->native_dpy, gc); in DdiCodec_PutSurfaceLinuxVphalExt()
899 Visual *visual = DefaultVisual(ctx->native_dpy, ctx->x11_screen); in DdiMedia_PutSurfaceLinuxSW()
[all …]
/external/libva/va/wayland/
Dva_wayland_drm.c267 wl_drm_ctx->queue = wl_display_create_queue(ctx->native_dpy); in va_wayland_drm_create()
273 wrapped_display = wl_proxy_create_wrapper(ctx->native_dpy); in va_wayland_drm_create()
290 if (!wayland_roundtrip_queue(ctx->native_dpy, wl_drm_ctx->queue)) in va_wayland_drm_create()
300 if (!wayland_roundtrip_queue(ctx->native_dpy, wl_drm_ctx->queue)) in va_wayland_drm_create()
307 if (!wayland_roundtrip_queue(ctx->native_dpy, wl_drm_ctx->queue)) in va_wayland_drm_create()
Dva_wayland_linux_dmabuf.c296 queue = wl_display_create_queue(ctx->native_dpy); in va_wayland_linux_dmabuf_create()
302 display = wl_proxy_create_wrapper(ctx->native_dpy); in va_wayland_linux_dmabuf_create()
316 if (wl_display_roundtrip_queue(ctx->native_dpy, queue) < 0) { in va_wayland_linux_dmabuf_create()
325 if (wl_display_dispatch_queue(ctx->native_dpy, queue) < 0) { in va_wayland_linux_dmabuf_create()
Dva_wayland_emgd.c152 wl_emgd_ctx->registry = wl_display_get_registry(ctx->native_dpy); in va_wayland_emgd_create()
154 wl_display_roundtrip(ctx->native_dpy); in va_wayland_emgd_create()
Dva_wayland.c129 pDriverContext->native_dpy = display; in vaGetDisplayWl()
/external/mesa3d/src/gallium/frontends/va/
Dcontext.c144 drv->vscreen = vl_kopper_screen_create_win32(ctx->native_dpy); in VA_DRIVER_INIT_FUNC()
147 drv->vscreen = vl_win32_screen_create(ctx->native_dpy); in VA_DRIVER_INIT_FUNC()
158 drv->vscreen = vl_kopper_screen_create_x11(ctx->native_dpy, ctx->x11_screen); in VA_DRIVER_INIT_FUNC()
161 drv->vscreen = vl_dri3_screen_create(ctx->native_dpy, ctx->x11_screen); in VA_DRIVER_INIT_FUNC()
164 drv->vscreen = vl_dri2_screen_create(ctx->native_dpy, ctx->x11_screen); in VA_DRIVER_INIT_FUNC()
167 drv->vscreen = vl_xlib_swrast_screen_create(ctx->native_dpy, ctx->x11_screen); in VA_DRIVER_INIT_FUNC()
/external/libva-utils/putsurface/
Dputsurface_wayland.c62 vaGetDisplay(VANativeDisplay native_dpy) in vaGetDisplay() argument
64 return vaGetDisplayWl(native_dpy); in vaGetDisplay()
/external/libva/va/drm/
Dva_drm.c115 pDriverContext->native_dpy = NULL; in vaGetDisplayDRM()
/external/libva/va/
Dva_backend.h556 void *native_dpy; member