Home
last modified time | relevance | path

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

/hardware/intel/img/psb_video/src/x11/
Dpsb_xvva.c70 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 …]
Dpsb_coverlay.c375 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 …]
Dpsb_x11.c162 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()
Dpsb_ctexture.c340 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()
Dpsb_xrandr.c441 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/
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, 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 …]
Ddri1_util.c65 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()
Dva_x11.c112 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()
Dva_dricommon.c76 dri_drawable->is_window = is_window(ctx->native_dpy, drawable); in do_drawable_hash()
/hardware/intel/common/libva/va/android/
Dva_android.cpp122 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/
Dva_glx_impl.c202 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 …]
Dva_glx.c79 VADisplay vaGetDisplayGLX(Display *native_dpy) in vaGetDisplayGLX() argument
87 dpy = vaGetDisplay(native_dpy); in vaGetDisplayGLX()
/hardware/intel/common/libva/va/wayland/
Dva_wayland_drm.c203 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()
Dva_wayland_emgd.c147 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()
Dva_wayland.c137 pDriverContext->native_dpy = display; in vaGetDisplayWl()
/hardware/intel/common/libva/test/putsurface/
Dputsurface_wayland.c61 vaGetDisplay(VANativeDisplay native_dpy) in vaGetDisplay() argument
63 return vaGetDisplayWl(native_dpy); in vaGetDisplay()
/hardware/intel/common/libva/va/drm/
Dva_drm.c106 pDriverContext->native_dpy = NULL; in vaGetDisplayDRM()
/hardware/intel/common/libva/va/
Dva_backend.h462 void *native_dpy; member
/hardware/intel/img/psb_video/src/
Dpsb_drv_video.c3425 if (*((unsigned int *)ctx->native_dpy) == 0x56454450 /* VEDP */) {