53 TRACE(
"iface %p.\n", iface);
63 TRACE(
"iface %p.\n", iface);
82 TRACE(
"iface %p, guid %s, data %p, data_size %lu, flags %#lx.\n",
92 TRACE(
"iface %p, guid %s, data %p, data_size %p.\n",
120 TRACE(
"iface %p, desc %p.\n", iface,
desc);
144 TRACE(
"iface %p, locked_box %p, box %p, flags %#lx.\n",
166 TRACE(
"iface %p.\n", iface);
209 volume->resource.refcount = 0;
212 volume->sub_resource_idx = sub_resource_idx;
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
#define STDMETHODCALLTYPE
#define D3DERR_INVALIDCALL
static DWORD d3dusage_from_wined3dusage(unsigned int wined3d_usage, unsigned int bind_flags)
D3DFORMAT d3dformat_from_wined3dformat(enum wined3d_format_id format)
unsigned int wined3dmapflags_from_d3dmapflags(unsigned int flags, unsigned int usage)
static D3DPOOL d3dpool_from_wined3daccess(unsigned int access, unsigned int usage)
#define IDirect3DVolume9_AddRef(p)
#define IDirect3DBaseTexture9_QueryInterface(p, a, b)
#define IDirect3DBaseTexture9_GetDevice(p, a)
#define IDirect3DBaseTexture9_Release(p)
#define IDirect3DBaseTexture9_AddRef(p)
void d3d9_resource_init(struct d3d9_resource *resource)
HRESULT d3d9_resource_free_private_data(struct d3d9_resource *resource, const GUID *guid)
HRESULT d3d9_resource_set_private_data(struct d3d9_resource *resource, const GUID *guid, const void *data, DWORD data_size, DWORD flags)
void d3d9_resource_cleanup(struct d3d9_resource *resource)
HRESULT d3d9_resource_get_private_data(struct d3d9_resource *resource, const GUID *guid, void *data, DWORD *data_size)
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 d3d9_volume_GetDevice(IDirect3DVolume9 *iface, IDirect3DDevice9 **device)
static struct d3d9_volume * impl_from_IDirect3DVolume9(IDirect3DVolume9 *iface)
static HRESULT WINAPI d3d9_volume_SetPrivateData(IDirect3DVolume9 *iface, REFGUID guid, const void *data, DWORD data_size, DWORD flags)
static const struct IDirect3DVolume9Vtbl d3d9_volume_vtbl
static const struct wined3d_parent_ops d3d9_volume_wined3d_parent_ops
static HRESULT WINAPI d3d9_volume_LockBox(IDirect3DVolume9 *iface, D3DLOCKED_BOX *locked_box, const D3DBOX *box, DWORD flags)
static HRESULT WINAPI d3d9_volume_QueryInterface(IDirect3DVolume9 *iface, REFIID riid, void **out)
static HRESULT WINAPI d3d9_volume_UnlockBox(IDirect3DVolume9 *iface)
static ULONG WINAPI d3d9_volume_Release(IDirect3DVolume9 *iface)
static HRESULT WINAPI d3d9_volume_GetDesc(IDirect3DVolume9 *iface, D3DVOLUME_DESC *desc)
static HRESULT WINAPI d3d9_volume_FreePrivateData(IDirect3DVolume9 *iface, REFGUID guid)
static HRESULT WINAPI d3d9_volume_GetContainer(IDirect3DVolume9 *iface, REFIID riid, void **container)
static HRESULT WINAPI d3d9_volume_GetPrivateData(IDirect3DVolume9 *iface, REFGUID guid, void *data, DWORD *data_size)
static ULONG WINAPI d3d9_volume_AddRef(IDirect3DVolume9 *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, uint32_t 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
D3D11_SHADER_VARIABLE_DESC desc
#define IsEqualGUID(rguid1, rguid2)
IDirect3DVolume9 IDirect3DVolume9_iface
enum wined3d_format_id format
#define CONTAINING_RECORD(address, type, field)
wchar_t tm const _CrtWcstime_Writes_and_advances_ptr_ count wchar_t ** out
#define WINEDDERR_NOTLOCKED
void WINAPI wined3d_mutex_unlock(void)
void WINAPI wined3d_mutex_lock(void)