Home
last modified time | relevance | path

Searched refs:d3dFormatInfo (Results 1 – 8 of 8) sorted by relevance

/external/angle/src/libANGLE/renderer/d3d/d3d9/
Drenderer9_utils.cpp424 const d3d9::TextureFormat &d3dFormatInfo = d3d9::GetTextureFormatInfo(internalFormat); in GenerateTextureFormatCaps() local
427 if (d3dFormatInfo.texFormat != D3DFMT_UNKNOWN) in GenerateTextureFormatCaps()
432 adapter, deviceType, adapterFormat, 0, D3DRTYPE_TEXTURE, d3dFormatInfo.texFormat)); in GenerateTextureFormatCaps()
438 D3DRTYPE_TEXTURE, d3dFormatInfo.texFormat)) && in GenerateTextureFormatCaps()
440 D3DRTYPE_CUBETEXTURE, d3dFormatInfo.texFormat)); in GenerateTextureFormatCaps()
445 D3DRTYPE_TEXTURE, d3dFormatInfo.texFormat)); in GenerateTextureFormatCaps()
448 if (d3dFormatInfo.renderFormat != D3DFMT_UNKNOWN) in GenerateTextureFormatCaps()
452 D3DRTYPE_TEXTURE, d3dFormatInfo.renderFormat)); in GenerateTextureFormatCaps()
459 D3DRTYPE_TEXTURE, d3dFormatInfo.renderFormat)); in GenerateTextureFormatCaps()
470 adapter, deviceType, d3dFormatInfo.renderFormat, TRUE, multisampleType, nullptr); in GenerateTextureFormatCaps()
[all …]
DImage9.cpp66 const d3d9::D3DFormat &d3dFormatInfo = d3d9::GetD3DFormatInfo(sourceDesc.Format); in GenerateMip() local
67 ASSERT(d3dFormatInfo.info().mipGenerationFunction != nullptr); in GenerateMip()
84 d3dFormatInfo.info().mipGenerationFunction(sourceDesc.Width, sourceDesc.Height, 1, sourceData, in GenerateMip()
135 const d3d9::D3DFormat &d3dFormatInfo = d3d9::GetD3DFormatInfo(desc.Format); in CopyLockableSurfaces() local
136 unsigned int rows = desc.Height / d3dFormatInfo.blockHeight; in CopyLockableSurfaces()
138 unsigned int bytes = d3d9::ComputeBlockSize(desc.Format, desc.Width, d3dFormatInfo.blockHeight); in CopyLockableSurfaces()
283 const d3d9::TextureFormat &d3dFormatInfo = d3d9::GetTextureFormatInfo(mInternalFormat); in createSurface() local
284 if (d3dFormatInfo.dataInitializerFunction != nullptr) in createSurface()
297 d3dFormatInfo.dataInitializerFunction( in createSurface()
495 const d3d9::TextureFormat &d3dFormatInfo = d3d9::GetTextureFormatInfo(mInternalFormat); in loadData() local
[all …]
DTextureStorage9.cpp46 const d3d9::TextureFormat &d3dFormatInfo = d3d9::GetTextureFormatInfo(internalformat); in GetTextureUsage() local
51 else if (renderTarget && (d3dFormatInfo.renderFormat != D3DFMT_UNKNOWN)) in GetTextureUsage()
136 const d3d9::TextureFormat &d3dFormatInfo = d3d9::GetTextureFormatInfo(internalformat); in TextureStorage9_2D() local
137 mTextureFormat = d3dFormatInfo.texFormat; in TextureStorage9_2D()
139 d3d9::MakeValidSize(false, d3dFormatInfo.texFormat, &width, &height, &mTopLevel); in TextureStorage9_2D()
388 const d3d9::TextureFormat &d3dFormatInfo = d3d9::GetTextureFormatInfo(internalformat); in TextureStorage9_Cube() local
389 mTextureFormat = d3dFormatInfo.texFormat; in TextureStorage9_Cube()
392 d3d9::MakeValidSize(false, d3dFormatInfo.texFormat, &size, &height, &mTopLevel); in TextureStorage9_Cube()
DFramebuffer9.cpp194 const d3d9::D3DFormat &d3dFormatInfo = d3d9::GetD3DFormatInfo(desc.Format); in readPixelsImpl() local
207 PackPixels(packParams, d3dFormatInfo.info(), inputPitch, source, pixels); in readPixelsImpl()
393 const d3d9::D3DFormat &d3dFormatInfo = d3d9::GetD3DFormatInfo(textureFormat.renderFormat); in getImplementationColorReadFormat() local
394 const angle::Format &angleFormat = angle::Format::Get(d3dFormatInfo.formatID); in getImplementationColorReadFormat()
DRenderer9.cpp784 const auto &d3dFormatInfo = d3d9::GetD3DFormatInfo(desc.Format); in getD3DTextureInfo() local
785 ASSERT(d3dFormatInfo.info().id != angle::FormatID::NONE); in getD3DTextureInfo()
789 *glFormat = gl::Format(d3dFormatInfo.info().glInternalFormat); in getD3DTextureInfo()
795 *angleFormat = &d3dFormatInfo.info(); in getD3DTextureInfo()
1917 const d3d9::D3DFormat &d3dFormatInfo = in clear() local
1919 stencilUnmasked = (0x1 << d3dFormatInfo.stencilBits) - 1; in clear()
1935 const d3d9::D3DFormat &d3dFormatInfo = in clear() local
1939 D3DCOLOR_ARGB(gl::unorm<8>((formatInfo.alphaBits == 0 && d3dFormatInfo.alphaBits > 0) in clear()
1942 gl::unorm<8>((formatInfo.redBits == 0 && d3dFormatInfo.redBits > 0) in clear()
1945 gl::unorm<8>((formatInfo.greenBits == 0 && d3dFormatInfo.greenBits > 0) in clear()
[all …]
/external/angle/src/libANGLE/renderer/gl/wgl/
DD3DTextureSurfaceWGL.cpp136 const auto &d3dFormatInfo = d3d9::GetD3DFormatInfo(surfaceDesc.Format); in GetD3D9TextureInfo() local
137 ASSERT(d3dFormatInfo.info().id != angle::FormatID::NONE); in GetD3D9TextureInfo()
138 *angleFormat = &d3dFormatInfo.info(); in GetD3D9TextureInfo()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DImage11.cpp291 const d3d11::Format &d3dFormatInfo = in loadData() local
293 LoadImageFunction loadFunction = d3dFormatInfo.getLoadFunctions()(type).loadFunction; in loadData()
332 const d3d11::Format &d3dFormatInfo = in loadCompressedData() local
335 d3dFormatInfo.getLoadFunctions()(GL_UNSIGNED_BYTE).loadFunction; in loadCompressedData()
Drenderer11_utils.cpp2161 const d3d11::Format &d3dFormatInfo = d3d11::Format::Get(internalFormat, renderer11DeviceCaps); in GenerateInitialTextureData() local
2162 ASSERT(d3dFormatInfo.dataInitializerFunction != nullptr); in GenerateInitialTextureData()
2165 d3d11::GetDXGIFormatSizeInfo(d3dFormatInfo.texFormat); in GenerateInitialTextureData()
2175 d3dFormatInfo.dataInitializerFunction(width, height, depth, scratchBuffer->data(), rowPitch, in GenerateInitialTextureData()