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
83b86d18
Commit
83b86d18
authored
Aug 01, 2023
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Aug 10, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx11: Add D3DX11LoadTextureFromTexture stub.
parent
9f375360
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
2 deletions
+13
-2
d3dx11_42.spec
dlls/d3dx11_42/d3dx11_42.spec
+1
-1
d3dx11_43.spec
dlls/d3dx11_43/d3dx11_43.spec
+1
-1
texture.c
dlls/d3dx11_43/texture.c
+9
-0
d3dx11tex.h
include/d3dx11tex.h
+2
-0
No files found.
dlls/d3dx11_42/d3dx11_42.spec
View file @
83b86d18
...
...
@@ -32,7 +32,7 @@
@ stdcall D3DX11GetImageInfoFromMemory(ptr long ptr ptr ptr)
@ stub D3DX11GetImageInfoFromResourceA
@ stub D3DX11GetImageInfoFromResourceW
@ st
ub D3DX11LoadTextureFromTexture
@ st
dcall D3DX11LoadTextureFromTexture(ptr ptr ptr ptr)
@ stub D3DX11PreprocessShaderFromFileA
@ stub D3DX11PreprocessShaderFromFileW
@ stub D3DX11PreprocessShaderFromMemory
...
...
dlls/d3dx11_43/d3dx11_43.spec
View file @
83b86d18
...
...
@@ -32,7 +32,7 @@
@ stdcall D3DX11GetImageInfoFromMemory(ptr long ptr ptr ptr)
@ stub D3DX11GetImageInfoFromResourceA
@ stub D3DX11GetImageInfoFromResourceW
@ st
ub D3DX11LoadTextureFromTexture
@ st
dcall D3DX11LoadTextureFromTexture(ptr ptr ptr ptr)
@ stub D3DX11PreprocessShaderFromFileA
@ stub D3DX11PreprocessShaderFromFileW
@ stub D3DX11PreprocessShaderFromMemory
...
...
dlls/d3dx11_43/texture.c
View file @
83b86d18
...
...
@@ -89,3 +89,12 @@ HRESULT WINAPI D3DX11SaveTextureToMemory(ID3D11DeviceContext *context, ID3D11Res
return
E_NOTIMPL
;
}
HRESULT
WINAPI
D3DX11LoadTextureFromTexture
(
ID3D11DeviceContext
*
context
,
ID3D11Resource
*
src_texture
,
D3DX11_TEXTURE_LOAD_INFO
*
info
,
ID3D11Resource
*
dst_texture
)
{
FIXME
(
"context %p, src_texture %p, info %p, dst_texture %p stub!
\n
"
,
context
,
src_texture
,
info
,
dst_texture
);
return
E_NOTIMPL
;
}
include/d3dx11tex.h
View file @
83b86d18
...
...
@@ -155,6 +155,8 @@ HRESULT WINAPI D3DX11GetImageInfoFromFileW(const WCHAR *filename, ID3DX11ThreadP
HRESULT
*
hresult
);
HRESULT
WINAPI
D3DX11GetImageInfoFromMemory
(
const
void
*
src_data
,
SIZE_T
src_data_size
,
ID3DX11ThreadPump
*
pump
,
D3DX11_IMAGE_INFO
*
img_info
,
HRESULT
*
hresult
);
HRESULT
WINAPI
D3DX11LoadTextureFromTexture
(
ID3D11DeviceContext
*
context
,
ID3D11Resource
*
src_texture
,
D3DX11_TEXTURE_LOAD_INFO
*
info
,
ID3D11Resource
*
dst_texture
);
HRESULT
WINAPI
D3DX11SaveTextureToFileA
(
ID3D11DeviceContext
*
context
,
ID3D11Resource
*
texture
,
D3DX11_IMAGE_FILE_FORMAT
format
,
const
char
*
filename
);
HRESULT
WINAPI
D3DX11SaveTextureToFileW
(
ID3D11DeviceContext
*
context
,
ID3D11Resource
*
texture
,
...
...
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