40 TRACE(
"sdk_version %#x.\n", sdk_version);
42 if (!(
object = heap_alloc_zero(
sizeof(*
object))))
47 WARN(
"Failed to initialize d3d9.\n");
52 TRACE(
"Created d3d9 object %p.\n",
object);
54 return (IDirect3D9 *)&
object->IDirect3D9Ex_iface;
61 TRACE(
"sdk_version %#x, d3d9ex %p.\n", sdk_version, d3d9ex);
63 if (!(
object = heap_alloc_zero(
sizeof(*
object))))
68 WARN(
"Failed to initialize d3d9.\n");
73 TRACE(
"Created d3d9 object %p.\n",
object);
74 *d3d9ex = &
object->IDirect3D9Ex_iface;
89 if (!once++)
FIXME(
"stub\n");
107 TRACE(
"(void) : stub\n");
116 FIXME(
"(void) : stub\n");
134 FIXME(
"(void) : stub\n");
193 size_in = *data_size;
194 *data_size = stored_data->
size;
200 if (size_in < stored_data->
size)
#define DECLSPEC_HOTPATCH
static BOOL heap_free(void *mem)
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
void d3d9_resource_init(struct d3d9_resource *resource)
HRESULT WINAPI DECLSPEC_HOTPATCH Direct3DCreate9Ex(UINT sdk_version, IDirect3D9Ex **d3d9ex)
int WINAPI D3DPERF_EndEvent(void)
int WINAPI D3DPERF_BeginEvent(D3DCOLOR color, const WCHAR *name)
void WINAPI D3DPERF_SetRegion(D3DCOLOR color, const WCHAR *name)
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)
void WINAPI DebugSetMute(void)
IDirect3D9 *WINAPI DECLSPEC_HOTPATCH Direct3DCreate9(UINT sdk_version)
void WINAPI D3DPERF_SetOptions(DWORD options)
DWORD WINAPI D3DPERF_GetStatus(void)
static int D3DPERF_event_level
HRESULT d3d9_resource_get_private_data(struct d3d9_resource *resource, const GUID *guid, void *data, DWORD *data_size)
void *WINAPI Direct3DShaderValidatorCreate9(void)
void WINAPI D3DPERF_SetMarker(D3DCOLOR color, const WCHAR *name)
BOOL WINAPI D3DPERF_QueryRepeatFrame(void)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
#define memcpy(s1, s2, n)
#define D3DERR_NOTAVAILABLE
union wined3d_private_data::@3671 content
BOOL d3d9_init(struct d3d9 *d3d9, BOOL extended) DECLSPEC_HIDDEN
static void wined3d_private_store_cleanup(struct wined3d_private_store *store)
static struct wined3d_private_data * wined3d_private_store_get_private_data(const struct wined3d_private_store *store, const GUID *tag)
static void wined3d_private_store_free_private_data(struct wined3d_private_store *store, struct wined3d_private_data *entry)
static void wined3d_private_store_init(struct wined3d_private_store *store)
#define WINED3DSPD_IUNKNOWN
static HRESULT wined3d_private_store_set_private_data(struct wined3d_private_store *store, const GUID *guid, const void *data, DWORD data_size, DWORD flags)
void WINAPI wined3d_mutex_unlock(void)
void WINAPI wined3d_mutex_lock(void)