Lines Matching refs:currentDesc

193     pDesc->multisample_type = This->currentDesc.MultiSampleType;
194 pDesc->multisample_quality = This->currentDesc.MultiSampleQuality;
195 pDesc->width = This->currentDesc.Width;
196 pDesc->height = This->currentDesc.Height;
348 UINT row_block_count = (This->currentDesc.Width + format_desc->block_width - 1) / format_desc->block_width;
354 ret = This->resource.format_desc->byte_count * This->currentDesc.Width; /* Bytes / row */
444 This->overlay_srcrect.right = This->currentDesc.Width;
445 This->overlay_srcrect.bottom = This->currentDesc.Height;
453 This->overlay_destrect.right = Dst ? Dst->currentDesc.Width : 0;
454 This->overlay_destrect.bottom = Dst ? Dst->currentDesc.Height : 0;
591 b_info->bmiHeader.biHeight = -This->currentDesc.Height -extraline;
592 b_info->bmiHeader.biSizeImage = ( This->currentDesc.Height + extraline) * IWineD3DSurface_GetPitch(iface);
655 memcpy(This->dib.bitmap_data, This->resource.allocatedMemory, This->currentDesc.Height * IWineD3DSurface_GetPitch(iface));
854 IWineD3DDevice_CreateSurface((IWineD3DDevice *)source->resource.device, source->currentDesc.Width,
855 source->currentDesc.Height, to_fmt, TRUE /* lockable */, TRUE /* discard */, 0 /* level */, &ret,
860 IWineD3DDevice_CreateSurface((IWineD3DDevice *)source->resource.device, source->currentDesc.Width,
861 source->currentDesc.Height, to_fmt, TRUE /* lockable */, TRUE /* discard */, 0 /* level */, &ret,
890 source->currentDesc.Width, source->currentDesc.Height);
1020 ((SrcRect->bottom > Src->currentDesc.Height)||(SrcRect->bottom < 0) ||
1021 (SrcRect->top > Src->currentDesc.Height)||(SrcRect->top < 0) ||
1022 (SrcRect->left > Src->currentDesc.Width) ||(SrcRect->left < 0) ||
1023 (SrcRect->right > Src->currentDesc.Width) ||(SrcRect->right < 0) ||
1033 ((DestRect->bottom > This->currentDesc.Height)||(DestRect->bottom < 0) ||
1034 (DestRect->top > This->currentDesc.Height)||(DestRect->top < 0) ||
1035 (DestRect->left > This->currentDesc.Width) ||(DestRect->left < 0) ||
1036 (DestRect->right > This->currentDesc.Width) ||(DestRect->right < 0) ||
1049 (DestRect->top >= (int) This->currentDesc.Height) ||
1050 (DestRect->left >= (int) This->currentDesc.Width))) ||
1053 (SrcRect->top >= (int) Src->currentDesc.Height) ||
1054 (SrcRect->left >= (int) Src->currentDesc.Width)) ))
1067 xdst.bottom = This->currentDesc.Height;
1069 xdst.right = This->currentDesc.Width;
1081 xsrc.bottom = Src->currentDesc.Height;
1083 xsrc.right = Src->currentDesc.Width;
1099 full_rect.right = This->currentDesc.Width;
1100 full_rect.bottom = This->currentDesc.Height;
1107 int clip_horiz = (DestRect->left < 0) || (DestRect->right > (int) This->currentDesc.Width );
1108 int clip_vert = (DestRect->top < 0) || (DestRect->bottom > (int) This->currentDesc.Height);
1123 if (DestRect->right > This->currentDesc.Width)
1125 xsrc.right -= (DestRect->right - (int) This->currentDesc.Width);
1126 xdst.right = (int) This->currentDesc.Width;
1136 if (DestRect->bottom > This->currentDesc.Height)
1138 xsrc.bottom -= (DestRect->bottom - (int) This->currentDesc.Height);
1139 xdst.bottom = (int) This->currentDesc.Height;
1144 (xdst.top >= (int) This->currentDesc.Height) ||
1145 (xdst.left >= (int) This->currentDesc.Width) ||
1147 (xsrc.top >= (int) Src->currentDesc.Height) ||
1148 (xsrc.left >= (int) Src->currentDesc.Width))
1668 rsrc2.right = Src->currentDesc.Width;
1669 rsrc2.bottom = Src->currentDesc.Height;
1674 if ((rsrc->bottom > Src->currentDesc.Height) || (rsrc->bottom < 0) ||
1675 (rsrc->top > Src->currentDesc.Height) || (rsrc->top < 0) ||
1676 (rsrc->left > Src->currentDesc.Width) || (rsrc->left < 0) ||
1677 (rsrc->right > Src->currentDesc.Width) || (rsrc->right < 0) ||
1685 if (h > This->currentDesc.Height-dsty) h = This->currentDesc.Height-dsty;
1686 if (h > Src->currentDesc.Height-rsrc->top) h=Src->currentDesc.Height-rsrc->top;
1690 if (w > This->currentDesc.Width-dstx) w = This->currentDesc.Width-dstx;
1691 if (w > Src->currentDesc.Width-rsrc->left) w = Src->currentDesc.Width-rsrc->left;
1917 This->lockedRect.right = This->currentDesc.Width;
1918 This->lockedRect.bottom = This->currentDesc.Height;