Lines Matching refs:body

140 	SVGA3dCmdSurfaceDMA body;  member
150 SVGA3dCmdDefineSurface body; member
158 SVGA3dCmdDestroySurface body; member
215 cmd->header.size = sizeof(cmd->body); in vmw_surface_destroy_encode()
216 cmd->body.sid = id; in vmw_surface_destroy_encode()
235 cmd_len = sizeof(cmd->body) + srf->num_sizes * sizeof(SVGA3dSize); in vmw_surface_define_encode()
239 cmd->body.sid = srf->res.id; in vmw_surface_define_encode()
245 cmd->body.surfaceFlags = (SVGA3dSurface1Flags)srf->flags; in vmw_surface_define_encode()
246 cmd->body.format = srf->format; in vmw_surface_define_encode()
248 cmd->body.face[i].numMipLevels = srf->mip_levels[i]; in vmw_surface_define_encode()
282 SVGA3dCmdSurfaceDMA *body = &cmd->body; in vmw_surface_dma_encode() local
289 header->size = sizeof(*body) + sizeof(*cb) + sizeof(*suffix); in vmw_surface_dma_encode()
291 body->guest.ptr = *ptr; in vmw_surface_dma_encode()
292 body->guest.ptr.offset += cur_offset->bo_offset; in vmw_surface_dma_encode()
293 body->guest.pitch = svga3dsurface_calculate_pitch(desc, in vmw_surface_dma_encode()
295 body->host.sid = srf->res.id; in vmw_surface_dma_encode()
296 body->host.face = cur_offset->face; in vmw_surface_dma_encode()
297 body->host.mipmap = cur_offset->mip; in vmw_surface_dma_encode()
298 body->transfer = ((to_surface) ? SVGA3D_WRITE_HOST_VRAM : in vmw_surface_dma_encode()
313 body->guest.pitch); in vmw_surface_dma_encode()
1050 SVGA3dCmdDefineGBSurface body; in vmw_gb_surface_create() member
1054 SVGA3dCmdDefineGBSurface_v2 body; in vmw_gb_surface_create() member
1058 SVGA3dCmdDefineGBSurface_v3 body; in vmw_gb_surface_create() member
1078 cmd_len = sizeof(cmd3->body); in vmw_gb_surface_create()
1083 cmd_len = sizeof(cmd2->body); in vmw_gb_surface_create()
1087 cmd_len = sizeof(cmd->body); in vmw_gb_surface_create()
1104 cmd3->body.sid = srf->res.id; in vmw_gb_surface_create()
1105 cmd3->body.surfaceFlags = srf->flags; in vmw_gb_surface_create()
1106 cmd3->body.format = srf->format; in vmw_gb_surface_create()
1107 cmd3->body.numMipLevels = srf->mip_levels[0]; in vmw_gb_surface_create()
1108 cmd3->body.multisampleCount = srf->multisample_count; in vmw_gb_surface_create()
1109 cmd3->body.multisamplePattern = srf->multisample_pattern; in vmw_gb_surface_create()
1110 cmd3->body.qualityLevel = srf->quality_level; in vmw_gb_surface_create()
1111 cmd3->body.autogenFilter = srf->autogen_filter; in vmw_gb_surface_create()
1112 cmd3->body.size.width = srf->base_size.width; in vmw_gb_surface_create()
1113 cmd3->body.size.height = srf->base_size.height; in vmw_gb_surface_create()
1114 cmd3->body.size.depth = srf->base_size.depth; in vmw_gb_surface_create()
1115 cmd3->body.arraySize = srf->array_size; in vmw_gb_surface_create()
1119 cmd2->body.sid = srf->res.id; in vmw_gb_surface_create()
1120 cmd2->body.surfaceFlags = srf->flags; in vmw_gb_surface_create()
1121 cmd2->body.format = srf->format; in vmw_gb_surface_create()
1122 cmd2->body.numMipLevels = srf->mip_levels[0]; in vmw_gb_surface_create()
1123 cmd2->body.multisampleCount = srf->multisample_count; in vmw_gb_surface_create()
1124 cmd2->body.autogenFilter = srf->autogen_filter; in vmw_gb_surface_create()
1125 cmd2->body.size.width = srf->base_size.width; in vmw_gb_surface_create()
1126 cmd2->body.size.height = srf->base_size.height; in vmw_gb_surface_create()
1127 cmd2->body.size.depth = srf->base_size.depth; in vmw_gb_surface_create()
1128 cmd2->body.arraySize = srf->array_size; in vmw_gb_surface_create()
1132 cmd->body.sid = srf->res.id; in vmw_gb_surface_create()
1133 cmd->body.surfaceFlags = srf->flags; in vmw_gb_surface_create()
1134 cmd->body.format = srf->format; in vmw_gb_surface_create()
1135 cmd->body.numMipLevels = srf->mip_levels[0]; in vmw_gb_surface_create()
1136 cmd->body.multisampleCount = srf->multisample_count; in vmw_gb_surface_create()
1137 cmd->body.autogenFilter = srf->autogen_filter; in vmw_gb_surface_create()
1138 cmd->body.size.width = srf->base_size.width; in vmw_gb_surface_create()
1139 cmd->body.size.height = srf->base_size.height; in vmw_gb_surface_create()
1140 cmd->body.size.depth = srf->base_size.depth; in vmw_gb_surface_create()
1161 SVGA3dCmdBindGBSurface body; in vmw_gb_surface_bind() member
1165 SVGA3dCmdUpdateGBSurface body; in vmw_gb_surface_bind() member
1182 cmd1->header.size = sizeof(cmd1->body); in vmw_gb_surface_bind()
1183 cmd1->body.sid = res->id; in vmw_gb_surface_bind()
1184 cmd1->body.mobid = bo->mem.start; in vmw_gb_surface_bind()
1188 cmd2->header.size = sizeof(cmd2->body); in vmw_gb_surface_bind()
1189 cmd2->body.sid = res->id; in vmw_gb_surface_bind()
1207 SVGA3dCmdReadbackGBSurface body; in vmw_gb_surface_unbind() member
1211 SVGA3dCmdInvalidateGBSurface body; in vmw_gb_surface_unbind() member
1215 SVGA3dCmdBindGBSurface body; in vmw_gb_surface_unbind() member
1234 cmd1->header.size = sizeof(cmd1->body); in vmw_gb_surface_unbind()
1235 cmd1->body.sid = res->id; in vmw_gb_surface_unbind()
1240 cmd2->header.size = sizeof(cmd2->body); in vmw_gb_surface_unbind()
1241 cmd2->body.sid = res->id; in vmw_gb_surface_unbind()
1246 cmd3->header.size = sizeof(cmd3->body); in vmw_gb_surface_unbind()
1247 cmd3->body.sid = res->id; in vmw_gb_surface_unbind()
1248 cmd3->body.mobid = SVGA3D_INVALID_ID; in vmw_gb_surface_unbind()
1273 SVGA3dCmdDestroyGBSurface body; in vmw_gb_surface_destroy() member
1292 cmd->header.size = sizeof(cmd->body); in vmw_gb_surface_destroy()
1293 cmd->body.sid = res->id; in vmw_gb_surface_destroy()