/reactos/dll/directx/wine/d3dx9_36/ |
H A D | render.c | 33 IDirect3DSurface9 *depth_stencil; member 54 state->depth_stencil = NULL; in device_state_init() 88 if (state->depth_stencil) in device_state_restore() 109 if (state->depth_stencil) IDirect3DSurface9_Release(state->depth_stencil); in device_state_release() 175 if (render->depth_stencil) IDirect3DSurface9_Release(render->depth_stencil); in D3DXRenderToSurface_Release() 302 if (render->depth_stencil) IDirect3DSurface9_Release(render->depth_stencil); in D3DXRenderToSurface_BeginScene() 303 render->depth_stencil = NULL; in D3DXRenderToSurface_BeginScene() 337 if (render->depth_stencil) in D3DXRenderToSurface_EndScene() 512 if (render->depth_stencil) IDirect3DSurface9_Release(render->depth_stencil); in D3DXRenderToEnvMap_Release() 596 if (render->depth_stencil) IDirect3DSurface9_Release(render->depth_stencil); in D3DXRenderToEnvMap_BeginCube() [all …]
|
/reactos/dll/directx/wine/wined3d/ |
H A D | context.c | 531 if (depth_stencil->resource) in context_create_fbo_entry() 558 if (depth_stencil->resource) in context_reuse_fbo_entry() 592 if (depth_stencil->resource && depth_stencil->resource->type != WINED3D_RTYPE_BUFFER in context_find_fbo_entry() 606 depth_stencil = &ds_null; in context_find_fbo_entry() 614 depth_stencil = &ds_null; in context_find_fbo_entry() 659 if ((resource = depth_stencil->resource)) in context_find_fbo_entry() 789 if (depth_stencil) in context_apply_fbo_state() 2937 if (context->render_offscreen || !depth_stencil) return; in context_validate_onscreen_formats() 3230 … color_location, fb->depth_stencil ? fb->depth_stencil->resource->draw_binding : 0); in context_state_fb() 4942 rtv = fb->depth_stencil; in draw_primitive() [all …]
|
H A D | cs.c | 533 wined3d_resource_release(op->fb->depth_stencil->resource); in wined3d_cs_exec_clear() 569 wined3d_resource_acquire(state->fb->depth_stencil->resource); in wined3d_cs_emit_clear() 590 op->fb->depth_stencil = NULL; in wined3d_cs_emit_clear_rendertarget_view() 597 op->fb->depth_stencil = view; in wined3d_cs_emit_clear_rendertarget_view() 832 if (state->fb->depth_stencil) in wined3d_cs_exec_draw() 833 wined3d_resource_release(state->fb->depth_stencil->resource); in wined3d_cs_exec_draw() 866 if (state->fb->depth_stencil) in acquire_graphics_pipeline_resources() 867 wined3d_resource_acquire(state->fb->depth_stencil->resource); in acquire_graphics_pipeline_resources() 1026 if ((prev = cs->state.fb->depth_stencil)) in wined3d_cs_exec_set_depth_stencil_view() 1038 cs->fb.depth_stencil = op->view; in wined3d_cs_exec_set_depth_stencil_view()
|
H A D | device.c | 230 struct wined3d_rendertarget_view *dsv = fb->depth_stencil; in device_clear_render_targets() 291 if (depth_stencil) in device_clear_render_targets() 1220 if (device->fb.depth_stencil) in wined3d_device_uninit_3d() 1222 struct wined3d_rendertarget_view *view = device->fb.depth_stencil; in wined3d_device_uninit_3d() 1226 device->fb.depth_stencil = NULL; in wined3d_device_uninit_3d() 1969 if (!(src_view = state->fb->depth_stencil)) in resolve_depth_buffer() 3647 struct wined3d_rendertarget_view *ds = device->fb.depth_stencil; in wined3d_device_clear() 3951 struct wined3d_rendertarget_view *ds = device->fb.depth_stencil; in wined3d_device_validate_device() 4465 return device->fb.depth_stencil; 4530 prev = device->fb.depth_stencil; [all …]
|
H A D | swapchain.c | 526 if (fb->depth_stencil) in swapchain_gl_present() 528 struct wined3d_surface *ds = wined3d_rendertarget_view_get_surface(fb->depth_stencil); in swapchain_gl_present() 533 fb->depth_stencil->sub_resource_idx, WINED3D_LOCATION_DISCARDED); in swapchain_gl_present()
|
H A D | state.c | 233 if (!state->fb->depth_stencil) in state_zenable() 926 if (!state->fb->depth_stencil) in state_stencil() 1022 DWORD mask = state->fb->depth_stencil ? state->render_states[WINED3D_RS_STENCILWRITEMASK] : 0; in state_stencilwrite2s() 1036 DWORD mask = state->fb->depth_stencil ? state->render_states[WINED3D_RS_STENCILWRITEMASK] : 0; in state_stencilwrite() 1778 const struct wined3d_rendertarget_view *depth = state->fb->depth_stencil; in state_depthbias() 4691 const struct wined3d_rendertarget_view *depth_stencil = state->fb->depth_stencil; in get_viewport() local 4719 else if (depth_stencil) in get_viewport() 4721 height = depth_stencil->height; in get_viewport()
|
H A D | wined3d_private.h | 2006 struct wined3d_rendertarget_view *depth_stencil; member 2148 …struct wined3d_surface *render_target, struct wined3d_surface *depth_stencil, DWORD location) DECL…
|
H A D | surface.c | 3022 if ((flags & (WINED3DCLEAR_ZBUFFER | WINED3DCLEAR_STENCIL)) && (view = fb->depth_stencil) in ffp_blitter_clear() 3923 if ((flags & (WINED3DCLEAR_ZBUFFER | WINED3DCLEAR_STENCIL)) && (view = fb->depth_stencil)) in cpu_blitter_clear()
|
H A D | utils.c | 4948 enum wined3d_depth_buffer_type zenable = state->fb->depth_stencil ? in get_projection_matrix()
|
/reactos/modules/rostests/winetests/d3dx9_36/ |
H A D | core.c | 1243 BOOL depth_stencil, D3DFORMAT depth_stencil_format, BOOL render_target) in check_ID3DXRenderToSurface() argument 1252 …hr = D3DXCreateRenderToSurface(device, width, height, format, depth_stencil, depth_stencil_format,… in check_ID3DXRenderToSurface() 1362 IDirect3DSurface9 *depth_stencil; member 1369 if (state->depth_stencil) IDirect3DSurface9_Release(state->depth_stencil); in release_device_state() 1382 hr = IDirect3DDevice9_GetDepthStencilSurface(device, &state->depth_stencil); in retrieve_device_state() 1384 state->depth_stencil = NULL; in retrieve_device_state() 1404 hr = IDirect3DDevice9_SetDepthStencilSurface(device, state->depth_stencil); in apply_device_state() 1421 cmp = state1->depth_stencil == state2->depth_stencil; in compare_device_state() 1422 … !cmp, "Depth stencil surface %s %p, %p\n", message, state1->depth_stencil, state2->depth_stencil); in compare_device_state()
|
/reactos/dll/directx/wine/d3d8/ |
H A D | device.c | 1294 IDirect3DSurface8 *render_target, IDirect3DSurface8 *depth_stencil) in d3d8_device_SetRenderTarget() argument 1298 struct d3d8_surface *ds_impl = unsafe_impl_from_IDirect3DSurface8(depth_stencil); in d3d8_device_SetRenderTarget() 1302 TRACE("iface %p, render_target %p, depth_stencil %p.\n", iface, render_target, depth_stencil); in d3d8_device_SetRenderTarget() 1398 …NAPI d3d8_device_GetDepthStencilSurface(IDirect3DDevice8 *iface, IDirect3DSurface8 **depth_stencil) in d3d8_device_GetDepthStencilSurface() argument 1405 TRACE("iface %p, depth_stencil %p.\n", iface, depth_stencil); in d3d8_device_GetDepthStencilSurface() 1407 if (!depth_stencil) in d3d8_device_GetDepthStencilSurface() 1416 *depth_stencil = &surface_impl->IDirect3DSurface8_iface; in d3d8_device_GetDepthStencilSurface() 1417 IDirect3DSurface8_AddRef(*depth_stencil); in d3d8_device_GetDepthStencilSurface() 1422 *depth_stencil = NULL; in d3d8_device_GetDepthStencilSurface()
|
/reactos/dll/directx/wine/d3d9/ |
H A D | device.c | 1853 …API d3d9_device_SetDepthStencilSurface(IDirect3DDevice9Ex *iface, IDirect3DSurface9 *depth_stencil) in d3d9_device_SetDepthStencilSurface() argument 1856 struct d3d9_surface *ds_impl = unsafe_impl_from_IDirect3DSurface9(depth_stencil); in d3d9_device_SetDepthStencilSurface() 1859 TRACE("iface %p, depth_stencil %p.\n", iface, depth_stencil); in d3d9_device_SetDepthStencilSurface() 1870 …PI d3d9_device_GetDepthStencilSurface(IDirect3DDevice9Ex *iface, IDirect3DSurface9 **depth_stencil) in d3d9_device_GetDepthStencilSurface() argument 1877 TRACE("iface %p, depth_stencil %p.\n", iface, depth_stencil); in d3d9_device_GetDepthStencilSurface() 1879 if (!depth_stencil) in d3d9_device_GetDepthStencilSurface() 1888 *depth_stencil = &surface_impl->IDirect3DSurface9_iface; in d3d9_device_GetDepthStencilSurface() 1889 IDirect3DSurface9_AddRef(*depth_stencil); in d3d9_device_GetDepthStencilSurface() 1894 *depth_stencil = NULL; in d3d9_device_GetDepthStencilSurface()
|