Home
last modified time | relevance | path

Searched refs:active_device (Results 1 – 6 of 6) sorted by relevance

/reactos/dll/directx/wine/ddraw/
H A Dlight.c39 if (!light->active_viewport || !light->active_viewport->active_device) return; in light_update()
40 device = light->active_viewport->active_device; in light_update()
57 if (!light->active_viewport || !light->active_viewport->active_device) return; in light_activate()
58 device = light->active_viewport->active_device; in light_activate()
81 if (!light->active_viewport || !light->active_viewport->active_device) return; in light_deactivate()
82 device = light->active_viewport->active_device; in light_deactivate()
H A Dviewport.c105 update_clip_space(This->active_device, &scale, &offset); in viewport_activate()
106 IDirect3DDevice7_SetViewport(&This->active_device->IDirect3DDevice7_iface, &vp); in viewport_activate()
342 if (This->active_device) in d3d_viewport_SetViewport()
403 struct d3d_device *device = viewport->active_device; in d3d_viewport_TransformVertices()
668 if (This->active_device == NULL) { in d3d_viewport_Clear()
672 d3d_device3 = &This->active_device->IDirect3DDevice3_iface; in d3d_viewport_Clear()
755 if (This->active_device && light_impl->light.dwFlags & D3DLIGHT_ACTIVE) in d3d_viewport_AddLight()
970 if (This->active_device) in d3d_viewport_SetViewport2()
1065 if (!viewport->active_device) in d3d_viewport_Clear2()
1071 d3d_device3 = &viewport->active_device->IDirect3DDevice3_iface; in d3d_viewport_Clear2()
[all …]
H A Dmaterial.c303 material->active_device = device_impl; in d3d_material3_GetHandle()
459 IDirect3DDevice7_SetMaterial(&material->active_device->IDirect3DDevice7_iface, &d3d7mat); in material_activate()
H A Dddraw_private.h468 struct d3d_device *active_device; member
490 struct d3d_device *active_device; member
H A Dexecutebuffer.c61 if (viewport->active_device != device) in d3d_execute_buffer_execute()
64 viewport, viewport->active_device); in d3d_execute_buffer_execute()
H A Ddevice.c755 vp->active_device = device; in d3d_device3_AddViewport()
813 if (vp->active_device != device) in d3d_device3_DeleteViewport()
815 WARN("Viewport %p active device is %p.\n", vp, vp->active_device); in d3d_device3_DeleteViewport()
827 vp->active_device = NULL; in d3d_device3_DeleteViewport()
1713 if (vp->active_device != This) in d3d_device3_SetCurrentViewport()
1715 WARN("Viewport %p active device is %p.\n", vp, vp->active_device); in d3d_device3_SetCurrentViewport()