ReactOS 0.4.16-dev-336-gb667d82
|
#include "d3d9_device.h"
#include "d3d9_helpers.h"
#include "adapter.h"
#include <debug.h>
#include "d3d9_create.h"
#include "d3d9_mipmap.h"
Go to the source code of this file.
Macros | |
#define | LOCK_D3DDEVICE9() if (This->bLockDevice) EnterCriticalSection(&This->CriticalSection); |
#define | UNLOCK_D3DDEVICE9() if (This->bLockDevice) LeaveCriticalSection(&This->CriticalSection); |
#define LOCK_D3DDEVICE9 | ( | ) | if (This->bLockDevice) EnterCriticalSection(&This->CriticalSection); |
Definition at line 15 of file d3d9_device.c.
#define UNLOCK_D3DDEVICE9 | ( | ) | if (This->bLockDevice) LeaveCriticalSection(&This->CriticalSection); |
Definition at line 16 of file d3d9_device.c.
ULONG WINAPI IDirect3DDevice9Base_AddRef | ( | LPDIRECT3DDEVICE9 | iface | ) |
Definition at line 50 of file d3d9_device.c.
HRESULT WINAPI IDirect3DDevice9Base_ColorFill | ( | LPDIRECT3DDEVICE9 | iface, |
IDirect3DSurface9 * | pSurface, | ||
CONST RECT * | pRect, | ||
D3DCOLOR | color | ||
) |
Definition at line 940 of file d3d9_device.c.
HRESULT WINAPI IDirect3DDevice9Base_CreateAdditionalSwapChain | ( | LPDIRECT3DDEVICE9 | iface, |
D3DPRESENT_PARAMETERS * | pPresentationParameters, | ||
IDirect3DSwapChain9 ** | ppSwapChain | ||
) |
Definition at line 343 of file d3d9_device.c.
HRESULT WINAPI IDirect3DDevice9Base_CreateCubeTexture | ( | LPDIRECT3DDEVICE9 | iface, |
UINT | EdgeLength, | ||
UINT | Levels, | ||
DWORD | Usage, | ||
D3DFORMAT | Format, | ||
D3DPOOL | Pool, | ||
IDirect3DCubeTexture9 ** | ppCubeTexture, | ||
HANDLE * | pSharedHandle | ||
) |
Definition at line 827 of file d3d9_device.c.
HRESULT WINAPI IDirect3DDevice9Base_CreateDepthStencilSurface | ( | LPDIRECT3DDEVICE9 | iface, |
UINT | Width, | ||
UINT | Height, | ||
D3DFORMAT | Format, | ||
D3DMULTISAMPLE_TYPE | MultiSample, | ||
DWORD | MultisampleQuality, | ||
BOOL | Discard, | ||
IDirect3DSurface9 ** | ppSurface, | ||
HANDLE * | pSharedHandle | ||
) |
Definition at line 855 of file d3d9_device.c.
HRESULT WINAPI IDirect3DDevice9Base_CreateIndexBuffer | ( | LPDIRECT3DDEVICE9 | iface, |
UINT | Length, | ||
DWORD | Usage, | ||
D3DFORMAT | Format, | ||
D3DPOOL | Pool, | ||
IDirect3DIndexBuffer9 ** | ppIndexBuffer, | ||
HANDLE * | pSharedHandle | ||
) |
Definition at line 841 of file d3d9_device.c.
HRESULT WINAPI IDirect3DDevice9Base_CreateOffscreenPlainSurface | ( | LPDIRECT3DDEVICE9 | iface, |
UINT | Width, | ||
UINT | Height, | ||
D3DFORMAT | Format, | ||
D3DPOOL | Pool, | ||
IDirect3DSurface9 ** | ppSurface, | ||
HANDLE * | pSharedHandle | ||
) |
Definition at line 947 of file d3d9_device.c.
HRESULT WINAPI IDirect3DDevice9Base_CreateRenderTarget | ( | LPDIRECT3DDEVICE9 | iface, |
UINT | Width, | ||
UINT | Height, | ||
D3DFORMAT | Format, | ||
D3DMULTISAMPLE_TYPE | MultiSample, | ||
DWORD | MultisampleQuality, | ||
BOOL | Lockable, | ||
IDirect3DSurface9 ** | ppSurface, | ||
HANDLE * | pSharedHandle | ||
) |
Definition at line 848 of file d3d9_device.c.
HRESULT WINAPI IDirect3DDevice9Base_CreateTexture | ( | LPDIRECT3DDEVICE9 | iface, |
UINT | Width, | ||
UINT | Height, | ||
UINT | Levels, | ||
DWORD | Usage, | ||
D3DFORMAT | Format, | ||
D3DPOOL | Pool, | ||
IDirect3DTexture9 ** | ppTexture, | ||
HANDLE * | pSharedHandle | ||
) |
Definition at line 789 of file d3d9_device.c.
HRESULT WINAPI IDirect3DDevice9Base_CreateVertexBuffer | ( | LPDIRECT3DDEVICE9 | iface, |
UINT | Length, | ||
DWORD | Usage, | ||
DWORD | FVF, | ||
D3DPOOL | Pool, | ||
IDirect3DVertexBuffer9 ** | ppVertexBuffer, | ||
HANDLE * | pSharedHandle | ||
) |
Definition at line 834 of file d3d9_device.c.
HRESULT WINAPI IDirect3DDevice9Base_CreateVolumeTexture | ( | LPDIRECT3DDEVICE9 | iface, |
UINT | Width, | ||
UINT | Height, | ||
UINT | Depth, | ||
UINT | Levels, | ||
DWORD | Usage, | ||
D3DFORMAT | Format, | ||
D3DPOOL | Pool, | ||
IDirect3DVolumeTexture9 ** | ppVolumeTexture, | ||
HANDLE * | pSharedHandle | ||
) |
Definition at line 820 of file d3d9_device.c.
VOID WINAPI IDirect3DDevice9Base_Destroy | ( | LPDIRECT3DDEVICE9 | iface | ) |
Definition at line 955 of file d3d9_device.c.
HRESULT WINAPI IDirect3DDevice9Base_EvictManagedResources | ( | LPDIRECT3DDEVICE9 | iface | ) |
Definition at line 128 of file d3d9_device.c.
UINT WINAPI IDirect3DDevice9Base_GetAvailableTextureMem | ( | LPDIRECT3DDEVICE9 | iface | ) |
Definition at line 106 of file d3d9_device.c.
HRESULT WINAPI IDirect3DDevice9Base_GetBackBuffer | ( | LPDIRECT3DDEVICE9 | iface, |
UINT | iSwapChain, | ||
UINT | iBackBuffer, | ||
D3DBACKBUFFER_TYPE | Type, | ||
IDirect3DSurface9 ** | ppBackBuffer | ||
) |
Definition at line 568 of file d3d9_device.c.
HRESULT WINAPI IDirect3DDevice9Base_GetCreationParameters | ( | LPDIRECT3DDEVICE9 | iface, |
D3DDEVICE_CREATION_PARAMETERS * | pParameters | ||
) |
Definition at line 279 of file d3d9_device.c.
HRESULT WINAPI IDirect3DDevice9Base_GetDeviceCaps | ( | LPDIRECT3DDEVICE9 | iface, |
D3DCAPS9 * | pCaps | ||
) |
Definition at line 192 of file d3d9_device.c.
HRESULT WINAPI IDirect3DDevice9Base_GetDirect3D | ( | LPDIRECT3DDEVICE9 | iface, |
IDirect3D9 ** | ppD3D9 | ||
) |
Definition at line 153 of file d3d9_device.c.
HRESULT WINAPI IDirect3DDevice9Base_GetDisplayMode | ( | LPDIRECT3DDEVICE9 | iface, |
UINT | iSwapChain, | ||
D3DDISPLAYMODE * | pMode | ||
) |
Definition at line 232 of file d3d9_device.c.
HRESULT WINAPI IDirect3DDevice9Base_GetFrontBufferData | ( | LPDIRECT3DDEVICE9 | iface, |
UINT | iSwapChain, | ||
IDirect3DSurface9 * | pDestSurface | ||
) |
Definition at line 905 of file d3d9_device.c.
VOID WINAPI IDirect3DDevice9Base_GetGammaRamp | ( | LPDIRECT3DDEVICE9 | iface, |
UINT | iSwapChain, | ||
D3DGAMMARAMP * | pRamp | ||
) |
Definition at line 724 of file d3d9_device.c.
UINT WINAPI IDirect3DDevice9Base_GetNumberOfSwapChains | ( | LPDIRECT3DDEVICE9 | iface | ) |
Definition at line 455 of file d3d9_device.c.
Referenced by IDirect3DDevice9Base_Present().
HRESULT WINAPI IDirect3DDevice9Base_GetRasterStatus | ( | LPDIRECT3DDEVICE9 | iface, |
UINT | iSwapChain, | ||
D3DRASTER_STATUS * | pRasterStatus | ||
) |
Definition at line 618 of file d3d9_device.c.
HRESULT WINAPI IDirect3DDevice9Base_GetRenderTargetData | ( | LPDIRECT3DDEVICE9 | iface, |
IDirect3DSurface9 * | pRenderTarget, | ||
IDirect3DSurface9 * | pDestSurface | ||
) |
Definition at line 876 of file d3d9_device.c.
HRESULT WINAPI IDirect3DDevice9Base_GetSwapChain | ( | LPDIRECT3DDEVICE9 | iface, |
UINT | iSwapChain, | ||
IDirect3DSwapChain9 ** | ppSwapChain | ||
) |
Definition at line 402 of file d3d9_device.c.
Referenced by IDirect3DDevice9Base_GetBackBuffer(), IDirect3DDevice9Base_GetFrontBufferData(), IDirect3DDevice9Base_GetGammaRamp(), IDirect3DDevice9Base_GetRasterStatus(), IDirect3DDevice9Base_Present(), and IDirect3DDevice9Base_SetGammaRamp().
HRESULT WINAPI IDirect3DDevice9Base_Present | ( | LPDIRECT3DDEVICE9 | iface, |
CONST RECT * | pSourceRect, | ||
CONST RECT * | pDestRect, | ||
HWND | hDestWindowOverride, | ||
CONST RGNDATA * | pDirtyRegion | ||
) |
Definition at line 508 of file d3d9_device.c.
HRESULT WINAPI IDirect3DDevice9Base_QueryInterface | ( | LPDIRECT3DDEVICE9 | iface, |
REFIID | riid, | ||
void ** | ppvObject | ||
) |
Definition at line 35 of file d3d9_device.c.
ULONG WINAPI IDirect3DDevice9Base_Release | ( | LPDIRECT3DDEVICE9 | iface | ) |
Definition at line 58 of file d3d9_device.c.
HRESULT WINAPI IDirect3DDevice9Base_Reset | ( | LPDIRECT3DDEVICE9 | iface, |
D3DPRESENT_PARAMETERS * | pPresentationParameters | ||
) |
Definition at line 468 of file d3d9_device.c.
VOID WINAPI IDirect3DDevice9Base_SetCursorPosition | ( | LPDIRECT3DDEVICE9 | iface, |
int | X, | ||
int | Y, | ||
DWORD | Flags | ||
) |
Definition at line 307 of file d3d9_device.c.
HRESULT WINAPI IDirect3DDevice9Base_SetCursorProperties | ( | LPDIRECT3DDEVICE9 | iface, |
UINT | XHotSpot, | ||
UINT | YHotSpot, | ||
IDirect3DSurface9 * | pCursorBitmap | ||
) |
Definition at line 300 of file d3d9_device.c.
HRESULT WINAPI IDirect3DDevice9Base_SetDialogBoxMode | ( | LPDIRECT3DDEVICE9 | iface, |
BOOL | bEnableDialogs | ||
) |
Definition at line 646 of file d3d9_device.c.
VOID WINAPI IDirect3DDevice9Base_SetGammaRamp | ( | LPDIRECT3DDEVICE9 | iface, |
UINT | iSwapChain, | ||
DWORD | Flags, | ||
CONST D3DGAMMARAMP * | pRamp | ||
) |
Definition at line 678 of file d3d9_device.c.
BOOL WINAPI IDirect3DDevice9Base_ShowCursor | ( | LPDIRECT3DDEVICE9 | iface, |
BOOL | bShow | ||
) |
Definition at line 312 of file d3d9_device.c.
HRESULT WINAPI IDirect3DDevice9Base_StretchRect | ( | LPDIRECT3DDEVICE9 | iface, |
IDirect3DSurface9 * | pSourceSurface, | ||
CONST RECT * | pSourceRect, | ||
IDirect3DSurface9 * | pDestSurface, | ||
CONST RECT * | pDestRect, | ||
D3DTEXTUREFILTERTYPE | Filter | ||
) |
Definition at line 933 of file d3d9_device.c.
HRESULT WINAPI IDirect3DDevice9Base_TestCooperativeLevel | ( | LPDIRECT3DDEVICE9 | iface | ) |
Definition at line 84 of file d3d9_device.c.
HRESULT WINAPI IDirect3DDevice9Base_UpdateSurface | ( | LPDIRECT3DDEVICE9 | iface, |
IDirect3DSurface9 * | pSourceSurface, | ||
CONST RECT * | pSourceRect, | ||
IDirect3DSurface9 * | pDestinationSurface, | ||
CONST POINT * | pDestPoint | ||
) |
Definition at line 862 of file d3d9_device.c.
HRESULT WINAPI IDirect3DDevice9Base_UpdateTexture | ( | LPDIRECT3DDEVICE9 | iface, |
IDirect3DBaseTexture9 * | pSourceTexture, | ||
IDirect3DBaseTexture9 * | pDestinationTexture | ||
) |
Definition at line 869 of file d3d9_device.c.
VOID WINAPI IDirect3DDevice9Base_VirtualDestructor | ( | LPDIRECT3DDEVICE9 | iface | ) |
Definition at line 960 of file d3d9_device.c.
LPDIRECT3DDEVICE9_INT IDirect3DDevice9ToImpl | ( | LPDIRECT3DDEVICE9 | iface | ) |
Definition at line 19 of file d3d9_device.c.
Referenced by D3D9BaseObject_GetDeviceInt(), IDirect3DDevice9Base_AddRef(), IDirect3DDevice9Base_CreateAdditionalSwapChain(), IDirect3DDevice9Base_CreateTexture(), IDirect3DDevice9Base_GetAvailableTextureMem(), IDirect3DDevice9Base_GetBackBuffer(), IDirect3DDevice9Base_GetCreationParameters(), IDirect3DDevice9Base_GetDeviceCaps(), IDirect3DDevice9Base_GetDirect3D(), IDirect3DDevice9Base_GetDisplayMode(), IDirect3DDevice9Base_GetFrontBufferData(), IDirect3DDevice9Base_GetGammaRamp(), IDirect3DDevice9Base_GetNumberOfSwapChains(), IDirect3DDevice9Base_GetRasterStatus(), IDirect3DDevice9Base_GetSwapChain(), IDirect3DDevice9Base_Present(), IDirect3DDevice9Base_QueryInterface(), IDirect3DDevice9Base_Release(), and IDirect3DDevice9Base_SetGammaRamp().
|
static |
Definition at line 27 of file d3d9_device.c.
Referenced by IDirect3DDevice9Base_CreateTexture().