Lines Matching defs:body
175 SVGA3dCmdSurfaceDMA body;
185 SVGA3dCmdDefineSurface body;
193 SVGA3dCmdDestroySurface body;
250 cmd->header.size = sizeof(cmd->body);
251 cmd->body.sid = id;
270 cmd_len = sizeof(cmd->body) + srf->num_sizes * sizeof(SVGA3dSize);
274 cmd->body.sid = srf->res.id;
280 cmd->body.surfaceFlags = (SVGA3dSurface1Flags)srf->flags;
281 cmd->body.format = srf->format;
283 cmd->body.face[i].numMipLevels = srf->mip_levels[i];
317 SVGA3dCmdSurfaceDMA *body = &cmd->body;
324 header->size = sizeof(*body) + sizeof(*cb) + sizeof(*suffix);
326 body->guest.ptr = *ptr;
327 body->guest.ptr.offset += cur_offset->bo_offset;
328 body->guest.pitch = svga3dsurface_calculate_pitch(desc,
330 body->host.sid = srf->res.id;
331 body->host.face = cur_offset->face;
332 body->host.mipmap = cur_offset->mip;
333 body->transfer = ((to_surface) ? SVGA3D_WRITE_HOST_VRAM :
348 body->guest.pitch);
1074 SVGA3dCmdDefineGBSurface body;
1078 SVGA3dCmdDefineGBSurface_v2 body;
1082 SVGA3dCmdDefineGBSurface_v3 body;
1102 cmd_len = sizeof(cmd3->body);
1107 cmd_len = sizeof(cmd2->body);
1111 cmd_len = sizeof(cmd->body);
1126 cmd3->body.sid = srf->res.id;
1127 cmd3->body.surfaceFlags = srf->flags;
1128 cmd3->body.format = srf->format;
1129 cmd3->body.numMipLevels = srf->mip_levels[0];
1130 cmd3->body.multisampleCount = srf->multisample_count;
1131 cmd3->body.multisamplePattern = srf->multisample_pattern;
1132 cmd3->body.qualityLevel = srf->quality_level;
1133 cmd3->body.autogenFilter = srf->autogen_filter;
1134 cmd3->body.size.width = srf->base_size.width;
1135 cmd3->body.size.height = srf->base_size.height;
1136 cmd3->body.size.depth = srf->base_size.depth;
1137 cmd3->body.arraySize = srf->array_size;
1141 cmd2->body
1142 cmd2->body.surfaceFlags = srf->flags;
1143 cmd2->body.format = srf->format;
1144 cmd2->body.numMipLevels = srf->mip_levels[0];
1145 cmd2->body.multisampleCount = srf->multisample_count;
1146 cmd2->body.autogenFilter = srf->autogen_filter;
1147 cmd2->body.size.width = srf->base_size.width;
1148 cmd2->body.size.height = srf->base_size.height;
1149 cmd2->body.size.depth = srf->base_size.depth;
1150 cmd2->body.arraySize = srf->array_size;
1154 cmd->body.sid = srf->res.id;
1155 cmd->body.surfaceFlags = srf->flags;
1156 cmd->body.format = srf->format;
1157 cmd->body.numMipLevels = srf->mip_levels[0];
1158 cmd->body.multisampleCount = srf->multisample_count;
1159 cmd->body.autogenFilter = srf->autogen_filter;
1160 cmd->body.size.width = srf->base_size.width;
1161 cmd->body.size.height = srf->base_size.height;
1162 cmd->body.size.depth = srf->base_size.depth;
1183 SVGA3dCmdBindGBSurface body;
1187 SVGA3dCmdUpdateGBSurface body;
1201 cmd1->header.size = sizeof(cmd1->body);
1202 cmd1->body.sid = res->id;
1203 cmd1->body.mobid = bo->mem.start;
1207 cmd2->header.size = sizeof(cmd2->body);
1208 cmd2->body.sid = res->id;
1232 SVGA3dCmdReadbackGBSurface body;
1236 SVGA3dCmdInvalidateGBSurface body;
1240 SVGA3dCmdBindGBSurface body;
1256 cmd1->header.size = sizeof(cmd1->body);
1257 cmd1->body.sid = res->id;
1262 cmd2->header.size = sizeof(cmd2->body);
1263 cmd2->body.sid = res->id;
1268 cmd3->header.size = sizeof(cmd3->body);
1269 cmd3->body.sid = res->id;
1270 cmd3->body.mobid = SVGA3D_INVALID_ID;
1295 SVGA3dCmdDestroyGBSurface body;
1312 cmd->header.size = sizeof(cmd->body);
1313 cmd->body.sid = res->id;
1996 SVGA3dCmdDXUpdateSubResource body;
2000 SVGA3dCmdUpdateGBImage body;
2035 cmd1->header.size = sizeof(cmd1->body);
2036 cmd1->body.sid = res->id;
2037 cmd1->body.subResource = i;
2038 cmd1->body.box = *box;
2042 cmd2->header.size = sizeof(cmd2->body);
2043 cmd2->body.image.sid = res->id;
2044 cmd2->body.image.face = i / cache->num_mip_levels;
2045 cmd2->body.image.mipmap = i -
2046 (cache->num_mip_levels * cmd2->body.image.face);
2047 cmd2->body.box = *box;
2146 SVGA3dCmdReadbackGBSurface body;
2155 cmd->header.size = sizeof(cmd->body);
2156 cmd->body.sid = res->id;