X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fdrivers%2Fdri%2Fi965%2Fintel_fbo.c;h=927f589321ed914fa3ad4994f490a91b2011da7d;hb=4a09070295294e9017fa686fc8e113989ef0f41b;hp=4a592f37ef3f73485515eed526e61755281ae364;hpb=6830ba0d3be8df12572622839743c41b4f294825;p=mesa.git diff --git a/src/mesa/drivers/dri/i965/intel_fbo.c b/src/mesa/drivers/dri/i965/intel_fbo.c index 4a592f37ef3..927f589321e 100644 --- a/src/mesa/drivers/dri/i965/intel_fbo.c +++ b/src/mesa/drivers/dri/i965/intel_fbo.c @@ -1021,6 +1021,35 @@ brw_render_cache_set_check_flush(struct brw_context *brw, struct brw_bo *bo) brw_render_cache_set_clear(brw); } +void +brw_cache_flush_for_read(struct brw_context *brw, struct brw_bo *bo) +{ + brw_render_cache_set_check_flush(brw, bo); +} + +void +brw_cache_flush_for_render(struct brw_context *brw, struct brw_bo *bo) +{ +} + +void +brw_render_cache_add_bo(struct brw_context *brw, struct brw_bo *bo) +{ + brw_render_cache_set_add_bo(brw, bo); +} + +void +brw_cache_flush_for_depth(struct brw_context *brw, struct brw_bo *bo) +{ + brw_render_cache_set_check_flush(brw, bo); +} + +void +brw_depth_cache_add_bo(struct brw_context *brw, struct brw_bo *bo) +{ + brw_render_cache_set_add_bo(brw, bo); +} + /** * Do one-time context initializations related to GL_EXT_framebuffer_object. * Hook in device driver functions.