diff options
author | Russell King <rmk@arm.linux.org.uk> | 2015-06-15 18:52:31 +0100 |
---|---|---|
committer | Russell King <rmk@arm.linux.org.uk> | 2015-06-29 12:58:36 +0100 |
commit | 3aa8eba19ea7438a4c41aa39dd657bab29dd3f8b (patch) | |
tree | 79daf497d1d3823a8d1c000f3d288654ef596005 | |
parent | e498aaa4759c12e02665507123d4c2ce1d15f848 (diff) |
etnaviv: add miCompositeSourceValidate() calls for composite accel op
Add the missing calls to miCompositeSourceValidate() for the
accelerated Composite() operation.
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
-rw-r--r-- | etnaviv/etnaviv_accel.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etnaviv/etnaviv_accel.c b/etnaviv/etnaviv_accel.c index c69ce82..efcac5f 100644 --- a/etnaviv/etnaviv_accel.c +++ b/etnaviv/etnaviv_accel.c @@ -1816,6 +1816,10 @@ int etnaviv_accel_Composite(CARD8 op, PicturePtr pSrc, PicturePtr pMask, xDst, yDst, width, height)) return TRUE; + miCompositeSourceValidate(pSrc); + if (pMask) + miCompositeSourceValidate(pMask); + if (op == PictOpClear) { /* Short-circuit for PictOpClear */ rc = etnaviv_Composite_Clear(pDst, &final_op); |