Searched refs:dxgiFormatInfo (Results 1 – 6 of 6) sorted by relevance
32 const d3d11::DXGIFormatSize &dxgiFormatInfo = d3d11::GetDXGIFormatSizeInfo(desc.Format); in getPitchCount() local33 ASSERT(desc.Height % dxgiFormatInfo.blockHeight == 0); in getPitchCount()34 return desc.Height / dxgiFormatInfo.blockHeight; in getPitchCount()
290 const d3d11::DXGIFormatSize &dxgiFormatInfo = d3d11::GetDXGIFormatSizeInfo(mDXGIFormat); in loadData() local291 GLuint outputPixelSize = dxgiFormatInfo.pixelBytes; in loadData()326 const d3d11::DXGIFormatSize &dxgiFormatInfo = d3d11::GetDXGIFormatSizeInfo(mDXGIFormat); in loadCompressedData() local327 GLuint outputPixelSize = dxgiFormatInfo.pixelBytes; in loadCompressedData()328 GLuint outputBlockWidth = dxgiFormatInfo.blockWidth; in loadCompressedData()329 GLuint outputBlockHeight = dxgiFormatInfo.blockHeight; in loadCompressedData()405 const auto &dxgiFormatInfo = d3d11::GetDXGIFormatSizeInfo(mDXGIFormat); in copyFromFramebuffer() local406 GLsizei rowOffset = dxgiFormatInfo.pixelBytes * destOffset.x; in copyFromFramebuffer()
2134 const DXGIFormatSize &dxgiFormatInfo = d3d11::GetDXGIFormatSizeInfo(format); in MakeValidSize() local2140 if (validImage || *requestWidth < static_cast<GLsizei>(dxgiFormatInfo.blockWidth) || in MakeValidSize()2141 *requestHeight < static_cast<GLsizei>(dxgiFormatInfo.blockHeight)) in MakeValidSize()2143 while (*requestWidth % dxgiFormatInfo.blockWidth != 0 || in MakeValidSize()2144 *requestHeight % dxgiFormatInfo.blockHeight != 0) in MakeValidSize()2153 if (*requestWidth % dxgiFormatInfo.blockWidth != 0) in MakeValidSize()2155 *requestWidth = roundUp(*requestWidth, static_cast<GLsizei>(dxgiFormatInfo.blockWidth)); in MakeValidSize()2158 if (*requestHeight % dxgiFormatInfo.blockHeight != 0) in MakeValidSize()2161 roundUp(*requestHeight, static_cast<GLsizei>(dxgiFormatInfo.blockHeight)); in MakeValidSize()2184 const d3d11::DXGIFormatSize &dxgiFormatInfo = in GenerateInitialTextureData() local[all …]
1391 const d3d11::DXGIFormatSize &dxgiFormatInfo = d3d11::GetDXGIFormatSizeInfo(srvFormat); in getSRVForFormat() local1395 bufferSRVDesc.Buffer.ElementWidth = static_cast<UINT>(mBufferSize) / dxgiFormatInfo.pixelBytes; in getSRVForFormat()
3970 const d3d11::DXGIFormatSize &dxgiFormatInfo = in getVertexSpaceRequired() local3972 unsigned int elementSize = dxgiFormatInfo.pixelBytes; in getVertexSpaceRequired()
784 const d3d11::DXGIFormatSize &dxgiFormatInfo = in setData() local787 const size_t outputPixelSize = dxgiFormatInfo.pixelBytes; in setData()