/hardware/intel/img/psb_video/src/x11/ |
D | psb_xvva.c | 70 Display *dpy = (Display *)ctx->native_dpy; in GetPortId() 84 grab_ret = XGrabServer(ctx->native_dpy); in GetPortId() 110 XUngrabServer(ctx->native_dpy); in GetPortId() 149 if (DPMSQueryExtension((Display *)ctx->native_dpy, &dummy, &dummy) in psb_init_xvideo() 150 && DPMSCapable((Display *)ctx->native_dpy)) { in psb_init_xvideo() 154 DPMSInfo((Display *)ctx->native_dpy, &state, &onoff); in psb_init_xvideo() 187 XFreeGC((Display *)ctx->native_dpy, output->gc); in psb_deinit_xvideo() 192 XFreeGC((Display *)ctx->native_dpy, output->extend_gc); in psb_deinit_xvideo() 212 … XvStopVideo((Display *)ctx->native_dpy, output->textured_portID, output->output_drawable); in psb_deinit_xvideo() 216 XvUngrabPort((Display *)ctx->native_dpy, output->textured_portID, CurrentTime); in psb_deinit_xvideo() [all …]
|
D | psb_coverlay.c | 375 XFillRectangle((Display *)ctx->native_dpy, draw, output->gc, destx, desty, destw, desth); in psb_cleardrawable_stopoverlay() 376 XSync((Display *)ctx->native_dpy, False); in psb_cleardrawable_stopoverlay() 469 visual = DefaultVisual(ctx->native_dpy, 0); in psb_DisplayRGBASubpicture() 470 depth = DefaultDepth(ctx->native_dpy, 0); in psb_DisplayRGBASubpicture() 472 …ximg = XCreateImage(ctx->native_dpy, visual, depth, ZPixmap, 0, NULL, image_width, image_height, 3… in psb_DisplayRGBASubpicture() 498 …XPutImage(ctx->native_dpy, output->output_drawable, output->gc, ximg, srcx, srcy, destx, desty, wi… in psb_DisplayRGBASubpicture() 499 XSync((Display *)ctx->native_dpy, False); in psb_DisplayRGBASubpicture() 511 XPutImage(ctx->native_dpy, output->extend_drawable, output->extend_gc, ximg, in psb_DisplayRGBASubpicture() 513 XSync((Display *)ctx->native_dpy, False); in psb_DisplayRGBASubpicture() 546 …ret = psb_x11_createWindowClipBoxList(ctx->native_dpy, draw, &output->pClipBoxList, &output->ui32N… in psb_repaint_colorkey() [all …]
|
D | psb_x11.c | 162 visual = DefaultVisual((Display *)ctx->native_dpy, ctx->x11_screen); in psb_putsurface_x11() 163 gc = XCreateGC((Display *)ctx->native_dpy, draw, 0, NULL); in psb_putsurface_x11() 164 depth = DefaultDepth((Display *)ctx->native_dpy, ctx->x11_screen); in psb_putsurface_x11() 189 …ximg = XCreateImage((Display *)ctx->native_dpy, visual, depth, ZPixmap, 0, NULL, width, height, 32… in psb_putsurface_x11() 252 XPutImage((Display *)ctx->native_dpy, draw, gc, ximg, 0, 0, destx, desty, width, height); in psb_putsurface_x11() 253 XFlush((Display *)ctx->native_dpy); in psb_putsurface_x11() 261 XFreeGC((Display *)ctx->native_dpy, gc); in psb_putsurface_x11() 371 XDestroyWindow(ctx->native_dpy, output->extend_drawable); in psb_x11_output_deinit() 428 if (!is_window(ctx->native_dpy, draw)) in pnw_check_output_method()
|
D | psb_ctexture.c | 340 XDestroyWindow(ctx->native_dpy, output->extend_drawable); in psb_putsurface_ctexture() 348 XDestroyWindow(ctx->native_dpy, output->extend_drawable); in psb_putsurface_ctexture() 434 …XMoveResizeWindow(ctx->native_dpy, output->output_drawable, 0, extend_display_height, destw, desth… in psb_putsurface_ctexture() 437 …XMoveResizeWindow(ctx->native_dpy, output->output_drawable, extend_display_width, 0, destw, desth); in psb_putsurface_ctexture() 445 XFlush(ctx->native_dpy); in psb_putsurface_ctexture()
|
D | psb_xrandr.c | 441 XDestroyWindow(ctx->native_dpy, va_output->extend_drawable); in psb_xrandr_refresh() 860 psb_xrandr_info->dpy = (Display *)ctx->native_dpy; in psb_xrandr_init()
|
/hardware/intel/common/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, 0, 0, in dri2SwapBuffer() 106 region = XFixesCreateRegion(ctx->native_dpy, &xrect, 1); in dri2SwapBuffer() 107 VA_DRI2CopyRegion(ctx->native_dpy, dri_drawable->x_drawable, region, in dri2SwapBuffer() 109 XFixesDestroyRegion(ctx->native_dpy, region); in dri2SwapBuffer() 129 buffers = VA_DRI2GetBuffers(ctx->native_dpy, dri_drawable->x_drawable, in dri2GetRenderingBuffer() 187 if (!VA_DRI2QueryExtension(ctx->native_dpy, &event_base, &error_base)) in isDRI2Connected() 190 if (!VA_DRI2QueryVersion(ctx->native_dpy, &major, &minor)) in isDRI2Connected() 194 if (!VA_DRI2Connect(ctx->native_dpy, RootWindow(ctx->native_dpy, ctx->x11_screen), in isDRI2Connected() [all …]
|
D | dri1_util.c | 65 VA_DRIDestroyContext(ctx->native_dpy, ctx->x11_screen, dri_state->hwContextID); in dri1Close() 70 VA_DRICloseConnection(ctx->native_dpy, ctx->x11_screen); in dri1Close() 90 if (!VA_DRIQueryDirectRenderingCapable(ctx->native_dpy, in isDRI1Connected() 98 if (!VA_DRIGetClientDriverName(ctx->native_dpy, ctx->x11_screen, in isDRI1Connected() 103 if (!VA_DRIOpenConnection(ctx->native_dpy, ctx->x11_screen, in isDRI1Connected() 118 if (newlyopened && !VA_DRIAuthConnection(ctx->native_dpy, ctx->x11_screen, magic)) in isDRI1Connected() 124 if (!VA_DRICreateContext(ctx->native_dpy, ctx->x11_screen, in isDRI1Connected() 125 DefaultVisual(ctx->native_dpy, ctx->x11_screen), in isDRI1Connected() 145 VA_DRICloseConnection(ctx->native_dpy, ctx->x11_screen); in isDRI1Connected()
|
D | va_x11.c | 112 result = VA_NVCTRLQueryDirectRenderingCapable(ctx->native_dpy, ctx->x11_screen, in va_NVCTRL_GetDriverName() 117 result = VA_NVCTRLGetClientDriverName(ctx->native_dpy, ctx->x11_screen, in va_NVCTRL_GetDriverName() 135 result = VA_FGLRXGetClientDriverName(ctx->native_dpy, ctx->x11_screen, in va_FGLRX_GetDriverName() 168 Display *native_dpy /* implementation specific */ in vaGetDisplay() argument 174 if (!native_dpy) in vaGetDisplay() 189 pDriverContext->native_dpy = (void *)native_dpy; in vaGetDisplay()
|
D | va_dricommon.c | 76 dri_drawable->is_window = is_window(ctx->native_dpy, drawable); in do_drawable_hash()
|
/hardware/intel/common/libva/va/android/ |
D | va_android.cpp | 122 if (strncmp((char *)ctx->native_dpy, "libva_driver_name=", 18) == 0) { in va_DisplayContextGetDriverName() 123 *driver_name = strdup((char *)ctx->native_dpy + 18); in va_DisplayContextGetDriverName() 135 void *native_dpy /* implementation specific */ in vaGetDisplay() argument 141 if (!native_dpy) in vaGetDisplay() 156 pDriverContext->native_dpy = (void *)native_dpy; in vaGetDisplay()
|
/hardware/intel/common/libva/va/glx/ |
D | va_glx_impl.c | 202 glx_extensions = glXQueryExtensionsString(ctx->native_dpy, ctx->x11_screen); in check_tfp_extensions() 343 cs->display = ctx->native_dpy; in gl_create_context() 360 ctx->native_dpy, in gl_create_context() 370 ctx->native_dpy, in gl_create_context() 383 ctx->native_dpy, in gl_create_context() 395 ctx->native_dpy, in gl_create_context() 473 root_window = RootWindow(ctx->native_dpy, ctx->x11_screen); in create_tfp_surface() 474 XGetWindowAttributes(ctx->native_dpy, root_window, &wattr); in create_tfp_surface() 478 ctx->native_dpy, in create_tfp_surface() 512 ctx->native_dpy, in create_tfp_surface() [all …]
|
D | va_glx.c | 79 VADisplay vaGetDisplayGLX(Display *native_dpy) in vaGetDisplayGLX() argument 87 dpy = vaGetDisplay(native_dpy); in vaGetDisplayGLX()
|
/hardware/intel/common/libva/va/wayland/ |
D | va_wayland_drm.c | 203 wl_drm_ctx->registry = wl_display_get_registry(ctx->native_dpy); in va_wayland_drm_create() 205 wl_display_roundtrip(ctx->native_dpy); in va_wayland_drm_create() 215 wl_display_roundtrip(ctx->native_dpy); in va_wayland_drm_create() 219 wl_display_roundtrip(ctx->native_dpy); in va_wayland_drm_create()
|
D | va_wayland_emgd.c | 147 wl_emgd_ctx->registry = wl_display_get_registry(ctx->native_dpy); in va_wayland_emgd_create() 149 wl_display_roundtrip(ctx->native_dpy); in va_wayland_emgd_create()
|
D | va_wayland.c | 137 pDriverContext->native_dpy = display; in vaGetDisplayWl()
|
/hardware/intel/common/libva/test/putsurface/ |
D | putsurface_wayland.c | 61 vaGetDisplay(VANativeDisplay native_dpy) in vaGetDisplay() argument 63 return vaGetDisplayWl(native_dpy); in vaGetDisplay()
|
/hardware/intel/common/libva/va/drm/ |
D | va_drm.c | 106 pDriverContext->native_dpy = NULL; in vaGetDisplayDRM()
|
/hardware/intel/common/libva/va/ |
D | va_backend.h | 462 void *native_dpy; member
|
/hardware/intel/img/psb_video/src/ |
D | psb_drv_video.c | 3425 if (*((unsigned int *)ctx->native_dpy) == 0x56454450 /* VEDP */) {
|