diff options
author | Brian Paul <[email protected]> | 2006-11-01 19:35:22 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-11-01 19:35:22 +0000 |
commit | a5676795cfe2e24979b5da65c2f499049ab009d9 (patch) | |
tree | dfd5410b799bceb46a5787f0dbad0a90ac4b8809 /src/mesa/drivers/dri/i915tex | |
parent | 533e5a73ee8fbc500b711aff566f00c10812ad4d (diff) |
Remove x/y/width/height parameters from Clear functions.
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); } |