53 TRACE(
"iface %p.\n", iface);
63 TRACE(
"iface %p.\n", iface);
82 TRACE(
"iface %p, guid %s, data %p, data_size %u, flags %#x.\n",
92 TRACE(
"iface %p, guid %s, data %p, data_size %p.\n",
120 TRACE(
"iface %p, desc %p.\n", iface,
desc);
145 TRACE(
"iface %p, locked_box %p, box %p, flags %#x.\n",
169 TRACE(
"iface %p.\n", iface);
214 volume->resource.refcount = 0;
217 volume->sub_resource_idx = sub_resource_idx;
static BOOL heap_free(void *mem)
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
#define STDMETHODCALLTYPE
HRESULT d3d8_resource_get_private_data(struct d3d8_resource *resource, const GUID *guid, void *data, DWORD *data_size)
void d3d8_resource_cleanup(struct d3d8_resource *resource)
void d3d8_resource_init(struct d3d8_resource *resource)
HRESULT d3d8_resource_set_private_data(struct d3d8_resource *resource, const GUID *guid, const void *data, DWORD data_size, DWORD flags)
HRESULT d3d8_resource_free_private_data(struct d3d8_resource *resource, const GUID *guid)
unsigned int wined3dmapflags_from_d3dmapflags(unsigned int flags) DECLSPEC_HIDDEN
D3DFORMAT d3dformat_from_wined3dformat(enum wined3d_format_id format) DECLSPEC_HIDDEN
static DWORD d3dusage_from_wined3dusage(unsigned int usage)
static D3DPOOL d3dpool_from_wined3daccess(unsigned int access, unsigned int usage)
#define D3DERR_INVALIDCALL
static void STDMETHODCALLTYPE volume_wined3d_object_destroyed(void *parent)
void volume_init(struct d3d8_volume *volume, struct wined3d_texture *wined3d_texture, unsigned int sub_resource_idx, const struct wined3d_parent_ops **parent_ops)
static HRESULT WINAPI d3d8_volume_GetDevice(IDirect3DVolume8 *iface, IDirect3DDevice8 **device)
static HRESULT WINAPI d3d8_volume_GetContainer(IDirect3DVolume8 *iface, REFIID riid, void **container)
static ULONG WINAPI d3d8_volume_AddRef(IDirect3DVolume8 *iface)
static HRESULT WINAPI d3d8_volume_SetPrivateData(IDirect3DVolume8 *iface, REFGUID guid, const void *data, DWORD data_size, DWORD flags)
static HRESULT WINAPI d3d8_volume_GetPrivateData(IDirect3DVolume8 *iface, REFGUID guid, void *data, DWORD *data_size)
static const IDirect3DVolume8Vtbl d3d8_volume_vtbl
static HRESULT WINAPI d3d8_volume_GetDesc(IDirect3DVolume8 *iface, D3DVOLUME_DESC *desc)
static struct d3d8_volume * impl_from_IDirect3DVolume8(IDirect3DVolume8 *iface)
static HRESULT WINAPI d3d8_volume_LockBox(IDirect3DVolume8 *iface, D3DLOCKED_BOX *locked_box, const D3DBOX *box, DWORD flags)
static HRESULT WINAPI d3d8_volume_QueryInterface(IDirect3DVolume8 *iface, REFIID riid, void **out)
static HRESULT WINAPI d3d8_volume_FreePrivateData(IDirect3DVolume8 *iface, REFGUID guid)
static const struct wined3d_parent_ops d3d8_volume_wined3d_parent_ops
static ULONG WINAPI d3d8_volume_Release(IDirect3DVolume8 *iface)
static HRESULT WINAPI d3d8_volume_UnlockBox(IDirect3DVolume8 *iface)
HRESULT CDECL wined3d_resource_unmap(struct wined3d_resource *resource, unsigned int sub_resource_idx)
HRESULT CDECL wined3d_resource_map(struct wined3d_resource *resource, unsigned int sub_resource_idx, struct wined3d_map_desc *map_desc, const struct wined3d_box *box, DWORD flags)
void *CDECL wined3d_texture_get_parent(const struct wined3d_texture *texture)
HRESULT CDECL wined3d_texture_get_sub_resource_desc(const struct wined3d_texture *texture, unsigned int sub_resource_idx, struct wined3d_sub_resource_desc *desc)
struct wined3d_resource *CDECL wined3d_texture_get_resource(struct wined3d_texture *texture)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
static const WCHAR desc[]
#define IsEqualGUID(rguid1, rguid2)
#define IDirect3DBaseTexture8_QueryInterface(p, a, b)
#define IDirect3DBaseTexture8_GetDevice(p, a)
#define IDirect3DBaseTexture8_AddRef(p)
#define IDirect3DVolume8_AddRef(p)
#define IDirect3DBaseTexture8_Release(p)
IDirect3DVolume8 IDirect3DVolume8_iface
enum wined3d_format_id format
#define CONTAINING_RECORD(address, type, field)
#define WINEDDERR_NOTLOCKED
void WINAPI wined3d_mutex_unlock(void)
void WINAPI wined3d_mutex_lock(void)