Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
bf108ac8
Commit
bf108ac8
authored
Jan 03, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Jan 04, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Pass an IWineD3DBaseTextureImpl pointer to basetexture_generate_mipmaps().
parent
8cbc6efd
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
9 deletions
+12
-9
basetexture.c
dlls/wined3d/basetexture.c
+2
-2
cubetexture.c
dlls/wined3d/cubetexture.c
+3
-2
texture.c
dlls/wined3d/texture.c
+3
-2
volumetexture.c
dlls/wined3d/volumetexture.c
+3
-2
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-1
No files found.
dlls/wined3d/basetexture.c
View file @
bf108ac8
...
...
@@ -225,10 +225,10 @@ WINED3DTEXTUREFILTERTYPE basetexture_get_autogen_filter_type(IWineD3DBaseTexture
return
texture
->
baseTexture
.
filterType
;
}
void
basetexture_generate_mipmaps
(
IWineD3DBaseTexture
*
ifac
e
)
void
basetexture_generate_mipmaps
(
IWineD3DBaseTexture
Impl
*
textur
e
)
{
/* TODO: Implement filters using GL_SGI_generate_mipmaps. */
FIXME
(
"
iface %p stub!
\n
"
,
ifac
e
);
FIXME
(
"
texture %p stub!
\n
"
,
textur
e
);
}
BOOL
basetexture_set_dirty
(
IWineD3DBaseTextureImpl
*
texture
,
BOOL
dirty
)
...
...
dlls/wined3d/cubetexture.c
View file @
bf108ac8
...
...
@@ -270,8 +270,9 @@ static WINED3DTEXTUREFILTERTYPE WINAPI IWineD3DCubeTextureImpl_GetAutoGenFilterT
return
basetexture_get_autogen_filter_type
((
IWineD3DBaseTextureImpl
*
)
iface
);
}
static
void
WINAPI
IWineD3DCubeTextureImpl_GenerateMipSubLevels
(
IWineD3DCubeTexture
*
iface
)
{
basetexture_generate_mipmaps
((
IWineD3DBaseTexture
*
)
iface
);
static
void
WINAPI
IWineD3DCubeTextureImpl_GenerateMipSubLevels
(
IWineD3DCubeTexture
*
iface
)
{
basetexture_generate_mipmaps
((
IWineD3DBaseTextureImpl
*
)
iface
);
}
/* Context activation is done by the caller. */
...
...
dlls/wined3d/texture.c
View file @
bf108ac8
...
...
@@ -261,8 +261,9 @@ static WINED3DTEXTUREFILTERTYPE WINAPI IWineD3DTextureImpl_GetAutoGenFilterType(
return
basetexture_get_autogen_filter_type
((
IWineD3DBaseTextureImpl
*
)
iface
);
}
static
void
WINAPI
IWineD3DTextureImpl_GenerateMipSubLevels
(
IWineD3DTexture
*
iface
)
{
basetexture_generate_mipmaps
((
IWineD3DBaseTexture
*
)
iface
);
static
void
WINAPI
IWineD3DTextureImpl_GenerateMipSubLevels
(
IWineD3DTexture
*
iface
)
{
basetexture_generate_mipmaps
((
IWineD3DBaseTextureImpl
*
)
iface
);
}
/* Context activation is done by the caller. */
...
...
dlls/wined3d/volumetexture.c
View file @
bf108ac8
...
...
@@ -225,8 +225,9 @@ static WINED3DTEXTUREFILTERTYPE WINAPI IWineD3DVolumeTextureImpl_GetAutoGenFilte
return
basetexture_get_autogen_filter_type
((
IWineD3DBaseTextureImpl
*
)
iface
);
}
static
void
WINAPI
IWineD3DVolumeTextureImpl_GenerateMipSubLevels
(
IWineD3DVolumeTexture
*
iface
)
{
basetexture_generate_mipmaps
((
IWineD3DBaseTexture
*
)
iface
);
static
void
WINAPI
IWineD3DVolumeTextureImpl_GenerateMipSubLevels
(
IWineD3DVolumeTexture
*
iface
)
{
basetexture_generate_mipmaps
((
IWineD3DBaseTextureImpl
*
)
iface
);
}
/* Context activation is done by the caller. */
...
...
dlls/wined3d/wined3d_private.h
View file @
bf108ac8
...
...
@@ -1914,7 +1914,7 @@ void basetexture_apply_state_changes(IWineD3DBaseTexture *iface,
const
struct
wined3d_gl_info
*
gl_info
)
DECLSPEC_HIDDEN
;
HRESULT
basetexture_bind
(
IWineD3DBaseTexture
*
iface
,
BOOL
srgb
,
BOOL
*
set_surface_desc
)
DECLSPEC_HIDDEN
;
void
basetexture_cleanup
(
IWineD3DBaseTextureImpl
*
texture
)
DECLSPEC_HIDDEN
;
void
basetexture_generate_mipmaps
(
IWineD3DBaseTexture
*
ifac
e
)
DECLSPEC_HIDDEN
;
void
basetexture_generate_mipmaps
(
IWineD3DBaseTexture
Impl
*
textur
e
)
DECLSPEC_HIDDEN
;
WINED3DTEXTUREFILTERTYPE
basetexture_get_autogen_filter_type
(
IWineD3DBaseTextureImpl
*
texture
)
DECLSPEC_HIDDEN
;
DWORD
basetexture_get_level_count
(
IWineD3DBaseTextureImpl
*
texture
)
DECLSPEC_HIDDEN
;
DWORD
basetexture_get_lod
(
IWineD3DBaseTextureImpl
*
texture
)
DECLSPEC_HIDDEN
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment