Home
last modified time | relevance | path

Searched refs:svgascreen (Results 1 – 15 of 15) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_screen.c156 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()
[all …]
Dsvga_screen_cache.c94 svga_screen_cache_lookup(struct svga_screen *svgascreen, in svga_screen_cache_lookup() argument
97 struct svga_host_surface_cache *cache = &svgascreen->cache; in svga_screen_cache_lookup()
98 struct svga_winsys_screen *sws = svgascreen->sws; in svga_screen_cache_lookup()
176 svga_screen_cache_shrink(struct svga_screen *svgascreen, in svga_screen_cache_shrink() argument
179 struct svga_host_surface_cache *cache = &svgascreen->cache; in svga_screen_cache_shrink()
180 struct svga_winsys_screen *sws = svgascreen->sws; in svga_screen_cache_shrink()
213 svga_screen_cache_add(struct svga_screen *svgascreen, in svga_screen_cache_add() argument
218 struct svga_host_surface_cache *cache = &svgascreen->cache; in svga_screen_cache_add()
219 struct svga_winsys_screen *sws = svgascreen->sws; in svga_screen_cache_add()
248 svga_screen_cache_shrink(svgascreen, target_size); in svga_screen_cache_add()
[all …]
Dsvga_screen_cache.h137 svga_screen_cache_cleanup(struct svga_screen *svgascreen);
140 svga_screen_cache_flush(struct svga_screen *svgascreen,
145 svga_screen_cache_init(struct svga_screen *svgascreen);
149 svga_screen_surface_create(struct svga_screen *svgascreen,
155 svga_screen_surface_destroy(struct svga_screen *svgascreen,
161 svga_screen_cache_dump(const struct svga_screen *svgascreen);
Dsvga_resource.c52 struct svga_screen *svgascreen = svga_screen(screen); in svga_resource_create() local
53 svgascreen->hud.num_failed_allocations++; in svga_resource_create()
82 struct svga_screen *svgascreen = svga_screen(screen); in svga_can_create_resource() local
83 struct svga_winsys_screen *sws = svgascreen->sws; in svga_can_create_resource()
103 format = svga_translate_format(svgascreen, res->format, res->bind); in svga_can_create_resource()
Dsvga_pipe_misc.c43 ASSERTED struct svga_screen *svgascreen = svga_screen(pipe->screen); in svga_set_scissor_states() local
47 assert(start_slot + num_scissors <= svgascreen->max_viewports); in svga_set_scissor_states()
94 struct svga_screen *svgascreen = svga_screen(svga->pipe.screen); in svga_cleanup_framebuffer() local
99 for (i = 0; i < svgascreen->max_color_buffers; i++) { in svga_cleanup_framebuffer()
209 ASSERTED struct svga_screen *svgascreen = svga_screen(pipe->screen); in svga_set_viewport_states() local
212 assert(start_slot + num_viewports <= svgascreen->max_viewports); in svga_set_viewport_states()
Dsvga_context.c142 struct svga_screen *svgascreen = svga_screen(screen); in svga_context_create() local
146 SVGA_STATS_TIME_PUSH(svgascreen->sws, SVGA_STATS_TIME_CREATECONTEXT); in svga_context_create()
174 svga->swc = svgascreen->sws->context_create(svgascreen->sws); in svga_context_create()
400 SVGA_STATS_TIME_POP(svgascreen->sws); in svga_context_create()
409 struct svga_screen *svgascreen = svga_screen(svga->pipe.screen); in svga_context_flush() local
444 svga_screen_cache_flush(svgascreen, svga, fence); in svga_context_flush()
483 svgascreen->sws->fence_reference(svgascreen->sws, pfence, fence); in svga_context_flush()
485 svgascreen->sws->fence_reference(svgascreen->sws, &fence, NULL); in svga_context_flush()
Dsvga_resource_texture.c829 struct svga_screen *svgascreen = svga_screen(screen); in svga_texture_create() local
833 SVGA_STATS_TIME_PUSH(svgascreen->sws, in svga_texture_create()
908 assert(svgascreen->sws->have_sm4_1); in svga_texture_create()
914 if (svgascreen->sws->have_vgpu10) { in svga_texture_create()
934 assert(svgascreen->sws->have_sm4_1); in svga_texture_create()
1035 tex->key.format = svga_translate_format(svgascreen, template->format, in svga_texture_create()
1042 if (svgascreen->sws->have_gl43) { in svga_texture_create()
1046 } else if (svgascreen->sws->have_vgpu10) { in svga_texture_create()
1077 if (svgascreen->sws->have_sm5 && in svga_texture_create()
1095 tex->handle = svga_screen_surface_create(svgascreen, bindings, in svga_texture_create()
[all …]
Dsvga_pipe_constants.c50 struct svga_screen *svgascreen = svga_screen(pipe->screen); in svga_set_constant_buffer() local
68 assert(index < svgascreen->max_const_buffers); in svga_set_constant_buffer()
69 (void) svgascreen; in svga_set_constant_buffer()
Dsvga_state_framebuffer.c56 struct svga_screen *svgascreen = svga_screen(svga->pipe.screen); in emit_fb_vgpu9() local
70 for (i = 0; i < svgascreen->max_color_buffers; i++) { in emit_fb_vgpu9()
140 struct svga_screen *svgascreen = svga_screen(svga->pipe.screen); in svga_reemit_framebuffer_bindings_vgpu9() local
147 for (i = 0; i < svgascreen->max_color_buffers; i++) { in svga_reemit_framebuffer_bindings_vgpu9()
698 struct svga_screen *svgascreen = svga_screen(svga->pipe.screen); in emit_viewport() local
703 unsigned max_viewports = svgascreen->max_viewports; in emit_viewport()
790 struct svga_screen *svgascreen = svga_screen(svga->pipe.screen); in emit_scissor_rect() local
792 unsigned max_viewports = svgascreen->max_viewports; in emit_scissor_rect()
Dsvga_pipe_rasterizer.c109 struct svga_screen *svgascreen = svga_screen(svga->pipe.screen); in svga_define_rasterizer_object() local
123 svgascreen->haveProvokingVertex; in svga_define_rasterizer_object()
138 svgascreen->sws->have_rasterizer_state_v2_cmd) { in svga_define_rasterizer_object()
Dsvga_pipe_query.c1089 struct svga_screen *svgascreen = svga_screen(pipe->screen); in svga_get_query_result() local
1188 vresult->u64 = svgascreen->hud.total_resource_bytes; in svga_get_query_result()
1194 vresult->u64 = svgascreen->hud.num_resources; in svga_get_query_result()
1211 vresult->u64 = svgascreen->hud.num_failed_allocations; in svga_get_query_result()
Dsvga_resource_texture.h296 svga_texture_transfer_map_can_upload(const struct svga_screen *svgascreen,
Dsvga_resource_buffer_upload.c74 struct svga_screen *svgascreen = svga_screen(svga->pipe.screen); in svga_winsys_buffer_create() local
75 struct svga_winsys_screen *sws = svgascreen->sws; in svga_winsys_buffer_create()
Dsvga_draw.c91 struct svga_screen *svgascreen = svga_screen(hwtnl->svga->pipe.screen); in svga_hwtnl_set_flatshade() local
97 if (svgascreen->haveProvokingVertex) { in svga_hwtnl_set_flatshade()
Dsvga_tgsi_vgpu10.c12837 struct svga_screen *svgascreen = svga_screen(svga->pipe.screen); in svga_tgsi_vgpu10_translate() local
12966 emit->max_vs_inputs = svgascreen->max_vs_inputs; in svga_tgsi_vgpu10_translate()
12967 emit->max_vs_outputs = svgascreen->max_vs_outputs; in svga_tgsi_vgpu10_translate()
12968 emit->max_gs_inputs = svgascreen->max_gs_inputs; in svga_tgsi_vgpu10_translate()