/external/deqp/modules/gles2/functional/ |
es2fReadPixelsTests.cpp | 237 const int rowPitch = (align ? m_alignment * deCeilFloatToInt32(pixelSize * width / (float)m_alignment) : width * pixelSize); 239 pixelData.resize(rowPitch * height, 0); 252 if (tcu::bilinearCompare(m_testCtx.getLog(), "Result", "Result", reference.getLevel(0), tcu::PixelBufferAccess(format, width, height, 1, rowPitch, 0, &(pixelData[0])), tcu::RGBA(redThreshold, greenThreshold, blueThreshold, alphaThreshold), tcu::COMPARE_LOG_RESULT)) 266 if (tcu::floatThresholdCompare(m_testCtx.getLog(), "Result", "Result", reference.getLevel(0), tcu::PixelBufferAccess(format, width, height, 1, rowPitch, 0, &(pixelData[0])), tcu::Vec4(redThreshold, greenThreshold, blueThreshold, alphaThreshold), tcu::COMPARE_LOG_RESULT))
|
es2fTextureSpecificationTests.cpp | 844 int rowPitch = getRowPitch(fmt, levelW, m_alignment); 847 data.resize(rowPitch*levelH); 848 tcu::fillWithGrid(tcu::PixelBufferAccess(fmt, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize, colorA, colorB); 889 int rowPitch = getRowPitch(fmt, levelW, m_alignment); 894 data.resize(rowPitch*levelH); 895 tcu::fillWithGrid(tcu::PixelBufferAccess(fmt, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize, colorA, colorB); [all...] |
/external/deqp/modules/gles31/functional/ |
es31fTextureSpecificationTests.cpp | 430 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); 432 int slicePitch = imageHeight*rowPitch; 447 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_size, m_size, m_depth, rowPitch, slicePitch, &data[0] + m_skipImages*slicePitch + m_skipRows*rowPitch + m_skipPixels*pixelSize + m_offset), 4, colorA, colorB); 533 int rowPitch = deAlign32(pixelSize*m_size, 4); 534 int slicePitch = rowPitch*m_size; 537 tcu::fillWithComponentGradients(tcu::PixelBufferAccess(m_texFormat, m_size, m_size, m_depth, rowPitch, slicePitch, &data[0]), m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); 545 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); 547 int slicePitch = imageHeight*rowPitch; 554 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_subW, m_subH, m_subD, rowPitch, slicePitch, &data[0] + m_skipImages*slicePitch + m_skipRows*rowPitch + m_skipPixels*pixelSize + m (…) [all...] |
es31fShaderImageLoadStoreTests.cpp | [all...] |
/external/deqp/modules/gles3/functional/ |
es3fTextureSpecificationTests.cpp | [all...] |
es3fReadPixelsTests.cpp | 337 const int rowPitch = (align ? m_alignment * deCeilFloatToInt32(pixelSize * rowWidth / (float)m_alignment) : rowWidth * pixelSize); 339 pixelData.resize(rowPitch * (m_height + m_skipRows), 0); 380 const int rowPitch = (align ? m_alignment * deCeilFloatToInt32(pixelSize * rowWidth / (float)m_alignment) : rowWidth * pixelSize); 391 if (tcu::bilinearCompare(m_testCtx.getLog(), "Result", "Result", reference.getLevel(0), tcu::PixelBufferAccess(format, m_width, m_height, 1, rowPitch, 0, &(pixelData[0])), tcu::RGBA(redThreshold, greenThreshold, blueThreshold, alphaThreshold), tcu::COMPARE_LOG_RESULT)) 405 if (tcu::floatThresholdCompare(m_testCtx.getLog(), "Result", "Result", reference.getLevel(0), tcu::PixelBufferAccess(format, m_width, m_height, 1, rowPitch, 0, &(pixelData[pixelSize * m_skipPixels + m_skipRows * rowPitch])), tcu::Vec4(redThreshold, greenThreshold, blueThreshold, alphaThreshold), tcu::COMPARE_LOG_RESULT))
|
/external/deqp/framework/common/ |
tcuTextureUtil.cpp | 178 const int rowPitch = access.getRowPitch(); 179 const int offsetToLast = rowPitch*(access.getHeight()-1); 182 -rowPitch, access.getSlicePitch(), (deUint8*)access.getDataPtr() + offsetToLast); 192 const int rowPitch = access.getRowPitch(); 193 const int offsetToLast = rowPitch*(access.getHeight()-1); 196 -rowPitch, access.getSlicePitch(), (const deUint8*)access.getDataPtr() + offsetToLast); [all...] |
tcuTexture.hpp | 249 ConstPixelBufferAccess (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, const void* data); 307 PixelBufferAccess (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, void* data); [all...] |
tcuTexture.cpp | 544 ConstPixelBufferAccess::ConstPixelBufferAccess (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, const void* data) 549 , m_rowPitch (rowPitch) 571 PixelBufferAccess::PixelBufferAccess (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, void* data) 572 : ConstPixelBufferAccess(format, width, height, depth, rowPitch, slicePitch, data) [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
loadimage.h | 184 inline T *OffsetDataPointer(uint8_t *data, size_t y, size_t z, size_t rowPitch, size_t depthPitch); 187 inline const T *OffsetDataPointer(const uint8_t *data, size_t y, size_t z, size_t rowPitch, size_t depthPitch);
|
/external/deqp/framework/opengl/simplereference/ |
sglrReferenceContext.cpp | 933 int rowPitch = deAlign32(rowLen*pixelSize, m_pixelUnpackAlignment); 934 const deUint8* ptr = (const deUint8*)data + m_pixelUnpackSkipRows*rowPitch + m_pixelUnpackSkipPixels*pixelSize; 936 return tcu::ConstPixelBufferAccess(format, width, height, 1, rowPitch, 0, ptr); 944 int rowPitch = deAlign32(rowLen*pixelSize, m_pixelUnpackAlignment); 945 int slicePitch = imageHeight*rowPitch; 946 const deUint8* ptr = (const deUint8*)data + m_pixelUnpackSkipImages*slicePitch + m_pixelUnpackSkipRows*rowPitch + m_pixelUnpackSkipPixels*pixelSize; 948 return tcu::ConstPixelBufferAccess(format, width, height, depth, rowPitch, slicePitch, ptr); [all...] |