1 #ifndef INTEL_STRUCTS_H
2 #define INTEL_STRUCTS_H
21 GLuint mono_source_transparency
:1;
22 GLuint clipping_enable
:1;
28 /* This is an attempt to move some of the 2D interaction in this
29 * driver to using structs for packets rather than a bunch of #defines
32 struct xy_color_blit
{
46 GLuint dest_base_addr
;
50 struct xy_src_copy_blit
{
64 GLuint dest_base_addr
;
79 struct xy_setup_blit
{
93 GLuint dest_base_addr
;
94 GLuint background_color
;
95 GLuint foreground_color
;
96 GLuint pattern_base_addr
;
100 struct xy_text_immediate_blit
{
106 GLuint byte_packed
:1;
122 /* Src bitmap data follows as inline dwords.
127 #define CLIENT_2D 0x2
128 #define OPCODE_XY_SETUP_BLT 0x1
129 #define OPCODE_XY_COLOR_BLT 0x50
130 #define OPCODE_XY_TEXT_IMMEDIATE_BLT 0x31