Lines Matching refs:sws
100 struct svga_winsys_screen *sws = svgascreen->sws; in svga_get_paramf() local
115 if(!sws->get_cap(sws, SVGA3D_DEVCAP_MAX_TEXTURE_ANISOTROPY, &result)) in svga_get_paramf()
137 struct svga_winsys_screen *sws = svgascreen->sws; in svga_get_param() local
154 if(!sws->get_cap(sws, SVGA3D_DEVCAP_MAX_RENDER_TARGETS, &result)) in svga_get_param()
178 if (sws->get_cap(sws, SVGA3D_DEVCAP_MAX_TEXTURE_WIDTH, &result)) in svga_get_param()
182 if (sws->get_cap(sws, SVGA3D_DEVCAP_MAX_TEXTURE_HEIGHT, &result)) in svga_get_param()
190 if (!sws->get_cap(sws, SVGA3D_DEVCAP_MAX_VOLUME_EXTENT, &result)) in svga_get_param()
270 struct svga_winsys_screen *sws = svgascreen->sws; in svga_get_shader_param() local
292 if (!sws->get_cap(sws, SVGA3D_DEVCAP_MAX_FRAGMENT_SHADER_TEMPS, &result)) in svga_get_shader_param()
328 if (!sws->get_cap(sws, SVGA3D_DEVCAP_MAX_VERTEX_SHADER_INSTRUCTIONS, &result)) in svga_get_shader_param()
344 if (!sws->get_cap(sws, SVGA3D_DEVCAP_MAX_VERTEX_SHADER_TEMPS, &result)) in svga_get_shader_param()
455 struct svga_winsys_screen *sws = svga_screen(screen)->sws; in svga_fence_reference() local
456 sws->fence_reference(sws, ptr, fence); in svga_fence_reference()
464 struct svga_winsys_screen *sws = svga_screen(screen)->sws; in svga_fence_signalled() local
465 return sws->fence_signalled(sws, fence, 0) == 0; in svga_fence_signalled()
474 struct svga_winsys_screen *sws = svga_screen(screen)->sws; in svga_fence_finish() local
479 return sws->fence_finish(sws, fence, 0) == 0; in svga_fence_finish()
493 svgascreen->sws->destroy(svgascreen->sws); in svga_destroy_screen()
503 svga_screen_create(struct svga_winsys_screen *sws) in svga_screen_create() argument
542 svgascreen->sws = sws; in svga_screen_create()
546 if (sws->get_hw_version) { in svga_screen_create()
547 svgascreen->hw_version = sws->get_hw_version(sws); in svga_screen_create()
553 sws->get_cap(sws, SVGA3D_DEVCAP_FRAGMENT_SHADER_VERSION, &result) && in svga_screen_create()
557 sws->get_cap(sws, SVGA3D_DEVCAP_VERTEX_SHADER_VERSION, &result) && in svga_screen_create()
609 if (!sws->get_cap(sws, SVGA3D_DEVCAP_MAX_POINT_SIZE, &result)) { in svga_screen_create()
633 return svga_screen(screen)->sws; in svga_winsys_screen()