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.c152 struct svga_screen *svgascreen = svga_screen(screen); in svga_get_paramf() local
153 struct svga_winsys_screen *sws = svgascreen->sws; in svga_get_paramf()
157 return svgascreen->maxLineWidth; in svga_get_paramf()
159 return svgascreen->maxLineWidthAA; in svga_get_paramf()
164 return svgascreen->maxPointSize; in svga_get_paramf()
189 struct svga_screen *svgascreen = svga_screen(screen); in svga_get_param() local
190 struct svga_winsys_screen *sws = svgascreen->sws; in svga_get_param()
210 return svgascreen->max_color_buffers; in svga_get_param()
311 return svgascreen->ms_samples ? 1 : 0; in svga_get_param()
383 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
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.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,
160 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.c136 struct svga_screen *svgascreen = svga_screen(screen); in svga_context_create() local
140 SVGA_STATS_TIME_PUSH(svgascreen->sws, SVGA_STATS_TIME_CREATECONTEXT); in svga_context_create()
168 svga->swc = svgascreen->sws->context_create(svgascreen->sws); in svga_context_create()
358 SVGA_STATS_TIME_POP(svgascreen->sws); in svga_context_create()
367 struct svga_screen *svgascreen = svga_screen(svga->pipe.screen); in svga_context_flush() local
402 svga_screen_cache_flush(svgascreen, svga, fence); in svga_context_flush()
436 svgascreen->sws->fence_reference(svgascreen->sws, pfence, fence); in svga_context_flush()
438 svgascreen->sws->fence_reference(svgascreen->sws, &fence, NULL); in svga_context_flush()
Dsvga_pipe_constants.c49 struct svga_screen *svgascreen = svga_screen(pipe->screen); in svga_set_constant_buffer() local
66 assert(index < svgascreen->max_const_buffers); in svga_set_constant_buffer()
67 (void) svgascreen; in svga_set_constant_buffer()
Dsvga_resource_texture.c887 struct svga_screen *svgascreen = svga_screen(screen); in svga_texture_create() local
891 SVGA_STATS_TIME_PUSH(svgascreen->sws, in svga_texture_create()
973 assert(svgascreen->sws->have_sm4_1); in svga_texture_create()
979 if (svgascreen->sws->have_vgpu10) { in svga_texture_create()
999 assert(svgascreen->sws->have_sm4_1); in svga_texture_create()
1100 tex->key.format = svga_translate_format(svgascreen, template->format, in svga_texture_create()
1111 if (svgascreen->sws->have_vgpu10 && in svga_texture_create()
1135 tex->handle = svga_screen_surface_create(svgascreen, bindings, in svga_texture_create()
1150 tex->can_use_upload = svga_texture_transfer_map_can_upload(svgascreen, in svga_texture_create()
1156 svgascreen->hud.total_resource_bytes += tex->size; in svga_texture_create()
[all …]
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()
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.c108 struct svga_screen *svgascreen = svga_screen(svga->pipe.screen); in define_rasterizer_object() local
122 svgascreen->haveProvokingVertex; in define_rasterizer_object()
Dsvga_resource_texture.h306 svga_texture_transfer_map_can_upload(const struct svga_screen *svgascreen,
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_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()
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()