Home
last modified time | relevance | path

Searched refs:drawable (Results 1 – 20 of 20) sorted by relevance

/hardware/intel/common/libva/va/x11/
Dva_dricommon.c52 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()
Dva_dri2.c212 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()
Dva_dri2.h59 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,
Dva_dri.c401 __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 …]
Dva_dri2str.h139 CARD32 drawable B32;
147 CARD32 drawable B32;
155 CARD32 drawable B32;
178 CARD32 drawable B32;
203 CARD32 drawable B32;
Dva_dri.h101 __DRIid drawable, drm_drawable_t *hHWDrawable );
104 __DRIid drawable);
106 Bool VA_DRIGetDrawableInfo( Display *dpy, int screen, Drawable drawable,
Dva_dristr.h219 CARD32 drawable B32;
242 CARD32 drawable B32;
251 CARD32 drawable B32;
302 CARD32 drawable B32;
325 CARD32 drawable B32;
Dva_dricommon.h98 struct dri_drawable *dri_get_drawable(VADriverContextP ctx, XID drawable);
/hardware/intel/common/libmix/mix_video/src/
Dmixdisplayx11.c37 self->drawable = 0; in mix_displayx11_init()
118 this_target->drawable = this_src->drawable; in mix_displayx11_copy()
153 if (this_first->display == this_second->display && this_first->drawable in mix_displayx11_equal()
154 == this_second->drawable) { in mix_displayx11_equal()
191 MIX_RESULT mix_displayx11_set_drawable(MixDisplayX11 * obj, Drawable drawable) { in mix_displayx11_set_drawable() argument
195 obj->drawable = drawable; in mix_displayx11_set_drawable()
199 MIX_RESULT mix_displayx11_get_drawable(MixDisplayX11 * obj, Drawable * drawable) { in mix_displayx11_get_drawable() argument
200 MIX_DISPLAYX11_GETTER_CHECK_INPUT (obj, drawable); in mix_displayx11_get_drawable()
203 *drawable = obj->drawable; in mix_displayx11_get_drawable()
Dmixdisplayx11.h75 Drawable drawable; member
136 Drawable drawable);
139 Drawable * drawable);
Dtest.c24 Drawable drawable = 1024; in main() local
26 mix_displayx11_set_drawable (x11, drawable); in main()
36 mix_displayx11_get_drawable (x11_clone, &drawable); in main()
Dmixvideoformatenc.c67 self->drawable = 0x0; in mix_videoformatenc_init()
295 &(mix->drawable)); in mix_videofmtenc_initialize_default()
379 mix->drawable); in mix_videofmtenc_initialize_default()
Dmixvideoformatenc.h86 gulong drawable; member
Dmixvideo.c1102 Drawable drawable = 0; in mix_video_render_default() local
1156 ret = mix_displayx11_get_drawable(mix_display_x11, &drawable); in mix_video_render_default()
1206 drawable, src_rect.x, src_rect.y, src_rect.width, src_rect.height, in mix_video_render_default()
Dmixvideoformatenc_mpeg4.c1576 if (parent->drawable) { in mix_videofmtenc_mpeg4_process_encode()
1577 va_status = vaPutSurface(va_display, surface, (Drawable)parent->drawable, in mix_videofmtenc_mpeg4_process_encode()
Dmixvideoformatenc_h264.c1688 if (parent->drawable) { in mix_videofmtenc_h264_process_encode()
1689 va_status = vaPutSurface(va_display, surface, (Drawable)parent->drawable, in mix_videofmtenc_h264_process_encode()
/hardware/intel/common/libva/test/putsurface/
Dputsurface_wayland.c39 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 …]
Dputsurface_common.c407 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()
Dputsurface_x11.c36 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/
Dpsb_x11.c398 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()