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

/hardware/intel/common/libva/va/x11/
H A Ddri1_util.c65 VA_DRIDestroyContext(ctx->native_dpy, ctx->x11_screen, dri_state->hwContextID);
70 VA_DRICloseConnection(ctx->native_dpy, ctx->x11_screen);
90 if (!VA_DRIQueryDirectRenderingCapable(ctx->native_dpy,
98 if (!VA_DRIGetClientDriverName(ctx->native_dpy, ctx->x11_screen,
103 if (!VA_DRIOpenConnection(ctx->native_dpy, ctx->x11_screen,
118 if (newlyopened && !VA_DRIAuthConnection(ctx->native_dpy, ctx->x11_screen, magic))
124 if (!VA_DRICreateContext(ctx->native_dpy, ctx->x11_screen,
125 DefaultVisual(ctx->native_dpy, ctx->x11_screen),
145 VA_DRICloseConnection(ctx->native_dpy, ctx->x11_screen);
H A Ddri2_util.c76 VA_DRI2CreateDrawable(ctx->native_dpy, x_drawable);
84 VA_DRI2DestroyDrawable(ctx->native_dpy, dri_drawable->x_drawable);
98 VA_DRI2SwapBuffers(ctx->native_dpy, dri_drawable->x_drawable, 0, 0,
106 region = XFixesCreateRegion(ctx->native_dpy, &xrect, 1);
107 VA_DRI2CopyRegion(ctx->native_dpy, dri_drawable->x_drawable, region,
109 XFixesDestroyRegion(ctx->native_dpy, region);
129 buffers = VA_DRI2GetBuffers(ctx->native_dpy, dri_drawable->x_drawable,
187 if (!VA_DRI2QueryExtension(ctx->native_dpy, &event_base, &error_base))
190 if (!VA_DRI2QueryVersion(ctx->native_dpy, &major, &minor))
194 if (!VA_DRI2Connect(ctx->native_dpy, RootWindo
[all...]
H A Dva_x11.c112 result = VA_NVCTRLQueryDirectRenderingCapable(ctx->native_dpy, ctx->x11_screen,
117 result = VA_NVCTRLGetClientDriverName(ctx->native_dpy, ctx->x11_screen,
135 result = VA_FGLRXGetClientDriverName(ctx->native_dpy, ctx->x11_screen,
168 Display *native_dpy /* implementation specific */
174 if (!native_dpy)
189 pDriverContext->native_dpy = (void *)native_dpy;
H A Dva_dricommon.c76 dri_drawable->is_window = is_window(ctx->native_dpy, drawable);
/hardware/intel/img/psb_video/src/x11/
H A Dpsb_xvva.c70 Display *dpy = (Display *)ctx->native_dpy;
84 grab_ret = XGrabServer(ctx->native_dpy);
110 XUngrabServer(ctx->native_dpy);
149 if (DPMSQueryExtension((Display *)ctx->native_dpy, &dummy, &dummy)
150 && DPMSCapable((Display *)ctx->native_dpy)) {
154 DPMSInfo((Display *)ctx->native_dpy, &state, &onoff);
187 XFreeGC((Display *)ctx->native_dpy, output->gc);
192 XFreeGC((Display *)ctx->native_dpy, output->extend_gc);
212 XvStopVideo((Display *)ctx->native_dpy, output->textured_portID, output->output_drawable);
216 XvUngrabPort((Display *)ctx->native_dpy, outpu
[all...]
H A Dpsb_coverlay.c375 XFillRectangle((Display *)ctx->native_dpy, draw, output->gc, destx, desty, destw, desth);
376 XSync((Display *)ctx->native_dpy, False);
469 visual = DefaultVisual(ctx->native_dpy, 0);
470 depth = DefaultDepth(ctx->native_dpy, 0);
472 ximg = XCreateImage(ctx->native_dpy, visual, depth, ZPixmap, 0, NULL, image_width, image_height, 32, 0);
498 XPutImage(ctx->native_dpy, output->output_drawable, output->gc, ximg, srcx, srcy, destx, desty, width, height);
499 XSync((Display *)ctx->native_dpy, False);
511 XPutImage(ctx->native_dpy, output->extend_drawable, output->extend_gc, ximg,
513 XSync((Display *)ctx->native_dpy, False);
546 ret = psb_x11_createWindowClipBoxList(ctx->native_dpy, dra
[all...]
H A Dpsb_x11.c162 visual = DefaultVisual((Display *)ctx->native_dpy, ctx->x11_screen);
163 gc = XCreateGC((Display *)ctx->native_dpy, draw, 0, NULL);
164 depth = DefaultDepth((Display *)ctx->native_dpy, ctx->x11_screen);
189 ximg = XCreateImage((Display *)ctx->native_dpy, visual, depth, ZPixmap, 0, NULL, width, height, 32, 0);
252 XPutImage((Display *)ctx->native_dpy, draw, gc, ximg, 0, 0, destx, desty, width, height);
253 XFlush((Display *)ctx->native_dpy);
261 XFreeGC((Display *)ctx->native_dpy, gc);
371 XDestroyWindow(ctx->native_dpy, output->extend_drawable);
428 if (!is_window(ctx->native_dpy, draw))
H A Dpsb_ctexture.c340 XDestroyWindow(ctx->native_dpy, output->extend_drawable);
348 XDestroyWindow(ctx->native_dpy, output->extend_drawable);
434 XMoveResizeWindow(ctx->native_dpy, output->output_drawable, 0, extend_display_height, destw, desth);
437 XMoveResizeWindow(ctx->native_dpy, output->output_drawable, extend_display_width, 0, destw, desth);
445 XFlush(ctx->native_dpy);
H A Dpsb_xrandr.c441 XDestroyWindow(ctx->native_dpy, va_output->extend_drawable);
860 psb_xrandr_info->dpy = (Display *)ctx->native_dpy;
/hardware/intel/common/libva/va/android/
H A Dva_android.cpp122 if (strncmp((char *)ctx->native_dpy, "libva_driver_name=", 18) == 0) {
123 *driver_name = strdup((char *)ctx->native_dpy + 18);
135 void *native_dpy /* implementation specific */
141 if (!native_dpy)
156 pDriverContext->native_dpy = (void *)native_dpy;
/hardware/intel/common/libva/va/wayland/
H A Dva_wayland_drm.c203 wl_drm_ctx->registry = wl_display_get_registry(ctx->native_dpy);
205 wl_display_roundtrip(ctx->native_dpy);
215 wl_display_roundtrip(ctx->native_dpy);
219 wl_display_roundtrip(ctx->native_dpy);
H A Dva_wayland_emgd.c147 wl_emgd_ctx->registry = wl_display_get_registry(ctx->native_dpy);
149 wl_display_roundtrip(ctx->native_dpy);
H A Dva_wayland.c137 pDriverContext->native_dpy = display;
/hardware/intel/common/libva/va/glx/
H A Dva_glx_impl.c202 glx_extensions = glXQueryExtensionsString(ctx->native_dpy, ctx->x11_screen);
343 cs->display = ctx->native_dpy;
360 ctx->native_dpy,
370 ctx->native_dpy,
383 ctx->native_dpy,
395 ctx->native_dpy,
473 root_window = RootWindow(ctx->native_dpy, ctx->x11_screen);
474 XGetWindowAttributes(ctx->native_dpy, root_window, &wattr);
478 ctx->native_dpy,
512 ctx->native_dpy,
[all...]
H A Dva_glx.c79 VADisplay vaGetDisplayGLX(Display *native_dpy) argument
87 dpy = vaGetDisplay(native_dpy);
/hardware/intel/common/libva/va/drm/
H A Dva_drm.c106 pDriverContext->native_dpy = NULL;
/hardware/intel/common/libva/test/putsurface/
H A Dputsurface_wayland.c61 vaGetDisplay(VANativeDisplay native_dpy) argument
63 return vaGetDisplayWl(native_dpy);
/hardware/intel/common/libva/va/
H A Dva_backend.h462 void *native_dpy; member in struct:VADriverContext
/hardware/intel/img/psb_video/src/
H A Dpsb_drv_video.c3425 if (*((unsigned int *)ctx->native_dpy) == 0x56454450 /* VEDP */) {

Completed in 139 milliseconds