Searched refs:swc (Results 1 - 25 of 82) sorted by relevance

1234

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/
H A Dsvga_cmd.c61 surface_to_surfaceid(struct svga_winsys_context *swc, // IN argument
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, argument
115 header = swc->reserve(swc, sizeof *header + cmdSize, nr_relocs);
122 swc->last_command = cmd;
124 swc
131 SVGA_FIFOCommitAll(struct svga_winsys_context * swc) argument
166 SVGA3D_DefineContext(struct svga_winsys_context * swc) argument
200 SVGA3D_DestroyContext(struct svga_winsys_context * swc) argument
274 SVGA3D_BeginDefineSurface(struct svga_winsys_context * swc,struct svga_winsys_surface * sid,SVGA3dSurface1Flags flags,SVGA3dSurfaceFormat format,SVGA3dSurfaceFace ** faces,SVGA3dSize ** mipSizes,uint32 numMipSizes) argument
323 SVGA3D_DefineSurface2D(struct svga_winsys_context * swc,struct svga_winsys_surface * sid,uint32 width,uint32 height,SVGA3dSurfaceFormat format) argument
367 SVGA3D_DestroySurface(struct svga_winsys_context * swc,struct svga_winsys_surface * sid) argument
428 SVGA3D_SurfaceDMA(struct svga_winsys_context * swc,struct svga_transfer * st,SVGA3dTransferType transfer,const SVGA3dCopyBox * boxes,uint32 numBoxes,SVGA3dSurfaceDMAFlags flags) argument
487 SVGA3D_BufferDMA(struct svga_winsys_context * swc,struct svga_winsys_buffer * guest,struct svga_winsys_surface * host,SVGA3dTransferType transfer,uint32 size,uint32 guest_offset,uint32 host_offset,SVGA3dSurfaceDMAFlags flags) argument
586 SVGA3D_SetRenderTarget(struct svga_winsys_context * swc,SVGA3dRenderTargetType type,struct pipe_surface * surface) argument
635 SVGA3D_DefineShader(struct svga_winsys_context * swc,uint32 shid,SVGA3dShaderType type,const uint32 * bytecode,uint32 bytecodeLen) argument
681 SVGA3D_DestroyShader(struct svga_winsys_context * swc,uint32 shid,SVGA3dShaderType type) argument
726 SVGA3D_SetShaderConst(struct svga_winsys_context * swc,uint32 reg,SVGA3dShaderType type,SVGA3dShaderConstType ctype,const void * value) argument
792 SVGA3D_SetShaderConsts(struct svga_winsys_context * swc,uint32 reg,uint32 numRegs,SVGA3dShaderType type,SVGA3dShaderConstType ctype,const void * values) argument
845 SVGA3D_SetShader(struct svga_winsys_context * swc,SVGA3dShaderType type,uint32 shid) argument
894 SVGA3D_BeginClear(struct svga_winsys_context * swc,SVGA3dClearFlag flags,uint32 color,float depth,uint32 stencil,SVGA3dRect ** rects,uint32 numRects) argument
939 SVGA3D_ClearRect(struct svga_winsys_context * swc,SVGA3dClearFlag flags,uint32 color,float depth,uint32 stencil,uint32 x,uint32 y,uint32 w,uint32 h) argument
993 SVGA3D_BeginDrawPrimitives(struct svga_winsys_context * swc,SVGA3dVertexDecl ** decls,uint32 numVertexDecls,SVGA3dPrimitiveRange ** ranges,uint32 numRanges) argument
1054 SVGA3D_BeginSurfaceCopy(struct svga_winsys_context * swc,struct pipe_surface * src,struct pipe_surface * dest,SVGA3dCopyBox ** boxes,uint32 numBoxes) argument
1097 SVGA3D_SurfaceStretchBlt(struct svga_winsys_context * swc,struct pipe_surface * src,struct pipe_surface * dest,SVGA3dBox * boxSrc,SVGA3dBox * boxDest,SVGA3dStretchBltMode mode) argument
1142 SVGA3D_SetViewport(struct svga_winsys_context * swc,SVGA3dRect * rect) argument
1181 SVGA3D_SetScissorRect(struct svga_winsys_context * swc,SVGA3dRect * rect) argument
1218 SVGA3D_SetClipPlane(struct svga_winsys_context * swc,uint32 index,const float * plane) argument
1258 SVGA3D_SetZRange(struct svga_winsys_context * swc,float zMin,float zMax) argument
1305 SVGA3D_BeginSetTextureState(struct svga_winsys_context * swc,SVGA3dTextureState ** states,uint32 numStates) argument
1351 SVGA3D_BeginSetRenderState(struct svga_winsys_context * swc,SVGA3dRenderState ** states,uint32 numStates) argument
1388 SVGA3D_BeginGBQuery(struct svga_winsys_context * swc,SVGA3dQueryType type) argument
1426 SVGA3D_BeginQuery(struct svga_winsys_context * swc,SVGA3dQueryType type) argument
1467 SVGA3D_EndGBQuery(struct svga_winsys_context * swc,SVGA3dQueryType type,struct svga_winsys_buffer * buffer) argument
1509 SVGA3D_EndQuery(struct svga_winsys_context * swc,SVGA3dQueryType type,struct svga_winsys_buffer * buffer) argument
1554 SVGA3D_WaitForGBQuery(struct svga_winsys_context * swc,SVGA3dQueryType type,struct svga_winsys_buffer * buffer) argument
1601 SVGA3D_WaitForQuery(struct svga_winsys_context * swc,SVGA3dQueryType type,struct svga_winsys_buffer * buffer) argument
1630 SVGA3D_BindGBShader(struct svga_winsys_context * swc,struct svga_winsys_gb_shader * gbshader) argument
1652 SVGA3D_SetGBShader(struct svga_winsys_context * swc,SVGA3dShaderType type,struct svga_winsys_gb_shader * gbshader) argument
1683 SVGA3D_BindGBSurface(struct svga_winsys_context * swc,struct svga_winsys_surface * surface) argument
1709 SVGA3D_UpdateGBImage(struct svga_winsys_context * swc,struct svga_winsys_surface * surface,const SVGA3dBox * box,unsigned face,unsigned mipLevel) argument
1742 SVGA3D_UpdateGBSurface(struct svga_winsys_context * swc,struct svga_winsys_surface * surface) argument
1769 SVGA3D_ReadbackGBImage(struct svga_winsys_context * swc,struct svga_winsys_surface * surface,unsigned face,unsigned mipLevel) argument
1799 SVGA3D_ReadbackGBSurface(struct svga_winsys_context * swc,struct svga_winsys_surface * surface) argument
1822 SVGA3D_ReadbackGBImagePartial(struct svga_winsys_context * swc,struct svga_winsys_surface * surface,unsigned face,unsigned mipLevel,const SVGA3dBox * box,bool invertBox) argument
1851 SVGA3D_InvalidateGBImagePartial(struct svga_winsys_context * swc,struct svga_winsys_surface * surface,unsigned face,unsigned mipLevel,const SVGA3dBox * box,bool invertBox) argument
1878 SVGA3D_InvalidateGBSurface(struct svga_winsys_context * swc,struct svga_winsys_surface * surface) argument
1897 SVGA3D_SetGBShaderConstsInline(struct svga_winsys_context * swc,unsigned regStart,unsigned numRegs,SVGA3dShaderType shaderType,SVGA3dShaderConstType constType,const void * values) argument
[all...]
H A Dsvga_cmd_vgpu10.c47 view_relocation(struct svga_winsys_context *swc, // IN argument
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 argument
73 swc->surface_relocation(swc, sid, NULL, surface, flags);
76 swc->surface_relocation(swc, si
170 SVGA3D_vgpu10_PredCopyRegion(struct svga_winsys_context * swc,struct svga_winsys_surface * dstSurf,uint32 dstSubResource,struct svga_winsys_surface * srcSurf,uint32 srcSubResource,const SVGA3dCopyBox * box) argument
198 SVGA3D_vgpu10_PredCopy(struct svga_winsys_context * swc,struct svga_winsys_surface * dstSurf,struct svga_winsys_surface * srcSurf) argument
219 SVGA3D_vgpu10_SetViewports(struct svga_winsys_context * swc,unsigned count,const SVGA3dViewport * viewports) argument
234 SVGA3D_vgpu10_SetShader(struct svga_winsys_context * swc,SVGA3dShaderType type,struct svga_winsys_gb_shader * gbshader,SVGA3dShaderId shaderId) argument
257 SVGA3D_vgpu10_SetShaderResources(struct svga_winsys_context * swc,SVGA3dShaderType type,uint32 startView,unsigned count,const SVGA3dShaderResourceViewId ids[],struct svga_winsys_surface ** views) argument
293 SVGA3D_vgpu10_SetSamplers(struct svga_winsys_context * swc,unsigned count,uint32 startSampler,SVGA3dShaderType type,const SVGA3dSamplerId * samplerIds) argument
310 SVGA3D_vgpu10_ClearRenderTargetView(struct svga_winsys_context * swc,struct pipe_surface * color_surf,const float * rgba) argument
342 SVGA3D_vgpu10_SetRenderTargets(struct svga_winsys_context * swc,unsigned color_count,struct pipe_surface ** color_surfs,struct pipe_surface * depth_stencil_surf) argument
400 SVGA3D_vgpu10_SetBlendState(struct svga_winsys_context * swc,SVGA3dBlendStateId blendId,const float * blendFactor,uint32 sampleMask) argument
415 SVGA3D_vgpu10_SetDepthStencilState(struct svga_winsys_context * swc,SVGA3dDepthStencilStateId depthStencilId,uint32 stencilRef) argument
428 SVGA3D_vgpu10_SetRasterizerState(struct svga_winsys_context * swc,SVGA3dRasterizerStateId rasterizerId) argument
440 SVGA3D_vgpu10_SetPredication(struct svga_winsys_context * swc,SVGA3dQueryId queryId,uint32 predicateValue) argument
459 SVGA3D_vgpu10_SetSOTargets(struct svga_winsys_context * swc,unsigned count,const SVGA3dSoTarget * targets,struct svga_winsys_surface ** surfaces) argument
498 SVGA3D_vgpu10_SetScissorRects(struct svga_winsys_context * swc,unsigned count,const SVGASignedRect * rects) argument
520 SVGA3D_vgpu10_SetStreamOutput(struct svga_winsys_context * swc,SVGA3dStreamOutputId soid) argument
532 SVGA3D_vgpu10_Draw(struct svga_winsys_context * swc,uint32 vertexCount,uint32 startVertexLocation) argument
547 SVGA3D_vgpu10_DrawIndexed(struct svga_winsys_context * swc,uint32 indexCount,uint32 startIndexLocation,int32 baseVertexLocation) argument
564 SVGA3D_vgpu10_DrawInstanced(struct svga_winsys_context * swc,uint32 vertexCountPerInstance,uint32 instanceCount,uint32 startVertexLocation,uint32 startInstanceLocation) argument
582 SVGA3D_vgpu10_DrawIndexedInstanced(struct svga_winsys_context * swc,uint32 indexCountPerInstance,uint32 instanceCount,uint32 startIndexLocation,int32 baseVertexLocation,uint32 startInstanceLocation) argument
603 SVGA3D_vgpu10_DrawAuto(struct svga_winsys_context * swc) argument
615 SVGA3D_vgpu10_DefineQuery(struct svga_winsys_context * swc,SVGA3dQueryId queryId,SVGA3dQueryType type,SVGA3dDXQueryFlags flags) argument
629 SVGA3D_vgpu10_DestroyQuery(struct svga_winsys_context * swc,SVGA3dQueryId queryId) argument
641 SVGA3D_vgpu10_BindQuery(struct svga_winsys_context * swc,struct svga_winsys_gb_query * gbQuery,SVGA3dQueryId queryId) argument
660 SVGA3D_vgpu10_SetQueryOffset(struct svga_winsys_context * swc,SVGA3dQueryId queryId,uint32 mobOffset) argument
671 SVGA3D_vgpu10_BeginQuery(struct svga_winsys_context * swc,SVGA3dQueryId queryId) argument
681 SVGA3D_vgpu10_EndQuery(struct svga_winsys_context * swc,SVGA3dQueryId queryId) argument
692 SVGA3D_vgpu10_ClearDepthStencilView(struct svga_winsys_context * swc,struct pipe_surface * ds_surf,uint16 flags,uint16 stencil,float depth) argument
725 SVGA3D_vgpu10_DefineShaderResourceView(struct svga_winsys_context * swc,SVGA3dShaderResourceViewId shaderResourceViewId,struct svga_winsys_surface * surface,SVGA3dSurfaceFormat format,SVGA3dResourceType resourceDimension,const SVGA3dShaderResourceViewDesc * desc) argument
752 SVGA3D_vgpu10_DestroyShaderResourceView(struct svga_winsys_context * swc,SVGA3dShaderResourceViewId shaderResourceViewId) argument
766 SVGA3D_vgpu10_DefineRenderTargetView(struct svga_winsys_context * swc,SVGA3dRenderTargetViewId renderTargetViewId,struct svga_winsys_surface * surface,SVGA3dSurfaceFormat format,SVGA3dResourceType resourceDimension,const SVGA3dRenderTargetViewDesc * desc) argument
793 SVGA3D_vgpu10_DestroyRenderTargetView(struct svga_winsys_context * swc,SVGA3dRenderTargetViewId renderTargetViewId) argument
806 SVGA3D_vgpu10_DefineDepthStencilView(struct svga_winsys_context * swc,SVGA3dDepthStencilViewId depthStencilViewId,struct svga_winsys_surface * surface,SVGA3dSurfaceFormat format,SVGA3dResourceType resourceDimension,const SVGA3dRenderTargetViewDesc * desc) argument
838 SVGA3D_vgpu10_DestroyDepthStencilView(struct svga_winsys_context * swc,SVGA3dDepthStencilViewId depthStencilViewId) argument
850 SVGA3D_vgpu10_DefineElementLayout(struct svga_winsys_context * swc,unsigned count,SVGA3dElementLayoutId elementLayoutId,const SVGA3dInputElementDesc * elements) argument
878 SVGA3D_vgpu10_DestroyElementLayout(struct svga_winsys_context * swc,SVGA3dElementLayoutId elementLayoutId) argument
890 SVGA3D_vgpu10_DefineBlendState(struct svga_winsys_context * swc,SVGA3dBlendStateId blendId,uint8 alphaToCoverageEnable,uint8 independentBlendEnable,const SVGA3dDXBlendStatePerRT * perRT) argument
909 SVGA3D_vgpu10_DestroyBlendState(struct svga_winsys_context * swc,SVGA3dBlendStateId blendId) argument
921 SVGA3D_vgpu10_DefineDepthStencilState(struct svga_winsys_context * swc,SVGA3dDepthStencilStateId depthStencilId,uint8 depthEnable,SVGA3dDepthWriteMask depthWriteMask,SVGA3dComparisonFunc depthFunc,uint8 stencilEnable,uint8 frontEnable,uint8 backEnable,uint8 stencilReadMask,uint8 stencilWriteMask,uint8 frontStencilFailOp,uint8 frontStencilDepthFailOp,uint8 frontStencilPassOp,SVGA3dComparisonFunc frontStencilFunc,uint8 backStencilFailOp,uint8 backStencilDepthFailOp,uint8 backStencilPassOp,SVGA3dComparisonFunc backStencilFunc) argument
957 SVGA3D_vgpu10_DestroyDepthStencilState(struct svga_winsys_context * swc,SVGA3dDepthStencilStateId depthStencilId) argument
970 SVGA3D_vgpu10_DefineRasterizerState(struct svga_winsys_context * swc,SVGA3dRasterizerStateId rasterizerId,uint8 fillMode,SVGA3dCullMode cullMode,uint8 frontCounterClockwise,int32 depthBias,float depthBiasClamp,float slopeScaledDepthBias,uint8 depthClipEnable,uint8 scissorEnable,uint8 multisampleEnable,uint8 antialiasedLineEnable,float lineWidth,uint8 lineStippleEnable,uint8 lineStippleFactor,uint16 lineStipplePattern,uint8 provokingVertexLast) argument
1007 SVGA3D_vgpu10_DestroyRasterizerState(struct svga_winsys_context * swc,SVGA3dRasterizerStateId rasterizerId) argument
1019 SVGA3D_vgpu10_DefineSamplerState(struct svga_winsys_context * swc,SVGA3dSamplerId samplerId,SVGA3dFilter filter,uint8 addressU,uint8 addressV,uint8 addressW,float mipLODBias,uint8 maxAnisotropy,uint8 comparisonFunc,SVGA3dRGBAFloat borderColor,float minLOD,float maxLOD) argument
1048 SVGA3D_vgpu10_DestroySamplerState(struct svga_winsys_context * swc,SVGA3dSamplerId samplerId) argument
1061 SVGA3D_vgpu10_DefineAndBindShader(struct svga_winsys_context * swc,struct svga_winsys_gb_shader * gbshader,SVGA3dShaderId shaderId,SVGA3dShaderType type,uint32 sizeInBytes) argument
1104 SVGA3D_vgpu10_DestroyShader(struct svga_winsys_context * swc,SVGA3dShaderId shaderId) argument
1116 SVGA3D_vgpu10_DefineStreamOutput(struct svga_winsys_context * swc,SVGA3dStreamOutputId soid,uint32 numOutputStreamEntries,uint32 streamOutputStrideInBytes[SVGA3D_DX_MAX_SOTARGETS],const SVGA3dStreamOutputDeclarationEntry decl[SVGA3D_MAX_STREAMOUT_DECLS]) argument
1141 SVGA3D_vgpu10_DestroyStreamOutput(struct svga_winsys_context * swc,SVGA3dStreamOutputId soid) argument
1153 SVGA3D_vgpu10_SetInputLayout(struct svga_winsys_context * swc,SVGA3dElementLayoutId elementLayoutId) argument
1165 SVGA3D_vgpu10_SetVertexBuffers(struct svga_winsys_context * swc,unsigned count,uint32 startBuffer,const SVGA3dVertexBuffer * bufferInfo,struct svga_winsys_surface ** surfaces) argument
1201 SVGA3D_vgpu10_SetTopology(struct svga_winsys_context * swc,SVGA3dPrimitiveType topology) argument
1213 SVGA3D_vgpu10_SetIndexBuffer(struct svga_winsys_context * swc,struct svga_winsys_surface * indexes,SVGA3dSurfaceFormat format,uint32 offset) argument
1234 SVGA3D_vgpu10_SetSingleConstantBuffer(struct svga_winsys_context * swc,unsigned slot,SVGA3dShaderType type,struct svga_winsys_surface * surface,uint32 offsetInBytes,uint32 sizeInBytes) argument
1268 SVGA3D_vgpu10_ReadbackSubResource(struct svga_winsys_context * swc,struct svga_winsys_surface * surface,unsigned subResource) argument
1289 SVGA3D_vgpu10_UpdateSubResource(struct svga_winsys_context * swc,struct svga_winsys_surface * surface,const SVGA3dBox * box,unsigned subResource) argument
1312 SVGA3D_vgpu10_GenMips(struct svga_winsys_context * swc,SVGA3dShaderResourceViewId shaderResourceViewId,struct svga_winsys_surface * view) argument
1334 SVGA3D_vgpu10_BufferCopy(struct svga_winsys_context * swc,struct svga_winsys_surface * src,struct svga_winsys_surface * dst,unsigned srcx,unsigned dstx,unsigned width) argument
1357 SVGA3D_vgpu10_TransferFromBuffer(struct svga_winsys_context * swc,struct svga_winsys_surface * src,unsigned srcOffset,unsigned srcPitch,unsigned srcSlicePitch,struct svga_winsys_surface * dst,unsigned dstSubResource,SVGA3dBox * dstBox) argument
1386 SVGA3D_vgpu10_IntraSurfaceCopy(struct svga_winsys_context * swc,struct svga_winsys_surface * surface,unsigned level,unsigned face,const SVGA3dCopyBox * box) argument
1410 SVGA3D_vgpu10_ResolveCopy(struct svga_winsys_context * swc,unsigned dstSubResource,struct svga_winsys_surface * dst,unsigned srcSubResource,struct svga_winsys_surface * src,const SVGA3dSurfaceFormat copyFormat) argument
[all...]
H A Dsvga_cmd.h59 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) argument
70 return swc->last_command;
78 SVGA3D_ResetLastCommand(struct svga_winsys_context *swc) argument
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...]
H A Dsvga_shader.c386 ret = SVGA3D_BindGBShader(svga->swc, variant->gb_shader);
399 struct svga_winsys_context *swc = svga->swc; local in function:define_gb_shader_vgpu10
413 variant->gb_shader = swc->shader_create(swc,
431 ret = SVGA3D_vgpu10_DefineAndBindShader(swc, variant->gb_shader,
440 swc->shader_destroy(swc, variant->gb_shader);
481 ret = SVGA3D_DefineShader(svga->swc,
521 ret = SVGA3D_vgpu10_SetShader(svga->swc, typ
554 struct svga_winsys_context *swc = svga->swc; local in function:svga_destroy_shader_variant
601 struct svga_winsys_context *swc = svga->swc; local in function:svga_rebind_shaders
[all...]
H A Dsvga_winsys.h254 (*destroy)(struct svga_winsys_context *swc);
257 (*reserve)(struct svga_winsys_context *swc,
264 (*get_command_buffer_size)(struct svga_winsys_context *swc);
275 (*surface_relocation)(struct svga_winsys_context *swc,
290 (*region_relocation)(struct svga_winsys_context *swc,
303 (*shader_relocation)(struct svga_winsys_context *swc,
317 (*context_relocation)(struct svga_winsys_context *swc, uint32 *cid);
331 (*mob_relocation)(struct svga_winsys_context *swc,
345 (*query_relocation)(struct svga_winsys_context *swc,
359 (*commit)(struct svga_winsys_context *swc);
[all...]
H A Dsvga_resource_buffer.h288 return svga->swc->surface_map(svga->swc, sbuf->handle, flags, retry);
305 struct svga_winsys_context *swc = svga->swc; local in function:svga_buffer_hw_storage_unmap
307 swc->surface_unmap(swc, sbuf->handle, &rebind);
310 ret = SVGA3D_BindGBSurface(swc, sbuf->handle);
314 ret = SVGA3D_BindGBSurface(swc, sbuf->handle);
H A Dsvga_pipe_streamout.c138 ret = SVGA3D_vgpu10_DefineStreamOutput(svga->swc, id,
144 ret = SVGA3D_vgpu10_DefineStreamOutput(svga->swc, id,
171 enum pipe_error ret = SVGA3D_vgpu10_SetStreamOutput(svga->swc, id);
193 ret = SVGA3D_vgpu10_DestroyStreamOutput(svga->swc, streamout->id);
196 ret = SVGA3D_vgpu10_DestroyStreamOutput(svga->swc, streamout->id);
302 ret = SVGA3D_vgpu10_SetSOTargets(svga->swc, num_so_targets,
306 ret = SVGA3D_vgpu10_SetSOTargets(svga->swc, num_so_targets,
319 struct svga_winsys_context *swc = svga->swc; local in function:svga_rebind_stream_output_targets
324 ret = swc
[all...]
H A Dsvga_pipe_flush.c46 svga->swc->hints |= SVGA_HINT_FLAG_EXPORT_FENCE_FD;
111 sws->fence_server_sync(sws, &svga->swc->imported_fence_fd, fence);
H A Dsvga_draw.c57 hwtnl->cmd.swc = svga->swc;
193 struct svga_winsys_context *swc = hwtnl->cmd.swc; local in function:draw_vgpu9
277 ret = SVGA3D_BeginDrawPrimitives(swc,
306 swc->surface_relocation(swc,
315 swc->surface_relocation(swc,
321 SVGA_FIFOCommitAll(swc);
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/
H A Dsvga_cmd.c61 surface_to_surfaceid(struct svga_winsys_context *swc, // IN argument
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, argument
115 header = swc->reserve(swc, sizeof *header + cmdSize, nr_relocs);
122 swc->last_command = cmd;
124 swc
131 SVGA_FIFOCommitAll(struct svga_winsys_context * swc) argument
166 SVGA3D_DefineContext(struct svga_winsys_context * swc) argument
200 SVGA3D_DestroyContext(struct svga_winsys_context * swc) argument
274 SVGA3D_BeginDefineSurface(struct svga_winsys_context * swc,struct svga_winsys_surface * sid,SVGA3dSurface1Flags flags,SVGA3dSurfaceFormat format,SVGA3dSurfaceFace ** faces,SVGA3dSize ** mipSizes,uint32 numMipSizes) argument
323 SVGA3D_DefineSurface2D(struct svga_winsys_context * swc,struct svga_winsys_surface * sid,uint32 width,uint32 height,SVGA3dSurfaceFormat format) argument
367 SVGA3D_DestroySurface(struct svga_winsys_context * swc,struct svga_winsys_surface * sid) argument
428 SVGA3D_SurfaceDMA(struct svga_winsys_context * swc,struct svga_transfer * st,SVGA3dTransferType transfer,const SVGA3dCopyBox * boxes,uint32 numBoxes,SVGA3dSurfaceDMAFlags flags) argument
487 SVGA3D_BufferDMA(struct svga_winsys_context * swc,struct svga_winsys_buffer * guest,struct svga_winsys_surface * host,SVGA3dTransferType transfer,uint32 size,uint32 guest_offset,uint32 host_offset,SVGA3dSurfaceDMAFlags flags) argument
586 SVGA3D_SetRenderTarget(struct svga_winsys_context * swc,SVGA3dRenderTargetType type,struct pipe_surface * surface) argument
635 SVGA3D_DefineShader(struct svga_winsys_context * swc,uint32 shid,SVGA3dShaderType type,const uint32 * bytecode,uint32 bytecodeLen) argument
681 SVGA3D_DestroyShader(struct svga_winsys_context * swc,uint32 shid,SVGA3dShaderType type) argument
726 SVGA3D_SetShaderConst(struct svga_winsys_context * swc,uint32 reg,SVGA3dShaderType type,SVGA3dShaderConstType ctype,const void * value) argument
792 SVGA3D_SetShaderConsts(struct svga_winsys_context * swc,uint32 reg,uint32 numRegs,SVGA3dShaderType type,SVGA3dShaderConstType ctype,const void * values) argument
845 SVGA3D_SetShader(struct svga_winsys_context * swc,SVGA3dShaderType type,uint32 shid) argument
894 SVGA3D_BeginClear(struct svga_winsys_context * swc,SVGA3dClearFlag flags,uint32 color,float depth,uint32 stencil,SVGA3dRect ** rects,uint32 numRects) argument
939 SVGA3D_ClearRect(struct svga_winsys_context * swc,SVGA3dClearFlag flags,uint32 color,float depth,uint32 stencil,uint32 x,uint32 y,uint32 w,uint32 h) argument
993 SVGA3D_BeginDrawPrimitives(struct svga_winsys_context * swc,SVGA3dVertexDecl ** decls,uint32 numVertexDecls,SVGA3dPrimitiveRange ** ranges,uint32 numRanges) argument
1054 SVGA3D_BeginSurfaceCopy(struct svga_winsys_context * swc,struct pipe_surface * src,struct pipe_surface * dest,SVGA3dCopyBox ** boxes,uint32 numBoxes) argument
1097 SVGA3D_SurfaceStretchBlt(struct svga_winsys_context * swc,struct pipe_surface * src,struct pipe_surface * dest,SVGA3dBox * boxSrc,SVGA3dBox * boxDest,SVGA3dStretchBltMode mode) argument
1142 SVGA3D_SetViewport(struct svga_winsys_context * swc,SVGA3dRect * rect) argument
1181 SVGA3D_SetScissorRect(struct svga_winsys_context * swc,SVGA3dRect * rect) argument
1218 SVGA3D_SetClipPlane(struct svga_winsys_context * swc,uint32 index,const float * plane) argument
1258 SVGA3D_SetZRange(struct svga_winsys_context * swc,float zMin,float zMax) argument
1305 SVGA3D_BeginSetTextureState(struct svga_winsys_context * swc,SVGA3dTextureState ** states,uint32 numStates) argument
1351 SVGA3D_BeginSetRenderState(struct svga_winsys_context * swc,SVGA3dRenderState ** states,uint32 numStates) argument
1388 SVGA3D_BeginGBQuery(struct svga_winsys_context * swc,SVGA3dQueryType type) argument
1426 SVGA3D_BeginQuery(struct svga_winsys_context * swc,SVGA3dQueryType type) argument
1467 SVGA3D_EndGBQuery(struct svga_winsys_context * swc,SVGA3dQueryType type,struct svga_winsys_buffer * buffer) argument
1509 SVGA3D_EndQuery(struct svga_winsys_context * swc,SVGA3dQueryType type,struct svga_winsys_buffer * buffer) argument
1554 SVGA3D_WaitForGBQuery(struct svga_winsys_context * swc,SVGA3dQueryType type,struct svga_winsys_buffer * buffer) argument
1601 SVGA3D_WaitForQuery(struct svga_winsys_context * swc,SVGA3dQueryType type,struct svga_winsys_buffer * buffer) argument
1630 SVGA3D_BindGBShader(struct svga_winsys_context * swc,struct svga_winsys_gb_shader * gbshader) argument
1652 SVGA3D_SetGBShader(struct svga_winsys_context * swc,SVGA3dShaderType type,struct svga_winsys_gb_shader * gbshader) argument
1683 SVGA3D_BindGBSurface(struct svga_winsys_context * swc,struct svga_winsys_surface * surface) argument
1709 SVGA3D_UpdateGBImage(struct svga_winsys_context * swc,struct svga_winsys_surface * surface,const SVGA3dBox * box,unsigned face,unsigned mipLevel) argument
1742 SVGA3D_UpdateGBSurface(struct svga_winsys_context * swc,struct svga_winsys_surface * surface) argument
1769 SVGA3D_ReadbackGBImage(struct svga_winsys_context * swc,struct svga_winsys_surface * surface,unsigned face,unsigned mipLevel) argument
1799 SVGA3D_ReadbackGBSurface(struct svga_winsys_context * swc,struct svga_winsys_surface * surface) argument
1822 SVGA3D_ReadbackGBImagePartial(struct svga_winsys_context * swc,struct svga_winsys_surface * surface,unsigned face,unsigned mipLevel,const SVGA3dBox * box,bool invertBox) argument
1851 SVGA3D_InvalidateGBImagePartial(struct svga_winsys_context * swc,struct svga_winsys_surface * surface,unsigned face,unsigned mipLevel,const SVGA3dBox * box,bool invertBox) argument
1878 SVGA3D_InvalidateGBSurface(struct svga_winsys_context * swc,struct svga_winsys_surface * surface) argument
1897 SVGA3D_SetGBShaderConstsInline(struct svga_winsys_context * swc,unsigned regStart,unsigned numRegs,SVGA3dShaderType shaderType,SVGA3dShaderConstType constType,const void * values) argument
[all...]
H A Dsvga_cmd_vgpu10.c47 view_relocation(struct svga_winsys_context *swc, // IN argument
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 argument
73 swc->surface_relocation(swc, sid, NULL, surface, flags);
76 swc->surface_relocation(swc, si
170 SVGA3D_vgpu10_PredCopyRegion(struct svga_winsys_context * swc,struct svga_winsys_surface * dstSurf,uint32 dstSubResource,struct svga_winsys_surface * srcSurf,uint32 srcSubResource,const SVGA3dCopyBox * box) argument
198 SVGA3D_vgpu10_PredCopy(struct svga_winsys_context * swc,struct svga_winsys_surface * dstSurf,struct svga_winsys_surface * srcSurf) argument
219 SVGA3D_vgpu10_SetViewports(struct svga_winsys_context * swc,unsigned count,const SVGA3dViewport * viewports) argument
234 SVGA3D_vgpu10_SetShader(struct svga_winsys_context * swc,SVGA3dShaderType type,struct svga_winsys_gb_shader * gbshader,SVGA3dShaderId shaderId) argument
257 SVGA3D_vgpu10_SetShaderResources(struct svga_winsys_context * swc,SVGA3dShaderType type,uint32 startView,unsigned count,const SVGA3dShaderResourceViewId ids[],struct svga_winsys_surface ** views) argument
293 SVGA3D_vgpu10_SetSamplers(struct svga_winsys_context * swc,unsigned count,uint32 startSampler,SVGA3dShaderType type,const SVGA3dSamplerId * samplerIds) argument
310 SVGA3D_vgpu10_ClearRenderTargetView(struct svga_winsys_context * swc,struct pipe_surface * color_surf,const float * rgba) argument
342 SVGA3D_vgpu10_SetRenderTargets(struct svga_winsys_context * swc,unsigned color_count,struct pipe_surface ** color_surfs,struct pipe_surface * depth_stencil_surf) argument
400 SVGA3D_vgpu10_SetBlendState(struct svga_winsys_context * swc,SVGA3dBlendStateId blendId,const float * blendFactor,uint32 sampleMask) argument
415 SVGA3D_vgpu10_SetDepthStencilState(struct svga_winsys_context * swc,SVGA3dDepthStencilStateId depthStencilId,uint32 stencilRef) argument
428 SVGA3D_vgpu10_SetRasterizerState(struct svga_winsys_context * swc,SVGA3dRasterizerStateId rasterizerId) argument
440 SVGA3D_vgpu10_SetPredication(struct svga_winsys_context * swc,SVGA3dQueryId queryId,uint32 predicateValue) argument
459 SVGA3D_vgpu10_SetSOTargets(struct svga_winsys_context * swc,unsigned count,const SVGA3dSoTarget * targets,struct svga_winsys_surface ** surfaces) argument
498 SVGA3D_vgpu10_SetScissorRects(struct svga_winsys_context * swc,unsigned count,const SVGASignedRect * rects) argument
520 SVGA3D_vgpu10_SetStreamOutput(struct svga_winsys_context * swc,SVGA3dStreamOutputId soid) argument
532 SVGA3D_vgpu10_Draw(struct svga_winsys_context * swc,uint32 vertexCount,uint32 startVertexLocation) argument
547 SVGA3D_vgpu10_DrawIndexed(struct svga_winsys_context * swc,uint32 indexCount,uint32 startIndexLocation,int32 baseVertexLocation) argument
564 SVGA3D_vgpu10_DrawInstanced(struct svga_winsys_context * swc,uint32 vertexCountPerInstance,uint32 instanceCount,uint32 startVertexLocation,uint32 startInstanceLocation) argument
582 SVGA3D_vgpu10_DrawIndexedInstanced(struct svga_winsys_context * swc,uint32 indexCountPerInstance,uint32 instanceCount,uint32 startIndexLocation,int32 baseVertexLocation,uint32 startInstanceLocation) argument
603 SVGA3D_vgpu10_DrawAuto(struct svga_winsys_context * swc) argument
615 SVGA3D_vgpu10_DefineQuery(struct svga_winsys_context * swc,SVGA3dQueryId queryId,SVGA3dQueryType type,SVGA3dDXQueryFlags flags) argument
629 SVGA3D_vgpu10_DestroyQuery(struct svga_winsys_context * swc,SVGA3dQueryId queryId) argument
641 SVGA3D_vgpu10_BindQuery(struct svga_winsys_context * swc,struct svga_winsys_gb_query * gbQuery,SVGA3dQueryId queryId) argument
660 SVGA3D_vgpu10_SetQueryOffset(struct svga_winsys_context * swc,SVGA3dQueryId queryId,uint32 mobOffset) argument
671 SVGA3D_vgpu10_BeginQuery(struct svga_winsys_context * swc,SVGA3dQueryId queryId) argument
681 SVGA3D_vgpu10_EndQuery(struct svga_winsys_context * swc,SVGA3dQueryId queryId) argument
692 SVGA3D_vgpu10_ClearDepthStencilView(struct svga_winsys_context * swc,struct pipe_surface * ds_surf,uint16 flags,uint16 stencil,float depth) argument
725 SVGA3D_vgpu10_DefineShaderResourceView(struct svga_winsys_context * swc,SVGA3dShaderResourceViewId shaderResourceViewId,struct svga_winsys_surface * surface,SVGA3dSurfaceFormat format,SVGA3dResourceType resourceDimension,const SVGA3dShaderResourceViewDesc * desc) argument
752 SVGA3D_vgpu10_DestroyShaderResourceView(struct svga_winsys_context * swc,SVGA3dShaderResourceViewId shaderResourceViewId) argument
766 SVGA3D_vgpu10_DefineRenderTargetView(struct svga_winsys_context * swc,SVGA3dRenderTargetViewId renderTargetViewId,struct svga_winsys_surface * surface,SVGA3dSurfaceFormat format,SVGA3dResourceType resourceDimension,const SVGA3dRenderTargetViewDesc * desc) argument
793 SVGA3D_vgpu10_DestroyRenderTargetView(struct svga_winsys_context * swc,SVGA3dRenderTargetViewId renderTargetViewId) argument
806 SVGA3D_vgpu10_DefineDepthStencilView(struct svga_winsys_context * swc,SVGA3dDepthStencilViewId depthStencilViewId,struct svga_winsys_surface * surface,SVGA3dSurfaceFormat format,SVGA3dResourceType resourceDimension,const SVGA3dRenderTargetViewDesc * desc) argument
838 SVGA3D_vgpu10_DestroyDepthStencilView(struct svga_winsys_context * swc,SVGA3dDepthStencilViewId depthStencilViewId) argument
850 SVGA3D_vgpu10_DefineElementLayout(struct svga_winsys_context * swc,unsigned count,SVGA3dElementLayoutId elementLayoutId,const SVGA3dInputElementDesc * elements) argument
878 SVGA3D_vgpu10_DestroyElementLayout(struct svga_winsys_context * swc,SVGA3dElementLayoutId elementLayoutId) argument
890 SVGA3D_vgpu10_DefineBlendState(struct svga_winsys_context * swc,SVGA3dBlendStateId blendId,uint8 alphaToCoverageEnable,uint8 independentBlendEnable,const SVGA3dDXBlendStatePerRT * perRT) argument
909 SVGA3D_vgpu10_DestroyBlendState(struct svga_winsys_context * swc,SVGA3dBlendStateId blendId) argument
921 SVGA3D_vgpu10_DefineDepthStencilState(struct svga_winsys_context * swc,SVGA3dDepthStencilStateId depthStencilId,uint8 depthEnable,SVGA3dDepthWriteMask depthWriteMask,SVGA3dComparisonFunc depthFunc,uint8 stencilEnable,uint8 frontEnable,uint8 backEnable,uint8 stencilReadMask,uint8 stencilWriteMask,uint8 frontStencilFailOp,uint8 frontStencilDepthFailOp,uint8 frontStencilPassOp,SVGA3dComparisonFunc frontStencilFunc,uint8 backStencilFailOp,uint8 backStencilDepthFailOp,uint8 backStencilPassOp,SVGA3dComparisonFunc backStencilFunc) argument
957 SVGA3D_vgpu10_DestroyDepthStencilState(struct svga_winsys_context * swc,SVGA3dDepthStencilStateId depthStencilId) argument
970 SVGA3D_vgpu10_DefineRasterizerState(struct svga_winsys_context * swc,SVGA3dRasterizerStateId rasterizerId,uint8 fillMode,SVGA3dCullMode cullMode,uint8 frontCounterClockwise,int32 depthBias,float depthBiasClamp,float slopeScaledDepthBias,uint8 depthClipEnable,uint8 scissorEnable,uint8 multisampleEnable,uint8 antialiasedLineEnable,float lineWidth,uint8 lineStippleEnable,uint8 lineStippleFactor,uint16 lineStipplePattern,uint8 provokingVertexLast) argument
1007 SVGA3D_vgpu10_DestroyRasterizerState(struct svga_winsys_context * swc,SVGA3dRasterizerStateId rasterizerId) argument
1019 SVGA3D_vgpu10_DefineSamplerState(struct svga_winsys_context * swc,SVGA3dSamplerId samplerId,SVGA3dFilter filter,uint8 addressU,uint8 addressV,uint8 addressW,float mipLODBias,uint8 maxAnisotropy,uint8 comparisonFunc,SVGA3dRGBAFloat borderColor,float minLOD,float maxLOD) argument
1048 SVGA3D_vgpu10_DestroySamplerState(struct svga_winsys_context * swc,SVGA3dSamplerId samplerId) argument
1061 SVGA3D_vgpu10_DefineAndBindShader(struct svga_winsys_context * swc,struct svga_winsys_gb_shader * gbshader,SVGA3dShaderId shaderId,SVGA3dShaderType type,uint32 sizeInBytes) argument
1104 SVGA3D_vgpu10_DestroyShader(struct svga_winsys_context * swc,SVGA3dShaderId shaderId) argument
1116 SVGA3D_vgpu10_DefineStreamOutput(struct svga_winsys_context * swc,SVGA3dStreamOutputId soid,uint32 numOutputStreamEntries,uint32 streamOutputStrideInBytes[SVGA3D_DX_MAX_SOTARGETS],const SVGA3dStreamOutputDeclarationEntry decl[SVGA3D_MAX_STREAMOUT_DECLS]) argument
1141 SVGA3D_vgpu10_DestroyStreamOutput(struct svga_winsys_context * swc,SVGA3dStreamOutputId soid) argument
1153 SVGA3D_vgpu10_SetInputLayout(struct svga_winsys_context * swc,SVGA3dElementLayoutId elementLayoutId) argument
1165 SVGA3D_vgpu10_SetVertexBuffers(struct svga_winsys_context * swc,unsigned count,uint32 startBuffer,const SVGA3dVertexBuffer * bufferInfo,struct svga_winsys_surface ** surfaces) argument
1201 SVGA3D_vgpu10_SetTopology(struct svga_winsys_context * swc,SVGA3dPrimitiveType topology) argument
1213 SVGA3D_vgpu10_SetIndexBuffer(struct svga_winsys_context * swc,struct svga_winsys_surface * indexes,SVGA3dSurfaceFormat format,uint32 offset) argument
1234 SVGA3D_vgpu10_SetSingleConstantBuffer(struct svga_winsys_context * swc,unsigned slot,SVGA3dShaderType type,struct svga_winsys_surface * surface,uint32 offsetInBytes,uint32 sizeInBytes) argument
1268 SVGA3D_vgpu10_SetConstantBufferOffset(struct svga_winsys_context * swc,unsigned command,unsigned slot,uint32 offsetInBytes) argument
1293 SVGA3D_vgpu10_ReadbackSubResource(struct svga_winsys_context * swc,struct svga_winsys_surface * surface,unsigned subResource) argument
1314 SVGA3D_vgpu10_UpdateSubResource(struct svga_winsys_context * swc,struct svga_winsys_surface * surface,const SVGA3dBox * box,unsigned subResource) argument
1337 SVGA3D_vgpu10_GenMips(struct svga_winsys_context * swc,SVGA3dShaderResourceViewId shaderResourceViewId,struct svga_winsys_surface * view) argument
1359 SVGA3D_vgpu10_BufferCopy(struct svga_winsys_context * swc,struct svga_winsys_surface * src,struct svga_winsys_surface * dst,unsigned srcx,unsigned dstx,unsigned width) argument
1382 SVGA3D_vgpu10_TransferFromBuffer(struct svga_winsys_context * swc,struct svga_winsys_surface * src,unsigned srcOffset,unsigned srcPitch,unsigned srcSlicePitch,struct svga_winsys_surface * dst,unsigned dstSubResource,SVGA3dBox * dstBox) argument
1411 SVGA3D_vgpu10_IntraSurfaceCopy(struct svga_winsys_context * swc,struct svga_winsys_surface * surface,unsigned level,unsigned face,const SVGA3dCopyBox * box) argument
1435 SVGA3D_vgpu10_ResolveCopy(struct svga_winsys_context * swc,unsigned dstSubResource,struct svga_winsys_surface * dst,unsigned srcSubResource,struct svga_winsys_surface * src,const SVGA3dSurfaceFormat copyFormat) argument
1463 SVGA3D_sm5_DrawIndexedInstancedIndirect(struct svga_winsys_context * swc,struct svga_winsys_surface * argBuffer,unsigned argOffset) argument
1486 SVGA3D_sm5_DrawInstancedIndirect(struct svga_winsys_context * swc,struct svga_winsys_surface * argBuffer,unsigned argOffset) argument
1509 SVGA3D_sm5_Dispatch(struct svga_winsys_context * swc,const uint32 threadGroupCount[3]) argument
1531 SVGA3D_sm5_DispatchIndirect(struct svga_winsys_context * swc,struct svga_winsys_surface * argBuffer,uint32 argOffset) argument
1561 SVGA3D_sm5_DefineAndBindStreamOutput(struct svga_winsys_context * swc,SVGA3dStreamOutputId soid,uint32 numOutputStreamEntries,uint32 numOutputStreamStrides,uint32 streamOutputStrideInBytes[SVGA3D_DX_MAX_SOTARGETS],struct svga_winsys_buffer * declBuf,uint32 rasterizedStream,uint32 sizeInBytes) argument
[all...]
H A Dsvga_cmd.h59 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) argument
70 return swc->last_command;
78 SVGA3D_ResetLastCommand(struct svga_winsys_context *swc) argument
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...]
H A Dsvga_resource_buffer.h290 struct svga_winsys_context *swc = svga->swc; local in function:svga_buffer_hw_storage_map
294 if (swc->force_coherent) {
297 map = swc->surface_map(swc, sbuf->handle, flags, retry, &rebind);
301 ret = SVGA3D_BindGBSurface(swc, sbuf->handle);
304 ret = SVGA3D_BindGBSurface(swc, sbuf->handle);
326 struct svga_winsys_context *swc = svga->swc; local in function:svga_buffer_hw_storage_unmap
329 swc
[all...]
H A Dsvga_winsys.h266 (*destroy)(struct svga_winsys_context *swc);
269 (*reserve)(struct svga_winsys_context *swc,
276 (*get_command_buffer_size)(struct svga_winsys_context *swc);
287 (*surface_relocation)(struct svga_winsys_context *swc,
302 (*region_relocation)(struct svga_winsys_context *swc,
315 (*shader_relocation)(struct svga_winsys_context *swc,
329 (*context_relocation)(struct svga_winsys_context *swc, uint32 *cid);
343 (*mob_relocation)(struct svga_winsys_context *swc,
357 (*query_relocation)(struct svga_winsys_context *swc,
371 (*commit)(struct svga_winsys_context *swc);
[all...]
H A Dsvga_shader.c431 ret = SVGA3D_BindGBShader(svga->swc, variant->gb_shader);
444 struct svga_winsys_context *swc = svga->swc; local in function:define_gb_shader_vgpu10
459 variant->gb_shader = swc->shader_create(swc,
481 ret = SVGA3D_vgpu10_DefineAndBindShader(swc, variant->gb_shader,
491 swc->shader_destroy(swc, variant->gb_shader);
532 ret = SVGA3D_DefineShader(svga->swc,
575 ret = SVGA3D_vgpu10_SetShader(svga->swc, typ
626 struct svga_winsys_context *swc = svga->swc; local in function:svga_destroy_shader_variant
663 struct svga_winsys_context *swc = svga->swc; local in function:svga_rebind_shaders
[all...]
H A Dsvga_draw.c57 hwtnl->cmd.swc = svga->swc;
193 struct svga_winsys_context *swc = hwtnl->cmd.swc; local in function:draw_vgpu9
277 ret = SVGA3D_BeginDrawPrimitives(swc,
306 swc->surface_relocation(swc,
315 swc->surface_relocation(swc,
321 SVGA_FIFOCommitAll(swc);
[all...]
H A Dsvga_pipe_flush.c46 svga->swc->hints |= SVGA_HINT_FLAG_EXPORT_FENCE_FD;
111 sws->fence_server_sync(sws, &svga->swc->imported_fence_fd, fence);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/svga/drm/
H A Dvmw_surface.h90 vmw_svga_winsys_surface_map(struct svga_winsys_context *swc,
94 vmw_svga_winsys_surface_unmap(struct svga_winsys_context *swc,
98 vmw_svga_winsys_surface_invalidate(struct svga_winsys_context *swc,
H A Dvmw_context.h69 vmw_swc_surface_clear_reference(struct svga_winsys_context *swc,
H A Dvmw_context.c157 vmw_svga_winsys_context(struct svga_winsys_context *swc) argument
159 assert(swc);
160 return (struct vmw_svga_winsys_context *)swc;
178 vmw_swc_flush(struct svga_winsys_context *swc, argument
181 struct vmw_svga_winsys_context *vswc = vmw_svga_winsys_context(swc);
284 swc->hints &= ~SVGA_HINT_FLAG_CAN_PRE_FLUSH;
285 swc->hints &= ~SVGA_HINT_FLAG_EXPORT_FENCE_FD;
306 vmw_swc_reserve(struct svga_winsys_context *swc, argument
309 struct vmw_svga_winsys_context *vswc = vmw_svga_winsys_context(swc);
355 vmw_swc_get_command_buffer_size(struct svga_winsys_context *swc) argument
362 vmw_swc_context_relocation(struct svga_winsys_context * swc,uint32 * cid) argument
394 vmw_swc_region_relocation(struct svga_winsys_context * swc,struct SVGAGuestPtr * where,struct svga_winsys_buffer * buffer,uint32 offset,unsigned flags) argument
431 vmw_swc_mob_relocation(struct svga_winsys_context * swc,SVGAMobId * id,uint32 * offset_into_mob,struct svga_winsys_buffer * buffer,uint32 offset,unsigned flags) argument
487 vmw_swc_surface_clear_reference(struct svga_winsys_context * swc,struct vmw_svga_winsys_surface * vsurf) argument
501 vmw_swc_surface_only_relocation(struct svga_winsys_context * swc,uint32 * where,struct vmw_svga_winsys_surface * vsurf,unsigned flags) argument
541 vmw_swc_surface_relocation(struct svga_winsys_context * swc,uint32 * where,uint32 * mobid,struct svga_winsys_surface * surface,unsigned flags) argument
577 vmw_swc_shader_relocation(struct svga_winsys_context * swc,uint32 * shid,uint32 * mobid,uint32 * offset,struct svga_winsys_gb_shader * shader,unsigned flags) argument
628 vmw_swc_query_relocation(struct svga_winsys_context * swc,SVGAMobId * id,struct svga_winsys_gb_query * query) argument
638 vmw_swc_commit(struct svga_winsys_context * swc) argument
667 vmw_swc_destroy(struct svga_winsys_context * swc) argument
720 vmw_svga_winsys_vgpu10_shader_create(struct svga_winsys_context * swc,uint32 shaderId,SVGA3dShaderType shaderType,const uint32 * bytecode,uint32 bytecodeLen) argument
749 vmw_svga_winsys_vgpu10_shader_destroy(struct svga_winsys_context * swc,struct svga_winsys_gb_shader * shader) argument
773 vmw_svga_winsys_resource_rebind(struct svga_winsys_context * swc,struct svga_winsys_surface * surface,struct svga_winsys_gb_shader * shader,unsigned flags) argument
[all...]
H A Dvmw_query.h62 vmw_swc_query_bind(struct svga_winsys_context *swc,
/xsrc/external/mit/MesaLib/dist/src/gallium/winsys/svga/drm/
H A Dvmw_context.h69 vmw_swc_surface_clear_reference(struct svga_winsys_context *swc,
H A Dvmw_surface.h90 vmw_svga_winsys_surface_map(struct svga_winsys_context *swc,
95 vmw_svga_winsys_surface_unmap(struct svga_winsys_context *swc,
H A Dvmw_context.c158 vmw_svga_winsys_context(struct svga_winsys_context *swc) argument
160 assert(swc);
161 return (struct vmw_svga_winsys_context *)swc;
179 vmw_swc_flush(struct svga_winsys_context *swc, argument
182 struct vmw_svga_winsys_context *vswc = vmw_svga_winsys_context(swc);
285 swc->hints &= ~SVGA_HINT_FLAG_CAN_PRE_FLUSH;
286 swc->hints &= ~SVGA_HINT_FLAG_EXPORT_FENCE_FD;
307 vmw_swc_reserve(struct svga_winsys_context *swc, argument
310 struct vmw_svga_winsys_context *vswc = vmw_svga_winsys_context(swc);
356 vmw_swc_get_command_buffer_size(struct svga_winsys_context *swc) argument
363 vmw_swc_context_relocation(struct svga_winsys_context * swc,uint32 * cid) argument
386 vmw_swc_region_relocation(struct svga_winsys_context * swc,struct SVGAGuestPtr * where,struct svga_winsys_buffer * buffer,uint32 offset,unsigned flags) argument
423 vmw_swc_mob_relocation(struct svga_winsys_context * swc,SVGAMobId * id,uint32 * offset_into_mob,struct svga_winsys_buffer * buffer,uint32 offset,unsigned flags) argument
479 vmw_swc_surface_clear_reference(struct svga_winsys_context * swc,struct vmw_svga_winsys_surface * vsurf) argument
493 vmw_swc_surface_only_relocation(struct svga_winsys_context * swc,uint32 * where,struct vmw_svga_winsys_surface * vsurf,unsigned flags) argument
529 vmw_swc_surface_relocation(struct svga_winsys_context * swc,uint32 * where,uint32 * mobid,struct svga_winsys_surface * surface,unsigned flags) argument
573 vmw_swc_shader_relocation(struct svga_winsys_context * swc,uint32 * shid,uint32 * mobid,uint32 * offset,struct svga_winsys_gb_shader * shader,unsigned flags) argument
620 vmw_swc_query_relocation(struct svga_winsys_context * swc,SVGAMobId * id,struct svga_winsys_gb_query * query) argument
630 vmw_swc_commit(struct svga_winsys_context * swc) argument
659 vmw_swc_destroy(struct svga_winsys_context * swc) argument
701 vmw_svga_winsys_vgpu10_shader_create(struct svga_winsys_context * swc,uint32 shaderId,SVGA3dShaderType shaderType,const uint32 * bytecode,uint32 bytecodeLen,const SVGA3dDXShaderSignatureHeader * sgnInfo,uint32 sgnLen) argument
729 vmw_svga_winsys_vgpu10_shader_destroy(struct svga_winsys_context * swc,struct svga_winsys_gb_shader * shader) argument
753 vmw_svga_winsys_resource_rebind(struct svga_winsys_context * swc,struct svga_winsys_surface * surface,struct svga_winsys_gb_shader * shader,unsigned flags) argument
[all...]
H A Dvmw_query.h62 vmw_swc_query_bind(struct svga_winsys_context *swc,

Completed in 23 milliseconds

1234