diff options
author | Dave Airlie <airlied@redhat.com> | 2009-04-01 16:13:30 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-04-01 16:13:30 +1000 |
commit | f9d272fa414ec04d9cc608840436f29e6adf84bc (patch) | |
tree | 4677ee291c91e9e976e62098f5e0d85672af3437 /src/mesa/drivers/dri/radeon/radeon_texture.h | |
parent | 6e30fe4873f30ccf9edec9ab6113ea647dccb9b7 (diff) |
radeon: go back and repick texture formats.
This might trip up some serious FBO users, will have to see, but
it avoids the slow paths for all the demos I have.
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_texture.h')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_texture.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_texture.h b/src/mesa/drivers/dri/radeon/radeon_texture.h index d90fda7868..888a55ba91 100644 --- a/src/mesa/drivers/dri/radeon/radeon_texture.h +++ b/src/mesa/drivers/dri/radeon/radeon_texture.h @@ -40,10 +40,14 @@ void radeonUnmapTexture(GLcontext *ctx, struct gl_texture_object *texObj); void radeonGenerateMipmap(GLcontext* ctx, GLenum target, struct gl_texture_object *texObj); int radeon_validate_texture_miptree(GLcontext * ctx, struct gl_texture_object *texObj); GLuint radeon_face_for_target(GLenum target); -const struct gl_texture_format *radeonChooseTextureFormat(GLcontext * ctx, +const struct gl_texture_format *radeonChooseTextureFormat_mesa(GLcontext * ctx, GLint internalFormat, GLenum format, GLenum type); +const struct gl_texture_format *radeonChooseTextureFormat(GLcontext * ctx, + GLint internalFormat, + GLenum format, + GLenum type, GLboolean fbo); void radeonTexImage1D(GLcontext * ctx, GLenum target, GLint level, GLint internalFormat, |