Home
last modified time | relevance | path

Searched refs:anAligment (Results 1 – 3 of 3) sorted by relevance

/dports/cad/opencascade/opencascade-7.6.0/src/OpenGl/
H A DOpenGl_Texture.cxx357 …const GLint anAligment = Min ((GLint )theImage->MaxRowAligmentBytes(), 8); // OpenGL supports alig… in Init() local
358 theCtx->core11fwd->glPixelStorei (GL_UNPACK_ALIGNMENT, anAligment); in Init()
363 …theCtx->core11fwd->glPixelStorei (GL_UNPACK_ROW_LENGTH, (anExtraBytes >= anAligment) ? aPixelsWidt… in Init()
365 else if (anExtraBytes >= anAligment) in Init()
1095 …const GLint anAligment = Min ((GLint)anImage->MaxRowAligmentBytes(), 8); // OpenGL supports alignm… in InitCubeMap() local
1098 const GLint aRowLength = (anExtraBytes >= anAligment) ? aPixelsWidth : 0; in InitCubeMap()
1120 theCtx->core11fwd->glPixelStorei (GL_UNPACK_ALIGNMENT, anAligment); in InitCubeMap()
1304 …const GLint anAligment = Min (GLint(theImage.MaxRowAligmentBytes()), 8); // limit to 8 bytes for O… in ImageDump() local
1305 theCtx->core11fwd->glPixelStorei (GL_PACK_ALIGNMENT, anAligment); in ImageDump()
H A DOpenGl_AspectsSprite.cxx297 const GLint anAligment = Min ((GLint)anImage->MaxRowAligmentBytes(), 8); in build() local
298 theCtx->core11fwd->glPixelStorei (GL_UNPACK_ALIGNMENT, anAligment); in build()
302 const GLint aRowLength = (anExtraBytes >= anAligment) ? aPixelsWidth : 0; in build()
H A DOpenGl_FrameBuffer.cxx985 …const GLint anAligment = Min (GLint(theImage.MaxRowAligmentBytes()), 8); // limit to 8 bytes for O… in BufferDump() local
986 theGlCtx->core11fwd->glPixelStorei (GL_PACK_ALIGNMENT, anAligment); in BufferDump()
991 …andard_Size aSizeRowBytesEstim = getAligned (theImage.SizePixelBytes() * aPixelsWidth, anAligment); in BufferDump()
992 if (anExtraBytes < anAligment) in BufferDump()