/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_screen.c | 152 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() 386 assert((!sws->have_vgpu10 && svgascreen->max_viewports == 1) || in svga_get_param() [all …]
|
D | svga_screen_cache.c | 94 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 …]
|
D | svga_screen_cache.h | 137 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);
|
D | svga_resource.c | 52 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()
|
D | svga_pipe_misc.c | 43 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()
|
D | svga_context.c | 136 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()
|
D | svga_pipe_constants.c | 50 struct svga_screen *svgascreen = svga_screen(pipe->screen); in svga_set_constant_buffer() local 67 assert(index < svgascreen->max_const_buffers); in svga_set_constant_buffer() 68 (void) svgascreen; in svga_set_constant_buffer()
|
D | svga_resource_texture.c | 847 struct svga_screen *svgascreen = svga_screen(screen); in svga_texture_create() local 851 SVGA_STATS_TIME_PUSH(svgascreen->sws, in svga_texture_create() 932 assert(svgascreen->sws->have_sm4_1); in svga_texture_create() 938 if (svgascreen->sws->have_vgpu10) { in svga_texture_create() 958 assert(svgascreen->sws->have_sm4_1); in svga_texture_create() 1059 tex->key.format = svga_translate_format(svgascreen, template->format, in svga_texture_create() 1070 if (svgascreen->sws->have_vgpu10 && in svga_texture_create() 1094 tex->handle = svga_screen_surface_create(svgascreen, bindings, in svga_texture_create() 1109 tex->can_use_upload = svga_texture_transfer_map_can_upload(svgascreen, in svga_texture_create() 1115 svgascreen->hud.total_resource_bytes += tex->size; in svga_texture_create() [all …]
|
D | svga_state_framebuffer.c | 56 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()
|
D | svga_pipe_rasterizer.c | 108 struct svga_screen *svgascreen = svga_screen(svga->pipe.screen); in define_rasterizer_object() local 122 svgascreen->haveProvokingVertex; in define_rasterizer_object()
|
D | svga_pipe_query.c | 1089 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()
|
D | svga_resource_texture.h | 309 svga_texture_transfer_map_can_upload(const struct svga_screen *svgascreen,
|
D | svga_draw.c | 91 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()
|
D | svga_resource_buffer_upload.c | 70 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()
|