Review URL: http://codereview.appspot.com/4360049/
git-svn-id: http://skia.googlecode.com/svn/trunk@1107 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
ad91799832
commit
a7bf6e2665
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user