Searched refs:num_adaptors (Results 1 – 3 of 3) sorted by relevance
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/ |
D | testlib.c | 58 unsigned int num_adaptors; in GetPort() local 65 if (XvQueryAdaptors(display, XDefaultRootWindow(display), &num_adaptors, &adaptor_info) != Success) in GetPort() 68 for (i = 0; i < num_adaptors && !found_port; ++i) in GetPort()
|
/external/mesa3d/src/gallium/state_trackers/xorg/ |
D | xorg_xv.c | 727 int num_adaptors; in xorg_xv_init() local 729 num_adaptors = xf86XVListGenericAdaptors(pScrn, &adaptors); in xorg_xv_init() 730 new_adaptors = malloc((num_adaptors + 1) * sizeof(XF86VideoAdaptorPtr *)); in xorg_xv_init() 734 memcpy(new_adaptors, adaptors, num_adaptors * sizeof(XF86VideoAdaptorPtr)); in xorg_xv_init() 748 adaptors[num_adaptors++] = textured_adapter; in xorg_xv_init() 751 if (num_adaptors) { in xorg_xv_init() 752 xf86XVScreenInit(pScreen, adaptors, num_adaptors); in xorg_xv_init()
|
/external/mesa3d/src/gallium/state_trackers/xvmc/ |
D | context.c | 54 unsigned int num_adaptors; in Validate() local 71 ret = XvQueryAdaptors(dpy, XRootWindow(dpy, i), &num_adaptors, &adaptor_info); in Validate() 75 for (unsigned int j = 0; j < num_adaptors && !*found_port; ++j) { in Validate()
|