Lines Matching refs:ds
671 struct wined3d_surface *ds = device->fb.depth_stencil;
674 if (!context->render_offscreen && ds != device->onscreen_depth_stencil)
675 device_switch_onscreen_ds(device, context, ds);
677 if (ds->flags & location)
678 SetRect(¤t_rect, 0, 0, ds->ds_current_size.cx, ds->ds_current_size.cy);
686 surface_load_ds_location(ds, context, location);
716 struct wined3d_surface *ds = device->fb.depth_stencil;
717 DWORD location = context->render_offscreen ? ds->draw_binding : SFLAG_INDRAWABLE;
719 surface_modify_ds_location(ds, location, ds->ds_current_size.cx, ds->ds_current_size.cy);