Home
last modified time | relevance | path

Searched refs:src_texture (Results 1 – 14 of 14) sorted by relevance

/reactos/dll/directx/wine/wined3d/
H A Dsurface.c1526 map_binding = src_texture->resource.map_binding; in surface_convert_format()
1989 if (!src_texture->swapchain || src_texture == src_texture->swapchain->back_buffers[0]) in fb_copy_to_texture_hwstretch()
2195 struct wined3d_texture *src_texture; in surface_blt_special() local
2212 src_texture = src_surface->container; in surface_blt_special()
2219 src_swapchain = src_texture->swapchain; in surface_blt_special()
2223 src_texture = NULL; in surface_blt_special()
2794 src_texture = src_surface->container; in raw_blitter_blit()
3056 src_resource = &src_texture->resource; in ffp_blitter_blit()
3364 src_texture = converted_texture; in surface_cpu_blt()
3367 src_format = src_texture->resource.format; in surface_cpu_blt()
[all …]
H A Ddevice.c3821 if (!src_texture || !dst_texture) in wined3d_device_update_texture()
3840 type = src_texture->resource.type; in wined3d_device_update_texture()
3847 layer_count = src_texture->layer_count; in wined3d_device_update_texture()
3860 src_level_count = src_texture->level_count; in wined3d_device_update_texture()
3864 src_size = max(src_texture->resource.width, src_texture->resource.height); in wined3d_device_update_texture()
4046 struct wined3d_texture *dst_texture, *src_texture; in wined3d_device_copy_resource() local
4094 src_texture = texture_from_resource(src_resource); in wined3d_device_copy_resource()
4101 src_texture->layer_count, src_texture->level_count); in wined3d_device_copy_resource()
4208 if (src_sub_resource_idx >= src_texture->level_count * src_texture->layer_count)
4351 struct wined3d_texture *dst_texture, *src_texture; local
[all …]
H A Dcs.c2065 struct wined3d_texture *dst_texture, *src_texture; in wined3d_cs_exec_blt_sub_resource() local
2069 src_texture = texture_from_resource(op->src_resource); in wined3d_cs_exec_blt_sub_resource()
2071 src_surface = src_texture->sub_resources[op->src_sub_resource_idx].u.surface; in wined3d_cs_exec_blt_sub_resource()
2081 struct wined3d_texture *src_texture, *dst_texture; in wined3d_cs_exec_blt_sub_resource() local
2121 src_texture = texture_from_resource(op->src_resource); in wined3d_cs_exec_blt_sub_resource()
2125 if (!wined3d_texture_load_location(src_texture, op->src_sub_resource_idx, in wined3d_cs_exec_blt_sub_resource()
2126 context, src_texture->resource.map_binding)) in wined3d_cs_exec_blt_sub_resource()
2129 wined3d_debug_location(src_texture->resource.map_binding)); in wined3d_cs_exec_blt_sub_resource()
2149 …wined3d_texture_get_memory(src_texture, op->src_sub_resource_idx, &addr, src_texture->resource.map… in wined3d_cs_exec_blt_sub_resource()
2150 wined3d_texture_get_pitch(src_texture, op->src_sub_resource_idx % src_texture->level_count, in wined3d_cs_exec_blt_sub_resource()
H A Dtexture.c3263 … const RECT *dst_rect, struct wined3d_texture *src_texture, unsigned int src_sub_resource_idx, argument
3273 dst_texture, dst_sub_resource_idx, wine_dbgstr_rect(dst_rect), src_texture,
3280 if (src_sub_resource_idx >= src_texture->level_count * src_texture->layer_count
3281 || src_texture->resource.type != WINED3D_RTYPE_TEXTURE_2D)
3289 src_format_flags = src_texture->resource.format_flags;
3290 if (FAILED(hr = wined3d_texture_check_box_dimensions(src_texture,
3291 src_sub_resource_idx % src_texture->level_count, &src_box)))
3295 || src_texture->sub_resources[src_sub_resource_idx].map_count)
3304 || (src_texture && src_texture->sub_resources[src_sub_resource_idx].map_count))
3320 &dst_box, &src_texture->resource, src_sub_resource_idx, &src_box, flags, fx, filter);
H A Darb_program_shader.c7803 struct wined3d_texture *src_texture = src_surface->container; in arbfp_blitter_blit() local
7811 if (!arbfp_blit_supported(op, context, &src_texture->resource, src_location, in arbfp_blitter_blit()
7826 && !wined3d_resource_is_offscreen(&src_texture->resource)) in arbfp_blitter_blit()
7828 unsigned int src_level = src_sub_resource_idx % src_texture->level_count; in arbfp_blitter_blit()
7838 s.top = wined3d_texture_get_level_height(src_texture, src_level) - s.top; in arbfp_blitter_blit()
7839 s.bottom = wined3d_texture_get_level_height(src_texture, src_level) - s.bottom; in arbfp_blitter_blit()
7843 wined3d_texture_load(src_texture, context, FALSE); in arbfp_blitter_blit()
7876 const struct wined3d_format *fmt = src_texture->resource.format; in arbfp_blitter_blit()
7882 arbfp_blit_set(arbfp_blitter, context, src_texture, src_sub_resource_idx, color_key); in arbfp_blitter_blit()
7885 draw_textured_quad(src_texture, src_sub_resource_idx, context, src_rect, dst_rect, filter); in arbfp_blitter_blit()
/reactos/sdk/tools/winesync/d3dx9_staging/
H A D0011-d3dx9_36__Improve_D3DXSaveTextureToFile_to_save_simple_texture_to_dds_file.diff9 +HRESULT save_dds_texture_to_memory(ID3DXBuffer **dst_buffer, IDirect3DBaseTexture9 *src_texture,
37 +HRESULT save_dds_texture_to_memory(ID3DXBuffer **dst_buffer, IDirect3DBaseTexture9 *src_texture, c…
44 + type = IDirect3DBaseTexture9_GetType(src_texture);
60 + mip_levels = IDirect3DTexture9_GetLevelCount(src_texture);
74 + hr = get_surface(type, src_texture, D3DCUBEMAP_FACE_POSITIVE_X, 0, &surface);
92 if (!dst_buffer || !src_texture) return D3DERR_INVALIDCALL;
99 + return save_dds_texture_to_memory(dst_buffer, src_texture, src_palette);
101 type = IDirect3DBaseTexture9_GetType(src_texture);
/reactos/dll/directx/wine/d3dx9_36/
H A Dtexture.c1840 IDirect3DBaseTexture9 *src_texture, const PALETTEENTRY *src_palette) in D3DXSaveTextureToFileA() argument
1848 wine_dbgstr_a(dst_filename), file_format, src_texture, src_palette); in D3DXSaveTextureToFileA()
1857 hr = D3DXSaveTextureToFileInMemory(&buffer, file_format, src_texture, src_palette); in D3DXSaveTextureToFileA()
1869 IDirect3DBaseTexture9 *src_texture, const PALETTEENTRY *src_palette) in D3DXSaveTextureToFileW() argument
1875 wine_dbgstr_w(dst_filename), file_format, src_texture, src_palette); in D3DXSaveTextureToFileW()
1890 IDirect3DBaseTexture9 *src_texture, const PALETTEENTRY *src_palette) in D3DXSaveTextureToFileInMemory() argument
1897 dst_buffer, file_format, src_texture, src_palette); in D3DXSaveTextureToFileInMemory()
1899 if (!dst_buffer || !src_texture) return D3DERR_INVALIDCALL; in D3DXSaveTextureToFileInMemory()
1902 return save_dds_texture_to_memory(dst_buffer, src_texture, src_palette); in D3DXSaveTextureToFileInMemory()
1904 type = IDirect3DBaseTexture9_GetType(src_texture); in D3DXSaveTextureToFileInMemory()
[all …]
H A Dd3dx9_private.h129 HRESULT save_dds_texture_to_memory(ID3DXBuffer **dst_buffer, IDirect3DBaseTexture9 *src_texture,
H A Dsurface.c672 HRESULT save_dds_texture_to_memory(ID3DXBuffer **dst_buffer, IDirect3DBaseTexture9 *src_texture, co… in save_dds_texture_to_memory() argument
679 type = IDirect3DBaseTexture9_GetType(src_texture); in save_dds_texture_to_memory()
695 mip_levels = IDirect3DTexture9_GetLevelCount(src_texture); in save_dds_texture_to_memory()
709 hr = get_surface(type, src_texture, D3DCUBEMAP_FACE_POSITIVE_X, 0, &surface); in save_dds_texture_to_memory()
/reactos/dll/directx/wine/ddraw/
H A Ddevice.c6174 IDirectDrawSurface7 *src_texture, RECT *src_rect, DWORD flags) in d3d_device7_Load() argument
6178 struct ddraw_surface *src = unsafe_impl_from_IDirectDrawSurface7(src_texture); in d3d_device7_Load()
6183 … iface, dst_texture, wine_dbgstr_point(dst_pos), src_texture, wine_dbgstr_rect(src_rect), flags); in d3d_device7_Load()
6339 POINT *dst_pos, IDirectDrawSurface7 *src_texture, RECT *src_rect, DWORD flags) in d3d_device7_Load_FPUSetup() argument
6341 return d3d_device7_Load(iface, dst_texture, dst_pos, src_texture, src_rect, flags); in d3d_device7_Load_FPUSetup()
6345 POINT *dst_pos, IDirectDrawSurface7 *src_texture, RECT *src_rect, DWORD flags) in d3d_device7_Load_FPUPreserve() argument
6351 hr = d3d_device7_Load(iface, dst_texture, dst_pos, src_texture, src_rect, flags); in d3d_device7_Load_FPUPreserve()
H A Dsurface.c5249 static HRESULT WINAPI d3d_texture2_Load(IDirect3DTexture2 *iface, IDirect3DTexture2 *src_texture) in d3d_texture2_Load() argument
5252 struct ddraw_surface *src_surface = unsafe_impl_from_IDirect3DTexture2(src_texture); in d3d_texture2_Load()
5256 TRACE("iface %p, src_texture %p.\n", iface, src_texture); in d3d_texture2_Load()
5344 static HRESULT WINAPI d3d_texture1_Load(IDirect3DTexture *iface, IDirect3DTexture *src_texture) in d3d_texture1_Load() argument
5347 struct ddraw_surface *src_surface = unsafe_impl_from_IDirect3DTexture(src_texture); in d3d_texture1_Load()
5349 TRACE("iface %p, src_texture %p.\n", iface, src_texture); in d3d_texture1_Load()
/reactos/dll/directx/wine/d3d8/
H A Ddevice.c1252 IDirect3DBaseTexture8 *src_texture, IDirect3DBaseTexture8 *dst_texture) in d3d8_device_UpdateTexture() argument
1258 TRACE("iface %p, src_texture %p, dst_texture %p.\n", iface, src_texture, dst_texture); in d3d8_device_UpdateTexture()
1260 src_impl = unsafe_impl_from_IDirect3DBaseTexture8(src_texture); in d3d8_device_UpdateTexture()
/reactos/sdk/include/reactos/wine/
H A Dwined3d.h2489 struct wined3d_texture *src_texture, struct wined3d_texture *dst_texture);
2705 … struct wined3d_texture *src_texture, unsigned int src_idx, const RECT *src_rect_in, DWORD flags,
/reactos/dll/directx/wine/d3d9/
H A Ddevice.c1516 IDirect3DBaseTexture9 *src_texture, IDirect3DBaseTexture9 *dst_texture) in d3d9_device_UpdateTexture() argument
1522 TRACE("iface %p, src_texture %p, dst_texture %p.\n", iface, src_texture, dst_texture); in d3d9_device_UpdateTexture()
1524 src_impl = unsafe_impl_from_IDirect3DBaseTexture9(src_texture); in d3d9_device_UpdateTexture()