renderer: drop unused function argument

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
macos/master
Erik Faye-Lund 6 years ago
parent 401ff33252
commit c9c8ab5727
  1. 3
      src/vrend_blitter.c
  2. 2
      src/vrend_renderer.c
  3. 3
      src/vrend_renderer.h

@ -696,8 +696,7 @@ static void calc_dst_deltas_from_src(const struct pipe_blit_info *info,
} }
/* implement blitting using OpenGL. */ /* implement blitting using OpenGL. */
void vrend_renderer_blit_gl(UNUSED struct vrend_context *ctx, void vrend_renderer_blit_gl(struct vrend_resource *src_res,
struct vrend_resource *src_res,
struct vrend_resource *dst_res, struct vrend_resource *dst_res,
const struct pipe_blit_info *info, const struct pipe_blit_info *info,
bool has_texture_srgb_decode, bool has_texture_srgb_decode,

@ -7417,7 +7417,7 @@ static void vrend_renderer_blit_int(struct vrend_context *ctx,
if (use_gl) { if (use_gl) {
VREND_DEBUG(dbg_blit, ctx, "BLIT_INT: use GL fallback\n"); VREND_DEBUG(dbg_blit, ctx, "BLIT_INT: use GL fallback\n");
vrend_renderer_blit_gl(ctx, src_res, dst_res, info, vrend_renderer_blit_gl(src_res, dst_res, info,
has_feature(feat_texture_srgb_decode), has_feature(feat_texture_srgb_decode),
has_feature(feat_srgb_write_control)); has_feature(feat_srgb_write_control));
vrend_clicbs->make_current(ctx->sub->gl_context); vrend_clicbs->make_current(ctx->sub->gl_context);

@ -409,8 +409,7 @@ boolean format_is_copy_compatible(enum pipe_format src, enum pipe_format dst,
boolean allow_compressed); boolean allow_compressed);
/* blitter interface */ /* blitter interface */
void vrend_renderer_blit_gl(struct vrend_context *ctx, void vrend_renderer_blit_gl(struct vrend_resource *src_res,
struct vrend_resource *src_res,
struct vrend_resource *dst_res, struct vrend_resource *dst_res,
const struct pipe_blit_info *info, const struct pipe_blit_info *info,
bool has_texture_srgb_decode, bool has_texture_srgb_decode,

Loading…
Cancel
Save