| Index: src/gpu/GrClipMaskCache.h
|
| diff --git a/src/gpu/GrClipMaskCache.h b/src/gpu/GrClipMaskCache.h
|
| index 6b484e8af83e15918b63a53704f34ab26de42378..6bc67f4eaa8ea6ea8bbe8fb70118c1e47d8a18d5 100644
|
| --- a/src/gpu/GrClipMaskCache.h
|
| +++ b/src/gpu/GrClipMaskCache.h
|
| @@ -204,7 +204,9 @@ private:
|
|
|
| fLastClipGenID = clipGenID;
|
|
|
| - fLastMask.set(context, desc);
|
| + // HACK: set the flags param to a non-zero value to indicate that this request is at
|
| + // flush time and therefore we require a scratch texture with no pending IO operations.
|
| + fLastMask.set(context, desc, GrContext::kApprox_ScratchTexMatch, 1);
|
|
|
| fLastBound = bound;
|
| }
|
|
|