Home
last modified time | relevance | path

Searched refs:colorBufferFormatInfo (Results 1 – 2 of 2) sorted by relevance

/external/angle/src/libANGLE/renderer/d3d/d3d9/
DRenderer9.cpp516 const gl::InternalFormat &colorBufferFormatInfo = in generateConfigs() local
526 config.bufferSize = colorBufferFormatInfo.pixelBytes * 8; in generateConfigs()
527 config.redSize = colorBufferFormatInfo.redBits; in generateConfigs()
528 config.greenSize = colorBufferFormatInfo.greenBits; in generateConfigs()
529 config.blueSize = colorBufferFormatInfo.blueBits; in generateConfigs()
530 config.luminanceSize = colorBufferFormatInfo.luminanceBits; in generateConfigs()
531 config.alphaSize = colorBufferFormatInfo.alphaBits; in generateConfigs()
533 config.bindToTextureRGB = (colorBufferFormatInfo.format == GL_RGB); in generateConfigs()
534 config.bindToTextureRGBA = (colorBufferFormatInfo.format == GL_RGBA || in generateConfigs()
535 colorBufferFormatInfo.format == GL_BGRA_EXT); in generateConfigs()
[all …]
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DRenderer11.cpp1190 const gl::InternalFormat &colorBufferFormatInfo = in generateConfigs() local
1204 config.bufferSize = colorBufferFormatInfo.pixelBytes * 8; in generateConfigs()
1205 config.redSize = colorBufferFormatInfo.redBits; in generateConfigs()
1206 config.greenSize = colorBufferFormatInfo.greenBits; in generateConfigs()
1207 config.blueSize = colorBufferFormatInfo.blueBits; in generateConfigs()
1208 config.luminanceSize = colorBufferFormatInfo.luminanceBits; in generateConfigs()
1209 config.alphaSize = colorBufferFormatInfo.alphaBits; in generateConfigs()
1212 ((colorBufferFormatInfo.format == GL_RGB) && (sampleCount <= 1)); in generateConfigs()
1213 config.bindToTextureRGBA = (((colorBufferFormatInfo.format == GL_RGBA) || in generateConfigs()
1214 (colorBufferFormatInfo.format == GL_BGRA_EXT)) && in generateConfigs()
[all …]