Home
last modified time | relevance | path

Searched refs:rowPitch (Results 1 – 10 of 10) sorted by relevance

/external/deqp/modules/gles3/functional/
Des3fTextureSpecificationTests.cpp989 int rowPitch = deAlign32(levelW*m_texFormat.getPixelSize(), m_alignment); in createTexture() local
992 data.resize(rowPitch*levelH); in createTexture()
993 …tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, levelW, levelH, 1, rowPitch, 0, &data[0]), c… in createTexture()
1043 int rowPitch = deAlign32(m_texFormat.getPixelSize()*levelSize, m_alignment); in createTexture() local
1048 data.resize(rowPitch*levelSize); in createTexture()
1049 …tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, levelSize, levelSize, 1, rowPitch, 0, &data[… in createTexture()
1082 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); in createTexture() local
1090 data.resize(rowPitch*height); in createTexture()
1097 …::PixelBufferAccess(m_texFormat, m_width, m_height, 1, rowPitch, 0, &data[0] + m_skipRows*rowPitch in createTexture()
1151 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); in createTexture() local
[all …]
Des3fReadPixelsTests.cpp314 const int rowPitch = m_alignment * deCeilFloatToInt32(pixelSize * rowWidth / (float)m_alignment); in clearColor() local
316 pixelData.resize(rowPitch * (m_height + m_skipRows), 0); in clearColor()
356 …const int rowPitch = m_alignment * deCeilFloatToInt32(pixelSize * rowWidth / (float)m_align… in iterate() local
357 …ferAccess(format, m_width, m_height, 1, rowPitch, 0, &(pixelData[pixelSize * m_skipPixels + m_skip… in iterate()
/external/deqp/modules/gles31/functional/
Des31fTextureSpecificationTests.cpp430 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); in createTexture() local
432 int slicePitch = imageHeight*rowPitch; in createTexture()
447 …_texFormat, m_size, m_size, m_depth, rowPitch, slicePitch, &data[0] + m_skipImages*slicePitch + m_… in createTexture()
533 int rowPitch = deAlign32(pixelSize*m_size, 4); in createTexture() local
534 int slicePitch = rowPitch*m_size; in createTexture()
537 …tGradients(tcu::PixelBufferAccess(m_texFormat, m_size, m_size, m_depth, rowPitch, slicePitch, &dat… in createTexture()
545 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); in createTexture() local
547 int slicePitch = imageHeight*rowPitch; in createTexture()
554 …m_texFormat, m_subW, m_subH, m_subD, rowPitch, slicePitch, &data[0] + m_skipImages*slicePitch + m_… in createTexture()
724 int rowPitch = deAlign32(rowLength*pixelSize, alignment); in createTexture() local
[all …]
Des31fShaderImageLoadStoreTests.cpp1317 const int rowPitch = sliceAccess.getRowPitch(); in replaceBadFloatReinterpretValues() local
1323 void *const pixelData = (deUint8*)data + y*rowPitch + x*pixelSize; in replaceBadFloatReinterpretValues()
1497 const int rowPitch = sliceAccess.getRowPitch(); in iterate() local
1503 void *const pixelData = (deUint8*)data + y*rowPitch + x*pixelSize; in iterate()
/external/deqp/modules/gles2/functional/
Des2fReadPixelsTests.cpp208 const int rowPitch = m_alignment * deCeilFloatToInt32(pixelSize * width / (float)m_alignment); in iterate() local
210 pixelData.resize(rowPitch * height, 0); in iterate()
231 …tcu::copy(resultRGBA8.getLevel(0), tcu::PixelBufferAccess(format, width, height, 1, rowPitch, 0, &… in iterate()
247 …reference.getLevel(0), tcu::PixelBufferAccess(format, width, height, 1, rowPitch, 0, &(pixelData[0… in iterate()
Des2fTextureSpecificationTests.cpp843 int rowPitch = getRowPitch(fmt, levelW, m_alignment); in createTexture() local
846 data.resize(rowPitch*levelH); in createTexture()
847 …tcu::fillWithGrid(tcu::PixelBufferAccess(fmt, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize,… in createTexture()
888 int rowPitch = getRowPitch(fmt, levelW, m_alignment); in createTexture() local
893 data.resize(rowPitch*levelH); in createTexture()
894 …tcu::fillWithGrid(tcu::PixelBufferAccess(fmt, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize,… in createTexture()
1189 int rowPitch = getRowPitch(fmt, m_subW, m_alignment); in createTexture() local
1190 data.resize(rowPitch*m_subH); in createTexture()
1191 …tcu::fillWithGrid(tcu::PixelBufferAccess(fmt, m_subW, m_subH, 1, rowPitch, 0, &data[0]), 4, Vec4(1… in createTexture()
1243 int rowPitch = getRowPitch(fmt, m_subW, m_alignment); in createTexture() local
[all …]
/external/deqp/framework/common/
DtcuTextureUtil.cpp216 const int rowPitch = access.getRowPitch(); in flipYAccess() local
217 const int offsetToLast = rowPitch*(access.getHeight()-1); in flipYAccess()
218 const tcu::IVec3 pitch (access.getPixelPitch(), -rowPitch, access.getSlicePitch()); in flipYAccess()
230 const int rowPitch = access.getRowPitch(); in flipYAccess() local
231 const int offsetToLast = rowPitch*(access.getHeight()-1); in flipYAccess()
232 const tcu::IVec3 pitch (access.getPixelPitch(), -rowPitch, access.getSlicePitch()); in flipYAccess()
DtcuTexture.cpp486 const int rowPitch = pixelSize * size.x(); in calculatePackedPitch() local
487 const int slicePitch = rowPitch * size.y(); in calculatePackedPitch()
489 return IVec3(pixelSize, rowPitch, slicePitch); in calculatePackedPitch()
558 …ess (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, … in ConstPixelBufferAccess() argument
561 , m_pitch (format.getPixelSize(), rowPitch, slicePitch) in ConstPixelBufferAccess()
593 …ess (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, … in PixelBufferAccess() argument
594 : ConstPixelBufferAccess(format, width, height, depth, rowPitch, slicePitch, data) in PixelBufferAccess()
DtcuTexture.hpp304 …ss (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, …
364 …ess (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, …
/external/deqp/framework/opengl/simplereference/
DsglrReferenceContext.cpp933 int rowPitch = deAlign32(rowLen*pixelSize, m_pixelUnpackAlignment); in getUnpack2DAccess() local
934 …const deUint8* ptr = (const deUint8*)data + m_pixelUnpackSkipRows*rowPitch + m_pixelUnpackSkipPi… in getUnpack2DAccess()
936 return tcu::ConstPixelBufferAccess(format, width, height, 1, rowPitch, 0, ptr); in getUnpack2DAccess()
944 int rowPitch = deAlign32(rowLen*pixelSize, m_pixelUnpackAlignment); in getUnpack3DAccess() local
945 int slicePitch = imageHeight*rowPitch; in getUnpack3DAccess()
946 …int8*)data + m_pixelUnpackSkipImages*slicePitch + m_pixelUnpackSkipRows*rowPitch + m_pixelUnpackSk… in getUnpack3DAccess()
948 return tcu::ConstPixelBufferAccess(format, width, height, depth, rowPitch, slicePitch, ptr); in getUnpack3DAccess()