Lines Matching defs:alignment
142 UINT surface_calculate_size(const struct wined3d_format_desc *format_desc, UINT alignment, UINT width, UINT height)
159 size = height * (((width * format_desc->byte_count) + alignment - 1) & ~(alignment - 1));
387 HRESULT surface_init(IWineD3DSurfaceImpl *surface, WINED3DSURFTYPE surface_type, UINT alignment,
411 resource_size = surface_calculate_size(format_desc, alignment, width, height);
743 unsigned char alignment = This->resource.device->surface_alignment;
746 src_pitch = (src_pitch + alignment - 1) & ~(alignment - 1);
1058 * it might point into a pbo. Instead use heapMemory, but get the alignment right.
4299 /* Stick to the alignment for the converted surface too, makes it easier to load the surface */
4317 /* Stick to the alignment for the converted surface too, makes it easier to load the surface */
5125 /* Stick to the alignment for the converted surface too, makes it easier to load the surface */
5208 /* Stick to the alignment for the converted surface too, makes it easier to load the surface */
5223 /* Stick to the alignment for the converted surface too, makes it easier to load the surface */