99 TRACE(
"iface %p.\n", iface);
112 TRACE(
"iface %p.\n", iface);
154 WARN(
"Failed to create wined3d stateblock, hr %#x.\n",
hr);
static BOOL heap_free(void *mem)
#define InterlockedIncrement
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
enum _D3DSTATEBLOCKTYPE D3DSTATEBLOCKTYPE
static HRESULT WINAPI d3d9_stateblock_QueryInterface(IDirect3DStateBlock9 *iface, REFIID riid, void **out)
static HRESULT WINAPI d3d9_stateblock_Apply(IDirect3DStateBlock9 *iface)
static const struct IDirect3DStateBlock9Vtbl d3d9_stateblock_vtbl
static HRESULT WINAPI d3d9_stateblock_GetDevice(IDirect3DStateBlock9 *iface, IDirect3DDevice9 **device)
static ULONG WINAPI d3d9_stateblock_AddRef(IDirect3DStateBlock9 *iface)
static ULONG WINAPI d3d9_stateblock_Release(IDirect3DStateBlock9 *iface)
HRESULT stateblock_init(struct d3d9_stateblock *stateblock, struct d3d9_device *device, D3DSTATEBLOCKTYPE type, struct wined3d_stateblock *wined3d_stateblock)
static HRESULT WINAPI d3d9_stateblock_Capture(IDirect3DStateBlock9 *iface)
static struct d3d9_stateblock * impl_from_IDirect3DStateBlock9(IDirect3DStateBlock9 *iface)
#define IDirect3DStateBlock9_AddRef(p)
#define IDirect3DDevice9Ex_Release(p)
#define IDirect3DDevice9Ex_AddRef(p)
#define IDirect3DDevice9_AddRef(p)
GLuint GLuint GLsizei GLenum type
#define IsEqualGUID(rguid1, rguid2)
struct wined3d_stateblock * wined3d_stateblock
IDirect3DDevice9Ex * parent_device
IDirect3DStateBlock9 IDirect3DStateBlock9_iface
#define CONTAINING_RECORD(address, type, field)
ULONG CDECL wined3d_stateblock_decref(struct wined3d_stateblock *stateblock)
void CDECL wined3d_stateblock_capture(struct wined3d_stateblock *stateblock)
HRESULT CDECL wined3d_stateblock_create(struct wined3d_device *device, enum wined3d_stateblock_type type, struct wined3d_stateblock **stateblock)
void CDECL wined3d_stateblock_apply(const struct wined3d_stateblock *stateblock)
void WINAPI wined3d_mutex_unlock(void)
void WINAPI wined3d_mutex_lock(void)