Lines Matching defs:map_desc
4155 struct wined3d_map_desc *map_desc, const RECT *rect, DWORD flags)
4159 TRACE("surface %p, map_desc %p, rect %s, flags %#x.\n",
4160 surface, map_desc, wine_dbgstr_rect(rect), flags);
4203 map_desc->row_pitch = surface->resource.width * format->byte_count;
4205 map_desc->row_pitch = wined3d_surface_get_pitch(surface);
4206 map_desc->slice_pitch = 0;
4210 map_desc->data = surface->resource.allocatedMemory;
4222 map_desc->data = surface->resource.allocatedMemory
4223 + ((rect->top / format->block_height) * map_desc->row_pitch)
4228 map_desc->data = surface->resource.allocatedMemory
4229 + (map_desc->row_pitch * rect->top)
4239 TRACE("Returning memory %p, pitch %u.\n", map_desc->data, map_desc->row_pitch);