/external/deqp/framework/opengl/ |
D | gluPixelTransfer.cpp | 38 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()
|
D | gluTexture.cpp | 43 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/ |
D | glsFragmentOpUtil.cpp | 283 original.getFormat().getPixelSize(), in getMultisampleAccess() 294 original.getFormat().getPixelSize(), in getMultisampleAccess()
|
D | glsLongStressCase.cpp | 127 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()
|
D | glsScissorTests.cpp | 626 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/ |
D | ditImageIOTests.cpp | 60 …_CHECK(texture.getAccess().getRowPitch() == texture.getWidth()*texture.getFormat().getPixelSize()); in iterate()
|
/external/deqp/modules/gles3/functional/ |
D | es3fTextureSpecificationTests.cpp | 989 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 …]
|
D | es3fFragmentOutputTests.cpp | 590 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()
|
D | es3fPixelBufferObjectTests.cpp | 537 …int readDataSize = readRefrence.getWidth() * readRefrence.getHeight() * readFormat.getPixelSize(); in iterate()
|
D | es3fReadPixelsTests.cpp | 218 pixelSize = format.getPixelSize(); in getFormatInfo()
|
/external/deqp/framework/platform/null/ |
D | tcuNullRenderContext.cpp | 549 …0) ? (targetRowLength * transferFormat.getPixelSize()) : (deAlign32(targetRowLength * transferForm… in glReadPixels()
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderImageLoadStoreTests.cpp | 694 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()
|
D | es31fTextureLevelStateQueryTests.cpp | 376 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()
|
D | es31fTextureSpecificationTests.cpp | 428 int pixelSize = m_texFormat.getPixelSize(); in createTexture() 521 int pixelSize = m_texFormat.getPixelSize(); in createTexture() 721 int pixelSize = m_texFormat.getPixelSize(); in createTexture()
|
D | es31fOpaqueTypeIndexingTests.cpp | 424 …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()
|
D | es31fCopyImageTests.cpp | 337 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()
|
D | es31fTextureFormatTests.cpp | 296 m_texture = new glu::TextureBuffer(m_renderCtx, m_format, m_width * fmt.getPixelSize()); in init()
|
D | es31fFboTestUtil.cpp | 444 int rowSize = deAlign32(readFormat.getPixelSize()*width, alignment); in readPixels()
|
/external/deqp/modules/gles2/functional/ |
D | es2fReadPixelsTests.cpp | 157 pixelSize = format.getPixelSize(); in getFormatInfo()
|
D | es2fTextureUnitTests.cpp | 864 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*width); in render() 888 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*width); in render()
|
D | es2fTextureSpecificationTests.cpp | 809 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/ |
D | tcuTextureUtil.cpp | 496 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()
|
D | tcuTestLog.cpp | 180 && access.getPixelPitch() == access.getFormat().getPixelSize() in writeImage()
|
D | tcuTexture.cpp | 485 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/ |
D | es2pTextureUploadTests.cpp | 218 int pixelSize = texFmt.getPixelSize(); in init()
|