Lines Matching refs:surface_impl
272 struct d3d8_surface *surface_impl; in d3d8_texture_2d_GetSurfaceLevel() local
277 if (!(surface_impl = wined3d_texture_get_sub_resource_parent(texture->wined3d_texture, level))) in d3d8_texture_2d_GetSurfaceLevel()
283 *surface = &surface_impl->IDirect3DSurface8_iface; in d3d8_texture_2d_GetSurfaceLevel()
294 struct d3d8_surface *surface_impl; in d3d8_texture_2d_LockRect() local
301 if (!(surface_impl = wined3d_texture_get_sub_resource_parent(texture->wined3d_texture, level))) in d3d8_texture_2d_LockRect()
304 … hr = IDirect3DSurface8_LockRect(&surface_impl->IDirect3DSurface8_iface, locked_rect, rect, flags); in d3d8_texture_2d_LockRect()
313 struct d3d8_surface *surface_impl; in d3d8_texture_2d_UnlockRect() local
319 if (!(surface_impl = wined3d_texture_get_sub_resource_parent(texture->wined3d_texture, level))) in d3d8_texture_2d_UnlockRect()
322 hr = IDirect3DSurface8_UnlockRect(&surface_impl->IDirect3DSurface8_iface); in d3d8_texture_2d_UnlockRect()
619 struct d3d8_surface *surface_impl; in d3d8_texture_cube_GetCubeMapSurface() local
634 …if (!(surface_impl = wined3d_texture_get_sub_resource_parent(texture->wined3d_texture, sub_resourc… in d3d8_texture_cube_GetCubeMapSurface()
640 *surface = &surface_impl->IDirect3DSurface8_iface; in d3d8_texture_cube_GetCubeMapSurface()
652 struct d3d8_surface *surface_impl; in d3d8_texture_cube_LockRect() local
661 …if (!(surface_impl = wined3d_texture_get_sub_resource_parent(texture->wined3d_texture, sub_resourc… in d3d8_texture_cube_LockRect()
664 … hr = IDirect3DSurface8_LockRect(&surface_impl->IDirect3DSurface8_iface, locked_rect, rect, flags); in d3d8_texture_cube_LockRect()
674 struct d3d8_surface *surface_impl; in d3d8_texture_cube_UnlockRect() local
682 …if (!(surface_impl = wined3d_texture_get_sub_resource_parent(texture->wined3d_texture, sub_resourc… in d3d8_texture_cube_UnlockRect()
685 hr = IDirect3DSurface8_UnlockRect(&surface_impl->IDirect3DSurface8_iface); in d3d8_texture_cube_UnlockRect()