Home
last modified time | relevance | path

Searched refs:sourceDesc (Results 1 – 3 of 3) sorted by relevance

/external/angle/src/libANGLE/renderer/d3d/d3d9/
DImage9.cpp56 D3DSURFACE_DESC sourceDesc; in GenerateMip() local
57 result = sourceSurface->GetDesc(&sourceDesc); in GenerateMip()
62 ASSERT(sourceDesc.Format == destDesc.Format); in GenerateMip()
63 ASSERT(sourceDesc.Width == 1 || sourceDesc.Width / 2 == destDesc.Width); in GenerateMip()
64 ASSERT(sourceDesc.Height == 1 || sourceDesc.Height / 2 == destDesc.Height); in GenerateMip()
66 const d3d9::D3DFormat &d3dFormatInfo = d3d9::GetD3DFormatInfo(sourceDesc.Format); in GenerateMip()
84 d3dFormatInfo.info().mipGenerationFunction(sourceDesc.Width, sourceDesc.Height, 1, sourceData, in GenerateMip()
178 D3DSURFACE_DESC sourceDesc; in CopyImage() local
179 result = sourceSurface->GetDesc(&sourceDesc); in CopyImage()
183 const d3d9::D3DFormat &sourceD3DFormatInfo = d3d9::GetD3DFormatInfo(sourceDesc.Format); in CopyImage()
DBlit9.cpp342 D3DSURFACE_DESC sourceDesc; in copy() local
344 source->GetDesc(&sourceDesc); in copy()
348 if (sourceDesc.Format == destDesc.Format && (destDesc.Usage & D3DUSAGE_RENDERTARGET) && in copy()
362 gl::Extents sourceSize(sourceDesc.Width, sourceDesc.Height, 1); in copy()
591 D3DSURFACE_DESC sourceDesc; in copySurfaceToTexture() local
592 surface->GetDesc(&sourceDesc); in copySurfaceToTexture()
598 D3DUSAGE_RENDERTARGET, sourceDesc.Format, D3DPOOL_DEFAULT, &texture, nullptr); in copySurfaceToTexture()
/external/angle/src/libANGLE/
DTexture.cpp1473 const auto &sourceDesc = in copyTexture() local
1478 ImageDesc(sourceDesc.size, Format(internalFormatInfo), InitState::Initialized)); in copyTexture()
1524 const auto &sourceDesc = in copyCompressedTexture() local
1526 mState.setImageDesc(NonCubeTextureTypeToTarget(getType()), 0, sourceDesc); in copyCompressedTexture()