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

123

/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
H A Dsvga_cmd.c58 void surface_to_surfaceid(struct svga_winsys_context *swc, // IN argument
65 swc->surface_relocation(swc, &id->sid, s->handle, flags);
70 swc->surface_relocation(swc, &id->sid, NULL, flags);
105 SVGA3D_FIFOReserve(struct svga_winsys_context *swc, argument
112 header = swc->reserve(swc, sizeof *header + cmdSize, nr_relocs);
124 SVGA_FIFOCommitAll(struct svga_winsys_context *swc) argument
126 swc
159 SVGA3D_DefineContext(struct svga_winsys_context *swc) argument
193 SVGA3D_DestroyContext(struct svga_winsys_context *swc) argument
267 SVGA3D_BeginDefineSurface(struct svga_winsys_context *swc, struct svga_winsys_surface *sid, SVGA3dSurfaceFlags flags, SVGA3dSurfaceFormat format, SVGA3dSurfaceFace **faces, SVGA3dSize **mipSizes, uint32 numMipSizes) argument
315 SVGA3D_DefineSurface2D(struct svga_winsys_context *swc, struct svga_winsys_surface *sid, uint32 width, uint32 height, SVGA3dSurfaceFormat format) argument
359 SVGA3D_DestroySurface(struct svga_winsys_context *swc, struct svga_winsys_surface *sid) argument
419 SVGA3D_SurfaceDMA(struct svga_winsys_context *swc, struct svga_transfer *st, SVGA3dTransferType transfer, const SVGA3dCopyBox *boxes, uint32 numBoxes, SVGA3dSurfaceDMAFlags flags) argument
476 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
571 SVGA3D_SetRenderTarget(struct svga_winsys_context *swc, SVGA3dRenderTargetType type, struct pipe_surface *surface) argument
628 SVGA3D_DefineShader(struct svga_winsys_context *swc, uint32 shid, SVGA3dShaderType type, const uint32 *bytecode, uint32 bytecodeLen) argument
674 SVGA3D_DestroyShader(struct svga_winsys_context *swc, uint32 shid, SVGA3dShaderType type) argument
719 SVGA3D_SetShaderConst(struct svga_winsys_context *swc, uint32 reg, SVGA3dShaderType type, SVGA3dShaderConstType ctype, const void *value) argument
785 SVGA3D_SetShaderConsts(struct svga_winsys_context *swc, uint32 reg, uint32 numRegs, SVGA3dShaderType type, SVGA3dShaderConstType ctype, const void *values) argument
838 SVGA3D_SetShader(struct svga_winsys_context *swc, SVGA3dShaderType type, uint32 shid) argument
885 SVGA3D_BeginClear(struct svga_winsys_context *swc, SVGA3dClearFlag flags, uint32 color, float depth, uint32 stencil, SVGA3dRect **rects, uint32 numRects) argument
930 SVGA3D_ClearRect(struct svga_winsys_context *swc, SVGA3dClearFlag flags, uint32 color, float depth, uint32 stencil, uint32 x, uint32 y, uint32 w, uint32 h) argument
984 SVGA3D_BeginDrawPrimitives(struct svga_winsys_context *swc, SVGA3dVertexDecl **decls, uint32 numVertexDecls, SVGA3dPrimitiveRange **ranges, uint32 numRanges) argument
1041 SVGA3D_BeginSurfaceCopy(struct svga_winsys_context *swc, struct pipe_surface *src, struct pipe_surface *dest, SVGA3dCopyBox **boxes, uint32 numBoxes) argument
1084 SVGA3D_SurfaceStretchBlt(struct svga_winsys_context *swc, struct pipe_surface *src, struct pipe_surface *dest, SVGA3dBox *boxSrc, SVGA3dBox *boxDest, SVGA3dStretchBltMode mode) argument
1129 SVGA3D_SetViewport(struct svga_winsys_context *swc, SVGA3dRect *rect) argument
1168 SVGA3D_SetScissorRect(struct svga_winsys_context *swc, SVGA3dRect *rect) argument
1205 SVGA3D_SetClipPlane(struct svga_winsys_context *swc, uint32 index, const float *plane) argument
1245 SVGA3D_SetZRange(struct svga_winsys_context *swc, float zMin, float zMax) argument
1292 SVGA3D_BeginSetTextureState(struct svga_winsys_context *swc, SVGA3dTextureState **states, uint32 numStates) argument
1338 SVGA3D_BeginSetRenderState(struct svga_winsys_context *swc, SVGA3dRenderState **states, uint32 numStates) argument
1375 SVGA3D_BeginQuery(struct svga_winsys_context *swc, SVGA3dQueryType type) argument
1413 SVGA3D_EndQuery(struct svga_winsys_context *swc, SVGA3dQueryType type, struct svga_winsys_buffer *buffer) argument
1460 SVGA3D_WaitForQuery(struct svga_winsys_context *swc, SVGA3dQueryType type, struct svga_winsys_buffer *buffer) argument
[all...]
H A Dsvga_cmd.h56 SVGA3D_FIFOReserve(struct svga_winsys_context *swc, uint32 cmd, uint32 cmdSize, uint32 nr_relocs);
59 SVGA_FIFOCommitAll(struct svga_winsys_context *swc);
67 SVGA3D_DefineContext(struct svga_winsys_context *swc);
70 SVGA3D_DestroyContext(struct svga_winsys_context *swc);
78 SVGA3D_BeginDefineSurface(struct svga_winsys_context *swc,
86 SVGA3D_DefineSurface2D(struct svga_winsys_context *swc,
92 SVGA3D_DestroySurface(struct svga_winsys_context *swc,
101 SVGA3D_SurfaceDMA(struct svga_winsys_context *swc,
109 SVGA3D_BufferDMA(struct svga_winsys_context *swc,
124 SVGA3D_BeginClear(struct svga_winsys_context *swc,
[all...]
H A Dsvga_winsys.h77 (*destroy)(struct svga_winsys_context *swc);
80 (*reserve)(struct svga_winsys_context *swc,
92 (*surface_relocation)(struct svga_winsys_context *swc,
106 (*region_relocation)(struct svga_winsys_context *swc,
113 (*commit)(struct svga_winsys_context *swc);
116 (*flush)(struct svga_winsys_context *swc,
H A Dsvga_context.c66 svga->swc->destroy(svga->swc);
100 svga->swc = svgascreen->sws->context_create(svgascreen->sws);
101 if(!svga->swc)
153 svga->swc );
193 svga->swc->destroy(svga->swc);
224 svga->swc->flush(svga->swc, &fence);
301 return svga_context( pipe )->swc;
[all...]
H A Dsvga_draw.c47 struct svga_winsys_context *swc )
56 hwtnl->cmd.swc = swc;
168 struct svga_winsys_context *swc = hwtnl->cmd.swc; local
225 ret = SVGA3D_BeginDrawPrimitives(swc,
252 swc->surface_relocation(swc,
263 swc->surface_relocation(swc,
[all...]
H A Dsvga_pipe_blit.c84 ret = SVGA3D_BeginSurfaceCopy(svga->swc,
93 ret = SVGA3D_BeginSurfaceCopy(svga->swc,
111 SVGA_FIFOCommitAll(svga->swc);
H A Dsvga_pipe_clear.c84 ret = SVGA3D_SetViewport(svga->swc, &rect);
89 ret = SVGA3D_ClearRect(svga->swc, flags, uc.ui, depth, stencil,
96 ret = SVGA3D_SetViewport(svga->swc, &rect);
H A Dsvga_state_framebuffer.c62 ret = SVGA3D_SetRenderTarget(svga->swc, SVGA3D_RT_COLOR0 + i, curr->cbufs[i]);
73 ret = SVGA3D_SetRenderTarget(svga->swc, SVGA3D_RT_DEPTH, curr->zsbuf);
79 ret = SVGA3D_SetRenderTarget(svga->swc, SVGA3D_RT_STENCIL, curr->zsbuf);
84 ret = SVGA3D_SetRenderTarget(svga->swc, SVGA3D_RT_STENCIL, NULL);
117 ret = SVGA3D_SetRenderTarget(svga->swc, SVGA3D_RT_COLOR0 + i, hw->cbufs[i]);
125 ret = SVGA3D_SetRenderTarget(svga->swc, SVGA3D_RT_DEPTH, hw->zsbuf);
132 ret = SVGA3D_SetRenderTarget(svga->swc, SVGA3D_RT_STENCIL, hw->zsbuf);
138 ret = SVGA3D_SetRenderTarget(svga->swc, SVGA3D_RT_STENCIL, NULL);
418 ret = SVGA3D_SetViewport(svga->swc, &rect);
429 ret = SVGA3D_SetZRange(svga->swc, range_mi
[all...]
H A Dsvga_draw.h42 struct svga_winsys_context *swc );
H A Dsvga_pipe_query.c167 ret = SVGA3D_BeginQuery(svga->swc, sq->type);
170 ret = SVGA3D_BeginQuery(svga->swc, sq->type);
192 ret = SVGA3D_EndQuery( svga->swc, sq->type, sq->hwbuf);
195 ret = SVGA3D_EndQuery( svga->swc, sq->type, sq->hwbuf);
227 ret = SVGA3D_WaitForQuery( svga->swc, sq->type, sq->hwbuf);
230 ret = SVGA3D_WaitForQuery( svga->swc, sq->type, sq->hwbuf);
H A Dsvga_state_tss.c137 if (SVGA3D_BeginSetTextureState( svga->swc,
154 svga->swc->surface_relocation(svga->swc,
162 SVGA_FIFOCommitAll( svga->swc );
206 ret = SVGA3D_BeginSetTextureState(svga->swc,
221 svga->swc->surface_relocation(svga->swc,
227 SVGA_FIFOCommitAll(svga->swc);
329 if (SVGA3D_BeginSetTextureState( svga->swc,
338 SVGA_FIFOCommitAll( svga->swc );
[all...]
H A Dsvga_pipe_fs.c103 ret = SVGA3D_DestroyShader(svga->swc,
108 ret = SVGA3D_DestroyShader(svga->swc,
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_cmd.c58 void surface_to_surfaceid(struct svga_winsys_context *swc, // IN argument
65 swc->surface_relocation(swc, &id->sid, s->handle, flags);
70 swc->surface_relocation(swc, &id->sid, NULL, flags);
105 SVGA3D_FIFOReserve(struct svga_winsys_context *swc, argument
112 header = swc->reserve(swc, sizeof *header + cmdSize, nr_relocs);
124 SVGA_FIFOCommitAll(struct svga_winsys_context *swc) argument
126 swc
159 SVGA3D_DefineContext(struct svga_winsys_context *swc) argument
193 SVGA3D_DestroyContext(struct svga_winsys_context *swc) argument
267 SVGA3D_BeginDefineSurface(struct svga_winsys_context *swc, struct svga_winsys_surface *sid, SVGA3dSurfaceFlags flags, SVGA3dSurfaceFormat format, SVGA3dSurfaceFace **faces, SVGA3dSize **mipSizes, uint32 numMipSizes) argument
315 SVGA3D_DefineSurface2D(struct svga_winsys_context *swc, struct svga_winsys_surface *sid, uint32 width, uint32 height, SVGA3dSurfaceFormat format) argument
359 SVGA3D_DestroySurface(struct svga_winsys_context *swc, struct svga_winsys_surface *sid) argument
419 SVGA3D_SurfaceDMA(struct svga_winsys_context *swc, struct svga_transfer *st, SVGA3dTransferType transfer, const SVGA3dCopyBox *boxes, uint32 numBoxes, SVGA3dSurfaceDMAFlags flags) argument
476 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
571 SVGA3D_SetRenderTarget(struct svga_winsys_context *swc, SVGA3dRenderTargetType type, struct pipe_surface *surface) argument
628 SVGA3D_DefineShader(struct svga_winsys_context *swc, uint32 shid, SVGA3dShaderType type, const uint32 *bytecode, uint32 bytecodeLen) argument
674 SVGA3D_DestroyShader(struct svga_winsys_context *swc, uint32 shid, SVGA3dShaderType type) argument
719 SVGA3D_SetShaderConst(struct svga_winsys_context *swc, uint32 reg, SVGA3dShaderType type, SVGA3dShaderConstType ctype, const void *value) argument
785 SVGA3D_SetShaderConsts(struct svga_winsys_context *swc, uint32 reg, uint32 numRegs, SVGA3dShaderType type, SVGA3dShaderConstType ctype, const void *values) argument
838 SVGA3D_SetShader(struct svga_winsys_context *swc, SVGA3dShaderType type, uint32 shid) argument
885 SVGA3D_BeginClear(struct svga_winsys_context *swc, SVGA3dClearFlag flags, uint32 color, float depth, uint32 stencil, SVGA3dRect **rects, uint32 numRects) argument
930 SVGA3D_ClearRect(struct svga_winsys_context *swc, SVGA3dClearFlag flags, uint32 color, float depth, uint32 stencil, uint32 x, uint32 y, uint32 w, uint32 h) argument
984 SVGA3D_BeginDrawPrimitives(struct svga_winsys_context *swc, SVGA3dVertexDecl **decls, uint32 numVertexDecls, SVGA3dPrimitiveRange **ranges, uint32 numRanges) argument
1041 SVGA3D_BeginSurfaceCopy(struct svga_winsys_context *swc, struct pipe_surface *src, struct pipe_surface *dest, SVGA3dCopyBox **boxes, uint32 numBoxes) argument
1084 SVGA3D_SurfaceStretchBlt(struct svga_winsys_context *swc, struct pipe_surface *src, struct pipe_surface *dest, SVGA3dBox *boxSrc, SVGA3dBox *boxDest, SVGA3dStretchBltMode mode) argument
1129 SVGA3D_SetViewport(struct svga_winsys_context *swc, SVGA3dRect *rect) argument
1168 SVGA3D_SetScissorRect(struct svga_winsys_context *swc, SVGA3dRect *rect) argument
1205 SVGA3D_SetClipPlane(struct svga_winsys_context *swc, uint32 index, const float *plane) argument
1245 SVGA3D_SetZRange(struct svga_winsys_context *swc, float zMin, float zMax) argument
1292 SVGA3D_BeginSetTextureState(struct svga_winsys_context *swc, SVGA3dTextureState **states, uint32 numStates) argument
1338 SVGA3D_BeginSetRenderState(struct svga_winsys_context *swc, SVGA3dRenderState **states, uint32 numStates) argument
1375 SVGA3D_BeginQuery(struct svga_winsys_context *swc, SVGA3dQueryType type) argument
1413 SVGA3D_EndQuery(struct svga_winsys_context *swc, SVGA3dQueryType type, struct svga_winsys_buffer *buffer) argument
1460 SVGA3D_WaitForQuery(struct svga_winsys_context *swc, SVGA3dQueryType type, struct svga_winsys_buffer *buffer) argument
[all...]
H A Dsvga_cmd.h56 SVGA3D_FIFOReserve(struct svga_winsys_context *swc, uint32 cmd, uint32 cmdSize, uint32 nr_relocs);
59 SVGA_FIFOCommitAll(struct svga_winsys_context *swc);
67 SVGA3D_DefineContext(struct svga_winsys_context *swc);
70 SVGA3D_DestroyContext(struct svga_winsys_context *swc);
78 SVGA3D_BeginDefineSurface(struct svga_winsys_context *swc,
86 SVGA3D_DefineSurface2D(struct svga_winsys_context *swc,
92 SVGA3D_DestroySurface(struct svga_winsys_context *swc,
101 SVGA3D_SurfaceDMA(struct svga_winsys_context *swc,
109 SVGA3D_BufferDMA(struct svga_winsys_context *swc,
124 SVGA3D_BeginClear(struct svga_winsys_context *swc,
[all...]
H A Dsvga_winsys.h77 (*destroy)(struct svga_winsys_context *swc);
80 (*reserve)(struct svga_winsys_context *swc,
92 (*surface_relocation)(struct svga_winsys_context *swc,
106 (*region_relocation)(struct svga_winsys_context *swc,
113 (*commit)(struct svga_winsys_context *swc);
116 (*flush)(struct svga_winsys_context *swc,
H A Dsvga_context.c66 svga->swc->destroy(svga->swc);
100 svga->swc = svgascreen->sws->context_create(svgascreen->sws);
101 if(!svga->swc)
153 svga->swc );
193 svga->swc->destroy(svga->swc);
224 svga->swc->flush(svga->swc, &fence);
301 return svga_context( pipe )->swc;
[all...]
H A Dsvga_draw.c47 struct svga_winsys_context *swc )
56 hwtnl->cmd.swc = swc;
168 struct svga_winsys_context *swc = hwtnl->cmd.swc; local
225 ret = SVGA3D_BeginDrawPrimitives(swc,
252 swc->surface_relocation(swc,
263 swc->surface_relocation(swc,
[all...]
H A Dsvga_pipe_blit.c84 ret = SVGA3D_BeginSurfaceCopy(svga->swc,
93 ret = SVGA3D_BeginSurfaceCopy(svga->swc,
111 SVGA_FIFOCommitAll(svga->swc);
H A Dsvga_pipe_clear.c84 ret = SVGA3D_SetViewport(svga->swc, &rect);
89 ret = SVGA3D_ClearRect(svga->swc, flags, uc.ui, depth, stencil,
96 ret = SVGA3D_SetViewport(svga->swc, &rect);
H A Dsvga_state_framebuffer.c62 ret = SVGA3D_SetRenderTarget(svga->swc, SVGA3D_RT_COLOR0 + i, curr->cbufs[i]);
73 ret = SVGA3D_SetRenderTarget(svga->swc, SVGA3D_RT_DEPTH, curr->zsbuf);
79 ret = SVGA3D_SetRenderTarget(svga->swc, SVGA3D_RT_STENCIL, curr->zsbuf);
84 ret = SVGA3D_SetRenderTarget(svga->swc, SVGA3D_RT_STENCIL, NULL);
117 ret = SVGA3D_SetRenderTarget(svga->swc, SVGA3D_RT_COLOR0 + i, hw->cbufs[i]);
125 ret = SVGA3D_SetRenderTarget(svga->swc, SVGA3D_RT_DEPTH, hw->zsbuf);
132 ret = SVGA3D_SetRenderTarget(svga->swc, SVGA3D_RT_STENCIL, hw->zsbuf);
138 ret = SVGA3D_SetRenderTarget(svga->swc, SVGA3D_RT_STENCIL, NULL);
418 ret = SVGA3D_SetViewport(svga->swc, &rect);
429 ret = SVGA3D_SetZRange(svga->swc, range_mi
[all...]
H A Dsvga_draw.h42 struct svga_winsys_context *swc );
H A Dsvga_pipe_query.c167 ret = SVGA3D_BeginQuery(svga->swc, sq->type);
170 ret = SVGA3D_BeginQuery(svga->swc, sq->type);
192 ret = SVGA3D_EndQuery( svga->swc, sq->type, sq->hwbuf);
195 ret = SVGA3D_EndQuery( svga->swc, sq->type, sq->hwbuf);
227 ret = SVGA3D_WaitForQuery( svga->swc, sq->type, sq->hwbuf);
230 ret = SVGA3D_WaitForQuery( svga->swc, sq->type, sq->hwbuf);
H A Dsvga_state_tss.c137 if (SVGA3D_BeginSetTextureState( svga->swc,
154 svga->swc->surface_relocation(svga->swc,
162 SVGA_FIFOCommitAll( svga->swc );
206 ret = SVGA3D_BeginSetTextureState(svga->swc,
221 svga->swc->surface_relocation(svga->swc,
227 SVGA_FIFOCommitAll(svga->swc);
329 if (SVGA3D_BeginSetTextureState( svga->swc,
338 SVGA_FIFOCommitAll( svga->swc );
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/svga/drm/
H A Dvmw_context.c108 vmw_svga_winsys_context(struct svga_winsys_context *swc) argument
110 assert(swc);
111 return (struct vmw_svga_winsys_context *)swc;
129 vmw_swc_flush(struct svga_winsys_context *swc, argument
132 struct vmw_svga_winsys_context *vswc = vmw_svga_winsys_context(swc);
201 vmw_swc_reserve(struct svga_winsys_context *swc, argument
204 struct vmw_svga_winsys_context *vswc = vmw_svga_winsys_context(swc);
246 vmw_swc_surface_relocation(struct svga_winsys_context *swc, argument
251 struct vmw_svga_winsys_context *vswc = vmw_svga_winsys_context(swc);
272 vmw_swc_region_relocation(struct svga_winsys_context *swc, argument
321 vmw_swc_commit(struct svga_winsys_context *swc) argument
345 vmw_swc_destroy(struct svga_winsys_context *swc) argument
[all...]
/external/mesa3d/src/gallium/winsys/svga/drm/
H A Dvmw_context.c108 vmw_svga_winsys_context(struct svga_winsys_context *swc) argument
110 assert(swc);
111 return (struct vmw_svga_winsys_context *)swc;
129 vmw_swc_flush(struct svga_winsys_context *swc, argument
132 struct vmw_svga_winsys_context *vswc = vmw_svga_winsys_context(swc);
201 vmw_swc_reserve(struct svga_winsys_context *swc, argument
204 struct vmw_svga_winsys_context *vswc = vmw_svga_winsys_context(swc);
246 vmw_swc_surface_relocation(struct svga_winsys_context *swc, argument
251 struct vmw_svga_winsys_context *vswc = vmw_svga_winsys_context(swc);
272 vmw_swc_region_relocation(struct svga_winsys_context *swc, argument
321 vmw_swc_commit(struct svga_winsys_context *swc) argument
345 vmw_swc_destroy(struct svga_winsys_context *swc) argument
[all...]

Completed in 427 milliseconds

123