Lines Matching refs:vscreen
59 struct virgl_screen *vscreen = virgl_screen(screen); in virgl_get_param() local
72 return vscreen->caps.caps.v1.max_render_targets; in virgl_get_param()
74 return vscreen->caps.caps.v1.max_dual_source_render_targets; in virgl_get_param()
76 return vscreen->caps.caps.v1.bset.occlusion_query; in virgl_get_param()
78 return vscreen->caps.caps.v1.bset.mirror_clamp; in virgl_get_param()
92 return vscreen->caps.caps.v1.bset.indep_blend_enable; in virgl_get_param()
94 return vscreen->caps.caps.v1.bset.indep_blend_func; in virgl_get_param()
99 return vscreen->caps.caps.v1.bset.fragment_coord_conventions; in virgl_get_param()
101 return vscreen->caps.caps.v1.bset.depth_clip_disable; in virgl_get_param()
103 return vscreen->caps.caps.v1.max_streamout_buffers; in virgl_get_param()
108 return vscreen->caps.caps.v1.bset.primitive_restart; in virgl_get_param()
110 return vscreen->caps.caps.v1.bset.shader_stencil_export; in virgl_get_param()
115 return vscreen->caps.caps.v1.bset.seamless_cube_map; in virgl_get_param()
117 return vscreen->caps.caps.v1.bset.seamless_cube_map_per_texture; in virgl_get_param()
119 return vscreen->caps.caps.v1.max_texture_array_layers; in virgl_get_param()
127 return vscreen->caps.caps.v1.bset.conditional_render; in virgl_get_param()
134 return vscreen->caps.caps.v1.bset.color_clamping; in virgl_get_param()
138 return vscreen->caps.caps.v1.glsl_level; in virgl_get_param()
152 return vscreen->caps.caps.v1.bset.streamout_pause_resume; in virgl_get_param()
154 return vscreen->caps.caps.v1.bset.start_instance; in virgl_get_param()
170 return vscreen->caps.caps.v1.max_tbo_size > 0; in virgl_get_param()
176 return vscreen->caps.caps.v1.bset.cube_map_array; in virgl_get_param()
178 return vscreen->caps.caps.v1.bset.texture_multisample; in virgl_get_param()
180 return vscreen->caps.caps.v1.max_viewports; in virgl_get_param()
182 return vscreen->caps.caps.v1.max_tbo_size; in virgl_get_param()
197 return vscreen->caps.caps.v1.bset.texture_query_lod; in virgl_get_param()
199 return vscreen->caps.caps.v1.max_texture_gather_components; in virgl_get_param()
277 struct virgl_screen *vscreen = virgl_screen(screen); in virgl_get_shader_param() local
294 if (vscreen->caps.caps.v1.glsl_level < 150) in virgl_get_shader_param()
305 return vscreen->caps.caps.v1.max_uniform_blocks; in virgl_get_shader_param()
315 return vscreen->caps.caps.v1.glsl_level >= 130; in virgl_get_shader_param()
360 struct virgl_screen *vscreen = virgl_screen(screen); in virgl_is_vertex_format_supported() local
372 if (!(vscreen->caps.caps.v1.vertexbuffer.bitmask[big] & (1 << small))) in virgl_is_vertex_format_supported()
407 struct virgl_screen *vscreen = virgl_screen(screen); in virgl_is_format_supported() local
429 if (!vscreen->caps.caps.v1.bset.texture_multisample) in virgl_is_format_supported()
431 if (sample_count > vscreen->caps.caps.v1.max_samples) in virgl_is_format_supported()
455 if (!(vscreen->caps.caps.v1.render.bitmask[big] & (1 << small))) in virgl_is_format_supported()
502 if (!(vscreen->caps.caps.v1.sampler.bitmask[big] & (1 << small))) in virgl_is_format_supported()
516 struct virgl_screen *vscreen = virgl_screen(screen); in virgl_flush_frontbuffer() local
517 struct virgl_winsys *vws = vscreen->vws; in virgl_flush_frontbuffer()
529 struct virgl_screen *vscreen = virgl_screen(screen); in virgl_fence_reference() local
530 struct virgl_winsys *vws = vscreen->vws; in virgl_fence_reference()
540 struct virgl_screen *vscreen = virgl_screen(screen); in virgl_fence_finish() local
541 struct virgl_winsys *vws = vscreen->vws; in virgl_fence_finish()
555 struct virgl_screen *vscreen = virgl_screen(screen); in virgl_destroy_screen() local
556 struct virgl_winsys *vws = vscreen->vws; in virgl_destroy_screen()
558 slab_destroy_parent(&vscreen->texture_transfer_pool); in virgl_destroy_screen()
562 FREE(vscreen); in virgl_destroy_screen()