ReactOS 0.4.16-dev-297-gc569aee
|
#include <assert.h>
#include <limits.h>
#include "wine/debug.h"
#include "wine/heap.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "d3d.h"
#include "ddraw.h"
#include "wine/list.h"
#include "wine/wined3d.h"
Go to the source code of this file.
Classes | |
struct | FvfToDecl |
struct | ddraw |
struct | ddraw_surface |
struct | ddraw_texture |
struct | ddraw_handle_entry |
struct | ddraw_handle_table |
struct | d3d_device |
struct | ddraw_clipper |
struct | ddraw_palette |
struct | object_creation_info |
struct | d3d_light |
struct | d3d_material |
struct | d3d_viewport |
struct | d3d_execute_buffer |
struct | d3d_vertex_buffer |
struct | flag_info |
struct | member_info |
Variables | |
const struct wined3d_parent_ops ddraw_null_wined3d_parent_ops | DECLSPEC_HIDDEN |
#define COBJMACROS |
Definition at line 24 of file ddraw_private.h.
#define DD_STRUCT_COPY_BYSIZE | ( | to, | |
from | |||
) | DD_STRUCT_COPY_BYSIZE_(to,from,(to)->dwSize,(from)->dwSize) |
Definition at line 647 of file ddraw_private.h.
Definition at line 636 of file ddraw_private.h.
#define DDRAW_D3D_INITIALIZED 0x00000002 |
Definition at line 55 of file ddraw_private.h.
#define DDRAW_GDI_FLIP 0x00000040 |
Definition at line 60 of file ddraw_private.h.
#define DDRAW_INITIALIZED 0x00000001 |
Definition at line 54 of file ddraw_private.h.
#define DDRAW_INVALID_HANDLE ~0U |
Definition at line 265 of file ddraw_private.h.
#define DDRAW_NO3D 0x00000008 |
Definition at line 57 of file ddraw_private.h.
#define DDRAW_RESTORE_MODE 0x00000004 |
Definition at line 56 of file ddraw_private.h.
#define DDRAW_SCL_DDRAW1 0x00000010 |
Definition at line 58 of file ddraw_private.h.
#define DDRAW_SCL_RECURSIVE 0x00000020 |
Definition at line 59 of file ddraw_private.h.
#define DDRAW_STRIDE_ALIGNMENT 8 |
Definition at line 62 of file ddraw_private.h.
#define DDRAW_WINDOW_CLASS_NAME "DirectDrawDeviceWnd" |
Definition at line 128 of file ddraw_private.h.
#define DDRAW_WINED3D_FLAGS |
Definition at line 64 of file ddraw_private.h.
#define GET_TEXCOORD_SIZE_FROM_FVF | ( | d3dvtVertexType, | |
tex_num | |||
) | (((((d3dvtVertexType) >> (16 + (2 * (tex_num)))) + 1) & 0x03) + 1) |
Definition at line 582 of file ddraw_private.h.
#define GET_TEXCOUNT_FROM_FVF | ( | d3dvtVertexType | ) | (((d3dvtVertexType) & D3DFVF_TEXCOUNT_MASK) >> D3DFVF_TEXCOUNT_SHIFT) |
Definition at line 579 of file ddraw_private.h.
#define MAX_COMPLEX_ATTACHED 6 |
Definition at line 183 of file ddraw_private.h.
Definition at line 634 of file ddraw_private.h.
#define NONAMELESSSTRUCT |
Definition at line 25 of file ddraw_private.h.
#define NONAMELESSUNION |
Definition at line 26 of file ddraw_private.h.
Enumerator | |
---|---|
DDRAW_DEVICE_STATE_OK | |
DDRAW_DEVICE_STATE_LOST | |
DDRAW_DEVICE_STATE_NOT_RESTORED |
Definition at line 69 of file ddraw_private.h.
Enumerator | |
---|---|
DDRAW_HANDLE_FREE | |
DDRAW_HANDLE_MATERIAL | |
DDRAW_HANDLE_MATRIX | |
DDRAW_HANDLE_STATEBLOCK | |
DDRAW_HANDLE_SURFACE |
Definition at line 267 of file ddraw_private.h.
HRESULT d3d_device_create | ( | struct ddraw * | ddraw, |
const GUID * | guid, | ||
struct ddraw_surface * | target, | ||
IUnknown * | rt_iface, | ||
UINT | version, | ||
struct d3d_device ** | device, | ||
IUnknown * | outer_unknown | ||
) |
Definition at line 6980 of file device.c.
Referenced by d3d2_CreateDevice(), d3d3_CreateDevice(), d3d7_CreateDevice(), and ddraw_surface7_QueryInterface().
enum wined3d_depth_buffer_type d3d_device_update_depth_stencil | ( | struct d3d_device * | device | ) |
Definition at line 6878 of file device.c.
Referenced by d3d_device_init(), d3d_device_set_render_target(), and ddraw_surface_attach_surface().
HRESULT d3d_execute_buffer_execute | ( | struct d3d_execute_buffer * | execute_buffer, |
struct d3d_device * | device, | ||
struct d3d_viewport * | viewport | ||
) |
Definition at line 51 of file executebuffer.c.
Referenced by d3d_device1_Execute().
HRESULT d3d_execute_buffer_init | ( | struct d3d_execute_buffer * | execute_buffer, |
struct d3d_device * | device, | ||
D3DEXECUTEBUFFERDESC * | desc | ||
) |
Definition at line 775 of file executebuffer.c.
Referenced by d3d_device1_CreateExecuteBuffer().
Definition at line 247 of file light.c.
Referenced by d3d3_CreateLight().
struct d3d_material * d3d_material_create | ( | struct ddraw * | ddraw | ) |
Definition at line 501 of file material.c.
Referenced by d3d1_CreateMaterial(), d3d2_CreateMaterial(), and d3d3_CreateMaterial().
HRESULT d3d_vertex_buffer_create | ( | struct d3d_vertex_buffer ** | buffer, |
struct ddraw * | ddraw, | ||
D3DVERTEXBUFFERDESC * | desc | ||
) |
Definition at line 432 of file vertexbuffer.c.
Referenced by d3d3_CreateVertexBuffer(), and d3d7_CreateVertexBuffer().
void d3d_viewport_init | ( | struct d3d_viewport * | viewport, |
struct ddraw * | ddraw | ||
) |
Definition at line 1146 of file viewport.c.
Referenced by d3d3_CreateViewport().
DWORD ddraw_allocate_handle | ( | struct ddraw_handle_table * | t, |
void * | object, | ||
enum ddraw_handle_type | type | ||
) |
Definition at line 113 of file main.c.
Referenced by d3d_device1_CreateMatrix(), d3d_device7_CreateStateBlock(), d3d_device7_EndStateBlock(), d3d_material3_GetHandle(), and d3d_texture2_GetHandle().
HRESULT ddraw_clipper_init | ( | struct ddraw_clipper * | clipper | ) |
Definition at line 321 of file clipper.c.
Referenced by DirectDrawCreateClipper().
void DDRAW_Convert_DDDEVICEIDENTIFIER_2_To_1 | ( | const DDDEVICEIDENTIFIER2 * | pIn, |
DDDEVICEIDENTIFIER * | pOut | ||
) |
Definition at line 961 of file utils.c.
Referenced by ddraw4_GetDeviceIdentifier().
void ddraw_d3dcaps1_from_7 | ( | D3DDEVICEDESC * | caps1, |
D3DDEVICEDESC7 * | caps7 | ||
) |
Definition at line 1196 of file ddraw.c.
Referenced by d3d3_EnumDevices(), d3d3_FindDevice(), and d3d_device3_GetCaps().
Definition at line 968 of file utils.c.
Referenced by ddraw_set_cooperative_level().
Definition at line 990 of file utils.c.
Referenced by ddraw7_GetCaps().
Definition at line 713 of file utils.c.
Referenced by ddraw7_GetAvailableVidMem(), DDRAW_dump_DDCAPS(), DDRAW_dump_DDSCAPS(), and DDRAW_dump_surface_desc().
void DDRAW_dump_surface_desc | ( | const DDSURFACEDESC2 * | lpddsd | ) |
Definition at line 864 of file utils.c.
Referenced by ddraw2_CreateSurface(), ddraw4_CreateSurface(), ddraw7_CreateSurface(), ddraw7_GetDisplayMode(), ddraw_surface3_GetSurfaceDesc(), ddraw_surface7_GetSurfaceDesc(), ddraw_surface_create(), and surface_lock().
struct wined3d_vertex_declaration * ddraw_find_decl | ( | struct ddraw * | ddraw, |
DWORD | fvf | ||
) |
Definition at line 4801 of file ddraw.c.
Referenced by d3d_device7_DrawIndexedPrimitive(), d3d_device7_DrawIndexedPrimitiveStrided(), d3d_device7_DrawPrimitive(), d3d_device7_DrawPrimitiveStrided(), and d3d_vertex_buffer_create().
void * ddraw_free_handle | ( | struct ddraw_handle_table * | t, |
DWORD | handle, | ||
enum ddraw_handle_type | type | ||
) |
Definition at line 156 of file main.c.
Referenced by d3d_device1_DeleteMatrix(), d3d_device7_DeleteStateBlock(), d3d_material3_Release(), and ddraw_surface_wined3d_object_destroyed().
HRESULT ddraw_get_d3dcaps | ( | const struct ddraw * | ddraw, |
D3DDEVICEDESC7 * | caps | ||
) |
Definition at line 1252 of file ddraw.c.
Referenced by d3d3_EnumDevices(), d3d3_FindDevice(), d3d7_EnumDevices(), d3d_device3_GetCaps(), and d3d_device7_GetCaps().
void * ddraw_get_object | ( | struct ddraw_handle_table * | t, |
DWORD | handle, | ||
enum ddraw_handle_type | type | ||
) |
Definition at line 182 of file main.c.
Referenced by d3d_device1_GetMatrix(), d3d_device1_SetMatrix(), d3d_device3_SetLightState(), d3d_device3_SetRenderState(), d3d_device7_ApplyStateBlock(), d3d_device7_CaptureStateBlock(), and d3d_viewport_SetBackground().
void ddraw_handle_table_destroy | ( | struct ddraw_handle_table * | t | ) |
Definition at line 107 of file main.c.
Referenced by d3d_device_init(), and d3d_device_inner_Release().
BOOL ddraw_handle_table_init | ( | struct ddraw_handle_table * | t, |
UINT | initial_size | ||
) |
Definition at line 93 of file main.c.
Referenced by d3d_device_init().
Definition at line 5052 of file ddraw.c.
Referenced by DDRAW_Create().
HRESULT ddraw_palette_init | ( | struct ddraw_palette * | palette, |
struct ddraw * | ddraw, | ||
DWORD | flags, | ||
PALETTEENTRY * | entries | ||
) |
Definition at line 258 of file palette.c.
Referenced by ddraw7_CreatePalette().
Definition at line 135 of file ddraw_private.h.
Referenced by ddraw_create_swapchain(), ddraw_destroy_swapchain(), and ddraw_surface7_SetClipper().
HRESULT ddraw_surface_create | ( | struct ddraw * | ddraw, |
const DDSURFACEDESC2 * | surface_desc, | ||
struct ddraw_surface ** | surface, | ||
IUnknown * | outer_unknown, | ||
unsigned int | version | ||
) |
Definition at line 5791 of file surface.c.
Referenced by ddraw1_CreateSurface(), ddraw2_CreateSurface(), ddraw4_CreateSurface(), and ddraw7_CreateSurface().
struct wined3d_rendertarget_view * ddraw_surface_get_rendertarget_view | ( | struct ddraw_surface * | surface | ) |
Definition at line 6520 of file surface.c.
Referenced by d3d_device_init(), d3d_device_set_render_target(), d3d_device_update_depth_stencil(), ddraw_surface7_Flip(), and ddraw_surface_blt().
void ddraw_surface_init | ( | struct ddraw_surface * | surface, |
struct ddraw * | ddraw, | ||
struct wined3d_texture * | wined3d_texture, | ||
unsigned int | sub_resource_idx, | ||
const struct wined3d_parent_ops ** | parent_ops | ||
) |
Definition at line 6432 of file surface.c.
Referenced by device_parent_surface_created().
HRESULT ddraw_surface_update_frontbuffer | ( | struct ddraw_surface * | surface, |
const RECT * | rect, | ||
BOOL | read | ||
) |
Definition at line 43 of file surface.c.
Referenced by ddraw_palette_SetEntries(), ddraw_surface7_BltFast(), ddraw_surface7_Flip(), ddraw_surface7_GetDC(), ddraw_surface7_ReleaseDC(), ddraw_surface7_Unlock(), ddraw_surface_blt_clipped(), ddraw_surface_set_palette(), and surface_lock().
Definition at line 4918 of file ddraw.c.
Referenced by ddraw_surface7_Restore(), and device_parent_surface_created().
void ddrawformat_from_wined3dformat | ( | DDPIXELFORMAT * | ddraw_format, |
enum wined3d_format_id | wined3d_format | ||
) |
Definition at line 33 of file utils.c.
Referenced by d3d7_EnumZBufferFormats(), d3d_device2_EnumTextureFormats(), d3d_device3_GetRenderState(), d3d_device3_SetRenderState(), d3d_device3_SetTexture(), d3d_device7_EnumTextureFormats(), ddraw7_EnumDisplayModes(), ddraw7_GetDisplayMode(), ddraw7_SetDisplayMode(), and ddraw_surface_create().
void DDSD2_to_DDSD | ( | const DDSURFACEDESC2 * | in, |
DDSURFACEDESC * | out | ||
) |
Definition at line 1262 of file utils.c.
Referenced by ddraw_surface1_Lock(), ddraw_surface2_Lock(), ddraw_surface3_GetSurfaceDesc(), ddraw_surface3_Lock(), and EnumDisplayModesCallbackThunk().
void DDSD_to_DDSD2 | ( | const DDSURFACEDESC * | in, |
DDSURFACEDESC2 * | out | ||
) |
Definition at line 1218 of file utils.c.
Referenced by ddraw1_CreateSurface(), ddraw1_EnumDisplayModes(), ddraw1_EnumSurfaces(), ddraw2_CreateSurface(), ddraw2_EnumDisplayModes(), ddraw2_EnumSurfaces(), ddraw_surface1_Initialize(), ddraw_surface2_Initialize(), ddraw_surface3_Initialize(), and ddraw_surface3_SetSurfaceDesc().
|
inlinestatic |
Definition at line 602 of file ddraw_private.h.
Referenced by ddraw_surface_create(), and ddraw_surface_init().
|
inlinestatic |
Definition at line 609 of file ddraw_private.h.
Referenced by ddraw_surface7_GetDC(), ddraw_surface_set_palette(), and validate_surface_palette().
Definition at line 923 of file utils.c.
Referenced by d3d_device3_Begin(), d3d_device7_DrawIndexedPrimitive(), d3d_device7_DrawIndexedPrimitiveStrided(), d3d_device7_DrawIndexedPrimitiveVB(), d3d_device7_DrawPrimitive(), d3d_device7_DrawPrimitiveStrided(), d3d_device7_DrawPrimitiveVB(), d3d_vertex_buffer7_GetVertexBufferDesc(), d3d_vertex_buffer7_ProcessVertices(), d3d_vertex_buffer_create(), and process_vertices_strided().
Definition at line 1206 of file utils.c.
Referenced by d3d_device7_BeginStateBlock(), d3d_device7_CreateStateBlock(), d3d_device7_EndStateBlock(), d3d_device7_GetLight(), d3d_device7_GetLightEnable(), d3d_device7_LightEnable(), d3d_device7_SetLight(), ddraw_surface7_SetPrivateData(), ddraw_surface7_SetSurfaceDesc(), ddraw_surface_create(), and ddraw_surface_set_color_key().
|
inlinestatic |
Definition at line 358 of file ddraw_private.h.
Referenced by d3d_device1_AddRef(), d3d_device1_AddViewport(), d3d_device1_BeginScene(), d3d_device1_CreateExecuteBuffer(), d3d_device1_CreateMatrix(), d3d_device1_DeleteMatrix(), d3d_device1_DeleteViewport(), d3d_device1_EndScene(), d3d_device1_EnumTextureFormats(), d3d_device1_Execute(), d3d_device1_GetCaps(), d3d_device1_GetDirect3D(), d3d_device1_GetMatrix(), d3d_device1_GetStats(), d3d_device1_NextViewport(), d3d_device1_QueryInterface(), d3d_device1_Release(), d3d_device1_SetMatrix(), and d3d_device1_SwapTextureHandles().
|
inlinestatic |
Definition at line 363 of file ddraw_private.h.
Referenced by d3d_device2_AddRef(), d3d_device2_AddViewport(), d3d_device2_Begin(), d3d_device2_BeginIndexed(), d3d_device2_BeginScene(), d3d_device2_DeleteViewport(), d3d_device2_DrawIndexedPrimitive(), d3d_device2_DrawPrimitive(), d3d_device2_End(), d3d_device2_EndScene(), d3d_device2_EnumTextureFormats(), d3d_device2_GetCaps(), d3d_device2_GetClipStatus(), d3d_device2_GetCurrentViewport(), d3d_device2_GetDirect3D(), d3d_device2_GetLightState(), d3d_device2_GetRenderState(), d3d_device2_GetRenderTarget(), d3d_device2_GetStats(), d3d_device2_GetTransform(), d3d_device2_Index(), d3d_device2_MultiplyTransform(), d3d_device2_NextViewport(), d3d_device2_QueryInterface(), d3d_device2_Release(), d3d_device2_SetClipStatus(), d3d_device2_SetCurrentViewport(), d3d_device2_SetLightState(), d3d_device2_SetRenderState(), d3d_device2_SetRenderTarget(), d3d_device2_SetTransform(), d3d_device2_SwapTextureHandles(), and d3d_device2_Vertex().
|
inlinestatic |
Definition at line 368 of file ddraw_private.h.
Referenced by d3d_device3_AddRef(), d3d_device3_AddViewport(), d3d_device3_Begin(), d3d_device3_BeginScene(), d3d_device3_ComputeSphereVisibility(), d3d_device3_DeleteViewport(), d3d_device3_DrawIndexedPrimitive(), d3d_device3_DrawIndexedPrimitiveStrided(), d3d_device3_DrawIndexedPrimitiveVB(), d3d_device3_DrawPrimitive(), d3d_device3_DrawPrimitiveStrided(), d3d_device3_DrawPrimitiveVB(), d3d_device3_End(), d3d_device3_EndScene(), d3d_device3_EnumTextureFormats(), d3d_device3_GetCaps(), d3d_device3_GetClipStatus(), d3d_device3_GetCurrentViewport(), d3d_device3_GetDirect3D(), d3d_device3_GetLightState(), d3d_device3_GetRenderState(), d3d_device3_GetRenderTarget(), d3d_device3_GetTexture(), d3d_device3_GetTextureStageState(), d3d_device3_GetTransform(), d3d_device3_MultiplyTransform(), d3d_device3_NextViewport(), d3d_device3_QueryInterface(), d3d_device3_Release(), d3d_device3_SetClipStatus(), d3d_device3_SetCurrentViewport(), d3d_device3_SetLightState(), d3d_device3_SetRenderState(), d3d_device3_SetRenderTarget(), d3d_device3_SetTexture(), d3d_device3_SetTextureStageState(), d3d_device3_SetTransform(), d3d_device3_ValidateDevice(), and d3d_device3_Vertex().
|
inlinestatic |
Definition at line 373 of file ddraw_private.h.
Referenced by d3d_device7_AddRef(), d3d_device7_ApplyStateBlock(), d3d_device7_BeginScene(), d3d_device7_BeginStateBlock(), d3d_device7_CaptureStateBlock(), d3d_device7_Clear(), d3d_device7_ComputeSphereVisibility(), d3d_device7_CreateStateBlock(), d3d_device7_DeleteStateBlock(), d3d_device7_DrawIndexedPrimitive(), d3d_device7_DrawIndexedPrimitiveStrided(), d3d_device7_DrawIndexedPrimitiveVB(), d3d_device7_DrawPrimitive(), d3d_device7_DrawPrimitiveStrided(), d3d_device7_DrawPrimitiveVB(), d3d_device7_EndScene(), d3d_device7_EndStateBlock(), d3d_device7_EnumTextureFormats(), d3d_device7_GetCaps(), d3d_device7_GetClipPlane(), d3d_device7_GetDirect3D(), d3d_device7_GetLight(), d3d_device7_GetLightEnable(), d3d_device7_GetMaterial(), d3d_device7_GetRenderState(), d3d_device7_GetRenderTarget(), d3d_device7_GetTexture(), d3d_device7_GetTextureStageState(), d3d_device7_GetTransform(), d3d_device7_GetViewport(), d3d_device7_LightEnable(), d3d_device7_Load(), d3d_device7_MultiplyTransform(), d3d_device7_QueryInterface(), d3d_device7_Release(), d3d_device7_SetClipPlane(), d3d_device7_SetLight(), d3d_device7_SetMaterial(), d3d_device7_SetRenderState(), d3d_device7_SetRenderTarget(), d3d_device7_SetTexture(), d3d_device7_SetTextureStageState(), d3d_device7_SetTransform(), d3d_device7_SetViewport(), and d3d_device7_ValidateDevice().
|
inlinestatic |
Definition at line 223 of file ddraw_private.h.
Referenced by d3d_texture1_AddRef(), d3d_texture1_GetHandle(), d3d_texture1_Load(), d3d_texture1_PaletteChanged(), d3d_texture1_QueryInterface(), and d3d_texture1_Release().
|
inlinestatic |
Definition at line 228 of file ddraw_private.h.
Referenced by d3d_texture2_AddRef(), d3d_texture2_GetHandle(), d3d_texture2_Load(), d3d_texture2_QueryInterface(), and d3d_texture2_Release().
|
inlinestatic |
Definition at line 410 of file ddraw_private.h.
Referenced by ddraw1_CreatePalette(), ddraw2_CreatePalette(), ddraw4_CreatePalette(), ddraw_palette_AddRef(), ddraw_palette_GetCaps(), ddraw_palette_GetEntries(), ddraw_palette_Release(), and ddraw_palette_SetEntries().
|
inlinestatic |
Definition at line 233 of file ddraw_private.h.
Referenced by ddraw_surface1_AddAttachedSurface(), ddraw_surface1_AddOverlayDirtyRect(), ddraw_surface1_AddRef(), ddraw_surface1_Blt(), ddraw_surface1_BltBatch(), ddraw_surface1_BltFast(), ddraw_surface1_DeleteAttachedSurface(), ddraw_surface1_EnumAttachedSurfaces(), ddraw_surface1_EnumOverlayZOrders(), ddraw_surface1_Flip(), ddraw_surface1_GetAttachedSurface(), ddraw_surface1_GetBltStatus(), ddraw_surface1_GetCaps(), ddraw_surface1_GetClipper(), ddraw_surface1_GetColorKey(), ddraw_surface1_GetDC(), ddraw_surface1_GetFlipStatus(), ddraw_surface1_GetOverlayPosition(), ddraw_surface1_GetPalette(), ddraw_surface1_GetPixelFormat(), ddraw_surface1_GetSurfaceDesc(), ddraw_surface1_Initialize(), ddraw_surface1_IsLost(), ddraw_surface1_Lock(), ddraw_surface1_QueryInterface(), ddraw_surface1_Release(), ddraw_surface1_ReleaseDC(), ddraw_surface1_Restore(), ddraw_surface1_SetClipper(), ddraw_surface1_SetColorKey(), ddraw_surface1_SetOverlayPosition(), ddraw_surface1_SetPalette(), ddraw_surface1_Unlock(), ddraw_surface1_UpdateOverlay(), ddraw_surface1_UpdateOverlayDisplay(), and ddraw_surface1_UpdateOverlayZOrder().
|
inlinestatic |
Definition at line 238 of file ddraw_private.h.
Referenced by ddraw_surface2_AddAttachedSurface(), ddraw_surface2_AddOverlayDirtyRect(), ddraw_surface2_AddRef(), ddraw_surface2_Blt(), ddraw_surface2_BltBatch(), ddraw_surface2_BltFast(), ddraw_surface2_DeleteAttachedSurface(), ddraw_surface2_EnumAttachedSurfaces(), ddraw_surface2_EnumOverlayZOrders(), ddraw_surface2_Flip(), ddraw_surface2_GetAttachedSurface(), ddraw_surface2_GetBltStatus(), ddraw_surface2_GetCaps(), ddraw_surface2_GetClipper(), ddraw_surface2_GetColorKey(), ddraw_surface2_GetDC(), ddraw_surface2_GetDDInterface(), ddraw_surface2_GetFlipStatus(), ddraw_surface2_GetOverlayPosition(), ddraw_surface2_GetPalette(), ddraw_surface2_GetPixelFormat(), ddraw_surface2_GetSurfaceDesc(), ddraw_surface2_Initialize(), ddraw_surface2_IsLost(), ddraw_surface2_Lock(), ddraw_surface2_PageLock(), ddraw_surface2_PageUnlock(), ddraw_surface2_QueryInterface(), ddraw_surface2_Release(), ddraw_surface2_ReleaseDC(), ddraw_surface2_Restore(), ddraw_surface2_SetClipper(), ddraw_surface2_SetColorKey(), ddraw_surface2_SetOverlayPosition(), ddraw_surface2_SetPalette(), ddraw_surface2_Unlock(), ddraw_surface2_UpdateOverlay(), ddraw_surface2_UpdateOverlayDisplay(), and ddraw_surface2_UpdateOverlayZOrder().
|
inlinestatic |
Definition at line 243 of file ddraw_private.h.
Referenced by ddraw_surface3_AddAttachedSurface(), ddraw_surface3_AddOverlayDirtyRect(), ddraw_surface3_AddRef(), ddraw_surface3_Blt(), ddraw_surface3_BltBatch(), ddraw_surface3_BltFast(), ddraw_surface3_DeleteAttachedSurface(), ddraw_surface3_EnumAttachedSurfaces(), ddraw_surface3_EnumOverlayZOrders(), ddraw_surface3_Flip(), ddraw_surface3_GetAttachedSurface(), ddraw_surface3_GetBltStatus(), ddraw_surface3_GetCaps(), ddraw_surface3_GetClipper(), ddraw_surface3_GetColorKey(), ddraw_surface3_GetDC(), ddraw_surface3_GetDDInterface(), ddraw_surface3_GetFlipStatus(), ddraw_surface3_GetOverlayPosition(), ddraw_surface3_GetPalette(), ddraw_surface3_GetPixelFormat(), ddraw_surface3_GetSurfaceDesc(), ddraw_surface3_Initialize(), ddraw_surface3_IsLost(), ddraw_surface3_Lock(), ddraw_surface3_PageLock(), ddraw_surface3_PageUnlock(), ddraw_surface3_QueryInterface(), ddraw_surface3_Release(), ddraw_surface3_ReleaseDC(), ddraw_surface3_Restore(), ddraw_surface3_SetClipper(), ddraw_surface3_SetColorKey(), ddraw_surface3_SetOverlayPosition(), ddraw_surface3_SetPalette(), ddraw_surface3_SetSurfaceDesc(), ddraw_surface3_Unlock(), ddraw_surface3_UpdateOverlay(), ddraw_surface3_UpdateOverlayDisplay(), and ddraw_surface3_UpdateOverlayZOrder().
|
inlinestatic |
Definition at line 248 of file ddraw_private.h.
Referenced by ddraw_surface4_AddAttachedSurface(), ddraw_surface4_AddOverlayDirtyRect(), ddraw_surface4_AddRef(), ddraw_surface4_Blt(), ddraw_surface4_BltBatch(), ddraw_surface4_BltFast(), ddraw_surface4_ChangeUniquenessValue(), ddraw_surface4_DeleteAttachedSurface(), ddraw_surface4_EnumAttachedSurfaces(), ddraw_surface4_EnumOverlayZOrders(), ddraw_surface4_Flip(), ddraw_surface4_FreePrivateData(), ddraw_surface4_GetAttachedSurface(), ddraw_surface4_GetBltStatus(), ddraw_surface4_GetCaps(), ddraw_surface4_GetClipper(), ddraw_surface4_GetColorKey(), ddraw_surface4_GetDC(), ddraw_surface4_GetDDInterface(), ddraw_surface4_GetFlipStatus(), ddraw_surface4_GetOverlayPosition(), ddraw_surface4_GetPalette(), ddraw_surface4_GetPixelFormat(), ddraw_surface4_GetPrivateData(), ddraw_surface4_GetSurfaceDesc(), ddraw_surface4_GetUniquenessValue(), ddraw_surface4_Initialize(), ddraw_surface4_IsLost(), ddraw_surface4_Lock(), ddraw_surface4_PageLock(), ddraw_surface4_PageUnlock(), ddraw_surface4_QueryInterface(), ddraw_surface4_Release(), ddraw_surface4_ReleaseDC(), ddraw_surface4_Restore(), ddraw_surface4_SetClipper(), ddraw_surface4_SetColorKey(), ddraw_surface4_SetOverlayPosition(), ddraw_surface4_SetPalette(), ddraw_surface4_SetPrivateData(), ddraw_surface4_SetSurfaceDesc(), ddraw_surface4_Unlock(), ddraw_surface4_UpdateOverlay(), ddraw_surface4_UpdateOverlayDisplay(), and ddraw_surface4_UpdateOverlayZOrder().
|
inlinestatic |
Definition at line 253 of file ddraw_private.h.
Referenced by d3d_device2_GetRenderTarget(), d3d_device3_GetRenderTarget(), d3d_device_update_depth_stencil(), ddraw1_DuplicateSurface(), ddraw1_GetGDISurface(), ddraw2_DuplicateSurface(), ddraw2_GetGDISurface(), ddraw4_DuplicateSurface(), ddraw4_GetGDISurface(), ddraw4_GetSurfaceFromDC(), ddraw7_FlipToGDISurface(), ddraw_surface1_GetAttachedSurface(), ddraw_surface2_GetAttachedSurface(), ddraw_surface3_GetAttachedSurface(), ddraw_surface4_GetAttachedSurface(), ddraw_surface7_AddAttachedSurface(), ddraw_surface7_AddRef(), ddraw_surface7_Blt(), ddraw_surface7_BltFast(), ddraw_surface7_DeleteAttachedSurface(), ddraw_surface7_EnumAttachedSurfaces(), ddraw_surface7_Flip(), ddraw_surface7_FreePrivateData(), ddraw_surface7_GetAttachedSurface(), ddraw_surface7_GetCaps(), ddraw_surface7_GetClipper(), ddraw_surface7_GetColorKey(), ddraw_surface7_GetDC(), ddraw_surface7_GetDDInterface(), ddraw_surface7_GetLOD(), ddraw_surface7_GetOverlayPosition(), ddraw_surface7_GetPalette(), ddraw_surface7_GetPixelFormat(), ddraw_surface7_GetPriority(), ddraw_surface7_GetPrivateData(), ddraw_surface7_GetSurfaceDesc(), ddraw_surface7_IsLost(), ddraw_surface7_Lock(), ddraw_surface7_QueryInterface(), ddraw_surface7_Release(), ddraw_surface7_ReleaseDC(), ddraw_surface7_Restore(), ddraw_surface7_SetClipper(), ddraw_surface7_SetColorKey(), ddraw_surface7_SetLOD(), ddraw_surface7_SetOverlayPosition(), ddraw_surface7_SetPalette(), ddraw_surface7_SetPriority(), ddraw_surface7_SetPrivateData(), ddraw_surface7_SetSurfaceDesc(), ddraw_surface7_Unlock(), ddraw_surface7_UpdateOverlay(), ddraw_surface7_UpdateOverlayZOrder(), EnumCallback(), EnumCallback2(), EnumSurfacesCallback2Thunk(), EnumSurfacesCallbackThunk(), and get_sub_mimaplevel().
Definition at line 51 of file light.c.
Referenced by d3d_light_SetLight(), d3d_viewport_AddLight(), and viewport_activate().
Definition at line 75 of file light.c.
Referenced by d3d_light_SetLight(), and d3d_viewport_DeleteLight().
void material_activate | ( | struct d3d_material * | material | ) |
Definition at line 447 of file material.c.
Referenced by d3d_device3_SetLightState().
Definition at line 1173 of file utils.c.
Referenced by d3d_device3_MultiplyTransform(), d3d_device3_SetTransform(), d3d_viewport_TransformVertices(), get_modelview_matrix(), get_projection_matrix(), get_texture_matrix(), prepare_clip_space_planes(), process_vertices_strided(), update_clip_space(), and wined3d_device_multiply_transform().
struct d3d_device * unsafe_impl_from_IDirect3DDevice | ( | IDirect3DDevice * | iface | ) |
Definition at line 6871 of file device.c.
Referenced by d3d_material1_GetHandle(), and d3d_texture1_GetHandle().
struct d3d_device * unsafe_impl_from_IDirect3DDevice2 | ( | IDirect3DDevice2 * | iface | ) |
Definition at line 6864 of file device.c.
Referenced by d3d_material2_GetHandle(), and d3d_texture2_GetHandle().
struct d3d_device * unsafe_impl_from_IDirect3DDevice3 | ( | IDirect3DDevice3 * | iface | ) |
Definition at line 6857 of file device.c.
Referenced by d3d_material3_GetHandle(), and d3d_vertex_buffer7_ProcessVertices().
struct d3d_device * unsafe_impl_from_IDirect3DDevice7 | ( | IDirect3DDevice7 * | iface | ) |
Definition at line 6850 of file device.c.
Referenced by d3d_vertex_buffer7_ProcessVertices().
struct d3d_execute_buffer * unsafe_impl_from_IDirect3DExecuteBuffer | ( | IDirect3DExecuteBuffer * | iface | ) |
Definition at line 809 of file executebuffer.c.
Referenced by d3d_device1_Execute().
Definition at line 254 of file light.c.
Referenced by d3d_viewport_AddLight(), d3d_viewport_DeleteLight(), and d3d_viewport_NextLight().
struct ddraw_surface * unsafe_impl_from_IDirect3DTexture | ( | IDirect3DTexture * | iface | ) |
Definition at line 5728 of file surface.c.
Referenced by d3d_device1_SwapTextureHandles(), and d3d_texture1_Load().
struct ddraw_surface * unsafe_impl_from_IDirect3DTexture2 | ( | IDirect3DTexture2 * | iface | ) |
Definition at line 5721 of file surface.c.
Referenced by d3d_device2_SwapTextureHandles(), d3d_device3_SetTexture(), and d3d_texture2_Load().
struct d3d_vertex_buffer * unsafe_impl_from_IDirect3DVertexBuffer | ( | IDirect3DVertexBuffer * | iface | ) |
struct d3d_vertex_buffer * unsafe_impl_from_IDirect3DVertexBuffer7 | ( | IDirect3DVertexBuffer7 * | iface | ) |
Definition at line 486 of file vertexbuffer.c.
Referenced by d3d_device3_DrawIndexedPrimitiveVB(), d3d_device3_DrawPrimitiveVB(), d3d_device7_DrawIndexedPrimitiveVB(), d3d_device7_DrawPrimitiveVB(), and d3d_vertex_buffer7_ProcessVertices().
struct d3d_viewport * unsafe_impl_from_IDirect3DViewport | ( | IDirect3DViewport * | iface | ) |
Definition at line 1138 of file viewport.c.
Referenced by d3d_device1_AddViewport(), d3d_device1_DeleteViewport(), d3d_device1_Execute(), and d3d_device1_NextViewport().
struct d3d_viewport * unsafe_impl_from_IDirect3DViewport2 | ( | IDirect3DViewport2 * | iface | ) |
Definition at line 1130 of file viewport.c.
Referenced by d3d_device2_AddViewport(), d3d_device2_DeleteViewport(), d3d_device2_NextViewport(), and d3d_device2_SetCurrentViewport().
struct d3d_viewport * unsafe_impl_from_IDirect3DViewport3 | ( | IDirect3DViewport3 * | iface | ) |
Definition at line 1123 of file viewport.c.
Referenced by d3d_device3_AddViewport(), d3d_device3_DeleteViewport(), d3d_device3_NextViewport(), and d3d_device3_SetCurrentViewport().
struct ddraw_clipper * unsafe_impl_from_IDirectDrawClipper | ( | IDirectDrawClipper * | iface | ) |
Definition at line 329 of file clipper.c.
Referenced by ddraw_surface7_SetClipper().
struct ddraw_palette * unsafe_impl_from_IDirectDrawPalette | ( | IDirectDrawPalette * | iface | ) |
struct ddraw_surface * unsafe_impl_from_IDirectDrawSurface | ( | IDirectDrawSurface * | iface | ) |
Definition at line 5705 of file surface.c.
Referenced by d3d2_CreateDevice(), d3d_device2_SetRenderTarget(), ddraw1_DuplicateSurface(), ddraw2_DuplicateSurface(), ddraw_surface1_AddAttachedSurface(), ddraw_surface1_Blt(), ddraw_surface1_BltFast(), ddraw_surface1_DeleteAttachedSurface(), ddraw_surface1_Flip(), ddraw_surface1_UpdateOverlay(), and ddraw_surface1_UpdateOverlayZOrder().
struct ddraw_surface * unsafe_impl_from_IDirectDrawSurface4 | ( | IDirectDrawSurface4 * | iface | ) |
Definition at line 5657 of file surface.c.
Referenced by d3d3_CreateDevice(), d3d_device3_SetRenderTarget(), ddraw4_DuplicateSurface(), ddraw_surface4_AddAttachedSurface(), ddraw_surface4_Blt(), ddraw_surface4_BltFast(), ddraw_surface4_DeleteAttachedSurface(), ddraw_surface4_Flip(), ddraw_surface4_UpdateOverlay(), and ddraw_surface4_UpdateOverlayZOrder().
struct ddraw_surface * unsafe_impl_from_IDirectDrawSurface7 | ( | IDirectDrawSurface7 * | iface | ) |
Definition at line 5641 of file surface.c.
Referenced by copy_mipmap_chain(), d3d7_CreateDevice(), d3d_device3_GetTexture(), d3d_device7_Load(), d3d_device7_PreLoad(), d3d_device7_SetRenderTarget(), d3d_device7_SetTexture(), ddraw7_DuplicateSurface(), ddraw7_EnumSurfaces(), ddraw_surface7_AddAttachedSurface(), ddraw_surface7_Blt(), ddraw_surface7_BltFast(), ddraw_surface7_DeleteAttachedSurface(), ddraw_surface7_Flip(), ddraw_surface7_UpdateOverlay(), and is_mip_level_subset().
void viewport_activate | ( | struct d3d_viewport * | viewport, |
BOOL | ignore_lights | ||
) |
Definition at line 55 of file viewport.c.
Referenced by d3d_device3_SetCurrentViewport(), d3d_viewport_Clear(), d3d_viewport_Clear2(), d3d_viewport_SetViewport(), d3d_viewport_SetViewport2(), and d3d_viewport_TransformVertices().
BOOL wined3d_colour_from_ddraw_colour | ( | const DDPIXELFORMAT * | pf, |
const struct ddraw_palette * | palette, | ||
DWORD | colour, | ||
struct wined3d_color * | wined3d_colour | ||
) |
Definition at line 596 of file utils.c.
Referenced by ddraw_surface_blt().
enum wined3d_format_id wined3dformat_from_ddrawformat | ( | const DDPIXELFORMAT * | format | ) |
Definition at line 333 of file utils.c.
Referenced by ddraw_surface7_SetSurfaceDesc(), and ddraw_surface_create().
Definition at line 564 of file utils.c.
Referenced by d3d_vertex_buffer7_Lock(), and surface_lock().
|
extern |
Definition at line 43 of file ddraw_private.h.