i965/program_cache: Cast the key to char * before adding key_size
[mesa.git] / src / mesa / drivers / dri / i965 / brw_meta_util.h
index ac051e2b721ba0d9b62ecb23a0991c222978a825..4b3408df15a5c017f6c9cc00bdc3113bf3207b5d 100644 (file)
@@ -42,28 +42,10 @@ brw_meta_mirror_clip_and_scissor(const struct gl_context *ctx,
                                  GLfloat *dstX1, GLfloat *dstY1,
                                  bool *mirror_x, bool *mirror_y);
 
-void
-brw_get_fast_clear_rect(const struct brw_context *brw,
-                        const struct gl_framebuffer *fb,
-                        const struct intel_mipmap_tree* mt,
-                        unsigned *x0, unsigned *y0,
-                        unsigned *x1, unsigned *y1);
-
-void
-brw_get_resolve_rect(const struct brw_context *brw,
-                     const struct intel_mipmap_tree *mt,
-                     unsigned *x0, unsigned *y0,
-                     unsigned *x1, unsigned *y1);
-
-void
-brw_meta_get_buffer_rect(const struct gl_framebuffer *fb, 
-                         unsigned *x0, unsigned *y0,
-                         unsigned *x1, unsigned *y1);
-
-bool
-brw_meta_set_fast_clear_color(struct brw_context *brw,
-                              struct intel_mipmap_tree *mt,
-                              const union gl_color_union *color);
+union isl_color_value
+brw_meta_convert_fast_clear_color(const struct brw_context *brw,
+                                  const struct intel_mipmap_tree *mt,
+                                  const union gl_color_union *color);
 
 bool
 brw_is_color_fast_clear_compatible(struct brw_context *brw,