~ubuntu-branches/ubuntu/quantal/open-vm-tools/quantal-201207201942

« back to all changes in this revision

Viewing changes to lib/include/region.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2009-03-20 10:19:00 UTC
  • mfrom: (1.1.4 upstream) (2.4.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090320101900-1o604camiubq2de8
Tags: 2009.03.18-154848-2
Correcting patch system depends (Closes: #520493).

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
   UpdateRect,
108
108
   ROPFillRect,
109
109
   Present3dRect,
 
110
   LockRect,
 
111
   FenceRect,
110
112
   MaxRect
111
113
} RectInfoType;
112
114
 
121
123
         uint32 sid;
122
124
         uint32 srcx, srcy;
123
125
      } Present3d;
 
126
      struct {
 
127
         uint32 fenceId;
 
128
      } Fence;
124
129
      /* add more here, then update miRectInfosEqual and miPrintRegion. */
125
130
   };
126
131
} RectInfo, *RectInfoPtr;
195
200
  RECT_SETBOX((r), (rx1), (ry1), ((rx2) - (rx1)), ((ry2) - (ry1))); \
196
201
} while (FALSE)
197
202
 
 
203
#define RECT_SETVMRECT(r, vmr) \
 
204
  RECT_SETRECT((r), (vmr)->left,  (vmr)->top,  (vmr)->right,  (vmr)->bottom)
 
205
 
198
206
/*
199
207
 * This will only work if the intersection is not empty.
200
208
 */