Lines Matching refs:base
52 struct dri_drawable base; member
73 dri2_drawable->base.x_drawable = x_drawable; in dri2CreateDrawable()
74 dri2_drawable->base.x = 0; in dri2CreateDrawable()
75 dri2_drawable->base.y = 0; in dri2CreateDrawable()
78 return &dri2_drawable->base; in dri2CreateDrawable()
171 if (dri_state->base.fd >= 0); in dri2Close()
172 close(dri_state->base.fd); in dri2Close()
185 dri_state->base.fd = -1; in isDRI2Connected()
186 dri_state->base.auth_type = VA_NONE; in isDRI2Connected()
198 dri_state->base.fd = open(device_name, O_RDWR); in isDRI2Connected()
199 assert(dri_state->base.fd >= 0); in isDRI2Connected()
201 if (dri_state->base.fd < 0) in isDRI2Connected()
204 if (drmGetMagic(dri_state->base.fd, &magic)) in isDRI2Connected()
211 dri_state->base.auth_type = VA_DRI2; in isDRI2Connected()
230 if (dri_state->base.fd >= 0) in isDRI2Connected()
231 close(dri_state->base.fd); in isDRI2Connected()
234 dri_state->base.fd = -1; in isDRI2Connected()