/external/deqp/modules/gles2/functional/ |
es2fReadPixelsTests.cpp | 65 void getFormatInfo (tcu::TextureFormat& format, GLint& glFormat, GLint& glType, int& pixelSize, bool& align); 143 void ReadPixelsTest::getFormatInfo (tcu::TextureFormat& format, GLint& glFormat, GLint& glType, int& pixelSize, bool& align) 185 format = tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8); 201 tcu::TextureFormat format(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8);
|
es2fTextureSpecificationTests.cpp | 62 tcu::TextureFormat mapGLUnsizedInternalFormat (deUint32 internalFormat) 64 using tcu::TextureFormat; 67 case GL_ALPHA: return TextureFormat(TextureFormat::A, TextureFormat::UNORM_INT8); 68 case GL_LUMINANCE: return TextureFormat(TextureFormat::L, TextureFormat::UNORM_INT8); 69 case GL_LUMINANCE_ALPHA: return TextureFormat(TextureFormat::LA, TextureFormat::UNORM_INT8) [all...] |
es2fRandomFragmentOpTests.cpp | 269 m_refColorBuffer = new tcu::TextureLevel(tcu::TextureFormat(useRGB ? tcu::TextureFormat::RGB : tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), width, height); 270 m_refDepthBuffer = new tcu::TextureLevel(tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::FLOAT), width, height); 271 m_refStencilBuffer = new tcu::TextureLevel(tcu::TextureFormat(tcu::TextureFormat::S, tcu::TextureFormat::UNSIGNED_INT32), width, height) [all...] |
/external/deqp/framework/common/ |
tcuTexture.hpp | 39 class TextureFormat 100 TextureFormat (ChannelOrder order_, ChannelType type_) 106 TextureFormat (void) 114 bool operator== (const TextureFormat& other) const { return !(*this != other); } 115 bool operator!= (const TextureFormat& other) const 248 ConstPixelBufferAccess (const TextureFormat& format, int width, int height, int depth, const void* data); 249 ConstPixelBufferAccess (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, const void* data); 251 const TextureFormat& getFormat (void) const { return m_format; } 283 TextureFormat m_format; 306 PixelBufferAccess (const TextureFormat& format, int width, int height, int depth, void* data) [all...] |
tcuTestLog.cpp | 168 const TextureFormat& format = access.getFormat(); 173 if (depth == 1 && format.type == TextureFormat::UNORM_INT8 && 175 (format.order == TextureFormat::RGB || format.order == TextureFormat::RGBA) 180 bool isRGBA = format.order == TextureFormat::RGBA; 190 tcu::TextureLevel logImage (TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), logImageSize.x(), logImageSize.y(), 1); 223 PixelBufferAccess blendImageAccess (TextureFormat(TextureFormat::RGBA, TextureFormat::FLOAT), logImageW, logImageH, 1, &blendImage[0]) [all...] |
tcuCompressedTexture.hpp | 110 TextureFormat getUncompressedFormat (void) const;
|
/external/deqp/modules/gles3/functional/ |
es3fBlendTests.cpp | 56 using tcu::TextureFormat; 70 DE_ASSERT(sRGBAAccess.getFormat().order == TextureFormat::sRGBA); 74 TextureLevel linear (TextureFormat(TextureFormat::RGBA, sRGBAAccess.getFormat().type), width, height); 211 m_refColorBuffer = new TextureLevel(TextureFormat(m_useSrgbFbo ? TextureFormat::sRGBA : useRGB ? TextureFormat::RGB : TextureFormat::RGBA, TextureFormat::UNORM_INT8), 265 TextureLevel renderedImg (TextureFormat(m_useSrgbFbo ? TextureFormat::sRGBA : TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_viewportW (…) [all...] |
es3fFboMultisampleTests.cpp | 81 tcu::TextureFormat colorFmt = glu::mapGLInternalFormat(m_colorFormat); 82 tcu::TextureFormat depthStencilFmt = m_depthStencilFormat != GL_NONE ? glu::mapGLInternalFormat(m_depthStencilFormat) : tcu::TextureFormat(); 84 bool depth = depthStencilFmt.order == tcu::TextureFormat::D || depthStencilFmt.order == tcu::TextureFormat::DS; 85 bool stencil = depthStencilFmt.order == tcu::TextureFormat::S || depthStencilFmt.order == tcu::TextureFormat::DS;
|
es3fFboTestUtil.cpp | [all...] |
es3fReadPixelsTests.cpp | 79 void getFormatInfo (tcu::TextureFormat& format, int& pixelSize, bool& align); 115 if (reference.getFormat().type == tcu::TextureFormat::SIGNED_INT32) 117 else if (reference.getFormat().type == tcu::TextureFormat::UNSIGNED_INT32) 126 if (reference.getFormat().type == tcu::TextureFormat::UNSIGNED_INT32) 128 else if (reference.getFormat().type == tcu::TextureFormat::SIGNED_INT32) 183 if (reference.getFormat().type == tcu::TextureFormat::SIGNED_INT32) 185 else if (reference.getFormat().type == tcu::TextureFormat::UNSIGNED_INT32) 194 void ReadPixelsTest::getFormatInfo (tcu::TextureFormat& format, int& pixelSize, bool& align) 352 tcu::TextureFormat format(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8) [all...] |
es3fFboInvalidateTests.cpp | 462 tcu::TextureFormat colorFmt = glu::mapGLInternalFormat(m_colorFmt); 463 tcu::TextureFormat depthStencilFmt = m_depthStencilFmt != GL_NONE ? glu::mapGLInternalFormat(m_depthStencilFmt) : tcu::TextureFormat(); 465 bool depth = depthStencilFmt.order == tcu::TextureFormat::D || depthStencilFmt.order == tcu::TextureFormat::DS; 466 bool stencil = depthStencilFmt.order == tcu::TextureFormat::S || depthStencilFmt.order == tcu::TextureFormat::DS; 575 tcu::TextureFormat colorFmt = glu::mapGLInternalFormat(m_colorFmt); 576 tcu::TextureFormat depthStencilFmt = m_depthStencilFmt != GL_NONE ? glu::mapGLInternalFormat(m_depthStencilFmt) : tcu::TextureFormat(); [all...] |
es3fRandomFragmentOpTests.cpp | 269 m_refColorBuffer = new tcu::TextureLevel(tcu::TextureFormat(useRGB ? tcu::TextureFormat::RGB : tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), width, height); 270 m_refDepthBuffer = new tcu::TextureLevel(tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::FLOAT), width, height); 271 m_refStencilBuffer = new tcu::TextureLevel(tcu::TextureFormat(tcu::TextureFormat::S, tcu::TextureFormat::UNSIGNED_INT32), width, height) [all...] |
es3fFramebufferBlitTests.cpp | 311 static tcu::BVec4 getChannelMask (tcu::TextureFormat::ChannelOrder order) 315 case tcu::TextureFormat::R: return tcu::BVec4(true, false, false, false); 316 case tcu::TextureFormat::RG: return tcu::BVec4(true, true, false, false); 317 case tcu::TextureFormat::RGB: return tcu::BVec4(true, true, true, false); 318 case tcu::TextureFormat::RGBA: return tcu::BVec4(true, true, true, true); 319 case tcu::TextureFormat::sRGB: return tcu::BVec4(true, true, true, false); 320 case tcu::TextureFormat::sRGBA: return tcu::BVec4(true, true, true, true); 347 tcu::TextureFormat srcFormat = glu::mapGLInternalFormat(m_srcFormat); 348 tcu::TextureFormat dstFormat = glu::mapGLInternalFormat(m_dstFormat); 427 const tcu::TextureFormat srcFormat = glu::mapGLInternalFormat(m_srcFormat) [all...] |
/external/deqp/modules/gles31/functional/ |
es31fFboTestUtil.cpp | 414 void clearColorBuffer (sglr::Context& ctx, const tcu::TextureFormat& format, const tcu::Vec4& value) 439 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) 441 tcu::TextureFormat readFormat = getFramebufferReadFormat(format); 544 glu::DataType getFragmentOutputType (const tcu::TextureFormat& format) 565 tcu::TextureFormat getFramebufferReadFormat (const tcu::TextureFormat& format) 570 return tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::FLOAT); 574 return tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8) [all...] |
es31fAdvancedBlendTests.cpp | 57 using tcu::TextureFormat; 238 m_refColorBuffer = new TextureLevel(TextureFormat(useSRGB ? TextureFormat::sRGBA : TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_viewportWidth, m_viewportHeight); 348 if (access.getFormat().order == TextureFormat::sRGBA) 349 return tcu::ConstPixelBufferAccess(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), 366 TextureLevel renderedImg (TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_viewportWidth, m_viewportHeight) [all...] |
es31fOpaqueTypeIndexingTests.cpp | 63 using tcu::TextureFormat; 200 static tcu::TextureFormat getSamplerTextureFormat (glu::DataType samplerType) 209 return tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::UNORM_INT16); 211 return tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8); 213 case glu::TYPE_INT: return tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT8) [all...] |
/external/deqp/modules/glshared/ |
glsRandomShaderCase.cpp | 418 tcu::TextureLevel rendered (tcu::TextureFormat(hasAlpha ? tcu::TextureFormat::RGBA : tcu::TextureFormat::RGB, tcu::TextureFormat::UNORM_INT8), viewportWidth, viewportHeight); 419 tcu::TextureLevel reference (tcu::TextureFormat(hasAlpha ? tcu::TextureFormat::RGBA : tcu::TextureFormat::RGB, tcu::TextureFormat::UNORM_INT8), viewportWidth, viewportHeight); 491 if (rendered.getFormat().order != tcu::TextureFormat::RGBA || rendered.getFormat().type != tcu::TextureFormat::UNORM_INT8 [all...] |
glsSamplerObjectTest.cpp | 382 tcu::Texture2D refTexture (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), TEXTURE2D_WIDTH, TEXTURE2D_HEIGHT); 408 tcu::Texture3D refTexture (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), TEXTURE3D_WIDTH, TEXTURE3D_HEIGHT, TEXTURE3D_DEPTH); 434 tcu::TextureCube refTexture (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), CUBEMAP_SIZE); 879 tcu::Texture2D refTexture (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), TEXTURE2D_WIDTH, TEXTURE2D_HEIGHT) [all...] |
glsScissorTests.cpp | 539 tcu::TextureFormat texFmt; 764 retval.texFmt = tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::HALF_FLOAT); 770 retval.texFmt = tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT32); 775 retval.texFmt = tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNSIGNED_INT32) [all...] |
/external/chromium_org/ui/gl/ |
gl_image_glx.cc | 36 int TextureFormat(unsigned internalformat) { 154 TextureFormat(internalformat_), 0};
|
/external/chromium_org/mojo/services/public/cpp/view_manager/lib/ |
bitmap_uploader.cc | 32 uint32_t TextureFormat() { 121 TextureFormat(), 221 TextureFormat(), 225 TextureFormat(),
|
/external/deqp/modules/gles3/performance/ |
es3pTextureCases.cpp | 95 const tcu::TextureFormat texFormat = glu::mapGLInternalFormat(m_internalFormat); 97 const glu::Precision samplerPrec = (texFormat.type == tcu::TextureFormat::FLOAT || 98 texFormat.type == tcu::TextureFormat::UNSIGNED_INT32 || 99 texFormat.type == tcu::TextureFormat::SIGNED_INT32)
|
/external/deqp/framework/referencerenderer/ |
rrMultisamplePixelBufferAccess.cpp | 36 : m_access(tcu::PixelBufferAccess(tcu::TextureFormat(), 0, 0, 0, 0, 0, DE_NULL)) 72 : m_access(tcu::ConstPixelBufferAccess(tcu::TextureFormat(), 0, 0, 0, 0, 0, DE_NULL))
|
/external/chromium_org/third_party/mesa/src/src/egl/main/ |
eglsurface.c | 232 surf->TextureFormat = val; 322 surf->TextureFormat = EGL_NO_TEXTURE; 371 *value = surface->TextureFormat; 503 if (surface->TextureFormat == EGL_NO_TEXTURE) {
|
/external/mesa3d/src/egl/main/ |
eglsurface.c | 232 surf->TextureFormat = val; 322 surf->TextureFormat = EGL_NO_TEXTURE; 371 *value = surface->TextureFormat; 503 if (surface->TextureFormat == EGL_NO_TEXTURE) {
|