/external/mesa3d/src/gallium/drivers/svga/ |
svga_cmd.c | 61 surface_to_surfaceid(struct svga_winsys_context *swc, // IN 68 swc->surface_relocation(swc, &id->sid, NULL, s->handle, flags); 73 swc->surface_relocation(swc, &id->sid, NULL, NULL, flags); 108 SVGA3D_FIFOReserve(struct svga_winsys_context *swc, 115 header = swc->reserve(swc, sizeof *header + cmdSize, nr_relocs); 122 swc->last_command = cmd; 129 SVGA_FIFOCommitAll(struct svga_winsys_context *swc) [all...] |
svga_cmd_vgpu10.c | 47 view_relocation(struct svga_winsys_context *swc, // IN 55 swc->surface_relocation(swc, id, NULL, s->handle, flags); 58 swc->surface_relocation(swc, id, NULL, NULL, flags); 67 surface_to_resourceid(struct svga_winsys_context *swc, // IN 73 swc->surface_relocation(swc, sid, NULL, surface, flags); 76 swc->surface_relocation(swc, sid, NULL, NULL, flags) [all...] |
svga_cmd.h | 59 SVGA3D_FIFOReserve(struct svga_winsys_context *swc, uint32 cmd, uint32 cmdSize, uint32 nr_relocs); 62 SVGA_FIFOCommitAll(struct svga_winsys_context *swc); 68 SVGA3D_GetLastCommand(const struct svga_winsys_context *swc) 70 return swc->last_command; 78 SVGA3D_ResetLastCommand(struct svga_winsys_context *swc) 80 swc->last_command = 0; 89 SVGA3D_DefineContext(struct svga_winsys_context *swc); 92 SVGA3D_DestroyContext(struct svga_winsys_context *swc); 100 SVGA3D_BeginDefineSurface(struct svga_winsys_context *swc, 108 SVGA3D_DefineSurface2D(struct svga_winsys_context *swc, [all...] |
svga_resource_buffer.h | 269 return svga->swc->surface_map(svga->swc, sbuf->handle, flags, retry); 286 struct svga_winsys_context *swc = svga->swc; local 288 swc->surface_unmap(swc, sbuf->handle, &rebind); 291 ret = SVGA3D_BindGBSurface(swc, sbuf->handle); 295 ret = SVGA3D_BindGBSurface(swc, sbuf->handle);
|
svga_shader.c | 276 ret = SVGA3D_BindGBShader(svga->swc, variant->gb_shader); 290 struct svga_winsys_context *swc = svga->swc; local 304 variant->gb_shader = swc->shader_create(swc, 322 ret = SVGA3D_vgpu10_DefineAndBindShader(swc, variant->gb_shader, 331 swc->shader_destroy(swc, variant->gb_shader); 373 ret = SVGA3D_DefineShader(svga->swc, 413 ret = SVGA3D_vgpu10_SetShader(svga->swc, type, gbshader, id) 442 struct svga_winsys_context *swc = svga->swc; local 490 struct svga_winsys_context *swc = svga->swc; local [all...] |
svga_winsys.h | 239 (*destroy)(struct svga_winsys_context *swc); 242 (*reserve)(struct svga_winsys_context *swc, 249 (*get_command_buffer_size)(struct svga_winsys_context *swc); 260 (*surface_relocation)(struct svga_winsys_context *swc, 275 (*region_relocation)(struct svga_winsys_context *swc, 288 (*shader_relocation)(struct svga_winsys_context *swc, 302 (*context_relocation)(struct svga_winsys_context *swc, uint32 *cid); 316 (*mob_relocation)(struct svga_winsys_context *swc, 330 (*query_relocation)(struct svga_winsys_context *swc, 344 (*commit)(struct svga_winsys_context *swc); [all...] |
svga_pipe_streamout.c | 137 ret = SVGA3D_vgpu10_DefineStreamOutput(svga->swc, id, 143 ret = SVGA3D_vgpu10_DefineStreamOutput(svga->swc, id, 174 ret = SVGA3D_vgpu10_SetStreamOutput(svga->swc, id); 177 ret = SVGA3D_vgpu10_SetStreamOutput(svga->swc, id); 195 ret = SVGA3D_vgpu10_DestroyStreamOutput(svga->swc, streamout->id); 198 ret = SVGA3D_vgpu10_DestroyStreamOutput(svga->swc, streamout->id); 303 ret = SVGA3D_vgpu10_SetSOTargets(svga->swc, num_so_targets, 307 ret = SVGA3D_vgpu10_SetSOTargets(svga->swc, num_so_targets, 320 struct svga_winsys_context *swc = svga->swc; local [all...] |
svga_draw.c | 56 hwtnl->cmd.swc = svga->swc; 179 struct svga_winsys_context *swc = hwtnl->cmd.swc; local 243 ret = SVGA3D_BeginDrawPrimitives(swc, 272 swc->surface_relocation(swc, 281 swc->surface_relocation(swc, 287 SVGA_FIFOCommitAll(swc); [all...] |
svga_state_framebuffer.c | 74 ret = SVGA3D_SetRenderTarget(svga->swc, SVGA3D_RT_COLOR0 + i, 84 ret = SVGA3D_SetRenderTarget(svga->swc, SVGA3D_RT_DEPTH, curr->zsbuf); 90 ret = SVGA3D_SetRenderTarget(svga->swc, SVGA3D_RT_STENCIL, 96 ret = SVGA3D_SetRenderTarget(svga->swc, SVGA3D_RT_STENCIL, NULL); 128 ret = SVGA3D_SetRenderTarget(svga->swc, SVGA3D_RT_COLOR0 + i, 137 ret = SVGA3D_SetRenderTarget(svga->swc, SVGA3D_RT_DEPTH, hw->zsbuf); 144 ret = SVGA3D_SetRenderTarget(svga->swc, SVGA3D_RT_STENCIL, hw->zsbuf); 150 ret = SVGA3D_SetRenderTarget(svga->swc, SVGA3D_RT_STENCIL, NULL); 214 ret = SVGA3D_vgpu10_SetRenderTargets(svga->swc, num_color, rtv, dsv); 307 ret = svga->swc->resource_rebind(svga->swc [all...] |
svga_context.c | 93 svga->swc->destroy(svga->swc); 136 svga->swc = svgascreen->sws->context_create(svgascreen->sws); 137 if (!svga->swc) 289 if (svga->swc) 290 svga->swc->destroy(svga->swc); 335 svga->swc->get_command_buffer_size(svga->swc); 340 svga->swc->flush(svga->swc, &fence) [all...] |
svga_pipe_query.c | 143 ret = SVGA3D_BeginQuery(svga->swc, sq->svga_type); 146 ret = SVGA3D_BeginQuery(svga->swc, sq->svga_type); 159 ret = SVGA3D_EndQuery(svga->swc, sq->svga_type, sq->hwbuf); 162 ret = SVGA3D_EndQuery(svga->swc, sq->svga_type, sq->hwbuf); 180 ret = SVGA3D_WaitForQuery(svga->swc, sq->svga_type, sq->hwbuf); 183 ret = SVGA3D_WaitForQuery(svga->swc, sq->svga_type, sq->hwbuf); 500 if (svga->swc->query_bind(svga->swc, svga->gb_query, 503 svga->swc->query_bind(svga->swc, svga->gb_query [all...] |
svga_resource_buffer_upload.c | 233 struct svga_winsys_context *swc = svga->swc; local 255 invalidate_cmd = SVGA3D_FIFOReserve(swc, 263 swc->surface_relocation(swc, &invalidate_cmd->image.sid, NULL, sbuf->handle, 283 update_cmd = SVGA3D_FIFOReserve(swc, 297 swc->surface_relocation(swc, &update_cmd->image.sid, NULL, sbuf->handle, 315 swc->surface_relocation(swc, &whole_update_cmd->body.image.sid, NULL 344 struct svga_winsys_context *swc = svga->swc; local [all...] |
svga_state_tss.c | 181 if (SVGA3D_BeginSetTextureState( svga->swc, 198 svga->swc->surface_relocation(svga->swc, 207 SVGA_FIFOCommitAll( svga->swc ); 264 ret = SVGA3D_BeginSetTextureState(svga->swc, 279 svga->swc->surface_relocation(svga->swc, 286 SVGA_FIFOCommitAll(svga->swc); 410 if (SVGA3D_BeginSetTextureState( svga->swc, 419 SVGA_FIFOCommitAll( svga->swc ); [all...] |
svga_pipe_clear.c | 166 ret = SVGA3D_SetViewport(svga->swc, &rect); 194 ret = SVGA3D_vgpu10_ClearRenderTargetView(svga->swc, 207 ret = SVGA3D_vgpu10_ClearDepthStencilView(svga->swc, dsv, flags, 214 ret = SVGA3D_ClearRect(svga->swc, flags, uc.ui[0], (float) depth, stencil, 221 ret = SVGA3D_SetViewport(svga->swc, &svga->state.hw_clear.viewport); 336 ret = SVGA3D_vgpu10_ClearDepthStencilView(svga->swc, dsv, 342 ret = SVGA3D_vgpu10_ClearDepthStencilView(svga->swc, dsv, 403 ret = SVGA3D_vgpu10_ClearRenderTargetView(svga->swc, rtv, 407 ret = SVGA3D_vgpu10_ClearRenderTargetView(svga->swc, rtv, 479 return SVGA3D_vgpu10_ClearRenderTargetView(svga->swc, rtv, color->f) [all...] |
svga_resource_texture.c | 90 ret = SVGA3D_SurfaceDMA(svga->swc, st, transfer, &box, 1, flags); 93 ret = SVGA3D_SurfaceDMA(svga->swc, st, transfer, &box, 1, flags); 302 ret = SVGA3D_ReadbackGBImage(svga->swc, surf, slice, level); 305 ret = SVGA3D_ReadbackGBImage(svga->swc, surf, slice, level); 322 ret = SVGA3D_vgpu10_ReadbackSubResource(svga->swc, surf, subResource); 325 ret = SVGA3D_vgpu10_ReadbackSubResource(svga->swc, surf, subResource); 477 map = svga->swc->surface_map(svga->swc, surf, usage, &retry); 485 map = svga->swc->surface_map(svga->swc, surf, usage, &retry) 676 struct svga_winsys_context *swc = svga->swc; local [all...] |
svga_swtnl_state.c | 208 ret = SVGA3D_vgpu10_DefineElementLayout(svga->swc, num_decls, id, elements); 211 ret = SVGA3D_vgpu10_DefineElementLayout(svga->swc, num_decls, id, elements); 312 ret = SVGA3D_vgpu10_DestroyElementLayout(svga->swc, 316 ret = SVGA3D_vgpu10_DestroyElementLayout(svga->swc, 338 ret = SVGA3D_vgpu10_SetInputLayout(svga->swc, svga_render->layout_id); 341 ret = SVGA3D_vgpu10_SetInputLayout(svga->swc,
|
svga_state.c | 280 ret = SVGA3D_vgpu10_DefineRasterizerState(svga->swc, 301 ret = SVGA3D_vgpu10_SetRasterizerState(svga->swc, id); 310 ret = SVGA3D_BeginSetRenderState( svga->swc, &rs, COUNT ); 322 SVGA_FIFOCommitAll( svga->swc );
|
svga_state_sampler.c | 211 ret = SVGA3D_vgpu10_DefineShaderResourceView(svga->swc, 281 ret = SVGA3D_vgpu10_SetShaderResources(svga->swc, 318 svga->swc, 373 ret = SVGA3D_vgpu10_SetSamplers(svga->swc, 399 ret = SVGA3D_vgpu10_SetSamplers(svga->swc,
|
svga_surface.c | 89 ret = SVGA3D_BeginSurfaceCopy(svga->swc, 95 ret = SVGA3D_BeginSurfaceCopy(svga->swc, 102 SVGA_FIFOCommitAll(svga->swc); 449 ret = SVGA3D_InvalidateGBSurface(svga->swc, stex->handle); 467 ret = SVGA3D_vgpu10_DefineDepthStencilView(svga->swc, 488 ret = SVGA3D_vgpu10_DefineRenderTargetView(svga->swc, 540 ret = SVGA3D_vgpu10_DestroyDepthStencilView(svga->swc, s->view_id); 543 ret = SVGA3D_vgpu10_DestroyRenderTargetView(svga->swc, s->view_id);
|
svga_pipe_vertex.c | 197 ret = SVGA3D_vgpu10_DefineElementLayout(svga->swc, velems->count, 201 ret = SVGA3D_vgpu10_DefineElementLayout(svga->swc, velems->count, 308 ret = SVGA3D_vgpu10_DestroyElementLayout(svga->swc, velems->id); 311 ret = SVGA3D_vgpu10_DestroyElementLayout(svga->swc, velems->id);
|
/external/mesa3d/src/gallium/winsys/svga/drm/ |
vmw_context.h | 69 vmw_swc_surface_clear_reference(struct svga_winsys_context *swc,
|
vmw_surface.h | 90 vmw_svga_winsys_surface_map(struct svga_winsys_context *swc, 94 vmw_svga_winsys_surface_unmap(struct svga_winsys_context *swc,
|
vmw_context.c | 157 vmw_svga_winsys_context(struct svga_winsys_context *swc) 159 assert(swc); 160 return (struct vmw_svga_winsys_context *)swc; 178 vmw_swc_flush(struct svga_winsys_context *swc, 181 struct vmw_svga_winsys_context *vswc = vmw_svga_winsys_context(swc); 254 swc->hints &= ~SVGA_HINT_FLAG_CAN_PRE_FLUSH; 270 vmw_swc_reserve(struct svga_winsys_context *swc, 273 struct vmw_svga_winsys_context *vswc = vmw_svga_winsys_context(swc); 319 vmw_swc_get_command_buffer_size(struct svga_winsys_context *swc) 321 const struct vmw_svga_winsys_context *vswc = vmw_svga_winsys_context(swc); [all...] |
vmw_query.h | 62 vmw_swc_query_bind(struct svga_winsys_context *swc,
|
vmw_surface.c | 39 vmw_svga_winsys_surface_map(struct svga_winsys_context *swc, 126 vmw_swc_surface_clear_reference(swc, vsrf); 163 vmw_svga_winsys_surface_unmap(struct svga_winsys_context *swc,
|