[Mesa-dev] [PATCH 5/9] i965: remove unused context
Tapani Pälli
tapani.palli at intel.com
Thu May 11 10:09:44 UTC 2017
On 04/12/2017 01:04 AM, Thomas Hindoe Paaboel Andersen wrote:
> ---
> src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 2 --
> src/mesa/drivers/dri/i965/intel_pixel_draw.c | 2 --
> 2 files changed, 4 deletions(-)
>
> diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
> index 81e2d6e..5d5c77f 100644
> --- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
> +++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
> @@ -2593,8 +2593,6 @@ intel_miptree_unmap_blit(struct brw_context *brw,
> unsigned int level,
> unsigned int slice)
> {
> - struct gl_context *ctx = &brw->ctx;
> -
is used by WARN_ONCE
> intel_miptree_unmap_raw(map->linear_mt);
>
> if (map->mode & GL_MAP_WRITE_BIT) {
> diff --git a/src/mesa/drivers/dri/i965/intel_pixel_draw.c b/src/mesa/drivers/dri/i965/intel_pixel_draw.c
> index e84e473..a435800 100644
> --- a/src/mesa/drivers/dri/i965/intel_pixel_draw.c
> +++ b/src/mesa/drivers/dri/i965/intel_pixel_draw.c
> @@ -151,8 +151,6 @@ intelDrawPixels(struct gl_context * ctx,
> const struct gl_pixelstore_attrib *unpack,
> const GLvoid * pixels)
> {
> - struct brw_context *brw = brw_context(ctx);
> -
is used by perf_debug
> if (!_mesa_check_conditional_render(ctx))
> return;
>
>
More information about the mesa-dev
mailing list