Lines Matching refs:base
102 struct d3dadapter9_context base;
229 ctx->base.destroy = drm_destroy;
235 ctx->base.linear_framebuffer = different_device;
244 ctx->base.hal = pipe_loader_create_screen(ctx->dev);
245 if (!ctx->base.hal) {
247 drm_destroy(&ctx->base);
251 if (!ctx->base.hal->get_param(ctx->base.hal, PIPE_CAP_DMABUF)) {
254 drm_destroy(&ctx->base);
261 ctx->base.throttling_value = 2;
262 ctx->base.throttling = ctx->base.throttling_value > 0;
271 ctx->base.throttling = FALSE;
273 ctx->base.throttling = TRUE;
274 ctx->base.throttling_value = throttling_value_user;
278 ctx->base.vblank_mode = driQueryOptioni(&userInitOptions, "vblank_mode");
279 ctx->base.thread_submit = driQueryOptionb(&userInitOptions, "thread_submit"); /* TODO: default to TRUE if different_device */
282 ctx->base.discard_delayed_release = driQueryOptionb(&userInitOptions, "discard_delayed_release");
283 ctx->base.tearfree_discard = driQueryOptionb(&userInitOptions, "tearfree_discard");
285 if (ctx->base.tearfree_discard && !ctx->base.discard_delayed_release) {
287 ctx->base.tearfree_discard = FALSE;
290 ctx->base.csmt_force = driQueryOptioni(&userInitOptions, "csmt_force");
291 ctx->base.dynamic_texture_workaround = driQueryOptionb(&userInitOptions, "dynamic_texture_workaround");
292 ctx->base.shader_inline_constants = driQueryOptionb(&userInitOptions, "shader_inline_constants");
293 ctx->base.memfd_virtualsizelimit = driQueryOptioni(&userInitOptions, "texture_memory_limit");
294 ctx->base.override_vram_size = driQueryOptioni(&userInitOptions, "override_vram_size");
302 if (sw_rendering && pipe_loader_sw_probe_wrapped(&ctx->swdev, ctx->base.hal))
303 ctx->base.ref = pipe_loader_create_screen(ctx->swdev);
307 ctx->base.ref = ctx->base.hal;
311 read_descriptor(&ctx->base, fd, override_vendorid);
314 hr = NineAdapter9_new(&ctx->base, (struct NineAdapter9 **)ppAdapter);
316 drm_destroy(&ctx->base);