• Home
  • Raw
  • Download

Lines Matching refs:svgascreen

150    struct svga_screen *svgascreen = svga_screen(screen);  in svga_get_paramf()  local
151 struct svga_winsys_screen *sws = svgascreen->sws; in svga_get_paramf()
155 return svgascreen->maxLineWidth; in svga_get_paramf()
157 return svgascreen->maxLineWidthAA; in svga_get_paramf()
162 return svgascreen->maxPointSize; in svga_get_paramf()
185 struct svga_screen *svgascreen = svga_screen(screen); in svga_get_param() local
186 struct svga_winsys_screen *sws = svgascreen->sws; in svga_get_param()
208 return svgascreen->max_color_buffers; in svga_get_param()
305 return svgascreen->ms_samples ? 1 : 0; in svga_get_param()
470 struct svga_screen *svgascreen = svga_screen(screen); in vgpu9_get_shader_param() local
471 struct svga_winsys_screen *sws = svgascreen->sws; in vgpu9_get_shader_param()
494 return svgascreen->max_color_buffers; in vgpu9_get_shader_param()
636 struct svga_screen *svgascreen = svga_screen(screen); in vgpu10_get_shader_param() local
637 struct svga_winsys_screen *sws = svgascreen->sws; in vgpu10_get_shader_param()
677 return svgascreen->max_const_buffers; in vgpu10_get_shader_param()
726 struct svga_screen *svgascreen = svga_screen(screen); in svga_get_shader_param() local
727 struct svga_winsys_screen *sws = svgascreen->sws; in svga_get_shader_param()
894 struct svga_screen *svgascreen = svga_screen(screen); in svga_destroy_screen() local
896 svga_screen_cache_cleanup(svgascreen); in svga_destroy_screen()
898 mtx_destroy(&svgascreen->swc_mutex); in svga_destroy_screen()
899 mtx_destroy(&svgascreen->tex_mutex); in svga_destroy_screen()
901 svgascreen->sws->destroy(svgascreen->sws); in svga_destroy_screen()
903 FREE(svgascreen); in svga_destroy_screen()
913 struct svga_screen *svgascreen; in svga_screen_create() local
920 svgascreen = CALLOC_STRUCT(svga_screen); in svga_screen_create()
921 if (!svgascreen) in svga_screen_create()
924 svgascreen->debug.force_level_surface_view = in svga_screen_create()
926 svgascreen->debug.force_surface_view = in svga_screen_create()
928 svgascreen->debug.force_sampler_view = in svga_screen_create()
930 svgascreen->debug.no_surface_view = in svga_screen_create()
932 svgascreen->debug.no_sampler_view = in svga_screen_create()
934 svgascreen->debug.no_cache_index_buffers = in svga_screen_create()
937 screen = &svgascreen->screen; in svga_screen_create()
954 svgascreen->sws = sws; in svga_screen_create()
956 svga_init_screen_resource_functions(svgascreen); in svga_screen_create()
959 svgascreen->hw_version = sws->get_hw_version(sws); in svga_screen_create()
961 svgascreen->hw_version = SVGA3D_HWVERSION_WS65_B1; in svga_screen_create()
964 if (svgascreen->hw_version < SVGA3D_HWVERSION_WS8_B1) { in svga_screen_create()
967 svgascreen->hw_version); in svga_screen_create()
988 svgascreen->depth.z16 = SVGA3D_Z_D16; in svga_screen_create()
989 svgascreen->depth.x8z24 = SVGA3D_Z_D24X8; in svga_screen_create()
990 svgascreen->depth.s8z24 = SVGA3D_Z_D24S8; in svga_screen_create()
992 svga_get_format_cap(svgascreen, SVGA3D_Z_DF16, &caps); in svga_screen_create()
995 svga_get_format_cap(svgascreen, SVGA3D_Z_DF24, &caps); in svga_screen_create()
998 svga_get_format_cap(svgascreen, SVGA3D_Z_D24S8_INT, &caps); in svga_screen_create()
1006 svgascreen->depth.z16 = SVGA3D_Z_DF16; in svga_screen_create()
1009 svgascreen->depth.x8z24 = SVGA3D_Z_DF24; in svga_screen_create()
1012 svgascreen->depth.s8z24 = SVGA3D_Z_D24S8_INT; in svga_screen_create()
1019 svgascreen->haveProvokingVertex in svga_screen_create()
1021 svgascreen->haveLineSmooth = TRUE; in svga_screen_create()
1022 svgascreen->maxPointSize = 80.0F; in svga_screen_create()
1023 svgascreen->max_color_buffers = SVGA3D_DX_MAX_RENDER_TARGETS; in svga_screen_create()
1027 svgascreen->ms_samples = in svga_screen_create()
1032 svgascreen->ms_samples &= ((1 << (4-1)) | in svga_screen_create()
1037 svgascreen->max_const_buffers = in svga_screen_create()
1039 assert(svgascreen->max_const_buffers <= SVGA_MAX_CONST_BUFS); in svga_screen_create()
1053 svgascreen->haveProvokingVertex = FALSE; in svga_screen_create()
1055 svgascreen->haveLineSmooth = in svga_screen_create()
1058 svgascreen->maxPointSize = in svga_screen_create()
1061 svgascreen->maxPointSize = MIN2(svgascreen->maxPointSize, 80.0f); in svga_screen_create()
1066 svgascreen->max_color_buffers = 4; in svga_screen_create()
1070 svgascreen->max_const_buffers = 1; in svga_screen_create()
1073 svgascreen->ms_samples = 0; in svga_screen_create()
1077 svgascreen->haveLineStipple = in svga_screen_create()
1080 svgascreen->maxLineWidth = in svga_screen_create()
1083 svgascreen->maxLineWidthAA = in svga_screen_create()
1088 svgascreen->haveProvokingVertex); in svga_screen_create()
1091 svgascreen->haveLineStipple, svgascreen->haveLineSmooth, in svga_screen_create()
1092 svgascreen->maxLineWidth, svgascreen->maxLineWidthAA); in svga_screen_create()
1093 debug_printf("svga: maxPointSize %g\n", svgascreen->maxPointSize); in svga_screen_create()
1094 debug_printf("svga: msaa samples mask: 0x%x\n", svgascreen->ms_samples); in svga_screen_create()
1097 (void) mtx_init(&svgascreen->tex_mutex, mtx_plain); in svga_screen_create()
1098 (void) mtx_init(&svgascreen->swc_mutex, mtx_recursive); in svga_screen_create()
1100 svga_screen_cache_init(svgascreen); in svga_screen_create()
1106 FREE(svgascreen); in svga_screen_create()