Home
last modified time | relevance | path

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

123

/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_ext_pbuffer.c89 int textureFormat = WGL_NO_TEXTURE_ARB; in wglCreatePbufferARB() local
113 textureFormat = *piAttrib; in wglCreatePbufferARB()
114 if (textureFormat != WGL_TEXTURE_RGB_ARB && in wglCreatePbufferARB()
115 textureFormat != WGL_TEXTURE_RGBA_ARB && in wglCreatePbufferARB()
116 textureFormat != WGL_NO_TEXTURE_ARB) { in wglCreatePbufferARB()
259 fb->textureFormat = textureFormat; in wglCreatePbufferARB()
360 *piValue = fb->textureFormat; in wglQueryPbufferARB()
Dstw_framebuffer.h93 unsigned textureFormat; /**< WGL_NO_TEXTURE or WGL_TEXTURE_RGB[A]_ARB */ member
Dstw_ext_rendertexture.c159 texFormat = translate_texture_format(fb->textureFormat); in wglBindTexImageARB()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderTextureGatherTests.cpp918 …sic2DCaseIterations (GatherType gatherType, const tcu::TextureFormat& textureFormat, const IVec2& … in generateBasic2DCaseIterations() argument
920 …const int numComponentCases = isDepthFormat(textureFormat) ? 1 : 4+1; // \note For non-depth tex… in generateBasic2DCaseIterations()
994 tcu::TextureFormat textureFormat; member
1021 , textureFormat (textureFormat_) in GatherCaseBaseParams()
1037 , textureFormat () in GatherCaseBaseParams()
1139 …isDepthFormat(baseParams.textureFormat) ? tcu::TextureFormat::UNORM_INT8 : baseParams.textureForma… in TextureGatherInstance()
1143 …shadowCompareMode != tcu::Sampler::COMPAREMODE_NONE) == isDepthFormat(m_baseParams.textureFormat)); in TextureGatherInstance()
1243 … m_baseParams.gatherType == GATHERTYPE_OFFSET_DYNAMIC || isDepthFormat(m_baseParams.textureFormat); in setupDefaultInputs()
1362 if (isDepthFormat(m_baseParams.textureFormat)) in verify()
1376 if (isUnormFormatType(m_baseParams.textureFormat.type)) in verify()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageTestsUtil.cpp858 const tcu::TextureFormat textureFormat = mapVkFormat(format); in getGlslAttachmentType() local
859 const tcu::TextureChannelClass channelClass = tcu::getTextureChannelClass(textureFormat.type); in getGlslAttachmentType()
882 const tcu::TextureFormat textureFormat = mapVkFormat(format); in getGlslInputAttachmentType() local
883 const tcu::TextureChannelClass channelClass = tcu::getTextureChannelClass(textureFormat.type); in getGlslInputAttachmentType()
906 const tcu::TextureFormat textureFormat = mapVkFormat(format); in isPackedType() local
910 switch (textureFormat.type) in isPackedType()
941 const tcu::TextureFormat textureFormat = mapVkFormat(format); in isComponentSwizzled() local
945 switch (textureFormat.order) in isComponentSwizzled()
964 const tcu::TextureFormat textureFormat = mapVkFormat(format); in getNumUsedChannels() local
966 return getNumUsedChannels(textureFormat.order); in getNumUsedChannels()
DvktImageTranscodingSupportTests.cpp199 tcu::TextureFormat textureFormat = mapVkFormat(m_parameters.featuredFormat); in generateData() local
201 if (textureFormat.type == tcu::TextureFormat::SNORM_INT8) in generateData()
224 tcu::TextureFormat textureFormat = mapVkFormat(m_parameters.featuredFormat); in generateData() local
226 if (textureFormat.type == tcu::TextureFormat::HALF_FLOAT) in generateData()
235 else if (textureFormat.type == tcu::TextureFormat::FLOAT) in generateData()
/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/swiftshader/src/OpenGL/libEGL/
DDisplay.cpp344 EGLenum textureFormat = EGL_NO_TEXTURE; in createPBufferSurface() local
372 textureFormat = attribList[1]; in createPBufferSurface()
453 if((textureFormat != EGL_NO_TEXTURE && textureTarget == EGL_NO_TEXTURE) || in createPBufferSurface()
454 (textureFormat == EGL_NO_TEXTURE && textureTarget != EGL_NO_TEXTURE)) in createPBufferSurface()
520 if(textureFormat != EGL_TEXTURE_RGBA) in createPBufferSurface()
543 if((textureFormat == EGL_TEXTURE_RGB && configuration->mBindToTextureRGB != EGL_TRUE) || in createPBufferSurface()
544 ((textureFormat == EGL_TEXTURE_RGBA && configuration->mBindToTextureRGBA != EGL_TRUE))) in createPBufferSurface()
550 …Surface *surface = new PBufferSurface(this, configuration, width, height, textureFormat, textureTa… in createPBufferSurface()
DSurface.cpp226 return textureFormat; in getTextureFormat()
424 … EGLenum textureFormat, EGLenum textureTarget, EGLenum clientBufferFormat, in PBufferSurface() argument
432 this->textureFormat = textureFormat; in PBufferSurface()
DSurface.hpp100 EGLenum textureFormat = EGL_NO_TEXTURE; // Format of texture: RGB, RGBA, or no texture member in egl::Surface
140 EGLenum textureFormat, EGLenum textureTarget, EGLenum internalFormat,
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryTestsUtil.cpp560 const tcu::TextureFormat textureFormat = mapVkFormat(format); in fillBuffer() local
561 const deUint32 colorPixelSize = static_cast<deUint32>(tcu::getPixelSize(textureFormat)); in fillBuffer()
562 tcu::TextureLevel colorPixelBuffer (textureFormat, 1, 1); in fillBuffer()
579 const tcu::TextureFormat textureFormat = mapVkFormat(format); in fillBuffer() local
580 const deUint32 colorPixelSize = static_cast<deUint32>(tcu::getPixelSize(textureFormat)); in fillBuffer()
581 tcu::TextureLevel colorPixelBuffer (textureFormat, 1, 1); in fillBuffer()
/external/deqp/modules/gles31/functional/
Des31fTextureGatherTests.cpp965 tcu::TextureFormat textureFormat,
1041 tcu::TextureFormat textureFormat, in TextureGatherCase() argument
1053 , m_textureFormat (textureFormat) in TextureGatherCase()
1064 isDepthFormat(textureFormat) ? tcu::TextureFormat::UNORM_INT8 : textureFormat.type)) in TextureGatherCase()
1162 …::genGatherFuncCall (GatherType gatherType, const tcu::TextureFormat& textureFormat, const GatherA… in genGatherFuncCall() argument
1184 if (isDepthFormat(textureFormat)) in genGatherFuncCall()
1233 const tcu::TextureFormat& textureFormat, in genProgramSources() argument
1239 const bool useNormalizedCoord = usePixCoord || isDepthFormat(textureFormat); in genProgramSources()
1241 const bool isShadow = isDepthFormat(textureFormat); in genProgramSources()
1242 const glu::DataType samplerType = getSamplerType(textureType, textureFormat); in genProgramSources()
[all …]
Des31fShaderImageLoadStoreTests.cpp826 const TextureFormat& textureFormat, in readIntegerTextureViaFBOAndVerify() argument
830 DE_ASSERT(isFormatTypeInteger(textureFormat.type)); in readIntegerTextureViaFBOAndVerify()
840 tcu::TextureLevel resultSlice (textureFormat, textureSize.x(), textureSize.y()); in readIntegerTextureViaFBOAndVerify()
883 const TextureFormat& textureFormat, in readFloatOrNormTextureWithLookupsAndVerify() argument
887 DE_ASSERT(!isFormatTypeInteger(textureFormat.type)); in readFloatOrNormTextureWithLookupsAndVerify()
903 "precision highp " + getShaderSamplerType(textureFormat.type, textureType) + ";\n" in readFloatOrNormTextureWithLookupsAndVerify()
905 … "uniform highp " + getShaderSamplerType(textureFormat.type, textureType) + " u_texture;\n" in readFloatOrNormTextureWithLookupsAndVerify()
965 tcu::TextureLevel resultSlice (textureFormat, textureSize.x(), textureSize.y()); in readFloatOrNormTextureWithLookupsAndVerify()
1011 switch (textureFormat.order) in readFloatOrNormTextureWithLookupsAndVerify()
1034 const TextureFormat& textureFormat, in readBufferTextureWithMappingAndVerify() argument
[all …]
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArrayETC2Support.cpp342 const tcu::TextureFormat textureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8); in isRenderedImageValid() local
343 …tcu::ConstPixelBufferAccess referenceImg(textureFormat, RENDER_WIDTH, RENDER_HEIGHT, 1, s_RGB_text… in isRenderedImageValid()
347 tcu::PixelBufferAccess renderedImg(textureFormat, RENDER_WIDTH, RENDER_HEIGHT, 1, empty_data); in isRenderedImageValid()
/external/swiftshader/src/Pipeline/
DSamplerCore.cpp138 if(state.textureFormat == VK_FORMAT_R5G6B5_UNORM_PACK16) in sampleTexture()
165 switch(state.textureFormat) in sampleTexture()
293 switch(state.textureFormat) in sampleTexture()
317 if(state.textureFormat == VK_FORMAT_R5G6B5_UNORM_PACK16) in sampleTexture()
344 switch(state.textureFormat) in sampleTexture()
1669 switch(state.textureFormat) in sampleTexel()
1693 switch(state.textureFormat) in sampleTexel()
1718 if(state.textureFormat == VK_FORMAT_R8G8B8A8_SINT) in sampleTexel()
1747 switch(state.textureFormat) in sampleTexel()
1774 switch(state.textureFormat) in sampleTexel()
[all …]
/external/swiftshader/src/Shader/
DSamplerCore.cpp138 if(state.textureFormat == FORMAT_R5G6B5) in sampleTexture()
165 switch(state.textureFormat) in sampleTexture()
338 switch(state.textureFormat) in sampleTexture()
362 if(state.textureFormat == FORMAT_R5G6B5) in sampleTexture()
389 switch(state.textureFormat) in sampleTexture()
1760 switch(state.textureFormat) in sampleTexel()
1784 switch(state.textureFormat) in sampleTexel()
1810 if(state.textureFormat == FORMAT_A8B8G8R8I) in sampleTexel()
1842 switch(state.textureFormat) in sampleTexel()
1864 if(state.textureFormat == FORMAT_X8B8G8R8I) in sampleTexel()
[all …]
/external/mesa3d/src/glx/windows/
Dwindowsgl.h48 int textureFormat, windowsDrawable *drawable);
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureCompressedFormatTests.cpp101 const tcu::TextureFormat textureFormat = texture.getTextureFormat(); in iterate() local
102 const tcu::TextureFormatInfo formatInfo = tcu::getTextureFormatInfo(textureFormat); in iterate()
DvktTextureSwizzleTests.cpp98 const tcu::TextureFormat textureFormat = texture.getTextureFormat(); in iterate() local
99 const float lookupScale = tcu::getTextureFormatInfo(textureFormat).lookupScale[0]; in iterate()
100 const float lookupBias = tcu::getTextureFormatInfo(textureFormat).lookupBias[0]; in iterate()
/external/deqp/modules/egl/
DteglQuerySurfaceTests.cpp419 const EGLint textureFormat = eglu::querySurfaceInt(egl, display, *surface, EGL_TEXTURE_FORMAT); in executeForConfig() local
421 …if (textureFormat != EGL_NO_TEXTURE && textureFormat != EGL_TEXTURE_RGB && textureFormat != EGL_TE… in executeForConfig()
423 …log << TestLog::Message << " Fail, invalid texture format value " << textureFormat << TestLog::… in executeForConfig()
/external/deqp/external/openglcts/modules/gles2/
Des2cTexture3DTests.cpp710 const tcu::TextureFormat textureFormat = texture.getRefTexture().getFormat(); in iterate() local
711 const tcu::TextureFormatInfo formatInfo = tcu::getTextureFormatInfo(textureFormat); in iterate()
738 tcu::TextureLevel data(textureFormat); in iterate()
749 glu::TransferFormat transferFormat = glu::getTransferFormat(textureFormat); in iterate()
761 refParams.samplerType = getSamplerType(textureFormat); in iterate()
821 const tcu::TextureFormat textureFormat = texture.getRefTexture().getFormat(); in iterate() local
822 const tcu::TextureFormatInfo formatInfo = tcu::getTextureFormatInfo(textureFormat); in iterate()
866 tcu::TextureLevel data(textureFormat); in iterate()
888 refParams.samplerType = getSamplerType(textureFormat); in iterate()
991 const tcu::TextureFormat textureFormat = texture2D.getRefTexture().getFormat(); in iterate() local
[all …]
/external/deqp/external/openglcts/modules/glesext/texture_buffer/
DesextcTextureBufferActiveUniformValidation.hpp127 …TextureParameters(glw::GLuint textureBufferSize, glw::GLenum textureFormat, glw::GLenum textureUni…
/external/swiftshader/src/OpenGL/libGLESv2/
Dutilities.cpp544 bool ValidateCopyFormats(GLenum textureFormat, GLenum colorbufferFormat) in ValidateCopyFormats() argument
546 ASSERT(!gl::IsUnsizedInternalFormat(textureFormat)); in ValidateCopyFormats()
549 if(GetColorComponentType(textureFormat) == GL_NONE) in ValidateCopyFormats()
554 if(GetColorComponentType(colorbufferFormat) != GetColorComponentType(textureFormat)) in ValidateCopyFormats()
559 if(GetColorEncoding(colorbufferFormat) != GetColorEncoding(textureFormat)) in ValidateCopyFormats()
564 GLenum baseTexureFormat = gl::GetBaseInternalFormat(textureFormat); in ValidateCopyFormats()
/external/mesa3d/src/glx/
Dglx_pbuffer.c222 pdraw->textureFormat = determineTextureFormat(attrib_list, num_attribs); in CreateDRIDrawable()
404 if (!pdraw->textureFormat) in __glXGetDrawableAttribute()
405 pdraw->textureFormat = in __glXGetDrawableAttribute()
/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()

123