/external/deqp/framework/opengl/ |
gluTextureUtil.cpp | 37 * \brief Map tcu::TextureFormat to GL pixel transfer format. 45 TransferFormat getTransferFormat (tcu::TextureFormat texFormat) 47 using tcu::TextureFormat; 55 case TextureFormat::SIGNED_INT8: 56 case TextureFormat::SIGNED_INT16: 57 case TextureFormat::SIGNED_INT32: 58 case TextureFormat::UNSIGNED_INT8: 59 case TextureFormat::UNSIGNED_INT16: 60 case TextureFormat::UNSIGNED_INT32: 61 case TextureFormat::UNSIGNED_INT_1010102_REV [all...] |
gluTextureUtil.hpp | 59 tcu::TextureFormat mapGLTransferFormat (deUint32 format, deUint32 dataType); 60 tcu::TextureFormat mapGLInternalFormat (deUint32 internalFormat); 67 TransferFormat getTransferFormat (tcu::TextureFormat format); 68 deUint32 getInternalFormat (tcu::TextureFormat format); 77 DataType getSampler1DType (tcu::TextureFormat format); 78 DataType getSampler2DType (tcu::TextureFormat format); 79 DataType getSamplerCubeType (tcu::TextureFormat format); 80 DataType getSampler2DArrayType (tcu::TextureFormat format); 81 DataType getSampler3DType (tcu::TextureFormat format); 82 DataType getSamplerCubeArrayType (tcu::TextureFormat format) [all...] |
/external/deqp/framework/common/ |
tcuTextureUtil.cpp | 74 TextureChannelClass getTextureChannelClass (TextureFormat::ChannelType channelType) 78 case TextureFormat::SNORM_INT8: return TEXTURECHANNELCLASS_SIGNED_FIXED_POINT; 79 case TextureFormat::SNORM_INT16: return TEXTURECHANNELCLASS_SIGNED_FIXED_POINT; 80 case TextureFormat::UNORM_INT8: return TEXTURECHANNELCLASS_UNSIGNED_FIXED_POINT; 81 case TextureFormat::UNORM_INT16: return TEXTURECHANNELCLASS_UNSIGNED_FIXED_POINT; 82 case TextureFormat::UNORM_SHORT_565: return TEXTURECHANNELCLASS_UNSIGNED_FIXED_POINT; 83 case TextureFormat::UNORM_SHORT_555: return TEXTURECHANNELCLASS_UNSIGNED_FIXED_POINT; 84 case TextureFormat::UNORM_SHORT_4444: return TEXTURECHANNELCLASS_UNSIGNED_FIXED_POINT; 85 case TextureFormat::UNORM_SHORT_5551: return TEXTURECHANNELCLASS_UNSIGNED_FIXED_POINT; 86 case TextureFormat::UNORM_INT_101010: return TEXTURECHANNELCLASS_UNSIGNED_FIXED_POINT [all...] |
tcuSurface.hpp | 123 return ConstPixelBufferAccess(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), width, height, 1, m_width*4, 0, ptr); 141 return PixelBufferAccess(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), width, height, 1, m_width*4, 0, ptr); 147 return ConstPixelBufferAccess(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_width, m_height, 1, m_pixels.empty() ? DE_NULL : &m_pixels[0]); 153 return PixelBufferAccess(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_width, m_height, 1, m_pixels.empty() ? DE_NULL (…) [all...] |
tcuImageCompare.cpp | 212 TextureLevel errorMask (TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8), reference.getWidth(), reference.getHeight()); 224 if (result.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8) && reference.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)) 238 if (result.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8) [all...] |
tcuImageIO.cpp | 107 TextureFormat textureFormat; 114 textureFormat = TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8); 116 textureFormat = TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8) [all...] |
tcuTexture.cpp | 128 const Channel* getChannelReadMap (TextureFormat::ChannelOrder order) 148 case TextureFormat::R: return R; 149 case TextureFormat::A: return A; 150 case TextureFormat::I: return I; 151 case TextureFormat::L: return L; 152 case TextureFormat::LA: return LA; 153 case TextureFormat::RG: return RG; 154 case TextureFormat::RA: return RA; 155 case TextureFormat::RGB: return RGB; 156 case TextureFormat::RGBA: return RGBA [all...] |
tcuTextureUtil.hpp | 60 TextureChannelClass getTextureChannelClass (TextureFormat::ChannelType channelType); 81 TextureFormatInfo getTextureFormatInfo (const TextureFormat& format); 82 IVec4 getTextureFormatBitDepth (const TextureFormat& format); 83 IVec4 getTextureFormatMantissaBitDepth (const TextureFormat& format);
|
tcuFuzzyImageCompare.cpp | 267 static bool isFormatSupported (const TextureFormat& format) 269 return format.type == TextureFormat::UNORM_INT8 && (format.order == TextureFormat::RGB || format.order == TextureFormat::RGBA); 285 TextureLevel refFiltered(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), width, height); 286 TextureLevel cmpFiltered(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), width, height) [all...] |
tcuBilinearImageCompare.cpp | 193 DE_ASSERT(reference.getFormat() == TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8) && 194 result.getFormat() == TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)); 229 if (reference.getFormat() == TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8))
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/ |
formatutils9.h | 57 struct TextureFormat 59 TextureFormat(); 68 const TextureFormat &GetTextureFormatInfo(GLenum internalFormat);
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/ |
formatutils11.h | 49 struct TextureFormat 51 TextureFormat(); 68 const TextureFormat &GetTextureFormatInfo(GLenum internalFormat);
|
/external/deqp/modules/gles3/functional/ |
es3fFboTestCase.hpp | 33 class TextureFormat; 59 void readPixels (tcu::Surface& dst, int x, int y, int width, int height, const tcu::TextureFormat& format, const tcu::Vec4& scale, const tcu::Vec4& bias); 63 void clearColorBuffer (const tcu::TextureFormat& format, const tcu::Vec4& value = tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f));
|
es3fDepthStencilClearTests.cpp | 90 tcu::TextureFormat getDepthFormat (int depthBits) 94 case 8: return tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::UNORM_INT8); 95 case 16: return tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::UNORM_INT16); 96 case 24: return tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::UNSIGNED_INT_24_8) [all...] |
es3fFboTestUtil.hpp | 214 glu::DataType getFragmentOutputType (const tcu::TextureFormat& format); 215 tcu::TextureFormat getFramebufferReadFormat (const tcu::TextureFormat& format); 219 void clearColorBuffer (sglr::Context& ctx, const tcu::TextureFormat& format, const tcu::Vec4& value); 220 void readPixels (sglr::Context& ctx, tcu::Surface& dst, int x, int y, int width, int height, const tcu::TextureFormat& format, const tcu::Vec4& scale, const tcu::Vec4& bias); 222 tcu::RGBA getFormatThreshold (const tcu::TextureFormat& format); 225 tcu::RGBA getToSRGBConversionThreshold (const tcu::TextureFormat& src, const tcu::TextureFormat& dst);
|
/external/deqp/modules/gles31/functional/ |
es31fFboTestCase.hpp | 33 class TextureFormat; 59 void readPixels (tcu::Surface& dst, int x, int y, int width, int height, const tcu::TextureFormat& format, const tcu::Vec4& scale, const tcu::Vec4& bias); 63 void clearColorBuffer (const tcu::TextureFormat& format, const tcu::Vec4& value = tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f));
|
es31fShaderImageLoadStoreTests.cpp | 67 using tcu::TextureFormat; 134 static inline bool isFormatTypeUnsignedInteger (TextureFormat::ChannelType type) 136 return type == TextureFormat::UNSIGNED_INT8 || 137 type == TextureFormat::UNSIGNED_INT16 || 138 type == TextureFormat::UNSIGNED_INT32; 141 static inline bool isFormatTypeSignedInteger (TextureFormat::ChannelType type) 143 return type == TextureFormat::SIGNED_INT8 || 144 type == TextureFormat::SIGNED_INT16 || 145 type == TextureFormat::SIGNED_INT32; 148 static inline bool isFormatTypeInteger (TextureFormat::ChannelType type [all...] |
es31fStencilTexturingTests.cpp | 62 using tcu::TextureFormat; 170 DE_ASSERT(dst.getFormat().order == TextureFormat::S || dst.getFormat().order == TextureFormat::DS); 387 DE_ASSERT(access.getFormat() == TextureFormat(TextureFormat::S, TextureFormat::UNSIGNED_INT8)); 388 return tcu::ConstPixelBufferAccess(TextureFormat(TextureFormat::R, TextureFormat::UNSIGNED_INT8), 397 DE_ASSERT(stencilRef.getFormat().order == TextureFormat::S) [all...] |
es31fFboTestUtil.hpp | 124 glu::DataType getFragmentOutputType (const tcu::TextureFormat& format); 125 tcu::TextureFormat getFramebufferReadFormat (const tcu::TextureFormat& format); 129 void clearColorBuffer (sglr::Context& ctx, const tcu::TextureFormat& format, const tcu::Vec4& value); 130 void readPixels (sglr::Context& ctx, tcu::Surface& dst, int x, int y, int width, int height, const tcu::TextureFormat& format, const tcu::Vec4& scale, const tcu::Vec4& bias); 132 tcu::RGBA getFormatThreshold (const tcu::TextureFormat& format);
|
es31fTextureLevelStateQueryTests.cpp | [all...] |
es31fTextureGatherTests.cpp | 107 static inline bool isDepthFormat (const tcu::TextureFormat& fmt) 109 return fmt.order == tcu::TextureFormat::D || fmt.order == tcu::TextureFormat::DS; 112 static inline bool isUnormFormatType (tcu::TextureFormat::ChannelType type) 114 return type == tcu::TextureFormat::UNORM_INT8 || 115 type == tcu::TextureFormat::UNORM_INT16 || 116 type == tcu::TextureFormat::UNORM_INT32; 119 static inline bool isSIntFormatType (tcu::TextureFormat::ChannelType type) 121 return type == tcu::TextureFormat::SIGNED_INT8 || 122 type == tcu::TextureFormat::SIGNED_INT16 | [all...] |
/external/deqp/modules/gles2/functional/ |
es2fDepthStencilClearTests.cpp | 90 tcu::TextureFormat getDepthFormat (int depthBits) 94 case 8: return tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::UNORM_INT8); 95 case 16: return tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::UNORM_INT16); 96 case 24: return tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::UNSIGNED_INT_24_8) [all...] |
/external/chromium_org/ui/gl/ |
gl_image_memory.cc | 30 GLenum TextureFormat(unsigned internalformat) { 43 return TextureFormat(internalformat); 154 TextureFormat(internalformat_), 219 TextureFormat(internalformat_), 262 TextureFormat(internalformat_),
|
/external/deqp/modules/egl/ |
teglRenderTests.cpp | 296 tcu::TextureFormat getColorFormat (const tcu::PixelFormat& colorBits) 298 using tcu::TextureFormat; 310 case PACK_FMT(8,8,8,8): return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8); 311 case PACK_FMT(8,8,8,0): return TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8); 312 case PACK_FMT(4,4,4,4): return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_SHORT_4444) [all...] |
/external/deqp/framework/opengl/simplereference/ |
sglrReferenceContext.cpp | 55 using tcu::TextureFormat; 76 return tcu::PixelBufferAccess(TextureFormat(TextureFormat::R, TextureFormat::UNSIGNED_INT8), 0, 0, 0, DE_NULL); 158 tcu::TextureFormat toTextureFormat (const tcu::PixelFormat& pixelFmt) 163 tcu::TextureFormat texFmt; 166 { tcu::PixelFormat(8,8,8,8), tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8) }, 167 { tcu::PixelFormat(8,8,8,0), tcu::TextureFormat(tcu::TextureFormat::RGB, tcu::TextureFormat::UNORM_INT8) } [all...] |