Lines Matching refs:base
18 struct dri_drawable base; member
34 dri1_drawable->base.x_drawable = x_drawable; in dri1CreateDrawable()
36 return &dri1_drawable->base; in dri1CreateDrawable()
68 assert(dri_state->base.fd >= 0); in dri1Close()
69 drmCloseOnce(dri_state->base.fd); in dri1Close()
86 dri_state->base.fd = -1; in isDRI1Connected()
88 dri_state->base.auth_type = VA_NONE; in isDRI1Connected()
108 dri_state->base.fd = drmOpenOnce(NULL, BusID, &newlyopened); in isDRI1Connected()
111 if (dri_state->base.fd < 0) in isDRI1Connected()
115 if (drmGetMagic(dri_state->base.fd, &magic)) in isDRI1Connected()
121 if (drmMap(dri_state->base.fd, dri_state->hSAREA, SAREA_MAX, &dri_state->pSAREA)) in isDRI1Connected()
129 dri_state->base.auth_type = VA_DRI1; in isDRI1Connected()
142 if (dri_state->base.fd >= 0) in isDRI1Connected()
143 drmCloseOnce(dri_state->base.fd); in isDRI1Connected()
152 dri_state->base.fd = -1; in isDRI1Connected()