[Mesa-dev] [PATCH 3/6] intel: Remove dead intel_framebuffer_has_hiz().
Chad Versace
chad.versace at linux.intel.com
Mon Jul 16 15:02:36 PDT 2012
From: Eric Anholt <eric at anholt.net>
Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
---
src/mesa/drivers/dri/intel/intel_fbo.c | 9 ---------
src/mesa/drivers/dri/intel/intel_fbo.h | 4 ----
2 files changed, 13 deletions(-)
diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c b/src/mesa/drivers/dri/intel/intel_fbo.c
index 99fee9d..e14e65e 100644
--- a/src/mesa/drivers/dri/intel/intel_fbo.c
+++ b/src/mesa/drivers/dri/intel/intel_fbo.c
@@ -59,15 +59,6 @@
static struct gl_renderbuffer *
intel_new_renderbuffer(struct gl_context * ctx, GLuint name);
-bool
-intel_framebuffer_has_hiz(struct gl_framebuffer *fb)
-{
- struct intel_renderbuffer *rb = NULL;
- if (fb)
- rb = intel_get_renderbuffer(fb, BUFFER_DEPTH);
- return rb && rb->mt && rb->mt->hiz_mt;
-}
-
struct intel_region*
intel_get_rb_region(struct gl_framebuffer *fb, GLuint attIndex)
{
diff --git a/src/mesa/drivers/dri/intel/intel_fbo.h b/src/mesa/drivers/dri/intel/intel_fbo.h
index e14fe55..02bda1e 100644
--- a/src/mesa/drivers/dri/intel/intel_fbo.h
+++ b/src/mesa/drivers/dri/intel/intel_fbo.h
@@ -129,10 +129,6 @@ intel_rb_format(const struct intel_renderbuffer *rb)
return rb->Base.Base.Format;
}
-
-bool
-intel_framebuffer_has_hiz(struct gl_framebuffer *fb);
-
extern struct intel_renderbuffer *
intel_create_renderbuffer(gl_format format);
--
1.7.11.2
More information about the mesa-dev
mailing list