X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fdrivers%2Fdri%2Fi965%2Fbrw_meta_util.h;h=b9c4eac9c6c3c07a24d7d9bfe05dde1f5beaca5c;hb=22d9a4824baf0bf89bb8e39025ad01fecb213888;hp=c6a0674c429243ad01bb2ef1b5fdfcb29e87311d;hpb=a848ad68063a12eba40a555c8e990b16501ed0ca;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 c6a0674c429..b9c4eac9c6c 100644 --- a/src/mesa/drivers/dri/i965/brw_meta_util.h +++ b/src/mesa/drivers/dri/i965/brw_meta_util.h @@ -42,29 +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_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); - -void +bool brw_meta_set_fast_clear_color(struct brw_context *brw, struct intel_mipmap_tree *mt, const union gl_color_union *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