Home
last modified time | relevance | path

Searched refs:getPixelSize (Results 1 – 25 of 28) 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()
383 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*access.getWidth()); in upload()
502 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*access.getWidth()); in upload()
561 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*access.getWidth()); in upload()
562 …DE_ASSERT(access.getSlicePitch() == access.getFormat().getPixelSize()*access.getWidth()*access.get… in upload()
621 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*access.getWidth()); in upload()
622 …DE_ASSERT(access.getSlicePitch() == access.getFormat().getPixelSize()*access.getWidth()*access.get… in upload()
681 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*access.getWidth()); in upload()
682 …DE_ASSERT(access.getSlicePitch() == access.getFormat().getPixelSize()*access.getWidth()*access.get… in upload()
[all …]
/external/deqp/framework/referencerenderer/
DrrMultisamplePixelBufferAccess.cpp61 original.getFormat().getPixelSize(), in fromSinglesampleAccess()
107 original.getFormat().getPixelSize(), in fromSinglesampleAccess()
/external/chromium_org/third_party/angle/tests/angle_tests/
DUnpackAlignmentTest.cpp60 void getPixelSize(GLenum format, GLenum type, unsigned int* size) in getPixelSize() function in UnpackAlignmentTest
110 getPixelSize(format, type, &pixelSize); in testAlignment()
/external/deqp/framework/common/
DtcuTextureUtil.cpp120 …(const deUint8*)access.getDataPtr() + access.getFormat().getPixelSize()*x + access.getRowPitch()*y… in getSubregion()
140 …(deUint8*)access.getDataPtr() + access.getFormat().getPixelSize()*x + access.getRowPitch()*y + acc… in getSubregion()
474 int pixelSize = access.getFormat().getPixelSize(); in clear()
502 int pixelSize = access.getFormat().getPixelSize(); in clear()
530 int pixelSize = access.getFormat().getPixelSize(); in clearDepth()
558 int pixelSize = access.getFormat().getPixelSize(); in clearStencil()
788 int pixelSize = src.getFormat().getPixelSize(); in copy()
DtcuTexture.cpp436 int TextureFormat::getPixelSize (void) const in getPixelSize() function in tcu::TextureFormat
538 , m_rowPitch (width*format.getPixelSize()) in ConstPixelBufferAccess()
560 , m_rowPitch (m_width*m_format.getPixelSize()) in ConstPixelBufferAccess()
602 int pixelSize = m_format.getPixelSize(); in getPixel()
678 int pixelSize = m_format.getPixelSize(); in getPixelInt()
770 int pixelSize = m_format.getPixelSize(); in getPixDepth()
810 int pixelSize = m_format.getPixelSize(); in getPixStencil()
867 const int pixelSize = m_format.getPixelSize(); in setPixel()
946 int pixelSize = m_format.getPixelSize(); in setPixel()
1008 int pixelSize = m_format.getPixelSize(); in setPixDepth()
[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.cpp621 vector<deUint8> refData (width*height*bufferFmt.texFmt.getPixelSize()); in iterate()
622 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/
Des3fTextureUnitTests.cpp1071 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*width); in upload2dTexture()
1097 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*width); in uploadCubeTexture()
1123 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*width); in upload2dArrayTexture()
1124 DE_ASSERT(access.getSlicePitch() == access.getFormat().getPixelSize()*width*height); in upload2dArrayTexture()
1149 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*width); in upload3dTexture()
1150 DE_ASSERT(access.getSlicePitch() == access.getFormat().getPixelSize()*width*height); in upload3dTexture()
Des3fTextureSpecificationTests.cpp977 int rowPitch = deAlign32(levelW*m_texFormat.getPixelSize(), m_alignment); in createTexture()
1031 int rowPitch = deAlign32(m_texFormat.getPixelSize()*levelSize, m_alignment); in createTexture()
1068 int pixelSize = m_texFormat.getPixelSize(); in createTexture()
1137 int pixelSize = m_texFormat.getPixelSize(); in createTexture()
1369 int pixelSize = m_texFormat.getPixelSize(); in createTexture()
1653 data.resize(m_texFormat.getPixelSize()*m_width*m_height); in createTexture()
1660 int rowPitch = deAlign32(m_texFormat.getPixelSize()*m_subW, m_alignment); in createTexture()
1721 data.resize(m_texFormat.getPixelSize()*m_size*m_size); in createTexture()
1729 int rowPitch = deAlign32(m_texFormat.getPixelSize()*m_subW, m_alignment); in createTexture()
1792 int pixelSize = m_texFormat.getPixelSize(); in createTexture()
[all …]
Des3fFragmentOutputTests.cpp525 attachments[ndx].renderedData.resize(readFmt.getPixelSize()*attachmentW*attachmentH); in iterate()
526 attachments[ndx].referenceData.resize(refFmt.getPixelSize()*attachmentW*attachmentH); in iterate()
811 …achmentW, attachmentH, 1, deAlign32(attachments[attachNdx].readFormat.getPixelSize()*attachmentW, … in iterate()
Des3fReadPixelsTests.cpp232 pixelSize = format.getPixelSize(); in getFormatInfo()
/external/deqp/framework/platform/null/
DtcuNullRenderContext.cpp546 …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 DE_ASSERT(resultAccess.getDataSize() == 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()
3269 if (texFmt != imgFmt && texFmt.getPixelSize() == imgFmt.getPixelSize()) in init()
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()
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.cpp181 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.cpp810 int basePitch = transferFmt.getPixelSize()*rowLen; in getRowPitch()
1183 data.resize(fmt.getPixelSize()*m_width*m_height); in createTexture()
1236 data.resize(fmt.getPixelSize()*m_width*m_height); in createTexture()
/external/deqp/modules/gles2/performance/
Des2pTextureUploadTests.cpp218 int pixelSize = texFmt.getPixelSize(); in init()
/external/deqp/framework/opengl/simplereference/
DsglrReferenceContext.cpp931 int pixelSize = format.getPixelSize(); in getUnpack2DAccess()
941 int pixelSize = format.getPixelSize(); in getUnpack3DAccess()
3387 int pixelSize = access.raw().getFormat().getPixelSize(); in clear()
3419 int pixelSize = access.raw().getFormat().getPixelSize(); in clear()
4627 …PixelBufferAccess dst(transferFmt, width, height, 1, deAlign32(width*transferFmt.getPixelSize(), m… in readPixels()
4706 const int dataSize = format.getPixelSize()*width*height*depth; in allocLevel()

12