}
-
-
-
void
intelCopyTexImage1D(GLcontext * ctx, GLenum target, GLint level,
GLenum internalFormat,
width, border);
}
+
void
intelCopyTexImage2D(GLcontext * ctx, GLenum target, GLint level,
GLenum internalFormat,
}
-
void
intelCopyTexSubImage2D(GLcontext * ctx, GLenum target, GLint level,
GLint xoffset, GLint yoffset,
_mesa_select_tex_image(ctx, texObj, target, level);
GLenum internalFormat = texImage->InternalFormat;
-
/* Need to check texture is compatible with source format.
*/
}
-
static GLboolean
try_pbo_zcopy(struct intel_context *intel,
struct intel_texture_image *intelImage,
}
-
-
-
-
static void
intelTexImage(GLcontext * ctx,
GLint dims,
DBG("pbo upload failed\n");
}
-
-
/* intelCopyTexImage calls this function with pixels == NULL, with
* the expectation that the mipmap tree will be set up but nothing
* more will be done. This is where those calls return:
}
}
+
void
intelTexImage3D(GLcontext * ctx,
GLenum target, GLint level,
format, type, pixels, unpack, texObj, texImage, 0, 0);
}
+
void
intelTexImage1D(GLcontext * ctx,
GLenum target, GLint level,
format, type, pixels, unpack, texObj, texImage, 0, 0);
}
+
void intelCompressedTexImage2D( GLcontext *ctx, GLenum target, GLint level,
GLint internalFormat,
GLint width, GLint height, GLint border,
0, 0, data, &ctx->Unpack, texObj, texImage, imageSize, 1);
}
+
/**
* Need to map texture image into memory before copying image data,
* then unmap it.
{
intel_get_tex_image(ctx, target, level, format, type, pixels,
texObj, texImage, 0);
-
-
}
void