Home
last modified time | relevance | path

Searched refs:x11_display (Results 1 – 4 of 4) sorted by relevance

/hardware/intel/common/libva/test/putsurface/
Dputsurface_x11.c36 static int check_window_event(void *x11_display, void *drawable, int *width, int *height, int *quit…
54 Display *x11_display = (Display *)win_display; in create_pixmap() local
55 int screen = DefaultScreen(x11_display); in create_pixmap()
60 root = RootWindow(x11_display, screen); in create_pixmap()
62 XGetWindowAttributes (x11_display, root, &attr); in create_pixmap()
65 pixmap = XCreatePixmap(x11_display, root, width, height, in create_pixmap()
66 DefaultDepth(x11_display, DefaultScreen(x11_display))); in create_pixmap()
73 Display *x11_display = (Display *)win_display; in create_window() local
74 int screen = DefaultScreen(x11_display); in create_window()
77 root = RootWindow(x11_display, screen); in create_window()
[all …]
Dputsurface_android.cpp48 static int check_window_event(void *x11_display, void *win, int *width, int *height, int *quit);
/hardware/intel/common/libva/test/common/
Dva_display_x11.c30 static Display *x11_display; variable
36 x11_display = XOpenDisplay(NULL); in va_open_display_x11()
37 if (!x11_display) { in va_open_display_x11()
41 return vaGetDisplay(x11_display); in va_open_display_x11()
47 if (!x11_display) in va_close_display_x11()
51 XUnmapWindow(x11_display, x11_window); in va_close_display_x11()
52 XDestroyWindow(x11_display, x11_window); in va_close_display_x11()
55 XCloseDisplay(x11_display); in va_close_display_x11()
56 x11_display = NULL; in va_close_display_x11()
66 if (!x11_display) in ensure_window()
[all …]
/hardware/intel/common/libva/test/transcode/
Dmpeg2transcode.cpp1941 static Display *x11_display; variable
2008 x11_display = XOpenDisplay(":0.0"); in create_encode_pipe()
2009 assert(x11_display); in create_encode_pipe()
2011 va_dpy = vaGetDisplay(x11_display); in create_encode_pipe()
2066 XCloseDisplay(x11_display); in destory_encode_pipe()
3308 x11_display = (Display*)malloc(sizeof(Display)); in main()
3309 *(x11_display ) = 0x18c34078; in main()
3311 x11_display = XOpenDisplay(":0.0"); in main()
3314 if (x11_display == NULL) { in main()
3319 assert(x11_display); in main()
[all …]