Lines Matching refs:svgascreen

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