30 FIXME(
"(void): stub\n");
42 TRACE(
"sdk_version %#x.\n", sdk_version);
44 if (!(
object = heap_alloc_zero(
sizeof(*
object))))
49 WARN(
"Failed to initialize d3d8.\n");
54 TRACE(
"Created d3d8 object %p.\n",
object);
56 return &
object->IDirect3D8_iface;
63 BOOL return_error,
char **errors)
72 message =
"(Global Validation Error) Version Token: Code pointer cannot be NULL.\n";
85 message =
"(Global Validation Error) Version Token: Unsupported vertex shader version.\n";
89 if (!return_error)
message =
"";
104 TRACE(
"(%p %p %d %p): semi-stub\n", pixelshader, reserved1, return_error, errors);
109 switch (*pixelshader)
119 WARN(
"Invalid shader version token %#x.\n", *pixelshader);
120 message =
"(Global Validation Error) Version Token: Unsupported pixel shader version.\n";
123 if (!return_error)
message =
"";
168 size_in = *data_size;
169 *data_size = stored_data->
size;
175 if (size_in < stored_data->
size)
#define DECLSPEC_HOTPATCH
ACPI_SIZE strlen(const char *String)
char * strcpy(char *DstString, const char *SrcString)
static BOOL heap_free(void *mem)
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
IDirect3D8 *WINAPI DECLSPEC_HOTPATCH Direct3DCreate8(UINT sdk_version)
HRESULT d3d8_resource_get_private_data(struct d3d8_resource *resource, const GUID *guid, void *data, DWORD *data_size)
HRESULT WINAPI ValidatePixelShader(DWORD *pixelshader, DWORD *reserved1, BOOL return_error, char **errors)
void d3d8_resource_cleanup(struct d3d8_resource *resource)
void WINAPI DebugSetMute(void)
void d3d8_resource_init(struct d3d8_resource *resource)
HRESULT WINAPI ValidateVertexShader(DWORD *vertexshader, DWORD *reserved1, DWORD *reserved2, BOOL return_error, char **errors)
HRESULT WINAPI D3D8GetSWInfo(void)
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)
BOOL d3d8_init(struct d3d8 *d3d8) DECLSPEC_HIDDEN
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
#define memcpy(s1, s2, n)
union wined3d_private_data::@3675 content
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)