Home
last modified time | relevance | path

Searched refs:rowLength (Results 1 – 24 of 24) sorted by relevance

/external/mesa3d/src/glx/
Dpixel.c87 GLint rowLength = state->storeUnpack.rowLength; in FillBitmap() local
97 if (rowLength > 0) { in FillBitmap()
98 groupsPerRow = rowLength; in FillBitmap()
169 GLint rowLength = state->storeUnpack.rowLength; in __glFillImage() local
186 if (rowLength > 0) { in __glFillImage()
187 groupsPerRow = rowLength; in __glFillImage()
275 GLint rowLength = state->storePack.rowLength; in EmptyBitmap() local
288 if (rowLength > 0) { in EmptyBitmap()
289 groupsPerRow = rowLength; in EmptyBitmap()
396 GLint rowLength = state->storePack.rowLength; in __glEmptyImage() local
[all …]
Dpixelstore.c86 state->storePack.rowLength = a; in __indirect_glPixelStoref()
147 state->storeUnpack.rowLength = a; in __indirect_glPixelStoref()
234 state->storePack.rowLength = param; in __indirect_glPixelStorei()
289 state->storeUnpack.rowLength = param; in __indirect_glPixelStorei()
Dsingle2.c249 *data = (GLintptr) state->storePack.rowLength; in get_client_data()
273 *data = (GLintptr) state->storeUnpack.rowLength; in get_client_data()
Dglxclient.h184 GLuint rowLength; member
/external/deqp/modules/gles3/functional/
Des3fTextureSpecificationTests.cpp1066 …, const char* desc, deUint32 internalFormat, int width, int height, int rowLength, int skipRows, i… in TexImage2DParamsCase() argument
1069 , m_rowLength (rowLength) in TexImage2DParamsCase()
1081 int rowLength = m_rowLength > 0 ? m_rowLength : m_width; in createTexture() local
1082 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); in createTexture()
1128 int rowLength, in TexImage3DParamsCase() argument
1136 , m_rowLength (rowLength) in TexImage3DParamsCase()
1149 int rowLength = m_rowLength > 0 ? m_rowLength : m_width; in createTexture() local
1150 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); in createTexture()
1359 int rowLength, in TexSubImage2DParamsCase() argument
1369 , m_rowLength (rowLength) in TexSubImage2DParamsCase()
[all …]
Des3fReadPixelsTests.cpp69 …st char* name, const char* description, int flags, int alignment, GLint rowLength, GLint skipRows,…
92 …st char* name, const char* description, int flags, int alignment, GLint rowLength, GLint skipRows,… in ReadPixelsTest() argument
98 , m_rowLength (rowLength) in ReadPixelsTest()
/external/deqp/modules/gles31/functional/
Des31fTextureSpecificationTests.cpp408 int rowLength, in TexImageCubeArrayBufferCase() argument
417 , m_rowLength (rowLength) in TexImageCubeArrayBufferCase()
431 int rowLength = m_rowLength > 0 ? m_rowLength : m_size; in createTexture() local
432 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); in createTexture()
495 int rowLength, in TexSubImageCubeArrayBufferCase() argument
510 , m_rowLength (rowLength) in TexSubImageCubeArrayBufferCase()
546 int rowLength = m_rowLength > 0 ? m_rowLength : m_subW; in createTexture() local
547 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); in createTexture()
724 int rowLength = m_size; in createTexture() local
726 int rowPitch = deAlign32(rowLength*pixelSize, alignment); in createTexture()
[all …]
/external/sl4a/ScriptingLayerForAndroid/src/de/mud/terminal/
DVDUBuffer.java839 int rowLength; local
842 rowLength = charArray[i].length;
843 System.arraycopy(charArray[i], 0, cbuf[i], 0, w < rowLength ? w : rowLength);
844 System.arraycopy(charAttributes[i], 0, abuf[i], 0, w < rowLength ? w : rowLength);
/external/deqp/modules/gles2/functional/
Des2fBufferTestUtil.cpp370 static void renderQuadGridReference (tcu::Surface& dst, int numQuads, int rowLength, const deUint8*… in renderQuadGridReference() argument
374 …dst.setSize(rowLength*VERIFY_QUAD_SIZE, (numQuads/rowLength + (numQuads%rowLength != 0 ? 1 : 0))*V… in renderQuadGridReference()
381 int x0 = (quadNdx%rowLength)*VERIFY_QUAD_SIZE; in renderQuadGridReference()
382 int y0 = (quadNdx/rowLength)*VERIFY_QUAD_SIZE; in renderQuadGridReference()
/external/mesa3d/src/mesa/drivers/x11/
Dxm_dd.c387 const int rowLength = clippedUnpack.RowLength; in xmesa_DrawPixels_8R8G8B() local
404 + ((srcY + h - 1) * rowLength + srcX) * 4; in xmesa_DrawPixels_8R8G8B()
411 ximage.bytes_per_line = -rowLength * 4; /* negative to flip image */ in xmesa_DrawPixels_8R8G8B()
519 const int rowLength = clippedUnpack.RowLength; in xmesa_DrawPixels_5R6G5B() local
535 + ((srcY + h - 1) * rowLength + srcX) * 2; in xmesa_DrawPixels_5R6G5B()
542 ximage.bytes_per_line = -rowLength * 2; /* negative to flip image */ in xmesa_DrawPixels_5R6G5B()
/external/deqp/external/openglcts/modules/common/
DglcPackedPixelsTests.cpp567 int rowLength; // number of groups in the row member
896 m_initialPackProperties.rowLength = 0; in resetInitialStorageModes()
905 m_initialUnpackProperties.rowLength = 0; in resetInitialStorageModes()
924 gl.pixelStorei(GL_PACK_ROW_LENGTH, pp.rowLength); in applyInitialStorageModes()
929 gl.pixelStorei(GL_UNPACK_ROW_LENGTH, up.rowLength); in applyInitialStorageModes()
1208 int rowLength = m_unpackProperties.rowLength; in makeGradient() local
1209 if (rowLength == 0) in makeGradient()
1210 rowLength = GRADIENT_WIDTH + m_unpackProperties.skipPixels; in makeGradient()
1215 int elementsInRowNoAlign = elementsInGroup * rowLength; in makeGradient()
1220 …elementsInRow = (int)(alignment * deFloatCeil(elementSize * elementsInGroup * rowLength / ((float)… in makeGradient()
[all …]
/external/deqp/modules/glshared/
DglsBufferTestUtil.cpp531 static void renderQuadGridReference (tcu::Surface& dst, int numQuads, int rowLength, const deUint8*… in renderQuadGridReference() argument
535 …dst.setSize(rowLength*VERIFY_QUAD_SIZE, (numQuads/rowLength + (numQuads%rowLength != 0 ? 1 : 0))*V… in renderQuadGridReference()
542 int x0 = (quadNdx%rowLength)*VERIFY_QUAD_SIZE; in renderQuadGridReference()
543 int y0 = (quadNdx/rowLength)*VERIFY_QUAD_SIZE; in renderQuadGridReference()
/external/skia/tools/gpu/atlastext/
DGLTestAtlasTextRenderer.cpp323 GrGLint rowLength = static_cast<GrGLint>(rowBytes / bpp); in setTextureData() local
324 if (static_cast<size_t>(rowLength * bpp) != rowBytes) { in setTextureData()
328 callgl(PixelStorei, GR_GL_UNPACK_ROW_LENGTH, rowLength); in setTextureData()
/external/skqp/tools/gpu/atlastext/
DGLTestAtlasTextRenderer.cpp323 GrGLint rowLength = static_cast<GrGLint>(rowBytes / bpp); in setTextureData() local
324 if (static_cast<size_t>(rowLength * bpp) != rowBytes) { in setTextureData()
328 callgl(PixelStorei, GR_GL_UNPACK_ROW_LENGTH, rowLength); in setTextureData()
/external/swiftshader/src/OpenGL/libGLESv2/
DContext.cpp870 void Context::setPackRowLength(GLint rowLength) in setPackRowLength() argument
872 mState.packParameters.rowLength = rowLength; in setPackRowLength()
885 void Context::setUnpackRowLength(GLint rowLength) in setUnpackRowLength() argument
887 mState.unpackParameters.rowLength = rowLength; in setUnpackRowLength()
1561 …GLsizei inputWidth = (mState.unpackParameters.rowLength == 0) ? width : mState.unpackParameters.ro… in getRequiredBufferSize()
2296 *params = mState.packParameters.rowLength; in getIntegerv()
2333 *params = mState.unpackParameters.rowLength; in getIntegerv()
3312 …GLsizei outputWidth = (mState.packParameters.rowLength > 0) ? mState.packParameters.rowLength : wi… in readPixels()
DContext.h532 void setUnpackRowLength(GLint rowLength);
540 void setPackRowLength(GLint rowLength);
/external/mesa3d/src/mesa/swrast/
Ds_drawpix.c161 const GLint rowLength = width * _mesa_get_format_bytes(rb->Format); in fast_draw_generic_pixels() local
180 memcpy(dst, src, rowLength); in fast_draw_generic_pixels()
/external/swiftshader/src/OpenGL/common/
DImage.hpp47 GLint rowLength = 0; member
DImage.cpp1721 GLsizei inputWidth = (unpackParameters.rowLength == 0) ? width : unpackParameters.rowLength; in loadImageData()
/external/skqp/src/core/
DSkAAClip.cpp219 size_t rowLength = compute_row_length(row, fBounds.width()); in validate() local
220 SkASSERT(yoff->fOffset + rowLength <= head->fDataSize); in validate()
/external/skia/src/core/
DSkAAClip.cpp219 size_t rowLength = compute_row_length(row, fBounds.width()); in validate() local
220 SkASSERT(yoff->fOffset + rowLength <= head->fDataSize); in validate()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp1532 deUint32 rowLength = region.bufferImageCopy.bufferRowLength; in copyRegionToTextureLevel() local
1533 if (!rowLength) in copyRegionToTextureLevel()
1534 rowLength = region.bufferImageCopy.imageExtent.width; in copyRegionToTextureLevel()
1549 int texelIndex = texelOffset + (z * imageHeight + y) * rowLength; in copyRegionToTextureLevel()
1719 deUint32 rowLength = region.bufferImageCopy.bufferRowLength; in copyRegionToTextureLevel() local
1720 if (!rowLength) in copyRegionToTextureLevel()
1721 rowLength = region.bufferImageCopy.imageExtent.width; in copyRegionToTextureLevel()
1736 int texelIndex = texelOffset + (z * imageHeight + y) * rowLength; in copyRegionToTextureLevel()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp1331 GrGLint rowLength = static_cast<GrGLint>(rowBytes / bpp); in uploadTexData() local
1332 GR_GL_CALL(interface, PixelStorei(GR_GL_UNPACK_ROW_LENGTH, rowLength)); in uploadTexData()
/external/skqp/src/gpu/gl/
DGrGLGpu.cpp1296 GrGLint rowLength = static_cast<GrGLint>(rowBytes / bpp); in uploadTexData() local
1297 GR_GL_CALL(interface, PixelStorei(GR_GL_UNPACK_ROW_LENGTH, rowLength)); in uploadTexData()