Lines Matching refs:yoffset

248 void Texture::subImage(GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint unpackAlignment, const void *pixels, egl::Image *image)
255 if(width + xoffset > image->getWidth() || height + yoffset > image->getHeight())
274 image->loadImageData(xoffset, yoffset, 0, width, height, 1, format, type, unpackInfo, pixels);
278 void Texture::subImageCompressed(GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *pixels, egl::Image *image)
285 if(width + xoffset > image->getWidth() || height + yoffset > image->getHeight())
297 image->loadCompressedData(xoffset, yoffset, 0, width, height, 1, imageSize, pixels);
301 bool Texture::copy(egl::Image *source, const sw::Rect &sourceRect, GLenum destFormat, GLint xoffset, GLint yoffset, egl::Image *dest)
305 sw::SliceRect destRect(xoffset, yoffset, xoffset + (sourceRect.x1 - sourceRect.x0), yoffset + (sourceRect.y1 - sourceRect.y0), 0);
546 void Texture2D::subImage(GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint unpackAlignment, const void *pixels)
548 Texture::subImage(xoffset, yoffset, width, height, format, type, unpackAlignment, pixels, image[level]);
551 void Texture2D::subImageCompressed(GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *pixels)
553 Texture::subImageCompressed(xoffset, yoffset, width, height, format, imageSize, pixels, image[level]);
589 void Texture2D::copySubImage(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height, Framebuffer *source)
596 if(xoffset + width > image[level]->getWidth() || yoffset + height > image[level]->getHeight())
612 copy(renderTarget, sourceRect, image[level]->getFormat(), xoffset, yoffset, image[level]);