Home
last modified time | relevance | path

Searched refs:getPixelSize (Results 1 – 25 of 31) sorted by relevance

12

/external/deqp/framework/opengl/
DgluPixelTransfer.cpp38 int pixelSize = format.getPixelSize(); in getTransferAlignment()
54 TCU_CHECK_INTERNAL(dst.getRowPitch() == dst.getFormat().getPixelSize()*dst.getWidth()); in readPixels()
73 TCU_CHECK_INTERNAL(src.getRowPitch() == src.getFormat().getPixelSize()*src.getWidth()); in texImage2D()
91 TCU_CHECK_INTERNAL(src.getRowPitch() == src.getFormat().getPixelSize()*src.getWidth()); in texImage3D()
112 TCU_CHECK_INTERNAL(src.getRowPitch() == src.getFormat().getPixelSize()*src.getWidth()); in texSubImage2D()
130 TCU_CHECK_INTERNAL(src.getRowPitch() == src.getFormat().getPixelSize()*src.getWidth()); in texSubImage3D()
DgluTexture.cpp43 int pixelSize = format.getPixelSize(); in computePixelStore()
180 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*access.getWidth()); in upload()
367 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*access.getWidth()); in upload()
486 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*access.getWidth()); in upload()
573 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*access.getWidth()); in upload()
574 …DE_ASSERT(access.getSlicePitch() == access.getFormat().getPixelSize()*access.getWidth()*access.get… in upload()
695 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*access.getWidth()); in upload()
696 …DE_ASSERT(access.getSlicePitch() == access.getFormat().getPixelSize()*access.getWidth()*access.get… in upload()
786 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*access.getWidth()); in upload()
787 …DE_ASSERT(access.getSlicePitch() == access.getFormat().getPixelSize()*access.getWidth()*access.get… in upload()
[all …]
/external/deqp/modules/glshared/
DglsFragmentOpUtil.cpp283 original.getFormat().getPixelSize(), in getMultisampleAccess()
294 original.getFormat().getPixelSize(), in getMultisampleAccess()
DglsLongStressCase.cpp127 const int pixelSize = format.getPixelSize(); in computePixelStore()
501 : glu::mapGLInternalFormat(internalFormat).getPixelSize(); in getApproxMemUsageDiff()
521 m_dataSizeApprox = width * height * format.getPixelSize() * (m_type == TEXTURETYPE_CUBE ? 6 : 1); in setData()
523 DE_ASSERT(src.getRowPitch() == format.getPixelSize()*src.getWidth()); in setData()
538 m_dataSizeApprox += levelWid * levelHei * format.getPixelSize(); in setData()
551 m_dataSizeApprox += 6 * levelWid * levelHei * format.getPixelSize(); in setData()
565 DE_ASSERT(src.getRowPitch() == format.getPixelSize()*src.getWidth()); in setSubData()
DglsScissorTests.cpp626 vector<deUint8> refData (width*height*bufferFmt.texFmt.getPixelSize()); in iterate()
627 vector<deUint8> resData (width*height*bufferFmt.texFmt.getPixelSize()); in iterate()
/external/deqp/modules/internal/
DditImageIOTests.cpp60 …_CHECK(texture.getAccess().getRowPitch() == texture.getWidth()*texture.getFormat().getPixelSize()); in iterate()
/external/deqp/modules/gles3/functional/
Des3fTextureSpecificationTests.cpp989 int rowPitch = deAlign32(levelW*m_texFormat.getPixelSize(), m_alignment); in createTexture()
1043 int rowPitch = deAlign32(m_texFormat.getPixelSize()*levelSize, m_alignment); in createTexture()
1080 int pixelSize = m_texFormat.getPixelSize(); in createTexture()
1149 int pixelSize = m_texFormat.getPixelSize(); in createTexture()
1381 int pixelSize = m_texFormat.getPixelSize(); in createTexture()
1665 data.resize(m_texFormat.getPixelSize()*m_width*m_height); in createTexture()
1672 int rowPitch = deAlign32(m_texFormat.getPixelSize()*m_subW, m_alignment); in createTexture()
1733 data.resize(m_texFormat.getPixelSize()*m_size*m_size); in createTexture()
1741 int rowPitch = deAlign32(m_texFormat.getPixelSize()*m_subW, m_alignment); in createTexture()
1804 int pixelSize = m_texFormat.getPixelSize(); in createTexture()
[all …]
Des3fFragmentOutputTests.cpp590 attachments[ndx].renderedData.resize(readFmt.getPixelSize()*attachmentW*attachmentH); in iterate()
591 attachments[ndx].referenceData.resize(refFmt.getPixelSize()*attachmentW*attachmentH); in iterate()
827 …t, attachmentW, attachmentH, 1, deAlign32(attachments[ndx].readFormat.getPixelSize()*attachmentW, … in iterate()
882 …achmentW, attachmentH, 1, deAlign32(attachments[attachNdx].readFormat.getPixelSize()*attachmentW, … in iterate()
Des3fPixelBufferObjectTests.cpp537 …int readDataSize = readRefrence.getWidth() * readRefrence.getHeight() * readFormat.getPixelSize(); in iterate()
Des3fReadPixelsTests.cpp218 pixelSize = format.getPixelSize(); in getFormatInfo()
/external/deqp/framework/platform/null/
DtcuNullRenderContext.cpp549 …0) ? (targetRowLength * transferFormat.getPixelSize()) : (deAlign32(targetRowLength * transferForm… in glReadPixels()
/external/deqp/modules/gles31/functional/
Des31fShaderImageLoadStoreTests.cpp694 const int numBytes = format.getPixelSize() * imageSize.x(); in setTextureStorage()
730 const int pixelSize = src.getFormat().getPixelSize(); in uploadTexture()
744 …glLog.glBufferData(GL_TEXTURE_BUFFER, src.getFormat().getPixelSize() * imageSize.x(), src.getAcces… in uploadTexture()
1028 const int dataSize = imageSize * textureFormat.getPixelSize(); in readBufferTextureWithMappingAndVerify()
1284 DE_ASSERT(textureFormat.getPixelSize() == imageFormat.getPixelSize()); in ImageLoadAndStoreCase()
1305 const int pixelSize = imageFormat.getPixelSize(); in replaceBadFloatReinterpretValues()
1490 const int pixelSize = m_imageFormat.getPixelSize(); in iterate()
3263 if (texFmt != imgFmt && texFmt.getPixelSize() == imgFmt.getPixelSize()) in init()
Des31fTextureLevelStateQueryTests.cpp376 static int getPixelSize (glw::GLenum internalFormat) in getPixelSize() function
379 return fmt.getPixelSize(); in getPixelSize()
471 const int baseSize = getPixelSize(internalFormat); in generateColorTextureGenerationGroup()
495 const int baseSize = getPixelSize(internalFormat); in generateColorTextureGenerationGroup()
618 const int baseSize = getPixelSize(internalFormats[internalFormatNdx]); in generateInternalFormatTextureGenerationGroup()
Des31fTextureSpecificationTests.cpp428 int pixelSize = m_texFormat.getPixelSize(); in createTexture()
521 int pixelSize = m_texFormat.getPixelSize(); in createTexture()
721 int pixelSize = m_texFormat.getPixelSize(); in createTexture()
Des31fOpaqueTypeIndexingTests.cpp424 …NTERNAL(access.getFormat().order == TextureFormat::RGBA && access.getFormat().getPixelSize() == 4); in fillTextureData()
443 vector<deUint8> texData (numSamplers * texFormat.getPixelSize()); in iterate()
499 …gl, textures[samplerNdx], m_samplerType, texFormat, &texData[samplerNdx*texFormat.getPixelSize()]); in iterate()
Des31fCopyImageTests.cpp337 return glu::mapGLInternalFormat(format).getPixelSize(); in getTexelBlockSize()
641 levels[0].setStorage(format.getPixelSize() * size.x() * size.y()); in genRenderbufferImage()
653 vector<deUint8> texelBlock(format.getPixelSize()); in genRenderbufferImage()
655 genTexel(rng, moreRestrictiveFormat, format.getPixelSize(), 1, &(texelBlock[0])); in genRenderbufferImage()
946 …(levelPixelSize.x() * levelPixelSize.y() * levelPixelSize.z() * decompressedFormat.getPixelSize()); in decompressTextureLevel()
Des31fTextureFormatTests.cpp296 m_texture = new glu::TextureBuffer(m_renderCtx, m_format, m_width * fmt.getPixelSize()); in init()
Des31fFboTestUtil.cpp444 int rowSize = deAlign32(readFormat.getPixelSize()*width, alignment); in readPixels()
/external/deqp/modules/gles2/functional/
Des2fReadPixelsTests.cpp157 pixelSize = format.getPixelSize(); in getFormatInfo()
Des2fTextureUnitTests.cpp864 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*width); in render()
888 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*width); in render()
Des2fTextureSpecificationTests.cpp809 int basePitch = transferFmt.getPixelSize()*rowLen; in getRowPitch()
1182 data.resize(fmt.getPixelSize()*m_width*m_height); in createTexture()
1235 data.resize(fmt.getPixelSize()*m_width*m_height); in createTexture()
/external/deqp/framework/common/
DtcuTextureUtil.cpp496 const int pixelSize = access.getFormat().getPixelSize(); in clear()
527 const int pixelSize = access.getFormat().getPixelSize(); in clear()
808 const int srcPixelSize = src.getFormat().getPixelSize(); in copy()
809 const int dstPixelSize = dst.getFormat().getPixelSize(); in copy()
DtcuTestLog.cpp180 && access.getPixelPitch() == access.getFormat().getPixelSize() in writeImage()
DtcuTexture.cpp485 const int pixelSize = format.getPixelSize(); in calculatePackedPitch()
493 int TextureFormat::getPixelSize (void) const in getPixelSize() function in tcu::TextureFormat
561 , m_pitch (format.getPixelSize(), rowPitch, slicePitch) in ConstPixelBufferAccess()
572 DE_ASSERT(m_format.getPixelSize() <= m_pitch.x()); in ConstPixelBufferAccess()
1703 int pixelSize = m_format.getPixelSize(); in setSize()
2713 const int size = m_format.getPixelSize()*width*height*depth; in allocLevel()
3000 const int dataSize = m_format.getPixelSize()*size*size; in allocLevel()
/external/deqp/modules/gles2/performance/
Des2pTextureUploadTests.cpp218 int pixelSize = texFmt.getPixelSize(); in init()

12