Home
last modified time | relevance | path

Searched refs:srcRowPitch (Results 1 – 5 of 5) sorted by relevance

/external/angle/src/libANGLE/renderer/metal/
Dmtl_utils.mm49 const size_t srcRowPitch = srcFormat.pixelBytes * size.width;
51 ANGLE_CHECK_GL_ALLOC(contextMtl, srcRow.resize(srcRowPitch));
52 memset(srcRow.data(), 0, srcRowPitch);
59 CopyImageCHROMIUM(srcRow.data(), srcRowPitch, srcFormat.pixelBytes, 0,
DFrameBufferMtl.mm706 int srcRowPitch = area.width * readAngleFormat.pixelBytes;
708 ANGLE_CHECK_GL_ALLOC(contextMtl, readPixelRowBuffer.resize(srcRowPitch));
726 texture->getBytes(contextMtl, srcRowPitch, mtlSrcRowRegion,
731 PackPixels(packPixelsRowParams, readAngleFormat, srcRowPitch, readPixelRowBuffer.data(),
/external/angle/src/libANGLE/
Dcapture_gles_2_0_params.cpp696 GLuint srcRowPitch = 0; in CaptureTexImage2D_pixels() local
698 &srcRowPitch); in CaptureTexImage2D_pixels()
700 (void)internalFormatInfo.computeDepthPitch(height, unpack.imageHeight, srcRowPitch, in CaptureTexImage2D_pixels()
703 (void)internalFormatInfo.computeSkipBytes(type, srcRowPitch, srcDepthPitch, unpack, false, in CaptureTexImage2D_pixels()
706 size_t captureSize = srcRowPitch * height + srcSkipBytes; in CaptureTexImage2D_pixels()
/external/angle/src/tests/gl_tests/
DCopyTextureTest.cpp391 size_t srcRowPitch = in initializeSourceTexture() local
396 memcpy(&srcColorsPadded[row * srcRowPitch], &srcColors[row * inputRowPitch], in initializeSourceTexture()
398 memset(&srcColorsPadded[row * srcRowPitch + inputRowPitch], 0, in initializeSourceTexture()
399 srcRowPitch - inputRowPitch); in initializeSourceTexture()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DTextureStorage11.cpp769 GLuint srcRowPitch = 0; in setData() local
772 unpack.rowLength, &srcRowPitch)); in setData()
775 height, unpack.imageHeight, srcRowPitch, &srcDepthPitch)); in setData()
778 context11, internalFormatInfo.computeSkipBytes(type, srcRowPitch, srcDepthPitch, unpack, in setData()
799 loadFunctionInfo.loadFunction(width, height, depth, pixelData + srcSkipBytes, srcRowPitch, in setData()
807 bufferRowPitch = srcRowPitch; in setData()