X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fdrivers%2Fdri%2Fi965%2Fbrw_meta_util.h;h=207a54b382bddede416fc99332c8b063b9857a27;hb=d0d4a5f43b4dd79bd7bfff7c7deaade10bfebf7c;hp=198ffe5812940199743255465bed75ec348420f2;hpb=f748e157352bba0b46db52b5f2e21e68e04391d0;p=mesa.git diff --git a/src/mesa/drivers/dri/i965/brw_meta_util.h b/src/mesa/drivers/dri/i965/brw_meta_util.h index 198ffe58129..207a54b382b 100644 --- a/src/mesa/drivers/dri/i965/brw_meta_util.h +++ b/src/mesa/drivers/dri/i965/brw_meta_util.h @@ -42,34 +42,21 @@ 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_ccs_resolve_rect(const struct isl_device *dev, - const struct isl_surf *ccs_surf, - unsigned *x0, unsigned *y0, - unsigned *x1, unsigned *y1); +union gl_color_union +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_meta_set_fast_clear_color(struct brw_context *brw, - struct intel_mipmap_tree *mt, - const union gl_color_union *color); + union gl_color_union *curr_color, + const union gl_color_union *new_color); bool brw_is_color_fast_clear_compatible(struct brw_context *brw, const struct intel_mipmap_tree *mt, const union gl_color_union *color); -struct gl_renderbuffer *brw_get_rb_for_slice(struct brw_context *brw, - struct intel_mipmap_tree *mt, - unsigned level, unsigned layer, - bool flat); - #ifdef __cplusplus } #endif