/external/chromium_org/third_party/angle/src/libGLESv2/ |
H A D | validationES2.cpp | 524 GLenum textureFormat = gl::GetInternalFormatInfo(textureInternalFormat).format; local 529 switch (textureFormat)
|
H A D | validationES3.cpp | 682 CopyConversion(GLenum textureFormat, GLenum framebufferFormat) argument 683 : mTextureFormat(textureFormat), mFramebufferFormat(framebufferFormat) { }
|
/external/deqp/framework/common/ |
H A D | tcuImageIO.cpp | 107 TextureFormat textureFormat; local 114 textureFormat = TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8); 116 textureFormat = TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8); 122 dst.setStorage(textureFormat, width, height);
|
/external/chromium_org/third_party/angle/src/libEGL/ |
H A D | Display.cpp | 283 EGLenum textureFormat = EGL_NO_TEXTURE; local 309 textureFormat = attribList[1]; 352 if (textureFormat != EGL_NO_TEXTURE && !mRenderer->getRendererExtensions().textureNPOT && (!gl::isPow2(width) || !gl::isPow2(height))) 357 if ((textureFormat != EGL_NO_TEXTURE && textureTarget == EGL_NO_TEXTURE) || 358 (textureFormat == EGL_NO_TEXTURE && textureTarget != EGL_NO_TEXTURE)) 368 if ((textureFormat == EGL_TEXTURE_RGB && configuration->mBindToTextureRGB != EGL_TRUE) || 369 (textureFormat == EGL_TEXTURE_RGBA && configuration->mBindToTextureRGBA != EGL_TRUE)) 380 Surface *surface = new Surface(this, configuration, shareHandle, width, height, textureFormat, textureTarget);
|
H A D | Surface.cpp | 50 Surface::Surface(Display *display, const Config *config, HANDLE shareHandle, EGLint width, EGLint height, EGLenum textureFormat, EGLenum textureType) argument 57 mTextureFormat = textureFormat;
|
/external/deqp/modules/egl/ |
H A D | teglQuerySurfaceTests.cpp | 414 const EGLint textureFormat = surface.getAttribute(EGL_TEXTURE_FORMAT); local 416 if (textureFormat != EGL_NO_TEXTURE && textureFormat != EGL_TEXTURE_RGB && textureFormat != EGL_TEXTURE_RGBA) 418 log << TestLog::Message << " Fail, invalid texture format value " << textureFormat << TestLog::EndMessage;
|
/external/chromium_org/third_party/mesa/src/src/glx/ |
H A D | glxclient.h | 138 GLenum textureFormat; /* EXT_texture_from_pixmap support */ member in struct:__GLXDRIdrawableRec
|
/external/mesa3d/src/glx/ |
H A D | glxclient.h | 138 GLenum textureFormat; /* EXT_texture_from_pixmap support */ member in struct:__GLXDRIdrawableRec
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fTextureSpecificationTests.cpp | 86 static tcu::IVec4 getPixelFormatCompareDepth (const tcu::PixelFormat& pixelFormat, tcu::TextureFormat textureFormat) argument 88 switch (textureFormat.order) 98 static tcu::UVec4 computeCompareThreshold (const tcu::PixelFormat& pixelFormat, tcu::TextureFormat textureFormat) argument 100 const IVec4 texFormatBits = tcu::getTextureFormatBitDepth(textureFormat); 101 const IVec4 pixelFormatBits = getPixelFormatCompareDepth(pixelFormat, textureFormat);
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fTextureSpecificationTests.cpp | 116 static tcu::IVec4 getPixelFormatCompareDepth (const tcu::PixelFormat& pixelFormat, tcu::TextureFormat textureFormat) argument 118 switch (textureFormat.order) 128 static tcu::UVec4 computeCompareThreshold (const tcu::PixelFormat& pixelFormat, tcu::TextureFormat textureFormat) argument 130 const IVec4 texFormatBits = tcu::getTextureFormatBitDepth(textureFormat); 131 const IVec4 pixelFormatBits = getPixelFormatCompareDepth(pixelFormat, textureFormat);
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fTextureGatherTests.cpp | 949 tcu::TextureFormat textureFormat, 950 tcu::Sampler::CompareMode shadowCompareMode, //!< Should be COMPAREMODE_NONE iff textureFormat is a depth format. 1025 tcu::TextureFormat textureFormat, 1037 , m_textureFormat (textureFormat) 1048 isDepthFormat(textureFormat) ? tcu::TextureFormat::UNORM_INT8 : textureFormat.type)) 1143 string TextureGatherCase::genGatherFuncCall (GatherType gatherType, const tcu::TextureFormat& textureFormat, const GatherArgs& gatherArgs, const string& refZExpr, const IVec2& offsetRange, int indentationDepth) argument 1165 if (isDepthFormat(textureFormat)) 1214 const tcu::TextureFormat& textureFormat, 1220 const bool useNormalizedCoord = usePixCoord || isDepthFormat(textureFormat); 1019 TextureGatherCase(Context& context, const char* name, const char* description, TextureType textureType, GatherType gatherType, OffsetSize offsetSize, tcu::TextureFormat textureFormat, tcu::Sampler::CompareMode shadowCompareMode, tcu::Sampler::WrapMode wrapS, tcu::Sampler::WrapMode wrapT, const MaybeTextureSwizzle& textureSwizzle, tcu::Sampler::FilterMode minFilter, tcu::Sampler::FilterMode magFilter, int baseLevel, deUint32 flags) argument 1212 genProgramSources(GatherType gatherType, TextureType textureType, const tcu::TextureFormat& textureFormat, const GatherArgs& gatherArgs, const string& refZExpr, const IVec2& offsetRange) argument 1545 generateBasic2DCaseIterations(GatherType gatherType, const tcu::TextureFormat& textureFormat, const IVec2& offsetRange) argument 1620 TextureGather2DCase(Context& context, const char* name, const char* description, GatherType gatherType, OffsetSize offsetSize, tcu::TextureFormat textureFormat, tcu::Sampler::CompareMode shadowCompareMode, tcu::Sampler::WrapMode wrapS, tcu::Sampler::WrapMode wrapT, const MaybeTextureSwizzle& texSwizzle, tcu::Sampler::FilterMode minFilter, tcu::Sampler::FilterMode magFilter, int baseLevel, deUint32 flags, const IVec2& textureSize) argument [all...] |
H A D | es31fShaderImageLoadStoreTests.cpp | 815 const TextureFormat& textureFormat, 819 DE_ASSERT(isFormatTypeInteger(textureFormat.type)); 829 tcu::TextureLevel resultSlice (textureFormat, textureSize.x(), textureSize.y()); 872 const TextureFormat& textureFormat, 876 DE_ASSERT(!isFormatTypeInteger(textureFormat.type)); 891 "precision highp " + getShaderSamplerType(textureFormat.type, textureType) + ";\n" 893 "uniform highp " + getShaderSamplerType(textureFormat.type, textureType) + " u_texture;\n" 953 tcu::TextureLevel resultSlice (textureFormat, textureSize.x(), textureSize.y()); 999 switch (textureFormat.order) 1022 const TextureFormat& textureFormat, 811 readIntegerTextureViaFBOAndVerify(const RenderContext& renderCtx, glu::CallLogWrapper& glLog, deUint32 textureGL, TextureType textureType, const TextureFormat& textureFormat, const IVec3& textureSize, const ImageLayerVerifier& verifyLayer) argument 868 readFloatOrNormTextureWithLookupsAndVerify(const RenderContext& renderCtx, glu::CallLogWrapper& glLog, deUint32 textureGL, TextureType textureType, const TextureFormat& textureFormat, const IVec3& textureSize, const ImageLayerVerifier& verifyLayer) argument 1019 readBufferTextureWithMappingAndVerify(const RenderContext& renderCtx, glu::CallLogWrapper& glLog, deUint32 bufferGL, const TextureFormat& textureFormat, int imageSize, const ImageLayerVerifier& verifyLayer) argument 1042 readTextureAndVerify(const RenderContext& renderCtx, glu::CallLogWrapper& glLog, deUint32 textureGL, deUint32 bufferGL, TextureType textureType, const TextureFormat& textureFormat, const IVec3& imageSize, const ImageLayerVerifier& verifyLayer) argument 1276 ImageLoadAndStoreCase(Context& context, const char* name, const char* description, const TextureFormat& textureFormat, const TextureFormat& imageFormat, TextureType textureType, deUint32 caseFlags = 0) argument [all...] |