/external/libva/va/x11/ |
D | dri2_util.c | 76 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 …]
|
D | va_x11.c | 97 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()
|
D | va_dri3.c | 65 xcb_connection_t *conn = XGetXCBConnection(ctx->native_dpy); in va_isDRI3Connected()
|
D | va_dricommon.c | 79 dri_drawable->is_window = is_window(ctx->native_dpy, drawable); in do_drawable_hash()
|
D | va_nvctrl.c | 409 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()
|
D | va_fglrx.c | 248 if (!VA_FGLRXGetClientDriverName(ctx->native_dpy, ctx->x11_screen, in va_FGLRX_GetDriverNames()
|
/external/libva/va/android/ |
D | va_android.cpp | 98 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/ |
D | va_win32.c | 126 && 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/ |
D | va_glx_impl.c | 223 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 …]
|
D | va_glx.c | 80 VADisplay vaGetDisplayGLX(Display *native_dpy) in vaGetDisplayGLX() argument 88 dpy = vaGetDisplay(native_dpy); in vaGetDisplayGLX()
|
/external/intel-media-driver/media_driver/linux/common/ddi/ |
D | media_libva_putsurface_linux.cpp | 289 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/ |
D | va_wayland_drm.c | 267 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()
|
D | va_wayland_linux_dmabuf.c | 296 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()
|
D | va_wayland_emgd.c | 152 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()
|
D | va_wayland.c | 129 pDriverContext->native_dpy = display; in vaGetDisplayWl()
|
/external/mesa3d/src/gallium/frontends/va/ |
D | context.c | 144 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/ |
D | putsurface_wayland.c | 62 vaGetDisplay(VANativeDisplay native_dpy) in vaGetDisplay() argument 64 return vaGetDisplayWl(native_dpy); in vaGetDisplay()
|
/external/libva/va/drm/ |
D | va_drm.c | 115 pDriverContext->native_dpy = NULL; in vaGetDisplayDRM()
|
/external/libva/va/ |
D | va_backend.h | 556 void *native_dpy; member
|