git-svn-id: http://skia.googlecode.com/svn/trunk@1107 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
bsalomon@google.com 2011-04-11 19:20:46 +00:00
parent ad91799832
commit a7bf6e2665

View File

@ -309,8 +309,8 @@ void SkGpuDevice::prepareRenderTarget(const SkDraw& draw) {
void SkGpuDevice::setMatrixClip(const SkMatrix& matrix, const SkRegion& clip, void SkGpuDevice::setMatrixClip(const SkMatrix& matrix, const SkRegion& clip,
const SkClipStack& clipStack) { const SkClipStack& clipStack) {
this->INHERITED::setMatrixClip(matrix, clip, clipStack); this->INHERITED::setMatrixClip(matrix, clip, clipStack);
// We don't need to set them now because the context may not reflect this device.
convert_matrixclip(fContext, matrix, clipStack, clip, this->getOrigin()); fNeedPrepareRenderTarget = true;
} }
void SkGpuDevice::gainFocus(SkCanvas* canvas, const SkMatrix& matrix, void SkGpuDevice::gainFocus(SkCanvas* canvas, const SkMatrix& matrix,