Home | History | Annotate | Download | only in libagl

Lines Matching refs:height

138                         Rect(native_buffer->width, native_buffer->height),
272 (dst.height == src.height) &&
279 const size_t size = src.height * src.stride * pixelFormat.size;
356 GLenum format, GLenum type, GLsizei width, GLsizei height,
373 const size_t size = bpr * height;
380 width, height, stride, formatIdx, compressedFormat, bpr);
391 width, height, stride, formatIdx, compressedFormat, bpr);
401 static GLsizei dataSizePalette4(int numLevels, int width, int height, int format)
436 int h = (height >> i) ? : 1;
444 static void decodePalette4(const GLvoid *data, int level, int width, int height,
482 int h = (height >> i) ? : 1;
486 height = (height >> level) ? : 1;
490 for (int y=0 ; y<height ; y++) {
514 for (int y=0 ; y<height ; y++) {
541 for (int y=0 ; y<height ; y++) {
690 y = gglIntToFixed(cbSurface.height) - (y + h);
794 y = cbSurface.height - (y + h);
801 const GLuint th = textureObject->surface.height;
1051 GLsizei width, GLsizei height, GLint border,
1059 if (width<0 || height<0 || border!=0) {
1105 if (!data || !width || !height) {
1115 GLsizei compressedSize = etc1_get_encoded_data_size(width, height);
1121 level, format, type, width, height);
1129 width, height, 3, surface->stride*3) != 0) {
1139 if (dataSizePalette4(numLevels, width, height, format) > imageSize) {
1146 int lod_h = (height >> i) ? : 1;
1153 decodePalette4(data, i, width, height,
1161 GLsizei width, GLsizei height, GLint border,
1169 if (width<0 || height<0 || border!=0 || level < 0) {
1184 level, format, type, width, height);
1195 const size_t size = bpr * height;
1201 userSurface.height = height;
1207 int err = copyPixels(c, *surface, 0, 0, userSurface, 0, 0, width, height);
1220 GLint /*yoffset*/, GLsizei /*width*/, GLsizei /*height*/,
1230 GLint yoffset, GLsizei width, GLsizei height,
1238 if (xoffset<0 || yoffset<0 || width<0 || height<0 || level<0) {
1261 (yoffset + height > GLsizei(surface.height))) {
1265 if (!width || !height) {
1279 const size_t size = bpr * height;
1284 userSurface.height = height;
1292 userSurface, 0, 0, width, height);
1308 GLint x, GLint y, GLsizei width, GLsizei height,
1320 if (width<0 || height<0 || border!=0 || level<0) {
1379 level, format, type, width, height);
1390 y = cbSurface.height - (y + height);
1400 if (y+height > GLint(cbSurface.height))
1401 height = cbSurface.height - y;
1405 cbSurface, x, y, width, height);
1415 GLint x, GLint y, GLsizei width, GLsizei height)
1422 if (xoffset<0 || yoffset<0 || width<0 || height<0 || level<0) {
1426 if (!width || !height) {
1440 (yoffset + height > GLsizei(surface.height))) {
1451 y = cbSurface.height - (y + height);
1461 if (y+height > GLint(cbSurface.height))
1462 height = cbSurface.height - y;
1466 cbSurface, x, y, width, height);
1476 GLint x, GLint y, GLsizei width, GLsizei height,
1488 if (width<0 || height<0) {
1509 (y+height > GLint(readSurface.height))) {
1522 userSurface.height = height;
1538 ggl->texCoord2i(ggl, x, readSurface.height - (y + height));
1539 ggl->recti(ggl, 0, 0, width, height);