My target graphics device (a Radeon 7000) claims to support
D3DFORMAT_UYVY textures. This turned out to be true, unless I specify
which CreateTexture fails.
So I cannot load pixels to the texture by locking/unlocking.
The only way left to load pixel data to the texture is either
UpdateTexture / UpdateSurface or StretchRect.
But now I discovered that the board does not support
with a format of D3DFORMAT_UYVY.
So I only can create D3DPOOL_SCRATCH surfaces as a source surface to
UpdateSurface / StretchRect. However D3DPOOL_SCRATCH surfaces are not
supported by these methods.
What am I missing? How can I update a texture when I cannot create
Off-Screen-Plain-Surfaces of the same format and can't create the
texture as D3DUSAGE_DYNMAIC? There must be a way, otherwise the
YUV-texture feature would be ueseless...