• Home
  • Raw
  • Download

Lines Matching refs:svgascreen

156    struct svga_screen *svgascreen = svga_screen(screen);  in svga_get_paramf()  local
157 struct svga_winsys_screen *sws = svgascreen->sws; in svga_get_paramf()
169 return svgascreen->maxLineWidth; in svga_get_paramf()
171 return svgascreen->maxLineWidthAA; in svga_get_paramf()
176 return svgascreen->maxPointSize; in svga_get_paramf()
201 struct svga_screen *svgascreen = svga_screen(screen); in svga_get_param() local
202 struct svga_winsys_screen *sws = svgascreen->sws; in svga_get_param()
222 return svgascreen->max_color_buffers; in svga_get_param()
325 return svgascreen->ms_samples ? 1 : 0; in svga_get_param()
425 assert((!sws->have_vgpu10 && svgascreen->max_viewports == 1) || in svga_get_param()
427 svgascreen->max_viewports == SVGA3D_DX_MAX_VIEWPORTS)); in svga_get_param()
428 return svgascreen->max_viewports; in svga_get_param()
482 struct svga_screen *svgascreen = svga_screen(screen); in vgpu9_get_shader_param() local
483 struct svga_winsys_screen *sws = svgascreen->sws; in vgpu9_get_shader_param()
506 return svgascreen->max_color_buffers; in vgpu9_get_shader_param()
545 return svgascreen->debug.nir ? PIPE_SHADER_IR_NIR : PIPE_SHADER_IR_TGSI; in vgpu9_get_shader_param()
547 … return (1 << PIPE_SHADER_IR_TGSI) | (svgascreen->debug.nir ? (1 << PIPE_SHADER_IR_NIR) : 0); in vgpu9_get_shader_param()
611 return svgascreen->debug.nir ? PIPE_SHADER_IR_NIR : PIPE_SHADER_IR_TGSI; in vgpu9_get_shader_param()
613 … return (1 << PIPE_SHADER_IR_TGSI) | (svgascreen->debug.nir ? (1 << PIPE_SHADER_IR_NIR) : 0); in vgpu9_get_shader_param()
646 struct svga_screen *svgascreen = svga_screen(screen); in vgpu10_get_shader_param() local
647 struct svga_winsys_screen *sws = svgascreen->sws; in vgpu10_get_shader_param()
674 return svgascreen->max_gs_inputs; in vgpu10_get_shader_param()
680 return svgascreen->max_vs_inputs; in vgpu10_get_shader_param()
691 return svgascreen->max_vs_outputs; in vgpu10_get_shader_param()
696 return svgascreen->max_const_buffers; in vgpu10_get_shader_param()
719 return svgascreen->debug.nir ? PIPE_SHADER_IR_NIR : PIPE_SHADER_IR_TGSI; in vgpu10_get_shader_param()
722 … return (1 << PIPE_SHADER_IR_TGSI) | (svgascreen->debug.nir ? (1 << PIPE_SHADER_IR_NIR) : 0); in vgpu10_get_shader_param()
802 struct svga_screen *svgascreen = svga_screen(pscreen); in svga_get_compiler_options() local
803 struct svga_winsys_screen *sws = svgascreen->sws; in svga_get_compiler_options()
823 struct svga_screen *svgascreen = svga_screen(screen); in svga_get_shader_param() local
824 struct svga_winsys_screen *sws = svgascreen->sws; in svga_get_shader_param()
840 ASSERTED struct svga_screen *svgascreen = svga_screen(screen); in svga_sm5_get_compute_param() local
841 ASSERTED struct svga_winsys_screen *sws = svgascreen->sws; in svga_sm5_get_compute_param()
1005 struct svga_screen *svgascreen = svga_screen(screen); in init_logging() local
1012 svgascreen->sws->host_log(svgascreen->sws, host_log); in init_logging()
1016 svgascreen->sws->host_log(svgascreen->sws, host_log); in init_logging()
1026 svgascreen->sws->host_log(svgascreen->sws, host_log); in init_logging()
1045 struct svga_screen *svgascreen = svga_screen(screen); in svga_destroy_screen() local
1047 svga_screen_cache_cleanup(svgascreen); in svga_destroy_screen()
1049 mtx_destroy(&svgascreen->swc_mutex); in svga_destroy_screen()
1050 mtx_destroy(&svgascreen->tex_mutex); in svga_destroy_screen()
1052 svgascreen->sws->destroy(svgascreen->sws); in svga_destroy_screen()
1054 FREE(svgascreen); in svga_destroy_screen()
1064 struct svga_screen *svgascreen; in svga_screen_create() local
1071 svgascreen = CALLOC_STRUCT(svga_screen); in svga_screen_create()
1072 if (!svgascreen) in svga_screen_create()
1075 svgascreen->debug.force_level_surface_view = in svga_screen_create()
1077 svgascreen->debug.force_surface_view = in svga_screen_create()
1079 svgascreen->debug.force_sampler_view = in svga_screen_create()
1081 svgascreen->debug.no_surface_view = in svga_screen_create()
1083 svgascreen->debug.no_sampler_view = in svga_screen_create()
1085 svgascreen->debug.no_cache_index_buffers = in svga_screen_create()
1087 svgascreen->debug.nir = in svga_screen_create()
1090 screen = &svgascreen->screen; in svga_screen_create()
1111 svgascreen->sws = sws; in svga_screen_create()
1113 svga_init_screen_resource_functions(svgascreen); in svga_screen_create()
1116 svgascreen->hw_version = sws->get_hw_version(sws); in svga_screen_create()
1118 svgascreen->hw_version = SVGA3D_HWVERSION_WS65_B1; in svga_screen_create()
1121 if (svgascreen->hw_version < SVGA3D_HWVERSION_WS8_B1) { in svga_screen_create()
1124 svgascreen->hw_version); in svga_screen_create()
1129 svgascreen->forcedSampleCount = in svga_screen_create()
1132 sws->have_gl43 = sws->have_gl43 && (svgascreen->forcedSampleCount >= 4); in svga_screen_create()
1139 svgascreen->debug.sampler_state_mapping = in svga_screen_create()
1146 svgascreen->debug.sampler_state_mapping = FALSE; in svga_screen_create()
1175 svgascreen->depth.z16 = SVGA3D_Z_D16; in svga_screen_create()
1176 svgascreen->depth.x8z24 = SVGA3D_Z_D24X8; in svga_screen_create()
1177 svgascreen->depth.s8z24 = SVGA3D_Z_D24S8; in svga_screen_create()
1179 svga_get_format_cap(svgascreen, SVGA3D_Z_DF16, &caps); in svga_screen_create()
1182 svga_get_format_cap(svgascreen, SVGA3D_Z_DF24, &caps); in svga_screen_create()
1185 svga_get_format_cap(svgascreen, SVGA3D_Z_D24S8_INT, &caps); in svga_screen_create()
1193 svgascreen->depth.z16 = SVGA3D_Z_DF16; in svga_screen_create()
1196 svgascreen->depth.x8z24 = SVGA3D_Z_DF24; in svga_screen_create()
1199 svgascreen->depth.s8z24 = SVGA3D_Z_D24S8_INT; in svga_screen_create()
1206 svgascreen->haveProvokingVertex in svga_screen_create()
1208 svgascreen->haveLineSmooth = TRUE; in svga_screen_create()
1209 svgascreen->maxPointSize = 80.0F; in svga_screen_create()
1210 svgascreen->max_color_buffers = SVGA3D_DX_MAX_RENDER_TARGETS; in svga_screen_create()
1215 svgascreen->ms_samples |= 1 << 1; in svga_screen_create()
1217 svgascreen->ms_samples |= 1 << 3; in svga_screen_create()
1222 svgascreen->ms_samples |= 1 << 7; in svga_screen_create()
1227 svgascreen->max_const_buffers = SVGA_MAX_CONST_BUFS; in svga_screen_create()
1230 svgascreen->max_const_buffers = in svga_screen_create()
1232 svgascreen->max_const_buffers = MIN2(svgascreen->max_const_buffers, in svga_screen_create()
1236 svgascreen->haveBlendLogicops = in svga_screen_create()
1241 svgascreen->max_viewports = SVGA3D_DX_MAX_VIEWPORTS; in svga_screen_create()
1245 svgascreen->max_vs_inputs = VGPU10_1_MAX_VS_INPUTS; in svga_screen_create()
1246 svgascreen->max_vs_outputs = VGPU10_1_MAX_VS_OUTPUTS; in svga_screen_create()
1247 svgascreen->max_gs_inputs = VGPU10_1_MAX_GS_INPUTS; in svga_screen_create()
1250 svgascreen->max_vs_inputs = VGPU10_MAX_VS_INPUTS; in svga_screen_create()
1251 svgascreen->max_vs_outputs = VGPU10_MAX_VS_OUTPUTS; in svga_screen_create()
1252 svgascreen->max_gs_inputs = VGPU10_MAX_GS_INPUTS; in svga_screen_create()
1267 svgascreen->haveProvokingVertex = FALSE; in svga_screen_create()
1269 svgascreen->haveLineSmooth = in svga_screen_create()
1272 svgascreen->maxPointSize = in svga_screen_create()
1275 svgascreen->maxPointSize = MIN2(svgascreen->maxPointSize, 80.0f); in svga_screen_create()
1280 svgascreen->max_color_buffers = 4; in svga_screen_create()
1284 svgascreen->max_const_buffers = 1; in svga_screen_create()
1287 svgascreen->ms_samples = 0; in svga_screen_create()
1290 svgascreen->max_viewports = 1; in svga_screen_create()
1293 svgascreen->max_vs_inputs = 16; in svga_screen_create()
1294 svgascreen->max_vs_outputs = 10; in svga_screen_create()
1295 svgascreen->max_gs_inputs = 0; in svga_screen_create()
1299 svgascreen->haveLineStipple = in svga_screen_create()
1302 svgascreen->maxLineWidth = in svga_screen_create()
1305 svgascreen->maxLineWidthAA = in svga_screen_create()
1310 svgascreen->haveProvokingVertex); in svga_screen_create()
1313 svgascreen->haveLineStipple, svgascreen->haveLineSmooth, in svga_screen_create()
1314 svgascreen->maxLineWidth, svgascreen->maxLineWidthAA); in svga_screen_create()
1315 debug_printf("svga: maxPointSize %g\n", svgascreen->maxPointSize); in svga_screen_create()
1316 debug_printf("svga: msaa samples mask: 0x%x\n", svgascreen->ms_samples); in svga_screen_create()
1319 (void) mtx_init(&svgascreen->tex_mutex, mtx_plain); in svga_screen_create()
1320 (void) mtx_init(&svgascreen->swc_mutex, mtx_recursive); in svga_screen_create()
1322 svga_screen_cache_init(svgascreen); in svga_screen_create()
1325 svgascreen->sws->host_log = nop_host_log; in svga_screen_create()
1332 FREE(svgascreen); in svga_screen_create()