aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/intel_tex.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2007-11-05 14:55:52 -0800
committerEric Anholt <[email protected]>2007-11-20 11:30:12 -0800
commit93c98a466947570e0589b662df49095b2f4bc43c (patch)
tree2b3dacf90b443c8feb47a5550fc9bb5a0b0b2407 /src/mesa/drivers/dri/i965/intel_tex.h
parente962997429aceae8286e09c6ca07bcd52f588f05 (diff)
[965] Replace 965 texture format code with common code.
The only functional difference should be that 965 now gets the optimization where textures default to 16bpp when the screen is 16bpp.
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_tex.h')
-rw-r--r--src/mesa/drivers/dri/i965/intel_tex.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_tex.h b/src/mesa/drivers/dri/i965/intel_tex.h
index e389d521461..d38325d5384 100644
--- a/src/mesa/drivers/dri/i965/intel_tex.h
+++ b/src/mesa/drivers/dri/i965/intel_tex.h
@@ -34,9 +34,14 @@
void intelInitTextureFuncs( struct dd_function_table *functions );
+const struct gl_texture_format *intelChooseTextureFormat(GLcontext * ctx,
+ GLint internalFormat,
+ GLenum format,
+ GLenum type);
GLuint intel_finalize_mipmap_tree( struct intel_context *intel,
struct gl_texture_object *tObj );
+int intel_compressed_num_bytes(GLuint mesaFormat);
#endif