1 #ifndef INTEL_STRUCTS_H
2 #define INTEL_STRUCTS_H
23 GLuint mono_source_transparency
:1;
24 GLuint clipping_enable
:1;
30 /* This is an attempt to move some of the 2D interaction in this
31 * driver to using structs for packets rather than a bunch of #defines
34 struct xy_color_blit
{
48 GLuint dest_base_addr
;
52 struct xy_src_copy_blit
{
66 GLuint dest_base_addr
;
81 struct xy_setup_blit
{
95 GLuint dest_base_addr
;
96 GLuint background_color
;
97 GLuint foreground_color
;
98 GLuint pattern_base_addr
;
102 struct xy_text_immediate_blit
{
108 GLuint byte_packed
:1;
124 /* Src bitmap data follows as inline dwords.
129 #define CLIENT_2D 0x2
130 #define OPCODE_XY_SETUP_BLT 0x1
131 #define OPCODE_XY_COLOR_BLT 0x50
132 #define OPCODE_XY_TEXT_IMMEDIATE_BLT 0x31