diff options
author | Eric Anholt <[email protected]> | 2013-06-20 12:09:27 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-06-28 13:35:23 -0700 |
commit | 7f210bf5358443f38c1c7b758eaa28b37e09578a (patch) | |
tree | fd157b874b718b28ffcb501428e7b5f373adedae /src/mesa/drivers/dri/i915/intel_fbo.c | |
parent | 6bdc5ecbbae185e098b34baf95e533b0c067b807 (diff) |
i915: Remove miscellanous uncalled gen4 code from formerly shared files.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i915/intel_fbo.c')
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_fbo.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_fbo.c b/src/mesa/drivers/dri/i915/intel_fbo.c index 52beaf2c16c..f5343865660 100644 --- a/src/mesa/drivers/dri/i915/intel_fbo.c +++ b/src/mesa/drivers/dri/i915/intel_fbo.c @@ -735,33 +735,6 @@ intel_blit_framebuffer(struct gl_context *ctx, mask, filter); } -void -intel_renderbuffer_move_to_temp(struct intel_context *intel, - struct intel_renderbuffer *irb, - bool invalidate) -{ - struct gl_renderbuffer *rb =&irb->Base.Base; - struct intel_texture_image *intel_image = intel_texture_image(rb->TexImage); - struct intel_mipmap_tree *new_mt; - int width, height, depth; - - intel_miptree_get_dimensions_for_image(rb->TexImage, &width, &height, &depth); - - new_mt = intel_miptree_create(intel, rb->TexImage->TexObject->Target, - intel_image->base.Base.TexFormat, - intel_image->base.Base.Level, - intel_image->base.Base.Level, - width, height, depth, - true, - INTEL_MIPTREE_TILING_ANY); - - intel_miptree_copy_teximage(intel, intel_image, new_mt, invalidate); - - intel_miptree_reference(&irb->mt, intel_image->mt); - intel_renderbuffer_set_draw_offset(irb); - intel_miptree_release(&new_mt); -} - /** * Do one-time context initializations related to GL_EXT_framebuffer_object. * Hook in device driver functions. |