D3DXLoadSurfaceFromSurface sample
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- computer-graphics
Research direction
Start by reviewing the three API signatures in the issue and the existing DirectXTex facilities that correspond to their surface, volume, and texture-loading behavior. A complete sample demonstrating the requested legacy behavior, including its heavyweight nature, would define done; no target files or tests are identified in the issue.
Written by the indexing model from the issue text.
Description
DirectXTex has all the facilities needed to support the old 'load-surface-from-surface' behavior. A sample implementation would help those porting D3DX code as well as demonstrate how heavy-weight that function was:
HRESULT WINAPI
D3DXLoadSurfaceFromSurface(
LPDIRECT3DSURFACE9 pDestSurface,
CONST PALETTEENTRY* pDestPalette,
CONST RECT* pDestRect,
LPDIRECT3DSURFACE9 pSrcSurface,
CONST PALETTEENTRY* pSrcPalette,
CONST RECT* pSrcRect,
DWORD Filter,
D3DCOLOR ColorKey);
HRESULT WINAPI
D3DXLoadVolumeFromVolume(
LPDIRECT3DVOLUME9 pDestVolume,
CONST PALETTEENTRY* pDestPalette,
CONST D3DBOX* pDestBox,
LPDIRECT3DVOLUME9 pSrcVolume,
CONST PALETTEENTRY* pSrcPalette,
CONST D3DBOX* pSrcBox,
DWORD Filter,
D3DCOLOR ColorKey);
HRESULT WINAPI
D3DX11LoadTextureFromTexture(
ID3D11DeviceContext *pContext,
ID3D11Resource *pSrcTexture,
D3DX11_TEXTURE_LOAD_INFO *pLoadInfo,
ID3D11Resource *pDstTexture);
- Dominant language
- C++
- Stars
- 2.2k
- Forks
- 498
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 6
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/DirectXTex
-
question
Difficulty 4/5 3-5 days Newbie friendliness 30/100
microsoft/DirectXTex#734 · 8 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
microsoft/DirectXTex#729 ·
-
exr
Difficulty 3/5 1-2 days Newbie friendliness 55/100
microsoft/DirectXTex#724 · 2 comments ·
-
Project feedback Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
microsoft/DirectXTex#719 · 2 reactions ·
-
tools
Difficulty 5/5 Over a week Newbie friendliness 30/100
microsoft/DirectXTex#717 ·
All issues in microsoft/DirectXTex
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
games-on-whales/wolf#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
bug-unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
NVIDIA/cuda-samples#453 ·