wined3d: Remove volume reference counting from public interface.
This commit is contained in:
parent
5cba355a83
commit
9eb47678de
|
@ -460,14 +460,14 @@ static void volume_unload(struct wined3d_resource *resource)
|
|||
resource_unload(resource);
|
||||
}
|
||||
|
||||
ULONG CDECL wined3d_volume_incref(struct wined3d_volume *volume)
|
||||
static ULONG CDECL wined3d_volume_incref(struct wined3d_volume *volume)
|
||||
{
|
||||
TRACE("Forwarding to container %p.\n", volume->container);
|
||||
|
||||
return wined3d_texture_incref(volume->container);
|
||||
}
|
||||
|
||||
ULONG CDECL wined3d_volume_decref(struct wined3d_volume *volume)
|
||||
static ULONG CDECL wined3d_volume_decref(struct wined3d_volume *volume)
|
||||
{
|
||||
TRACE("Forwarding to container %p.\n", volume->container);
|
||||
|
||||
|
|
|
@ -283,9 +283,7 @@
|
|||
@ cdecl wined3d_vertex_declaration_get_parent(ptr)
|
||||
@ cdecl wined3d_vertex_declaration_incref(ptr)
|
||||
|
||||
@ cdecl wined3d_volume_decref(ptr)
|
||||
@ cdecl wined3d_volume_from_resource(ptr)
|
||||
@ cdecl wined3d_volume_get_resource(ptr)
|
||||
@ cdecl wined3d_volume_incref(ptr)
|
||||
@ cdecl wined3d_volume_map(ptr ptr ptr long)
|
||||
@ cdecl wined3d_volume_unmap(ptr)
|
||||
|
|
|
@ -2566,10 +2566,8 @@ ULONG __cdecl wined3d_vertex_declaration_decref(struct wined3d_vertex_declaratio
|
|||
void * __cdecl wined3d_vertex_declaration_get_parent(const struct wined3d_vertex_declaration *declaration);
|
||||
ULONG __cdecl wined3d_vertex_declaration_incref(struct wined3d_vertex_declaration *declaration);
|
||||
|
||||
ULONG __cdecl wined3d_volume_decref(struct wined3d_volume *volume);
|
||||
struct wined3d_volume * __cdecl wined3d_volume_from_resource(struct wined3d_resource *resource);
|
||||
struct wined3d_resource * __cdecl wined3d_volume_get_resource(struct wined3d_volume *volume);
|
||||
ULONG __cdecl wined3d_volume_incref(struct wined3d_volume *volume);
|
||||
HRESULT __cdecl wined3d_volume_map(struct wined3d_volume *volume,
|
||||
struct wined3d_map_desc *map_desc, const struct wined3d_box *box, DWORD flags);
|
||||
HRESULT __cdecl wined3d_volume_unmap(struct wined3d_volume *volume);
|
||||
|
|
Loading…
Reference in New Issue