/external/deqp/framework/common/ |
D | tcuImageCompare.cpp | 212 …TextureLevel errorMask (TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8), reference.… in fuzzyCompare() 224 …mat::RGBA, TextureFormat::UNORM_INT8) && reference.getFormat() != TextureFormat(TextureFormat::RGB… in fuzzyCompare() 238 if (result.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)) in fuzzyCompare() 285 …ERNAL(ref.getFormat().type == TextureFormat::UNORM_INT8 && cmp.getFormat().type == TextureFormat::… in computeSquaredDiffSum() 329 …TextureLevel diffMask (TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8), reference.ge… in measurePixelDiffAccuracy() 340 …mat::RGBA, TextureFormat::UNORM_INT8) && reference.getFormat() != TextureFormat(TextureFormat::RGB… in measurePixelDiffAccuracy() 351 if (result.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)) in measurePixelDiffAccuracy() 415 …TextureLevel errorMaskStorage (TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8), widt… in floatUlpThresholdCompare() 471 if (result.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)) in floatUlpThresholdCompare() 508 …TextureLevel errorMaskStorage (TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8), widt… in floatThresholdCompare() [all …]
|
D | tcuSurface.hpp | 123 …return ConstPixelBufferAccess(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), width… in getSubAccess() 141 …return PixelBufferAccess(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), width, hei… in getSubAccess() 147 …return ConstPixelBufferAccess(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_wid… in getAccess() 153 …return PixelBufferAccess(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_width, m… in getAccess()
|
D | tcuImageIO.cpp | 114 textureFormat = TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8); in loadPNG() 116 textureFormat = TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8); in loadPNG() 137 if (format == TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8)) in textureFormatToPNGFormat() 139 else if (format == TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)) in textureFormatToPNGFormat()
|
D | tcuBilinearImageCompare.cpp | 193 DE_ASSERT(reference.getFormat() == TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8) && in bilinearCompareRGBA8() 194 result.getFormat() == TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)); in bilinearCompareRGBA8() 229 if (reference.getFormat() == TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)) in bilinearCompare()
|
D | tcuFuzzyImageCompare.cpp | 269 …return format.type == TextureFormat::UNORM_INT8 && (format.order == TextureFormat::RGB || format.o… in isFormatSupported() 285 …TextureLevel refFiltered(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), width, hei… in fuzzyCompare() 286 …TextureLevel cmpFiltered(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), width, hei… in fuzzyCompare()
|
D | tcuTestLog.cpp | 173 if (depth == 1 && format.type == TextureFormat::UNORM_INT8 && in writeImage() 190 …tcu::TextureLevel logImage (TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), logIma… in writeImage() 224 …tcu::TextureLevel logImage (TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), logIm… in writeImage()
|
D | tcuTextureUtil.cpp | 80 case TextureFormat::UNORM_INT8: return TEXTURECHANNELCLASS_UNSIGNED_FIXED_POINT; in getTextureChannelClass() 211 case TextureFormat::UNORM_INT8: in getChannelValueRange() 300 case TextureFormat::UNORM_INT8: return IVec4(8); in getChannelBitDepth() 366 case TextureFormat::UNORM_INT8: in getChannelMantissaBitDepth() 852 case TextureFormat::UNORM_INT8: in estimatePixelValueRange()
|
D | tcuCompressedTexture.cpp | 269 case ETC1_RGB8: return TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8); in getUncompressedFormat() 274 case ETC2_RGB8: return TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8); in getUncompressedFormat() 275 case ETC2_SRGB8: return TextureFormat(TextureFormat::sRGB, TextureFormat::UNORM_INT8); in getUncompressedFormat() 276 …C2_RGB8_PUNCHTHROUGH_ALPHA1: return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8); in getUncompressedFormat() 277 …2_SRGB8_PUNCHTHROUGH_ALPHA1: return TextureFormat(TextureFormat::sRGBA, TextureFormat::UNORM_INT8); in getUncompressedFormat() 278 case ETC2_EAC_RGBA8: return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8); in getUncompressedFormat() 279 …se ETC2_EAC_SRGB8_ALPHA8: return TextureFormat(TextureFormat::sRGBA, TextureFormat::UNORM_INT8); in getUncompressedFormat() 288 return TextureFormat(TextureFormat::sRGBA, TextureFormat::UNORM_INT8); in getUncompressedFormat() 840 DE_ASSERT(dst.getFormat() == TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8)); in decompressETC1()
|
D | tcuTexture.cpp | 218 case TextureFormat::UNORM_INT8: return 1; in getChannelSize() 268 case TextureFormat::UNORM_INT8: return (float)*((const deUint8*)value) / 255.0f; in channelToFloat() 292 case TextureFormat::UNORM_INT8: return (int)*((const deUint8*)value); in channelToInt() 316 …case TextureFormat::UNORM_INT8: *((deUint8*)dst) = convertSatRte<deUint8> (src * 255.0f); bre… in floatToChannel() 352 case TextureFormat::UNORM_INT8: *((deUint8*)dst) = convertSat<deUint8> (src); break; in intToChannel() 505 case UNORM_INT8: channelSize = 1; break; in getPixelSize() 594 if (m_format.type == TextureFormat::UNORM_INT8) in getPixel() 683 if (m_format.type == TextureFormat::UNORM_INT8) in getPixelInt() 851 if (m_format.type == TextureFormat::UNORM_INT8) in setPixel() 950 if (m_format.type == TextureFormat::UNORM_INT8) in setPixel() [all …]
|
/external/deqp/framework/opengl/ |
D | gluTextureUtil.cpp | 93 case TextureFormat::UNORM_INT8: type = GL_UNSIGNED_BYTE; break; in getTransferFormat() 156 case FMT_CASE(RGBA, UNORM_INT8): return GL_RGBA8; in getInternalFormat() 159 case FMT_CASE(sRGBA, UNORM_INT8): return GL_SRGB8_ALPHA8; in getInternalFormat() 164 case FMT_CASE(RGB, UNORM_INT8): return GL_RGB8; in getInternalFormat() 177 case FMT_CASE(sRGB, UNORM_INT8): return GL_SRGB8; in getInternalFormat() 189 case FMT_CASE(RG, UNORM_INT8): return GL_RG8; in getInternalFormat() 202 case FMT_CASE(R, UNORM_INT8): return GL_R8; in getInternalFormat() 284 …case GL_UNSIGNED_BYTE: return normalized ? TextureFormat::UNORM_INT8 : TextureFormat::UNSIGNED… in mapGLChannelType() 369 case GL_RGBA8: return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8); in mapGLInternalFormat() 372 case GL_SRGB8_ALPHA8: return TextureFormat(TextureFormat::sRGBA, TextureFormat::UNORM_INT8); in mapGLInternalFormat() [all …]
|
D | gluTexture.cpp | 229 …evel.getFormat() == tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8) || in create() 230 … level.getFormat() == tcu::TextureFormat(tcu::TextureFormat::RGB, tcu::TextureFormat::UNORM_INT8)); in create() 232 … level.getFormat() == tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8); in create()
|
/external/deqp/modules/glshared/ |
D | glsRandomShaderCase.cpp | 418 …cu::TextureFormat::RGBA : tcu::TextureFormat::RGB, tcu::TextureFormat::UNORM_INT8), viewportWidth,… in iterate() 419 …cu::TextureFormat::RGBA : tcu::TextureFormat::RGB, tcu::TextureFormat::UNORM_INT8), viewportWidth,… in iterate() 491 …).order != tcu::TextureFormat::RGBA || rendered.getFormat().type != tcu::TextureFormat::UNORM_INT8) in iterate() 494 …adBuf(tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), rendered.getWi… in iterate()
|
D | glsSamplerObjectTest.cpp | 382 …ture (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), TEXTURE2D_WIDT… in createTexture2D() 408 …ture (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), TEXTURE3D_WIDT… in createTexture3D() 434 …xture (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), CUBEMAP_SIZE); in createTextureCube() 879 …ture (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), TEXTURE2D_WIDT… in createTexture2D() 918 …ture (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), TEXTURE3D_WIDT… in createTexture3D() 957 …xture (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), CUBEMAP_SIZE); in createTextureCube()
|
D | glsLongStressCase.cpp | 219 (texFormat.type == TextureFormat::UNORM_INT8 || in isMatchingGLInternalFormat() 224 (texFormat.type == TextureFormat::UNORM_INT8 || in isMatchingGLInternalFormat() 227 …_ALPHA: return texFormat.order == TextureFormat::LA && texFormat.type == TextureFormat::UNORM_INT8; in isMatchingGLInternalFormat() 228 …NANCE: return texFormat.order == TextureFormat::L && texFormat.type == TextureFormat::UNORM_INT8; in isMatchingGLInternalFormat() 229 …LPHA: return texFormat.order == TextureFormat::A && texFormat.type == TextureFormat::UNORM_INT8; in isMatchingGLInternalFormat()
|
/external/deqp/modules/gles2/functional/ |
D | es2fReadPixelsTests.cpp | 185 format = tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8); in getFormatInfo() 201 tcu::TextureFormat format(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8); in iterate()
|
D | es2fFboRenderTest.cpp | 1548 …vel fourQuads(tcu::TextureFormat(tcu::TextureFormat::RGB, tcu::TextureFormat::UNORM_INT8), 64, 64); in render() 1551 …GBA ? tcu::TextureFormat::RGBA : tcu::TextureFormat::RGB, tcu::TextureFormat::UNORM_INT8), 64, 64); in render() 1614 …vel fourQuads(tcu::TextureFormat(tcu::TextureFormat::RGB, tcu::TextureFormat::UNORM_INT8), 64, 64); in render() 1617 …GBA ? tcu::TextureFormat::RGBA : tcu::TextureFormat::RGB, tcu::TextureFormat::UNORM_INT8), 64, 64); in render() 1620 …l metaballs2(tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), 64, 64); in render()
|
D | es2fTextureSpecificationTests.cpp | 67 case GL_ALPHA: return TextureFormat(TextureFormat::A, TextureFormat::UNORM_INT8); in mapGLUnsizedInternalFormat() 68 case GL_LUMINANCE: return TextureFormat(TextureFormat::L, TextureFormat::UNORM_INT8); in mapGLUnsizedInternalFormat() 69 case GL_LUMINANCE_ALPHA: return TextureFormat(TextureFormat::LA, TextureFormat::UNORM_INT8); in mapGLUnsizedInternalFormat() 70 case GL_RGB: return TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8); in mapGLUnsizedInternalFormat() 71 case GL_RGBA: return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8); in mapGLUnsizedInternalFormat()
|
/external/deqp/modules/gles31/functional/ |
D | es31fAdvancedBlendTests.cpp | 238 …t(useSRGB ? TextureFormat::sRGBA : TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_viewportWidt… in init() 349 return tcu::ConstPixelBufferAccess(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), in getLinearAccess() 366 …TextureLevel renderedImg (TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_vi… in iterate()
|
D | es31fLayoutBindingTests.cpp | 982 …level(tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), TEST_TEXTURE_S… in initializeTexture() 990 …level(tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), TEST_TEXTURE_S… in initializeTexture() 1241 …level(tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), TEST_TEXTURE_S… in initializeImage() 1250 …level(tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), TEST_TEXTURE_S… in initializeImage()
|
D | es31fTextureGatherTests.cpp | 114 return type == tcu::TextureFormat::UNORM_INT8 || in isUnormFormatType() 139 (colorBufferFormat.type == tcu::TextureFormat::UNORM_INT8 || in getPixels() 1048 isDepthFormat(textureFormat) ? tcu::TextureFormat::UNORM_INT8 : textureFormat.type)) in TextureGatherCase() 1475 DE_ASSERT(m_colorBufferFormat.type == tcu::TextureFormat::UNORM_INT8 || in verify() 2062 { "rgba8", tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8) }, in init()
|
/external/deqp/modules/egl/ |
D | teglRenderTests.cpp | 310 case PACK_FMT(8,8,8,8): return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8); in getColorFormat() 311 case PACK_FMT(8,8,8,0): return TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8); in getColorFormat() 317 default: return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8); in getColorFormat() 328 case 8: return tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::UNORM_INT8); in getDepthFormat()
|
/external/deqp/modules/gles3/functional/ |
D | es3fBlendTests.cpp | 211 …xtureFormat::sRGBA : useRGB ? TextureFormat::RGB : TextureFormat::RGBA, TextureFormat::UNORM_INT8), in init() 265 …seSrgbFbo ? TextureFormat::sRGBA : TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_viewportWidt… in iterate()
|
/external/deqp/modules/internal/ |
D | ditImageCompareTests.cpp | 48 …dst.setStorage(tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), tmp.g… in loadImageRGBA8()
|
/external/deqp/framework/platform/win32/ |
D | tcuWin32EGLNativeDisplayFactory.cpp | 330 dst->setStorage(TextureFormat(TextureFormat::BGRA, TextureFormat::UNORM_INT8), width, height); in readScreenPixels()
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrReferenceContext.cpp | 166 …lFormat(8,8,8,8), tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8) }, in toTextureFormat() 167 …lFormat(8,8,8,0), tcu::TextureFormat(tcu::TextureFormat::RGB, tcu::TextureFormat::UNORM_INT8) }, in toTextureFormat() 199 case 8: return tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::UNORM_INT8); in getDepthFormat() 393 …x1D.allocLevel(0, tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), 1); in ReferenceContext() 401 ….allocLevel(0, tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), 1, 1); in ReferenceContext() 411 …CubeFace)face, tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), 1, 1); in ReferenceContext() 420 …locLevel(0, tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), 1, 1, 1); in ReferenceContext() 429 …locLevel(0, tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), 1, 1, 1); in ReferenceContext() 437 …locLevel(0, tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), 1, 1, 6); in ReferenceContext() 955 case GL_ALPHA: return TextureFormat(TextureFormat::A, TextureFormat::UNORM_INT8); in mapInternalFormat() [all …]
|