|
|
|
|
|
|
|
|
int width, height; |
|
|
int width, height; |
|
|
void *color_start, *depth_start; |
|
|
void *color_start, *depth_start; |
|
|
enum pipe_format color_format, depth_format; |
|
|
enum pipe_format color_format, depth_format; |
|
|
} ALIGN16_ATTRIB; |
|
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
|
|
|
|
|
|
uint opcode; |
|
|
uint opcode; |
|
|
uint surface; /**< Temporary: 0=color, 1=Z */ |
|
|
uint surface; /**< Temporary: 0=color, 1=Z */ |
|
|
uint value; |
|
|
uint value; |
|
|
} ALIGN16_ATTRIB; |
|
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
|
|
|
|
|
|
uint dummy3; |
|
|
uint dummy3; |
|
|
uint min_index; |
|
|
uint min_index; |
|
|
boolean inline_verts; |
|
|
boolean inline_verts; |
|
|
} ALIGN16_ATTRIB; |
|
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct cell_command_release_verts |
|
|
struct cell_command_release_verts |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** XXX unions don't seem to work */ |
|
|
/** XXX unions don't seem to work */ |
|
|
|
|
|
/* XXX this should go away; all commands should be placed in batch buffers */ |
|
|
struct cell_command |
|
|
struct cell_command |
|
|
{ |
|
|
{ |
|
|
|
|
|
#if 0 |
|
|
struct cell_command_framebuffer fb; |
|
|
struct cell_command_framebuffer fb; |
|
|
struct cell_command_clear_surface clear; |
|
|
struct cell_command_clear_surface clear; |
|
|
struct cell_command_render render; |
|
|
struct cell_command_render render; |
|
|
|
|
|
#endif |
|
|
struct cell_command_vs vs; |
|
|
struct cell_command_vs vs; |
|
|
} ALIGN16_ATTRIB; |
|
|
} ALIGN16_ATTRIB; |
|
|
|
|
|
|