diff options
author | Eric Anholt <eric@anholt.net> | 2010-05-04 22:02:18 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-05-04 22:06:12 -0700 |
commit | ce914fff0817cb3c25a2d715f8435c6b6d6fbcdd (patch) | |
tree | c03fc98efdec6226bfa078c5811cda3bf69cac00 /src/mesa/drivers/dri/intel/intel_fbo.h | |
parent | 453f0b1f243b26e02b371293e9c8bbf09362c14a (diff) | |
download | external_mesa3d-ce914fff0817cb3c25a2d715f8435c6b6d6fbcdd.zip external_mesa3d-ce914fff0817cb3c25a2d715f8435c6b6d6fbcdd.tar.gz external_mesa3d-ce914fff0817cb3c25a2d715f8435c6b6d6fbcdd.tar.bz2 |
i965: When an RB gets a new region, clear the old from the state cache.
This prevents memory usage explosion in blender due to the state cache
hanging on to old fake frontbuffer regions. Sigh at blender still
using frontbuffer rendering.
Bug #24119.
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_fbo.h')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_fbo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_fbo.h b/src/mesa/drivers/dri/intel/intel_fbo.h index 72413f7..028f657 100644 --- a/src/mesa/drivers/dri/intel/intel_fbo.h +++ b/src/mesa/drivers/dri/intel/intel_fbo.h @@ -82,7 +82,8 @@ intel_get_renderbuffer(struct gl_framebuffer *fb, int attIndex) extern void -intel_renderbuffer_set_region(struct intel_renderbuffer *irb, +intel_renderbuffer_set_region(struct intel_context *intel, + struct intel_renderbuffer *irb, struct intel_region *region); |