/hardware/intel/common/libva/va/x11/ |
D | va_dricommon.c | 52 is_window(Display *dpy, Drawable drawable) in is_window() argument 57 XGetWindowAttributes(dpy, drawable, &wattr); in is_window() 62 do_drawable_hash(VADriverContextP ctx, XID drawable) in do_drawable_hash() argument 65 int index = drawable % DRAWABLE_HASH_SZ; in do_drawable_hash() 69 if (dri_drawable->x_drawable == drawable) in do_drawable_hash() 74 dri_drawable = dri_state->createDrawable(ctx, drawable); in do_drawable_hash() 75 dri_drawable->x_drawable = drawable; in do_drawable_hash() 76 dri_drawable->is_window = is_window(ctx->native_dpy, drawable); in do_drawable_hash() 118 dri_get_drawable(VADriverContextP ctx, XID drawable) in dri_get_drawable() argument 120 return do_drawable_hash(ctx, drawable); in dri_get_drawable()
|
D | va_dri2.c | 212 void VA_DRI2CreateDrawable(Display *dpy, XID drawable) in VA_DRI2CreateDrawable() argument 223 req->drawable = drawable; in VA_DRI2CreateDrawable() 228 void VA_DRI2DestroyDrawable(Display *dpy, XID drawable) in VA_DRI2DestroyDrawable() argument 241 req->drawable = drawable; in VA_DRI2DestroyDrawable() 246 VA_DRI2Buffer *VA_DRI2GetBuffers(Display *dpy, XID drawable, in VA_DRI2GetBuffers() argument 265 req->drawable = drawable; in VA_DRI2GetBuffers() 304 void VA_DRI2CopyRegion(Display *dpy, XID drawable, XserverRegion region, in VA_DRI2CopyRegion() argument 317 req->drawable = drawable; in VA_DRI2CopyRegion() 346 void VA_DRI2SwapBuffers(Display *dpy, XID drawable, CARD64 target_msc, in VA_DRI2SwapBuffers() argument 359 req->drawable = drawable; in VA_DRI2SwapBuffers()
|
D | va_dri2.h | 59 VA_DRI2CreateDrawable(Display *display, XID drawable); 63 VA_DRI2GetBuffers(Display *dpy, XID drawable, 68 VA_DRI2CopyRegion(Display *dpy, XID drawable, XserverRegion region, 71 VA_DRI2SwapBuffers(Display *dpy, XID drawable, CARD64 target_msc, CARD64 divisor,
|
D | va_dri.c | 401 __DRIid drawable, drm_drawable_t * hHWDrawable ) in VA_DRICreateDrawable() argument 416 req->drawable = drawable; in VA_DRICreateDrawable() 431 __DRIid drawable ) in VA_DRIDestroyDrawable() argument 445 req->drawable = drawable; in VA_DRIDestroyDrawable() 452 PUBLIC Bool VA_DRIGetDrawableInfo(Display* dpy, int screen, Drawable drawable, in VA_DRIGetDrawableInfo() argument 472 req->drawable = drawable; in VA_DRIGetDrawableInfo() 597 PUBLIC Bool VA_DRIOpenFullScreen(dpy, screen, drawable) in VA_DRIOpenFullScreen() argument 600 Drawable drawable; 606 (void) drawable; 610 PUBLIC Bool VA_DRICloseFullScreen(dpy, screen, drawable) in VA_DRICloseFullScreen() argument [all …]
|
D | va_dri2str.h | 139 CARD32 drawable B32; 147 CARD32 drawable B32; 155 CARD32 drawable B32; 178 CARD32 drawable B32; 203 CARD32 drawable B32;
|
D | va_dri.h | 101 __DRIid drawable, drm_drawable_t *hHWDrawable ); 104 __DRIid drawable); 106 Bool VA_DRIGetDrawableInfo( Display *dpy, int screen, Drawable drawable,
|
D | va_dristr.h | 219 CARD32 drawable B32; 242 CARD32 drawable B32; 251 CARD32 drawable B32; 302 CARD32 drawable B32; 325 CARD32 drawable B32;
|
D | va_dricommon.h | 98 struct dri_drawable *dri_get_drawable(VADriverContextP ctx, XID drawable);
|
/hardware/intel/img/libdrm/tests/ |
D | updatedraw.c | 31 set_draw_cliprects_empty(int fd, int drawable) in set_draw_cliprects_empty() argument 36 update.handle = drawable; in set_draw_cliprects_empty() 46 set_draw_cliprects_empty_fail(int fd, int drawable) in set_draw_cliprects_empty_fail() argument 51 update.handle = drawable; in set_draw_cliprects_empty_fail() 61 set_draw_cliprects_2(int fd, int drawable) in set_draw_cliprects_2() argument 77 update.handle = drawable; in set_draw_cliprects_2() 100 static int rm_drawable(int fd, int drawable, int fail) in rm_drawable() argument 108 drawarg.handle = drawable; in rm_drawable()
|
/hardware/intel/common/libva/test/putsurface/ |
D | putsurface_wayland.c | 39 static int check_window_event(void *win_display, void *drawable, 43 struct drawable; 48 struct drawable *wl_drawable, 58 #define CAST_DRAWABLE(a) (struct drawable *)(a) 70 struct drawable *wl_drawable, in vaPutSurface() 109 struct drawable { struct 118 struct drawable * const drawable = data; in frame_redraw_callback() local 120 drawable->redraw_pending = 0; in frame_redraw_callback() 131 struct drawable *wl_drawable, in va_put_surface() 251 struct drawable *drawable1, *drawable2; in create_window() [all …]
|
D | putsurface_common.c | 407 void *drawable = data; in putsurface_thread() local 416 if (drawable == drawable_thread0) in putsurface_thread() 418 if (drawable == drawable_thread1) in putsurface_thread() 428 if (verbose) printf("Thread: %p Display surface 0x%x,\n", drawable, surface_id); in putsurface_thread() 461 vaStatus = vaPutSurface(va_dpy, csc_render_surface, CAST_DRAWABLE(drawable), in putsurface_thread() 470 vaStatus = vaPutSurface(va_dpy, surface_id, CAST_DRAWABLE(drawable), in putsurface_thread() 493 check_window_event(win_display, drawable, &width, &height, &quit); in putsurface_thread() 508 if (drawable == drawable_thread1) in putsurface_thread()
|
D | putsurface_x11.c | 36 static int check_window_event(void *x11_display, void *drawable, int *width, int *height, int *quit… 135 static int check_window_event(void *win_display, void *drawable, int *width, int *height, int *quit) in check_window_event() argument 139 Window win = (Window)drawable; in check_window_event()
|
/hardware/intel/img/psb_video/src/x11/ |
D | psb_x11.c | 398 is_window(Display *dpy, Drawable drawable) in is_window() argument 403 XGetWindowAttributes(dpy, drawable, &wattr); in is_window() 458 void *drawable, /* X Drawable */ in psb_PutSurface() argument 475 Drawable draw = (Drawable)drawable; in psb_PutSurface()
|
/hardware/intel/img/libdrm/shared-core/ |
D | i915_drm.h | 361 drm_drawable_t drawable; member
|