diff options
Diffstat (limited to 'src/mesa/drivers/dri/i915tex')
-rw-r--r-- | src/mesa/drivers/dri/i915tex/intel_blit.c | 3 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i915tex/intel_blit.h | 4 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i915tex/intel_buffers.c | 14 |
3 files changed, 7 insertions, 14 deletions
diff --git a/src/mesa/drivers/dri/i915tex/intel_blit.c b/src/mesa/drivers/dri/i915tex/intel_blit.c index 1781fef569a..b6b65439087 100644 --- a/src/mesa/drivers/dri/i915tex/intel_blit.c +++ b/src/mesa/drivers/dri/i915tex/intel_blit.c @@ -376,8 +376,7 @@ intelEmitCopyBlit(struct intel_context *intel, * \param mask bitmask of BUFFER_BIT_* values indicating buffers to clear */ void -intelClearWithBlit(GLcontext * ctx, GLbitfield mask, GLboolean allFoo, - GLint cxFoo, GLint cyFoo, GLint cwFoo, GLint chFoo) +intelClearWithBlit(GLcontext * ctx, GLbitfield mask) { struct intel_context *intel = intel_context(ctx); GLuint clear_depth; diff --git a/src/mesa/drivers/dri/i915tex/intel_blit.h b/src/mesa/drivers/dri/i915tex/intel_blit.h index 1d99988c3c6..ee85c626334 100644 --- a/src/mesa/drivers/dri/i915tex/intel_blit.h +++ b/src/mesa/drivers/dri/i915tex/intel_blit.h @@ -35,9 +35,7 @@ extern void intelCopyBuffer(const __DRIdrawablePrivate * dpriv, const drm_clip_rect_t * rect); -extern void intelClearWithBlit(GLcontext * ctx, GLbitfield mask, - GLboolean all, GLint cx1, GLint cy1, GLint cw, - GLint ch); +extern void intelClearWithBlit(GLcontext * ctx, GLbitfield mask); extern void intelEmitCopyBlit(struct intel_context *intel, GLuint cpp, diff --git a/src/mesa/drivers/dri/i915tex/intel_buffers.c b/src/mesa/drivers/dri/i915tex/intel_buffers.c index 3da1420cddc..d3925bbc1ea 100644 --- a/src/mesa/drivers/dri/i915tex/intel_buffers.c +++ b/src/mesa/drivers/dri/i915tex/intel_buffers.c @@ -279,9 +279,7 @@ intelWindowMoved(struct intel_context *intel) * machine independent. Maybe we'll get there one day. */ static void -intelClearWithTris(struct intel_context *intel, - GLbitfield mask, - GLboolean allFoo, GLint cxFoo, GLint cyFoo, GLint cwFoo, GLint chFoo) +intelClearWithTris(struct intel_context *intel, GLbitfield mask) { GLcontext *ctx = &intel->ctx; drm_clip_rect_t clear; @@ -534,9 +532,7 @@ intelRotateWindow(struct intel_context *intel, * Called by ctx->Driver.Clear. */ static void -intelClear(GLcontext * ctx, - GLbitfield mask, - GLboolean allFoo, GLint cxFoo, GLint cyFoo, GLint cwFoo, GLint chFoo) +intelClear(GLcontext *ctx, GLbitfield mask) { struct intel_context *intel = intel_context(ctx); const GLuint colorMask = *((GLuint *) & ctx->Color.ColorMask); @@ -603,13 +599,13 @@ intelClear(GLcontext * ctx, intelFlush(ctx); /* XXX intelClearWithBlit also does this */ if (blit_mask) - intelClearWithBlit(ctx, blit_mask, 0, 0, 0, 0, 0); + intelClearWithBlit(ctx, blit_mask); if (tri_mask) - intelClearWithTris(intel, tri_mask, 0, 0, 0, 0, 0); + intelClearWithTris(intel, tri_mask); if (swrast_mask) - _swrast_Clear(ctx, swrast_mask, 0, 0, 0, 0, 0); + _swrast_Clear(ctx, swrast_mask); } |