29 FIXME(
"(void): stub\n");
43 if (!(
object =
calloc(1,
sizeof(*
object))))
48 WARN(
"Failed to initialize d3d8.\n");
53 TRACE(
"Created d3d8 object %p.\n",
object);
55 return &
object->IDirect3D8_iface;
66 TRACE(
"vs_code %p, declaration %p, caps %p, return_error %#x, errors %p.\n",
71 message =
"Invalid code pointer.\n";
82 message =
"Unsupported shader version.\n";
88 message =
"Shader version not supported by caps.\n";
111 TRACE(
"ps_code %p, caps %p, return_error %#x, errors %p.\n",
112 ps_code, caps, return_error, errors);
127 message =
"Unsupported shader version.\n";
133 message =
"Shader version not supported by caps.\n";
187 size_in = *data_size;
188 *data_size = stored_data->
size;
194 if (size_in < stored_data->
size)
#define DECLSPEC_HOTPATCH
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
HRESULT WINAPI ValidatePixelShader(const DWORD *ps_code, const D3DCAPS8 *caps, BOOL return_error, char **errors)
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 ValidateVertexShader(const DWORD *vs_code, const DWORD *declaration, const D3DCAPS8 *caps, 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 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)
#define D3DPS_VERSION(major, minor)
#define D3DVS_VERSION(major, minor)
_ACRTIMP size_t __cdecl strlen(const char *)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
static D3D_DRIVER_TYPE HMODULE UINT const D3D_FEATURE_LEVEL UINT UINT sdk_version
#define memcpy(s1, s2, n)
DWORD VertexShaderVersion
union wined3d_private_data::@4825 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, uint32_t flags)
void WINAPI wined3d_mutex_unlock(void)
void WINAPI wined3d_mutex_lock(void)