Home
last modified time | relevance | path

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

1234

/external/mesa3d/src/gallium/frontends/wgl/
Dstw_ext_pbuffer.c89 int textureFormat = WGL_NO_TEXTURE_ARB; in wglCreatePbufferARB() local
114 textureFormat = *piAttrib; in wglCreatePbufferARB()
115 if (textureFormat != WGL_TEXTURE_RGB_ARB && in wglCreatePbufferARB()
116 textureFormat != WGL_TEXTURE_RGBA_ARB && in wglCreatePbufferARB()
117 textureFormat != WGL_NO_TEXTURE_ARB) { in wglCreatePbufferARB()
261 fb->textureFormat = textureFormat; in wglCreatePbufferARB()
362 *piValue = fb->textureFormat; in wglQueryPbufferARB()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderTextureGatherTests.cpp928 …GatherType gatherType, LevelMode levelMode, const tcu::TextureFormat& textureFormat, const IVec2& … in generateBasic2DCaseIterations() argument
930 …const int numComponentCases = isDepthFormat(textureFormat) ? 1 : 4+1; // \note For non-depth tex… in generateBasic2DCaseIterations()
1005 tcu::TextureFormat textureFormat; member
1034 , textureFormat (textureFormat_) in GatherCaseBaseParams()
1051 , textureFormat () in GatherCaseBaseParams()
1154 …isDepthFormat(baseParams.textureFormat) ? tcu::TextureFormat::UNORM_INT8 : baseParams.textureForma… in TextureGatherInstance()
1158 …shadowCompareMode != tcu::Sampler::COMPAREMODE_NONE) == isDepthFormat(m_baseParams.textureFormat)); in TextureGatherInstance()
1213 const auto format = vk::mapTextureFormat(m_baseParams.textureFormat); in init()
1331 … m_baseParams.gatherType == GATHERTYPE_OFFSET_DYNAMIC || isDepthFormat(m_baseParams.textureFormat); in setupDefaultInputs()
1450 if (isDepthFormat(m_baseParams.textureFormat)) in verify()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryTestsUtil.cpp430 const tcu::TextureFormat textureFormat = mapVkFormat(format); in fillBuffer() local
431 const deUint32 colorPixelSize = static_cast<deUint32>(tcu::getPixelSize(textureFormat)); in fillBuffer()
432 tcu::TextureLevel colorPixelBuffer (textureFormat, 1, 1); in fillBuffer()
449 const tcu::TextureFormat textureFormat = mapVkFormat(format); in fillBuffer() local
450 const deUint32 colorPixelSize = static_cast<deUint32>(tcu::getPixelSize(textureFormat)); in fillBuffer()
451 tcu::TextureLevel colorPixelBuffer (textureFormat, 1, 1); in fillBuffer()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageTestsUtil.cpp782 const tcu::TextureFormat textureFormat = mapVkFormat(format); in getGlslAttachmentType() local
783 const tcu::TextureChannelClass channelClass = tcu::getTextureChannelClass(textureFormat.type); in getGlslAttachmentType()
806 const tcu::TextureFormat textureFormat = mapVkFormat(format); in getGlslInputAttachmentType() local
807 const tcu::TextureChannelClass channelClass = tcu::getTextureChannelClass(textureFormat.type); in getGlslInputAttachmentType()
830 const tcu::TextureFormat textureFormat = mapVkFormat(format); in isPackedType() local
834 switch (textureFormat.type) in isPackedType()
867 const tcu::TextureFormat textureFormat = mapVkFormat(format); in isComponentSwizzled() local
871 switch (textureFormat.order) in isComponentSwizzled()
891 const tcu::TextureFormat textureFormat = mapVkFormat(format); in getNumUsedChannels() local
893 return getNumUsedChannels(textureFormat.order); in getNumUsedChannels()
DvktImageAtomicSpirvShaders.hpp45 tcu::TextureFormat textureFormat; member
DvktImageAtomicSpirvShaders.cpp6509 static_cast<int>(textureFormat.order), in operator <()
6510 static_cast<int>(textureFormat.type), in operator <()
6517 static_cast<int>(other.textureFormat.order), in operator <()
6518 static_cast<int>(other.textureFormat.type), in operator <()
6526 : imageType{imgtype}, textureFormat{order, chtype}, checkType{cktype} in CaseVariant()
/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/angle/src/libANGLE/
Des3_copy_conversion_table_autogen.cpp18 bool ValidES3CopyConversion(GLenum textureFormat, GLenum framebufferFormat) in ValidES3CopyConversion() argument
20 switch (textureFormat) in ValidES3CopyConversion()
/external/swiftshader/src/OpenGL/libEGL/
DDisplay.cpp345 EGLenum textureFormat = EGL_NO_TEXTURE; in createPBufferSurface() local
373 textureFormat = attribList[1]; in createPBufferSurface()
455 if((textureFormat != EGL_NO_TEXTURE && textureTarget == EGL_NO_TEXTURE) || in createPBufferSurface()
456 (textureFormat == EGL_NO_TEXTURE && textureTarget != EGL_NO_TEXTURE)) in createPBufferSurface()
523 if(textureFormat != EGL_TEXTURE_RGBA) in createPBufferSurface()
546 if((textureFormat == EGL_TEXTURE_RGB && configuration->mBindToTextureRGB != EGL_TRUE) || in createPBufferSurface()
547 ((textureFormat == EGL_TEXTURE_RGBA && configuration->mBindToTextureRGBA != EGL_TRUE))) in createPBufferSurface()
553 …Surface *surface = new PBufferSurface(this, configuration, width, height, textureFormat, textureTa… in createPBufferSurface()
DSurface.cpp229 return textureFormat; in getTextureFormat()
429 … EGLenum textureFormat, EGLenum textureTarget, EGLenum clientBufferFormat, in PBufferSurface() argument
437 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/angle/src/libANGLE/renderer/vulkan/
DRenderbufferVk.cpp81 const angle::Format &textureFormat = format.actualImageFormat(); in setStorageImpl() local
82 const bool isDepthStencilFormat = textureFormat.hasDepthOrStencilBits(); in setStorageImpl()
83 ASSERT(textureFormat.redBits > 0 || isDepthStencilFormat); in setStorageImpl()
172 const angle::Format &textureFormat = vkFormat.actualImageFormat(); in setStorageEGLImageTarget() local
174 VkImageAspectFlags aspect = vk::GetFormatAspectFlags(textureFormat); in setStorageEGLImageTarget()
/external/deqp/external/openglcts/modules/gles3/
Des3cNumberParsingTests.cpp357 …const auto textureFormat = tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_… in iterate() local
358 const auto transferFormat = glu::getTransferFormat(textureFormat); in iterate()
392 const auto pixelSize = tcu::getPixelSize(textureFormat); in iterate()
401 …tcu::ConstPixelBufferAccess fbAccess { textureFormat, RENDERTARGET_WIDTH, RENDERTARGET_HEIGHT,… in iterate()
/external/deqp/modules/gles31/functional/
Des31fTextureGatherTests.cpp966 tcu::TextureFormat textureFormat,
1042 tcu::TextureFormat textureFormat, in TextureGatherCase() argument
1054 , m_textureFormat (textureFormat) in TextureGatherCase()
1065 isDepthFormat(textureFormat) ? tcu::TextureFormat::UNORM_INT8 : textureFormat.type)) in TextureGatherCase()
1163 …::genGatherFuncCall (GatherType gatherType, const tcu::TextureFormat& textureFormat, const GatherA… in genGatherFuncCall() argument
1185 if (isDepthFormat(textureFormat)) in genGatherFuncCall()
1234 const tcu::TextureFormat& textureFormat, in genProgramSources() argument
1240 const bool useNormalizedCoord = usePixCoord || isDepthFormat(textureFormat); in genProgramSources()
1242 const bool isShadow = isDepthFormat(textureFormat); in genProgramSources()
1243 const glu::DataType samplerType = getSamplerType(textureType, textureFormat); in genProgramSources()
[all …]
/external/swiftshader/src/Pipeline/
DSamplerCore.cpp139 switch(state.textureFormat) in sampleTexture()
201 switch(state.textureFormat) in sampleTexture()
1507 switch(state.textureFormat) in sampleTexel()
1543 switch(state.textureFormat) in sampleTexel()
1573 if(state.textureFormat == VK_FORMAT_R8G8B8A8_SINT || in sampleTexel()
1574 state.textureFormat == VK_FORMAT_A8B8G8R8_SINT_PACK32) in sampleTexel()
1604 switch(state.textureFormat) in sampleTexel()
1632 switch(state.textureFormat) in sampleTexel()
1641 if(state.textureFormat == VK_FORMAT_R8_SINT) in sampleTexel()
1694 else if(state.textureFormat == VK_FORMAT_A2B10G10R10_UNORM_PACK32) in sampleTexel()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineEarlyDestroyTests.cpp235 const tcu::TextureFormat textureFormat = mapVkFormat(attachmentFormat); in testEarlyDestroy() local
236 …const VkDeviceSize imageSize = framebufferWidth * framebufferHeight * textureFormat.get… in testEarlyDestroy()
306 …const tcu::ConstPixelBufferAccess imagePixels (textureFormat, framebufferWidth, framebuffer… in testEarlyDestroy()
/external/angle/src/libANGLE/renderer/gl/glx/
DPixmapSurfaceGLX.cpp26 int EGLTextureFormatToGLXTextureFormat(EGLint textureFormat) in EGLTextureFormatToGLXTextureFormat() argument
28 switch (textureFormat) in EGLTextureFormatToGLXTextureFormat()
/external/angle/src/libANGLE/renderer/gl/wgl/
DPbufferSurfaceWGL.cpp22 EGLenum textureFormat, in PbufferSurfaceWGL() argument
32 mTextureFormat(textureFormat), in PbufferSurfaceWGL()
/external/deqp/external/openglcts/modules/common/
DglcGLSLVectorConstructorTests.cpp459 …const auto textureFormat = tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat:… in iterate() local
460 const auto transferFormat = glu::getTransferFormat(textureFormat); in iterate()
493 const auto pixelSize = tcu::getPixelSize(textureFormat); in iterate()
502 …tcu::ConstPixelBufferAccess fbAccess { textureFormat, RENDERTARGET_WIDTH, RENDERTARGET_HEIGHT,… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureCompressedFormatTests.cpp196 const tcu::TextureFormat textureFormat = texture.getTextureFormat(); in iterate() local
197 const tcu::TextureFormatInfo formatInfo = tcu::getTextureFormatInfo(textureFormat); in iterate()
316 const tcu::TextureFormat textureFormat = texture.getTextureFormat(); in iterate() local
317 const tcu::TextureFormatInfo formatInfo = tcu::getTextureFormatInfo(textureFormat); in iterate()
/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/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiColorSpaceTests.cpp430 const tcu::TextureFormat textureFormat, in getPixel() argument
441 const VkDeviceSize bufferSize = textureFormat.getPixelSize() * size.x() * size.y(); in getPixel()
457 tcu::ConstPixelBufferAccess resultAccess(textureFormat, in getPixel()
538 const tcu::TextureFormat textureFormat = vk::mapVkFormat(surfaceFormat.format); in colorspaceCompareTest() local
641 allocator, desiredSize, textureFormat, in colorspaceCompareTest()
648 allocator, desiredSize, textureFormat, in colorspaceCompareTest()
/external/deqp/external/vulkancts/modules/vulkan/imageless_framebuffer/
DvktImagelessFramebufferTests.cpp933 …ual MovePtr<tcu::TextureLevel> generateReferenceImage (const tcu::TextureFormat& textureFormat,
944 const tcu::TextureFormat& textureFormat,
1092 …rifyBufferInternal (const void* resultData, const tcu::TextureFormat& textureFormat, const tcu::Te… in verifyBufferInternal() argument
1094 …const int dataSize (m_imageExtent2D.width * m_imageExtent2D.height * textureFormat.getPixel… in verifyBufferInternal()
1099 …const tcu::ConstPixelBufferAccess resultImage (textureFormat, m_imageExtent2D.width, m_imageExtent… in verifyBufferInternal()
1145 …Level> ColorImagelessTestInstance::generateReferenceImage (const tcu::TextureFormat& textureFormat, in generateReferenceImage() argument
1156 MovePtr<tcu::TextureLevel> image (new tcu::TextureLevel(textureFormat, width, height)); in generateReferenceImage()
1283 …irtual MovePtr<tcu::TextureLevel> generateReferenceImage (const tcu::TextureFormat& textureFormat,
1301 …Level> DepthImagelessTestInstance::generateReferenceImage (const tcu::TextureFormat& textureFormat, in generateReferenceImage() argument
1311 MovePtr<tcu::TextureLevel> image (new tcu::TextureLevel(textureFormat, width, height)); in generateReferenceImage()
[all …]
/external/mesa3d/src/glx/windows/
Dwindowsgl.h48 int textureFormat, windowsDrawable *drawable);
/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()
1761 switch(state.textureFormat) in sampleTexel()
1785 switch(state.textureFormat) in sampleTexel()
1811 if(state.textureFormat == FORMAT_A8B8G8R8I) in sampleTexel()
1843 switch(state.textureFormat) in sampleTexel()
1865 if(state.textureFormat == FORMAT_X8B8G8R8I) in sampleTexel()
[all …]

1234