Home
last modified time | relevance | path

Searched refs:m_format (Results 1 – 25 of 83) sorted by relevance

1234

/external/deqp/modules/internal/
DditAstcTests.cpp50 const CompressedTexFormat m_format; member in dit::__anone8be904b0111::AstcCase
64 , m_format (format) in AstcCase()
110 if (astc::isBlockTestTypeHDROnly(blockTestType) && isAstcSRGBFormat(m_format)) in iterate()
114 astc::generateBlockCaseTestData(generatedData, m_format, blockTestType); in iterate()
116 testDecompress(m_format, getNumBlocksFromBytes(generatedData.size()), &generatedData[0]); in iterate()
124 …verifyBlocksValid(m_format, TexDecompressionParams::ASTCMODE_LDR, getNumBlocksFromBytes(generatedD… in iterate()
126 if (!isAstcSRGBFormat(m_format)) in iterate()
127 …verifyBlocksValid(m_format, TexDecompressionParams::ASTCMODE_HDR, getNumBlocksFromBytes(generatedD… in iterate()
138 testDecompress(m_format, numBlocks, &generatedData[0]); in iterate()
140 verifyBlocksValid(m_format, TexDecompressionParams::ASTCMODE_LDR, numBlocks, &generatedData[0]); in iterate()
[all …]
/external/deqp/modules/gles3/functional/
Des3fFboDepthbufferTests.cpp54 , m_format (format) in BasicFboDepthCase()
63 checkFormatSupport(m_format); in preCheck()
92 glRenderbufferStorage(GL_RENDERBUFFER, m_format, m_width, m_height); in render()
136 deUint32 m_format; member in deqp::gles3::Functional::BasicFboDepthCase
146 , m_format (format) in DepthWriteClampCase()
155 checkFormatSupport(m_format); in preCheck()
164 glu::TransferFormat transferFmt = glu::getTransferFormat(glu::mapGLInternalFormat(m_format)); in render()
182 …glTexImage2D(GL_TEXTURE_2D, 0, m_format, m_width, m_height, 0, transferFmt.format, transferFmt.dat… in render()
222 const deUint32 m_format; member in deqp::gles3::Functional::DepthWriteClampCase
232 , m_format (format) in DepthTestClampCase()
[all …]
Des3fReadPixelsTests.cpp82 GLint m_format; member in deqp::gles3::Functional::__anon216a25e40111::ReadPixelsTest
101 , m_format (format) in ReadPixelsTest()
208 GLU_CHECK_CALL(glGetIntegerv(GL_IMPLEMENTATION_COLOR_READ_FORMAT, &m_format)); in getFormatInfo()
211 if (m_format != GL_RGBA && m_format != GL_BGRA && m_format != GL_RGB) in getFormatInfo()
212 …d IMPLEMENTATION_COLOR_READ_FORMAT: " + de::toString(glu::getTextureFormatStr(m_format))).c_str()); in getFormatInfo()
217 format = glu::mapGLTransferFormat(m_format, m_type); in getFormatInfo()
249 else if (m_format == GL_RGBA || m_format == GL_BGRA || m_format == GL_RGB) in clearColor()
259 if (m_format == GL_RGBA || m_format == GL_BGRA || m_format == GL_RGB) in clearColor()
275 else if (m_format == GL_RGBA_INTEGER) in clearColor()
318 GLU_CHECK_CALL(glReadPixels(0, 0, m_width, m_height, m_format, m_type, &(pixelData[0]))); in clearColor()
[all …]
Des3fFboColorbufferTests.cpp83 , m_format (format) in FboColorbufferCase()
89 const tcu::RGBA threshold (tcu::max(getFormatThreshold(m_format), MIN_THRESHOLD)); in compare()
97 const deUint32 m_format; member in deqp::gles3::Functional::FboColorbufferCase
113 checkFormatSupport(m_format); in preCheck()
118 tcu::TextureFormat fboFormat = glu::mapGLInternalFormat(m_format); in render()
130 glRenderbufferStorage(GL_RENDERBUFFER, m_format, m_width, m_height); in render()
335 checkFormatSupport(m_format); in preCheck()
361 tcu::TextureFormat texFmt = glu::mapGLInternalFormat(m_format); in render()
380 bool isFilterable = glu::isGLInternalColorFormatFilterable(m_format); in render()
394 …glTexImage2D(cubeGLFaces[ndx], 0, m_format, size.x(), size.y(), 0, transferFmt.format, transferFmt… in render()
[all …]
Des3fTextureFormatTests.cpp100 deUint32 m_format; member in deqp::gles3::Functional::Texture2DFormatCase
113 , m_format (format) in Texture2DFormatCase()
126 , m_format (internalFormat) in Texture2DFormatCase()
142 checkSupport(m_renderCtxInfo, m_format); in init()
145 …t fmt = m_dataType ? glu::mapGLTransferFormat(m_format, m_dataType) : glu::mapGLInternalFormat(m… in init()
150 fmtName << glu::getTextureFormatStr(m_format) << ", " << glu::getTypeStr(m_dataType); in init()
152 fmtName << glu::getTextureFormatStr(m_format); in init()
159 …? new glu::Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height) // Implicit internal fo… in init()
160 : new glu::Texture2D(m_renderCtx, m_format, m_width, m_height); // Explicit internal format. in init()
263 deUint32 m_format; member in deqp::gles3::Functional::TextureCubeFormatCase
[all …]
Des3fASTCDecompressionCases.cpp247 CompressedTexFormat getFormat (void) const { return m_format; } in getFormat()
255 const CompressedTexFormat m_format; member in deqp::gles3::Functional::ASTCDecompressionCaseInternal::ASTCRenderer2D
275 , m_format (format) in ASTCRenderer2D()
376 , m_format (format) in ASTCBlockCase2D()
381 …DE_ASSERT(!(tcu::isAstcSRGBFormat(m_format) && tcu::astc::isBlockTestTypeHDROnly(m_testType))); //… in ASTCBlockCase2D()
393 generateBlockCaseTestData(m_blockData, m_format, m_testType); in init()
429 …rTarget().getPixelFormat().getColorThreshold() + (tcu::isAstcSRGBFormat(m_format) ? tcu::RGBA(2,2,… in iterate()
430 tcu::CompressedTexture compressed (m_format, imageWidth, imageHeight); in iterate()
448 …ionMode = (m_renderer->getASTCSupport() == ASTCSUPPORTLEVEL_LDR || tcu::isAstcSRGBFormat(m_format)) in iterate()
529 , m_format (format) in ASTCBlockSizeRemainderCase2D()
[all …]
/external/deqp/framework/opengl/
DgluTexture.cpp54 , m_format (format) in Texture1D()
65 , m_format (sizedFormat) in Texture1D()
97 …gl.texImage1D(GL_TEXTURE_1D, levelNdx, m_format, access.getWidth(), 0 /* border */, transferFormat… in upload()
108 , m_format (format) in Texture2D()
120 , m_format (sizedFormat) in Texture2D()
132 , m_format (getGLFormat(levels[0].getFormat())) in Texture2D()
138 if (!contextInfo.isCompressedTextureFormatSupported(m_format)) in Texture2D()
181 …gl.texImage2D(GL_TEXTURE_2D, levelNdx, m_format, access.getWidth(), access.getHeight(), 0 /* borde… in upload()
306 …gl.texStorage2D(GL_TEXTURE_2D, m_refTexture.getNumLevels(), m_format, m_refTexture.getWidth(), m_r… in upload()
325 , m_format (getGLFormat(levels[0].getFormat())) in TextureCube()
[all …]
DgluTexture.hpp61 deUint32 m_format; //!< Internal format. member in glu::Texture1D
91 deUint32 m_format; //!< Internal format. member in glu::Texture2D
148 deUint32 m_format; //!< Internal format. member in glu::TextureCube
182 deUint32 m_format; //!< Internal format. member in glu::Texture2DArray
211 deUint32 m_format; //!< Internal format. member in glu::Texture1DArray
244 deUint32 m_format; //!< Internal format. member in glu::Texture3D
275 deUint32 m_format; //!< Internal format. member in glu::TextureCubeArray
315 deUint32 m_format; //!< Internal format. member in glu::TextureBuffer
/external/deqp/framework/common/
DtcuTexture.cpp892 : m_format (format) in ConstPixelBufferAccess()
894 , m_pitch (calculatePackedPitch(m_format, m_size)) in ConstPixelBufferAccess()
901 : m_format (format) in ConstPixelBufferAccess()
903 , m_pitch (calculatePackedPitch(m_format, m_size)) in ConstPixelBufferAccess()
910 : m_format (format) in ConstPixelBufferAccess()
919 : m_format (format) in ConstPixelBufferAccess()
925 DE_ASSERT(m_format.getPixelSize() <= m_pitch.x()); in ConstPixelBufferAccess()
929 : m_format (level.getFormat()) in ConstPixelBufferAccess()
931 , m_pitch (calculatePackedPitch(m_format, m_size)) in ConstPixelBufferAccess()
982 …DE_ASSERT(!isCombinedDepthStencilType(m_format.type)); // combined types cannot be accessed direct… in getPixel()
[all …]
/external/deqp/modules/gles2/functional/
Des2fTextureSpecificationTests.cpp618 , m_format (format) in BasicTexImage2DCase()
646 …glTexImage2D(GL_TEXTURE_2D, ndx, m_format, levelW, levelH, 0, m_format, m_dataType, levelData.getA… in createTexture()
650 deUint32 m_format; member in deqp::gles2::Functional::BasicTexImage2DCase
660 , m_format (format) in BasicTexImageCubeCase()
694 …glTexImage2D(s_cubeMapFaces[face], ndx, m_format, levelW, levelH, 0, m_format, m_dataType, levelDa… in createTexture()
699 deUint32 m_format; member in deqp::gles2::Functional::BasicTexImageCubeCase
709 , m_format (format) in RandomOrderTexImage2DCase()
744 …glTexImage2D(GL_TEXTURE_2D, levelNdx, m_format, levelW, levelH, 0, m_format, m_dataType, levelData… in createTexture()
748 deUint32 m_format; member in deqp::gles2::Functional::RandomOrderTexImage2DCase
758 , m_format (format) in RandomOrderTexImageCubeCase()
[all …]
/external/deqp/modules/gles31/functional/
Des31fStencilTexturingTests.cpp519 , m_format (format) in UploadTex2DCase()
532 TextureLevel uploadLevel (glu::mapGLInternalFormat(m_format), width, height); in iterate()
536 checkDepthStencilFormatSupport(m_context, m_format); in iterate()
542 gl.texStorage2D(GL_TEXTURE_2D, 1, m_format, width, height); in iterate()
566 const deUint32 m_format; member in deqp::gles31::Functional::__anon125591310111::UploadTex2DCase
574 , m_format (format) in UploadTex2DArrayCase()
589 TextureLevel uploadLevel (glu::mapGLInternalFormat(m_format), width, height, levels); in iterate()
591 checkDepthStencilFormatSupport(m_context, m_format); in iterate()
604 gl.texStorage3D(GL_TEXTURE_2D_ARRAY, 1, m_format, width, height, levels); in iterate()
652 const deUint32 m_format; member in deqp::gles31::Functional::__anon125591310111::UploadTex2DArrayCase
[all …]
Des31fFboColorbufferTests.cpp97 , m_format (format) in FboColorbufferCase()
103 const tcu::RGBA threshold (tcu::max(getFormatThreshold(m_format), MIN_THRESHOLD)); in compare()
111 const deUint32 m_format; member in deqp::gles31::Functional::FboColorbufferCase
130 checkFormatSupport(m_format); in preCheck()
137 tcu::TextureFormat texFmt = glu::mapGLInternalFormat(m_format); in render()
156 bool isFilterable = glu::isGLInternalColorFormatFilterable(m_format); in render()
174 …glTexImage3D(GL_TEXTURE_CUBE_MAP_ARRAY, 0, m_format, size.x(), size.y(), size.z(), 0, transferFmt.… in render()
Des31fTextureFormatTests.cpp113 const deUint32 m_format; member in deqp::gles31::Functional::TextureCubeArrayFormatCase
128 , m_format (format) in TextureCubeArrayFormatCase()
142 , m_format (internalFormat) in TextureCubeArrayFormatCase()
161 if ((supportedExtensions.cubeMapArray && m_format != GL_SR8_EXT) || in init()
162 (supportedExtensions.cubeMapArray && m_format == GL_SR8_EXT && supportedExtensions.sRGBR8)) in init()
165 …? new glu::TextureCubeArray(m_renderCtx, m_format, m_dataType, m_size, m_depth) // Implicit intern… in init()
166 …: new glu::TextureCubeArray(m_renderCtx, m_format, m_size, m_depth); // Explicit internal forma… in init()
283 deUint32 m_format; member in deqp::gles31::Functional::TextureBufferFormatCase
294 , m_format (internalFormat) in TextureBufferFormatCase()
310 tcu::TextureFormat fmt = glu::mapGLInternalFormat(m_format); in init()
[all …]
Des31fShaderImageLoadStoreTests.cpp578 const TextureFormat& getFormat (void) const { return m_format; } in getFormat()
608 const TextureFormat m_format; member in deqp::gles31::Functional::__anoncc1b15dc0111::LayeredImage
621 , m_format (format) in LayeredImage()
1116 , m_format (format) in ImageStoreCase()
1126 const TextureFormat m_format; member in deqp::gles31::Functional::__anoncc1b15dc0111::ImageStoreCase
1136 const deUint32 internalFormatGL = glu::getInternalFormat(m_format); in iterate()
1141 …const float storeColorScale = isFormatTypeUnorm(m_format.type) ? 1.0f / (float)(maxImageDime… in iterate()
1142 : isFormatTypeSnorm(m_format.type) ? 2.0f / (float)(maxImageDimension - 1) in iterate()
1144 const float storeColorBias = isFormatTypeSnorm(m_format.type) ? -1.0f : 0.0f; in iterate()
1166 const string shaderImageFormatStr = getShaderImageFormatQualifier(m_format); in iterate()
[all …]
/external/deqp/modules/egl/
DteglImageUtil.cpp181 …at, GLenum type, bool useTexLevel0) : m_internalFormat(internalFormat), m_format(format), m_type(t… in TextureImageSource()
192 const GLenum m_format; member in deqp::egl::Image::TextureImageSource
220 return deqp::egl::Image::getEffectiveFormat(m_format, m_type); in getEffectiveFormat()
251 *ref = Texture2D(glu::mapGLTransferFormat(m_format, m_type), IMAGE_WIDTH, IMAGE_HEIGHT); in createBuffer()
263 0, m_format, m_type, ref->getLevel(0).getDataPtr())); in createBuffer()
284 …age2D(GL_TEXTURE_2D, 0, m_internalFormat, IMAGE_WIDTH, IMAGE_HEIGHT, 0, m_format, m_type, DE_NULL), in initTexture()
316 …ge2D(faces[faceNdx], 0, m_internalFormat, IMAGE_WIDTH, IMAGE_HEIGHT, 0, m_format, m_type, DE_NULL)… in initTexture()
332 RenderbufferImageSource (GLenum format) : m_format(format) {} in RenderbufferImageSource()
336 GLenum getEffectiveFormat (void) const { return m_format; } in getEffectiveFormat()
342 GLenum m_format; member in deqp::egl::Image::RenderbufferImageSource
[all …]
DteglAndroidUtil.cpp104 AndroidNativeImageSource (GLenum format) : m_format(format), m_libui(DE_NULL) {} in AndroidNativeImageSource()
109 GLenum getEffectiveFormat (void) const { return m_format; } in getEffectiveFormat()
112 GLenum m_format; member in deqp::egl::Image::AndroidNativeImageSource
141 MovePtr<AndroidNativeClientBuffer> buffer (new AndroidNativeClientBuffer(getLibUI(), m_format)); in createBuffer()
145 const TextureFormat texFormat = glu::mapGLInternalFormat(m_format); in createBuffer()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageAtomicOperationTests.cpp266 const tcu::TextureFormat m_format; member in vkt::image::__anone05727c70111::BinaryAtomicEndResultCase
282 , m_format (format) in BinaryAtomicEndResultCase()
292 const bool uintFormat = isUintFormat(mapTextureFormat(m_format)); in initPrograms()
293 const bool intFormat = isIntFormat(mapTextureFormat(m_format)); in initPrograms()
302 const string shaderImageFormatStr = getShaderImageFormatQualifier(m_format); in initPrograms()
303 const string shaderImageTypeStr = getShaderImageType(m_format, m_imageType); in initPrograms()
340 const tcu::TextureFormat m_format; member in vkt::image::__anone05727c70111::BinaryAtomicIntermValuesCase
356 , m_format (format) in BinaryAtomicIntermValuesCase()
366 const bool uintFormat = isUintFormat(mapTextureFormat(m_format)); in initPrograms()
367 const bool intFormat = isIntFormat(mapTextureFormat(m_format)); in initPrograms()
[all …]
DvktImageLoadStoreTests.cpp331 const VkFormat m_format; member in vkt::image::__anon2e72ae660111::StoreTest
344 , m_format (format) in StoreTest()
354 const float storeColorScale = computeStoreColorScale(m_format, m_texture.size()); in initPrograms()
355 const float storeColorBias = computeStoreColorBias(m_format); in initPrograms()
356 DE_ASSERT(colorScaleAndBiasAreValid(m_format, storeColorScale, storeColorBias)); in initPrograms()
360 …const std::string signednessPrefix = isUintFormat(m_format) ? "u" : isIntFormat(m_format) ? "i" : … in initPrograms()
374 const std::string formatQualifierStr = getShaderImageFormatQualifier(mapVkFormat(m_format)); in initPrograms()
375 const std::string imageTypeStr = getShaderImageType(mapVkFormat(m_format), usedImageType); in initPrograms()
434 const VkFormat m_format; member in vkt::image::__anon2e72ae660111::BaseTestInstance
442 , m_format (format) in BaseTestInstance()
[all …]
DvktImageQualifiersTests.cpp221 const tcu::TextureFormat m_format; member in vkt::image::__anon2e82a8ae0111::MemoryQualifierTestCase
237 , m_format(format) in MemoryQualifierTestCase()
250 const bool uintFormat = isUintFormat(mapTextureFormat(m_format)); in initPrograms()
251 const bool intFormat = isIntFormat(mapTextureFormat(m_format)); in initPrograms()
255 const std::string shaderImageFormat = getShaderImageFormatQualifier(m_format); in initPrograms()
256 const std::string shaderImageType = getShaderImageType(m_format, m_imageType); in initPrograms()
335 const tcu::TextureFormat m_format; member in vkt::image::__anon2e82a8ae0111::MemoryQualifierInstanceBase
352 , m_format(format) in MemoryQualifierInstanceBase()
363 …eviceSize bufferSizeInBytes = getNumPixels(m_imageType, m_imageSize) * tcu::getPixelSize(m_format); in iterate()
405 …tcu::ConstPixelBufferAccess resultPixelBuffer(m_format, computeGridSize.x(), computeGridSize.y(), … in iterate()
[all …]
DvktImageSizeTests.cpp172 const VkFormat m_format; member in vkt::image::__anona0fae0540111::SizeTest
185 , m_format (format) in SizeTest()
195 const std::string formatQualifierStr = getShaderImageFormatQualifier(mapVkFormat(m_format)); in initPrograms()
196 const std::string imageTypeStr = getShaderImageType(mapVkFormat(m_format), m_texture.type()); in initPrograms()
260 const VkFormat m_format; member in vkt::image::__anona0fae0540111::SizeTestInstance
268 , m_format (format) in SizeTestInstance()
365 …<Image>(new Image(vk, device, allocator, makeImageCreateInfo(m_texture, m_format), MemoryRequireme… in ImageSizeTestInstance()
368 …ageView(vk, device, m_image->get(), mapImageViewType(m_texture.type()), m_format, subresourceRange… in ImageSizeTestInstance()
441 const VkDeviceSize imageSizeBytes = getImageSizeBytes(m_texture.size(), m_format); in BufferSizeTestInstance()
445 m_bufferView = makeBufferView(vk, device, m_imageBuffer->get(), m_format, 0ull, imageSizeBytes); in BufferSizeTestInstance()
[all …]
/external/deqp/modules/gles2/performance/
Des2pTextureUploadTests.cpp90 deUint32 m_format; member in deqp::gles2::Performance::TextureUploadCase
107 , m_format (format) in TextureUploadCase()
217 const tcu::TextureFormat& texFmt = glu::mapGLTransferFormat(m_format, m_type); in init()
230 …gl.texImage2D (GL_TEXTURE_2D, 0, m_format, m_texSize, m_texSize, 0, m_format, m_type, &m_texData[0… in init()
321 …gl.texImage2D(GL_TEXTURE_2D, 0, m_format, m_texSize, m_texSize, 0, m_format, m_type, &m_texData[0]… in render()
324 gl.texSubImage2D(GL_TEXTURE_2D, 0, 0, 0, m_texSize, m_texSize, m_format, m_type, &m_texData[0]); in render()
417 …gl.texImage2D(GL_TEXTURE_2D, 0, m_format, m_texSize, m_texSize, 0, m_format, m_type, &m_texData[0]… in render()
420 gl.texSubImage2D(GL_TEXTURE_2D, 0, 0, 0, m_texSize, m_texSize, m_format, m_type, &m_texData[0]); in render()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesShaderIntrinsicsStorage.cpp47 const std::string imageTypeStr = getShaderImageType(m_format, m_imageType); in initPrograms()
48 const std::string formatDataStr = getShaderImageDataType(m_format); in initPrograms()
49 const std::string formatQualStr = getShaderImageFormatQualifier(m_format); in initPrograms()
58 const std::string typeImgComp = getImageComponentTypeName(m_format); in initPrograms()
59 const std::string typeImgCompVec4 = getImageComponentVec4TypeName(m_format); in initPrograms()
127 …<< "%type_image_sparse = " << getOpTypeImageSparse(m_imageType, m_format, typeImgComp, false) << "… in initPrograms()
131 …<< "%type_image_sparse_with_sampler = " << getOpTypeImageSparse(m_imageType, m_format, typeImgComp… in initPrograms()
541 …n new SparseShaderIntrinsicsInstanceFetch(context, m_function, m_imageType, m_imageSize, m_format); in createInstance()
560 …rn new SparseShaderIntrinsicsInstanceRead(context, m_function, m_imageType, m_imageSize, m_format); in createInstance()
DvktSparseResourcesShaderIntrinsicsBase.hpp113 , m_format(format) in SparseShaderIntrinsicsCaseBase()
121 const tcu::TextureFormat m_format; member in vkt::sparse::SparseShaderIntrinsicsCaseBase
136 , m_format(format) in SparseShaderIntrinsicsInstanceBase()
157 const tcu::TextureFormat m_format; member in vkt::sparse::SparseShaderIntrinsicsInstanceBase
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawImageObjectUtil.cpp155 , m_format (format) in Image()
174 m_pixelAccessData.resize(width * height * vk::mapVkFormat(m_format).getPixelSize()); in readSurface()
185 …return tcu::ConstPixelBufferAccess(vk::mapVkFormat(m_format), width, height, 1, m_pixelAccessData.… in readSurface()
199 m_pixelAccessData.resize(width * height * depth * vk::mapVkFormat(m_format).getPixelSize()); in readVolume()
210 …return tcu::ConstPixelBufferAccess(vk::mapVkFormat(m_format), width, height, depth, m_pixelAccessD… in readVolume()
222 m_pixelAccessData.resize(width * vk::mapVkFormat(m_format).getPixelSize()); in readSurface1D()
234 …return tcu::ConstPixelBufferAccess(vk::mapVkFormat(m_format), width, 1, 1, m_pixelAccessData.data(… in readSurface1D()
274 bool isCombinedType = isCombinedDepthStencilType(vk::mapVkFormat(m_format).type); in readUsingBuffer()
278 bufferSize = vk::mapVkFormat(m_format).getPixelSize() * width * height * depth; in readUsingBuffer()
283 switch (m_format) in readUsingBuffer()
[all …]
/external/emma/core/java12/com/vladium/emma/report/
DIItemAttribute.java150 m_format.format (1.0F, appendTo, m_fieldPosition); in format()
152 m_format.format (n_scaled / d, appendTo, m_fieldPosition); in format()
204 m_format = (DecimalFormat) NumberFormat.getPercentInstance (); // TODO: locale in FractionAttribute()
209 m_format.setMaximumFractionDigits (0); in FractionAttribute()
223 private final DecimalFormat m_format, m_nFormat; field in IItemAttribute.Factory.FractionAttribute

1234