Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_screen.c150 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
[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
217 struct svga_host_surface_cache *cache = &svgascreen->cache; in svga_screen_cache_add()
218 struct svga_winsys_screen *sws = svgascreen->sws; in svga_screen_cache_add()
247 svga_screen_cache_shrink(svgascreen, target_size); in svga_screen_cache_add()
[all …]
Dsvga_screen_cache.h136 svga_screen_cache_cleanup(struct svga_screen *svgascreen);
139 svga_screen_cache_flush(struct svga_screen *svgascreen,
144 svga_screen_cache_init(struct svga_screen *svgascreen);
148 svga_screen_surface_create(struct svga_screen *svgascreen,
154 svga_screen_surface_destroy(struct svga_screen *svgascreen,
159 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()
101 format = svga_translate_format(svgascreen, res->format, res->bind); in svga_can_create_resource()
Dsvga_context.c129 struct svga_screen *svgascreen = svga_screen(screen); in svga_context_create() local
133 SVGA_STATS_TIME_PUSH(svgascreen->sws, SVGA_STATS_TIME_CREATECONTEXT); in svga_context_create()
157 svga->swc = svgascreen->sws->context_create(svgascreen->sws); in svga_context_create()
333 SVGA_STATS_TIME_POP(svgascreen->sws); in svga_context_create()
342 struct svga_screen *svgascreen = svga_screen(svga->pipe.screen); in svga_context_flush() local
377 svga_screen_cache_flush(svgascreen, svga, fence); in svga_context_flush()
406 svgascreen->sws->fence_reference(svgascreen->sws, pfence, fence); in svga_context_flush()
408 svgascreen->sws->fence_reference(svgascreen->sws, &fence, NULL); in svga_context_flush()
Dsvga_pipe_constants.c51 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_resource_texture.c907 struct svga_screen *svgascreen = svga_screen(screen); in svga_texture_create() local
911 SVGA_STATS_TIME_PUSH(svgascreen->sws, in svga_texture_create()
998 if (svgascreen->sws->have_vgpu10) { in svga_texture_create()
1110 tex->key.format = svga_translate_format(svgascreen, template->format, in svga_texture_create()
1121 if (svgascreen->sws->have_vgpu10 && in svga_texture_create()
1145 tex->handle = svga_screen_surface_create(svgascreen, bindings, in svga_texture_create()
1160 tex->can_use_upload = svga_texture_transfer_map_can_upload(svgascreen, in svga_texture_create()
1166 svgascreen->hud.total_resource_bytes += tex->size; in svga_texture_create()
1167 svgascreen->hud.num_resources++; in svga_texture_create()
1169 SVGA_STATS_TIME_POP(svgascreen->sws); in svga_texture_create()
[all …]
Dsvga_pipe_misc.c87 struct svga_screen *svgascreen = svga_screen(svga->pipe.screen); in svga_cleanup_framebuffer() local
92 for (i = 0; i < svgascreen->max_color_buffers; i++) { in svga_cleanup_framebuffer()
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()
142 struct svga_screen *svgascreen = svga_screen(svga->pipe.screen); in svga_reemit_framebuffer_bindings_vgpu9() local
149 for (i = 0; i < svgascreen->max_color_buffers; i++) { in svga_reemit_framebuffer_bindings_vgpu9()
Dsvga_pipe_rasterizer.c108 struct svga_screen *svgascreen = svga_screen(svga->pipe.screen); in define_rasterizer_object() local
135 svgascreen->haveProvokingVertex; in define_rasterizer_object()
Dsvga_pipe_query.c1082 struct svga_screen *svgascreen = svga_screen(pipe->screen); in svga_get_query_result() local
1178 vresult->u64 = svgascreen->hud.total_resource_bytes; in svga_get_query_result()
1184 vresult->u64 = svgascreen->hud.num_resources; in svga_get_query_result()
1201 vresult->u64 = svgascreen->hud.num_failed_allocations; in svga_get_query_result()
Dsvga_resource_texture.h305 svga_texture_transfer_map_can_upload(const struct svga_screen *svgascreen,
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_resource_buffer_upload.c70 struct svga_screen *svgascreen = svga_screen(svga->pipe.screen); in svga_winsys_buffer_create() local
71 struct svga_winsys_screen *sws = svgascreen->sws; in svga_winsys_buffer_create()