Home
last modified time | relevance | path

Searched refs:textureFormat (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/third_party/angle/src/libEGL/
DDisplay.cpp283 EGLenum textureFormat = EGL_NO_TEXTURE; in createOffscreenSurface() local
309 textureFormat = attribList[1]; in createOffscreenSurface()
352 …if (textureFormat != EGL_NO_TEXTURE && !mRenderer->getRendererExtensions().textureNPOT && (!gl::is… in createOffscreenSurface()
357 if ((textureFormat != EGL_NO_TEXTURE && textureTarget == EGL_NO_TEXTURE) || in createOffscreenSurface()
358 (textureFormat == EGL_NO_TEXTURE && textureTarget != EGL_NO_TEXTURE)) in createOffscreenSurface()
368 if ((textureFormat == EGL_TEXTURE_RGB && configuration->mBindToTextureRGB != EGL_TRUE) || in createOffscreenSurface()
369 (textureFormat == EGL_TEXTURE_RGBA && configuration->mBindToTextureRGBA != EGL_TRUE)) in createOffscreenSurface()
380 …Surface *surface = new Surface(this, configuration, shareHandle, width, height, textureFormat, tex… in createOffscreenSurface()
DSurface.cpp50 …fig *config, HANDLE shareHandle, EGLint width, EGLint height, EGLenum textureFormat, EGLenum textu… in Surface() argument
57 mTextureFormat = textureFormat; in Surface()
DSurface.h37 …fig *config, HANDLE shareHandle, EGLint width, EGLint height, EGLenum textureFormat, EGLenum textu…
/external/deqp/framework/common/
DtcuImageIO.cpp107 TextureFormat textureFormat; in loadPNG() local
114 textureFormat = TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8); in loadPNG()
116 textureFormat = TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8); in loadPNG()
122 dst.setStorage(textureFormat, width, height); in loadPNG()
/external/deqp/modules/gles31/functional/
Des31fTextureGatherTests.cpp949 tcu::TextureFormat textureFormat,
1025 tcu::TextureFormat textureFormat, in TextureGatherCase() argument
1037 , m_textureFormat (textureFormat) in TextureGatherCase()
1048 isDepthFormat(textureFormat) ? tcu::TextureFormat::UNORM_INT8 : textureFormat.type)) in TextureGatherCase()
1143 …::genGatherFuncCall (GatherType gatherType, const tcu::TextureFormat& textureFormat, const GatherA… in genGatherFuncCall() argument
1165 if (isDepthFormat(textureFormat)) in genGatherFuncCall()
1214 const tcu::TextureFormat& textureFormat, in genProgramSources() argument
1220 const bool useNormalizedCoord = usePixCoord || isDepthFormat(textureFormat); in genProgramSources()
1222 const bool isShadow = isDepthFormat(textureFormat); in genProgramSources()
1223 const glu::DataType samplerType = getSamplerType(textureType, textureFormat); in genProgramSources()
[all …]
Des31fShaderImageLoadStoreTests.cpp815 const TextureFormat& textureFormat, in readIntegerTextureViaFBOAndVerify() argument
819 DE_ASSERT(isFormatTypeInteger(textureFormat.type)); in readIntegerTextureViaFBOAndVerify()
829 tcu::TextureLevel resultSlice (textureFormat, textureSize.x(), textureSize.y()); in readIntegerTextureViaFBOAndVerify()
872 const TextureFormat& textureFormat, in readFloatOrNormTextureWithLookupsAndVerify() argument
876 DE_ASSERT(!isFormatTypeInteger(textureFormat.type)); in readFloatOrNormTextureWithLookupsAndVerify()
891 "precision highp " + getShaderSamplerType(textureFormat.type, textureType) + ";\n" in readFloatOrNormTextureWithLookupsAndVerify()
893 … "uniform highp " + getShaderSamplerType(textureFormat.type, textureType) + " u_texture;\n" in readFloatOrNormTextureWithLookupsAndVerify()
953 tcu::TextureLevel resultSlice (textureFormat, textureSize.x(), textureSize.y()); in readFloatOrNormTextureWithLookupsAndVerify()
999 switch (textureFormat.order) in readFloatOrNormTextureWithLookupsAndVerify()
1022 const TextureFormat& textureFormat, in readBufferTextureWithMappingAndVerify() argument
[all …]
/external/deqp/modules/egl/
DteglQuerySurfaceTests.cpp414 const EGLint textureFormat = surface.getAttribute(EGL_TEXTURE_FORMAT); in executeForConfig() local
416 …if (textureFormat != EGL_NO_TEXTURE && textureFormat != EGL_TEXTURE_RGB && textureFormat != EGL_TE… in executeForConfig()
418 …log << TestLog::Message << " Fail, invalid texture format value " << textureFormat << TestLog::… in executeForConfig()
/external/mesa3d/src/glx/
Dglx_pbuffer.c216 pdraw->textureFormat = determineTextureFormat(attrib_list, num_attribs); in CreateDRIDrawable()
354 if (pdraw != NULL && !pdraw->textureFormat) in GetDrawableAttribute()
355 pdraw->textureFormat = in GetDrawableAttribute()
Dglxclient.h138 GLenum textureFormat; /* EXT_texture_from_pixmap support */ member
Ddrisw_glx.c321 pdraw->base.textureFormat, in drisw_bind_tex_image()
Ddri2_glx.c904 pdraw->base.textureFormat, in dri2_bind_tex_image()
/external/chromium_org/third_party/mesa/src/src/glx/
Dglx_pbuffer.c216 pdraw->textureFormat = determineTextureFormat(attrib_list, num_attribs); in CreateDRIDrawable()
354 if (pdraw != NULL && !pdraw->textureFormat) in GetDrawableAttribute()
355 pdraw->textureFormat = in GetDrawableAttribute()
Dglxclient.h138 GLenum textureFormat; /* EXT_texture_from_pixmap support */ member
Ddrisw_glx.c321 pdraw->base.textureFormat, in drisw_bind_tex_image()
Ddri2_glx.c904 pdraw->base.textureFormat, in dri2_bind_tex_image()
/external/deqp/modules/gles2/stress/
Des2sSpecialFloatTests.cpp1320 …tcu::TextureFormat textureFormat (tcu::TextureFormat::RGBA, (m_fboType == FBO_RGBA_FLOAT16) ? (tc… in testFBO() local
1321 tcu::TextureLevel specialImage (textureFormat, TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in testFBO()
1322 tcu::TextureLevel normalImage (textureFormat, TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in testFBO()
1514 …tcu::TextureFormat textureFormat (tcu::TextureFormat::RGBA, (m_fboType == FBO_RGBA_FLOAT16) ? (… in testFBO() local
1515 tcu::TextureLevel beforeImage (textureFormat, TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in testFBO()
1516 tcu::TextureLevel afterImage (textureFormat, TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in testFBO()
/external/deqp/modules/gles3/stress/
Des3sSpecialFloatTests.cpp1683 …tcu::TextureFormat textureFormat (tcu::TextureFormat::RGBA, (m_fboType == FBO_RGBA_FLOAT16 || m_f… in testFBO() local
1684 tcu::TextureLevel specialImage (textureFormat, TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in testFBO()
1685 tcu::TextureLevel normalImage (textureFormat, TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in testFBO()
1882 …tcu::TextureFormat textureFormat (tcu::TextureFormat::RGBA, (m_fboType == FBO_RGBA_FLOAT16 || m… in testFBO() local
1883 tcu::TextureLevel beforeImage (textureFormat, TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in testFBO()
1884 tcu::TextureLevel afterImage (textureFormat, TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in testFBO()
/external/chromium_org/third_party/angle/src/libGLESv2/
DvalidationES2.cpp524 GLenum textureFormat = gl::GetInternalFormatInfo(textureInternalFormat).format; in ValidateES2CopyTexImageParameters() local
529 switch (textureFormat) in ValidateES2CopyTexImageParameters()
DvalidationES3.cpp682 CopyConversion(GLenum textureFormat, GLenum framebufferFormat) in CopyConversion()
683 : mTextureFormat(textureFormat), mFramebufferFormat(framebufferFormat) { } in CopyConversion()
/external/deqp/modules/gles2/functional/
Des2fTextureSpecificationTests.cpp86 … getPixelFormatCompareDepth (const tcu::PixelFormat& pixelFormat, tcu::TextureFormat textureFormat) in getPixelFormatCompareDepth() argument
88 switch (textureFormat.order) in getPixelFormatCompareDepth()
98 …ec4 computeCompareThreshold (const tcu::PixelFormat& pixelFormat, tcu::TextureFormat textureFormat) in computeCompareThreshold() argument
100 const IVec4 texFormatBits = tcu::getTextureFormatBitDepth(textureFormat); in computeCompareThreshold()
101 const IVec4 pixelFormatBits = getPixelFormatCompareDepth(pixelFormat, textureFormat); in computeCompareThreshold()
/external/deqp/modules/gles3/functional/
Des3fTextureSpecificationTests.cpp116 … getPixelFormatCompareDepth (const tcu::PixelFormat& pixelFormat, tcu::TextureFormat textureFormat) in getPixelFormatCompareDepth() argument
118 switch (textureFormat.order) in getPixelFormatCompareDepth()
128 …ec4 computeCompareThreshold (const tcu::PixelFormat& pixelFormat, tcu::TextureFormat textureFormat) in computeCompareThreshold() argument
130 const IVec4 texFormatBits = tcu::getTextureFormatBitDepth(textureFormat); in computeCompareThreshold()
131 const IVec4 pixelFormatBits = getPixelFormatCompareDepth(pixelFormat, textureFormat); in computeCompareThreshold()