Lines Matching defs:svgascreen
99 struct svga_screen *svgascreen = svga_screen(screen);
100 struct svga_winsys_screen *sws = svgascreen->sws;
112 return svgascreen->maxPointSize;
136 struct svga_screen *svgascreen = svga_screen(screen);
137 struct svga_winsys_screen *sws = svgascreen->sws;
269 struct svga_screen *svgascreen = svga_screen(screen);
270 struct svga_winsys_screen *sws = svgascreen->sws;
486 struct svga_screen *svgascreen = svga_screen(screen);
488 svga_screen_cache_cleanup(svgascreen);
490 pipe_mutex_destroy(svgascreen->swc_mutex);
491 pipe_mutex_destroy(svgascreen->tex_mutex);
493 svgascreen->sws->destroy(svgascreen->sws);
495 FREE(svgascreen);
505 struct svga_screen *svgascreen;
514 svgascreen = CALLOC_STRUCT(svga_screen);
515 if (!svgascreen)
518 svgascreen->debug.force_level_surface_view =
520 svgascreen->debug.force_surface_view =
522 svgascreen->debug.force_sampler_view =
524 svgascreen->debug.no_surface_view =
526 svgascreen->debug.no_sampler_view =
529 screen = &svgascreen->screen;
542 svgascreen->sws = sws;
544 svga_init_screen_resource_functions(svgascreen);
547 svgascreen->hw_version = sws->get_hw_version(sws);
549 svgascreen->hw_version = SVGA3D_HWVERSION_WS65_B1;
581 svgascreen->depth.z16 = SVGA3D_Z_D16;
582 svgascreen->depth.x8z24 = SVGA3D_Z_D24X8;
583 svgascreen->depth.s8z24 = SVGA3D_Z_D24S8;
585 svga_get_format_cap(svgascreen, SVGA3D_Z_DF16, &caps);
588 svga_get_format_cap(svgascreen, SVGA3D_Z_DF24, &caps);
591 svga_get_format_cap(svgascreen, SVGA3D_Z_D24S8_INT, &caps);
599 svgascreen->depth.z16 = SVGA3D_Z_DF16;
602 svgascreen->depth.x8z24 = SVGA3D_Z_DF24;
605 svgascreen->depth.s8z24 = SVGA3D_Z_D24S8_INT;
610 svgascreen->maxPointSize = 1.0F;
615 svgascreen->maxPointSize = MIN2(result.f, 80.0f);
618 pipe_mutex_init(svgascreen->tex_mutex);
619 pipe_mutex_init(svgascreen->swc_mutex);
621 svga_screen_cache_init(svgascreen);
625 FREE(svgascreen);