45 *
out = &
face->IDirect3DRMFace_iface;
49 *
out = &
face->IDirect3DRMFace2_iface;
67 TRACE(
"%p increasing refcount to %u.\n", iface, refcount);
77 TRACE(
"%p decreasing refcount to %u.\n", iface, refcount);
101 TRACE(
"iface %p, cb %p, ctx %p.\n", iface,
cb,
ctx);
111 TRACE(
"iface %p, cb %p, ctx %p.\n", iface,
cb,
ctx);
120 TRACE(
"iface %p, data %#x.\n", iface,
data);
131 TRACE(
"iface %p, data %#x.\n", iface,
data);
140 TRACE(
"iface %p.\n", iface);
142 return face->obj.appdata;
149 TRACE(
"iface %p.\n", iface);
201 FIXME(
"iface %p, x %.8e, y %.8e, z %.8e stub!\n", iface,
x,
y,
z);
239 TRACE(
"iface %p, color 0x%08x.\n", iface,
color);
250 TRACE(
"iface %p, color 0x%08x.\n", iface,
color);
265 FIXME(
"iface %p, vertex %u, u %.8e, v %.8e stub!\n", iface,
vertex,
u,
v);
272 FIXME(
"iface %p, material %p stub!\n", iface, material);
279 FIXME(
"iface %p, wrap_u %#x, wrap_v %#x stub!\n", iface, wrap_u, wrap_v);
295 FIXME(
"iface %p, vertex_count %p, coords %p, normals %p stub!\n",
304 FIXME(
"iface %p, vertex %u, u %p, v %p stub!\n", iface,
vertex,
u,
v);
311 FIXME(
"iface %p, wrap_u %p, wrap_v %p stub!\n", iface, wrap_u, wrap_v);
318 FIXME(
"iface %p, normal %p stub!\n", iface,
normal);
332 FIXME(
"iface %p, material %p stub!\n", iface, material);
339 FIXME(
"iface %p stub!\n", iface);
346 FIXME(
"iface %p, which %u stub!\n", iface,
which);
353 FIXME(
"iface %p, which %u stub!\n", iface,
which);
362 TRACE(
"iface %p.\n", iface);
371 TRACE(
"iface %p.\n", iface);
444 TRACE(
"iface %p, cb %p, ctx %p.\n", iface,
cb,
ctx);
454 TRACE(
"iface %p, cb %p, ctx %p.\n", iface,
cb,
ctx);
470 FIXME(
"iface %p, x %.8e, y %.8e, z %.8e stub!\n", iface,
x,
y,
z);
493 FIXME(
"iface %p, vertex %u, u %.8e, v %.8e stub!\n", iface,
vertex,
u,
v);
500 FIXME(
"iface %p, material %p stub!\n", iface, material);
507 FIXME(
"iface %p, wrap_u %#x, wrap_v %#x stub!\n", iface, wrap_u, wrap_v);
523 FIXME(
"iface %p, vertex_count %p, coords %p, normals %p stub!\n",
532 FIXME(
"iface %p, vertex %u, u %p, v %p stub!\n", iface,
vertex,
u,
v);
539 FIXME(
"iface %p, wrap_u %p, wrap_v %p stub!\n", iface, wrap_u, wrap_v);
546 FIXME(
"iface %p, normal %p stub!\n", iface,
normal);
560 FIXME(
"iface %p, material %p stub!\n", iface, material);
567 FIXME(
"iface %p stub!\n", iface);
574 FIXME(
"iface %p, which %u stub!\n", iface,
which);
581 FIXME(
"iface %p, which %u stub!\n", iface,
which);
627 if (!(
object = heap_alloc_zero(
sizeof(*
object))))
static BOOL heap_free(void *mem)
#define InterlockedIncrement
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
void d3drm_object_cleanup(IDirect3DRMObject *iface, struct d3drm_object *object)
void d3drm_object_init(struct d3drm_object *object, const char *classname)
HRESULT d3drm_object_get_name(struct d3drm_object *object, DWORD *size, char *name)
HRESULT d3drm_object_delete_destroy_callback(struct d3drm_object *object, D3DRMOBJECTCALLBACK cb, void *ctx)
HRESULT d3drm_object_add_destroy_callback(struct d3drm_object *object, D3DRMOBJECTCALLBACK cb, void *ctx)
HRESULT d3drm_object_set_name(struct d3drm_object *object, const char *name)
HRESULT d3drm_object_get_class_name(struct d3drm_object *object, DWORD *size, char *name)
static void d3drm_set_color(D3DCOLOR *color, float r, float g, float b, float a)
#define IDirect3DRMFace2_DeleteDestroyCallback(p, a, b)
#define IDirect3DRMFace2_GetClassName(p, a, b)
#define IDirect3DRMFace2_AddDestroyCallback(p, a, b)
void(__cdecl * D3DRMOBJECTCALLBACK)(struct IDirect3DRMObject *obj, void *arg)
static HRESULT WINAPI d3drm_face1_AddVertex(IDirect3DRMFace *iface, D3DVALUE x, D3DVALUE y, D3DVALUE z)
static HRESULT WINAPI d3drm_face1_GetNormal(IDirect3DRMFace *iface, D3DVECTOR *normal)
static D3DCOLOR WINAPI d3drm_face1_GetColor(IDirect3DRMFace *iface)
static HRESULT WINAPI d3drm_face1_DeleteDestroyCallback(IDirect3DRMFace *iface, D3DRMOBJECTCALLBACK cb, void *ctx)
static int WINAPI d3drm_face2_GetVertexCount(IDirect3DRMFace2 *iface)
static struct d3drm_face * impl_from_IDirect3DRMFace(IDirect3DRMFace *iface)
static HRESULT WINAPI d3drm_face2_GetTextureCoordinates(IDirect3DRMFace2 *iface, DWORD vertex, D3DVALUE *u, D3DVALUE *v)
static int WINAPI d3drm_face1_GetTextureCoordinateIndex(IDirect3DRMFace *iface, DWORD which)
static HRESULT WINAPI d3drm_face1_GetVertex(IDirect3DRMFace *iface, DWORD index, D3DVECTOR *vertex, D3DVECTOR *normal)
static DWORD WINAPI d3drm_face1_GetAppData(IDirect3DRMFace *iface)
static HRESULT WINAPI d3drm_face1_GetClassName(IDirect3DRMFace *iface, DWORD *size, char *name)
static HRESULT WINAPI d3drm_face2_Clone(IDirect3DRMFace2 *iface, IUnknown *outer, REFIID iid, void **out)
static HRESULT WINAPI d3drm_face2_SetTextureTopology(IDirect3DRMFace2 *iface, BOOL wrap_u, BOOL wrap_v)
static HRESULT WINAPI d3drm_face1_GetTextureTopology(IDirect3DRMFace *iface, BOOL *wrap_u, BOOL *wrap_v)
static HRESULT WINAPI d3drm_face2_QueryInterface(IDirect3DRMFace2 *iface, REFIID riid, void **out)
static HRESULT WINAPI d3drm_face2_GetVertices(IDirect3DRMFace2 *iface, DWORD *vertex_count, D3DVECTOR *coords, D3DVECTOR *normals)
HRESULT d3drm_face_create(struct d3drm_face **face)
static int WINAPI d3drm_face1_GetVertexCount(IDirect3DRMFace *iface)
static struct d3drm_face * impl_from_IDirect3DRMFace2(IDirect3DRMFace2 *iface)
static HRESULT WINAPI d3drm_face1_SetTexture(IDirect3DRMFace *iface, IDirect3DRMTexture *texture)
static int WINAPI d3drm_face2_GetTextureCoordinateIndex(IDirect3DRMFace2 *iface, DWORD which)
static HRESULT WINAPI d3drm_face1_AddDestroyCallback(IDirect3DRMFace *iface, D3DRMOBJECTCALLBACK cb, void *ctx)
static HRESULT WINAPI d3drm_face2_SetMaterial(IDirect3DRMFace2 *iface, IDirect3DRMMaterial2 *material)
static ULONG WINAPI d3drm_face2_AddRef(IDirect3DRMFace2 *iface)
static HRESULT WINAPI d3drm_face2_GetMaterial(IDirect3DRMFace2 *iface, IDirect3DRMMaterial2 **material)
static ULONG WINAPI d3drm_face1_AddRef(IDirect3DRMFace *iface)
static HRESULT WINAPI d3drm_face1_GetTextureCoordinates(IDirect3DRMFace *iface, DWORD vertex, D3DVALUE *u, D3DVALUE *v)
static HRESULT WINAPI d3drm_face1_SetTextureTopology(IDirect3DRMFace *iface, BOOL wrap_u, BOOL wrap_v)
static HRESULT WINAPI d3drm_face2_SetTexture(IDirect3DRMFace2 *iface, IDirect3DRMTexture3 *texture)
static HRESULT WINAPI d3drm_face2_DeleteDestroyCallback(IDirect3DRMFace2 *iface, D3DRMOBJECTCALLBACK cb, void *ctx)
static HRESULT WINAPI d3drm_face1_SetName(IDirect3DRMFace *iface, const char *name)
static HRESULT WINAPI d3drm_face1_QueryInterface(IDirect3DRMFace *iface, REFIID riid, void **out)
static int WINAPI d3drm_face2_GetVertexIndex(IDirect3DRMFace2 *iface, DWORD which)
static HRESULT WINAPI d3drm_face2_SetAppData(IDirect3DRMFace2 *iface, DWORD data)
static HRESULT WINAPI d3drm_face2_AddDestroyCallback(IDirect3DRMFace2 *iface, D3DRMOBJECTCALLBACK cb, void *ctx)
static HRESULT WINAPI d3drm_face2_SetName(IDirect3DRMFace2 *iface, const char *name)
static HRESULT WINAPI d3drm_face2_SetColorRGB(IDirect3DRMFace2 *iface, D3DVALUE red, D3DVALUE green, D3DVALUE blue)
static ULONG WINAPI d3drm_face1_Release(IDirect3DRMFace *iface)
static HRESULT WINAPI d3drm_face2_GetTextureTopology(IDirect3DRMFace2 *iface, BOOL *wrap_u, BOOL *wrap_v)
static HRESULT WINAPI d3drm_face1_SetMaterial(IDirect3DRMFace *iface, IDirect3DRMMaterial *material)
static HRESULT WINAPI d3drm_face1_SetColorRGB(IDirect3DRMFace *iface, D3DVALUE red, D3DVALUE green, D3DVALUE blue)
static HRESULT WINAPI d3drm_face2_AddVertex(IDirect3DRMFace2 *iface, D3DVALUE x, D3DVALUE y, D3DVALUE z)
static D3DCOLOR WINAPI d3drm_face2_GetColor(IDirect3DRMFace2 *iface)
static const struct IDirect3DRMFace2Vtbl d3drm_face2_vtbl
static HRESULT WINAPI d3drm_face1_GetTexture(IDirect3DRMFace *iface, IDirect3DRMTexture **texture)
static HRESULT WINAPI d3drm_face1_GetName(IDirect3DRMFace *iface, DWORD *size, char *name)
static int WINAPI d3drm_face1_GetVertexIndex(IDirect3DRMFace *iface, DWORD which)
static HRESULT WINAPI d3drm_face1_SetColor(IDirect3DRMFace *iface, D3DCOLOR color)
static HRESULT WINAPI d3drm_face1_SetTextureCoordinates(IDirect3DRMFace *iface, DWORD vertex, D3DVALUE u, D3DVALUE v)
static HRESULT WINAPI d3drm_face2_GetClassName(IDirect3DRMFace2 *iface, DWORD *size, char *name)
static const struct IDirect3DRMFaceVtbl d3drm_face1_vtbl
static HRESULT WINAPI d3drm_face1_GetVertices(IDirect3DRMFace *iface, DWORD *vertex_count, D3DVECTOR *coords, D3DVECTOR *normals)
static HRESULT WINAPI d3drm_face1_Clone(IDirect3DRMFace *iface, IUnknown *outer, REFIID iid, void **out)
static HRESULT WINAPI d3drm_face2_SetTextureCoordinates(IDirect3DRMFace2 *iface, DWORD vertex, D3DVALUE u, D3DVALUE v)
static HRESULT WINAPI d3drm_face2_GetVertex(IDirect3DRMFace2 *iface, DWORD index, D3DVECTOR *vertex, D3DVECTOR *normal)
static HRESULT WINAPI d3drm_face1_AddVertexAndNormalIndexed(IDirect3DRMFace *iface, DWORD vertex, DWORD normal)
static HRESULT WINAPI d3drm_face1_SetAppData(IDirect3DRMFace *iface, DWORD data)
static HRESULT WINAPI d3drm_face2_GetNormal(IDirect3DRMFace2 *iface, D3DVECTOR *normal)
static HRESULT WINAPI d3drm_face2_AddVertexAndNormalIndexed(IDirect3DRMFace2 *iface, DWORD vertex, DWORD normal)
static DWORD WINAPI d3drm_face2_GetAppData(IDirect3DRMFace2 *iface)
static HRESULT WINAPI d3drm_face1_GetMaterial(IDirect3DRMFace *iface, IDirect3DRMMaterial **material)
static ULONG WINAPI d3drm_face2_Release(IDirect3DRMFace2 *iface)
static HRESULT WINAPI d3drm_face2_GetTexture(IDirect3DRMFace2 *iface, IDirect3DRMTexture3 **texture)
static HRESULT WINAPI d3drm_face2_GetName(IDirect3DRMFace2 *iface, DWORD *size, char *name)
static HRESULT WINAPI d3drm_face2_SetColor(IDirect3DRMFace2 *iface, D3DCOLOR color)
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLenum GLuint GLint GLenum face
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble * u
static HMODULE MODULEINFO DWORD cb
#define IsEqualGUID(rguid1, rguid2)
IDirect3DRMFace IDirect3DRMFace_iface
IDirect3DRMFace2 IDirect3DRMFace2_iface
#define CONTAINING_RECORD(address, type, field)