Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: src/gpu/SkGpuDevice_drawTexture.cpp

Issue 1486923004: Retract GrRenderTarget a bit (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/gpu/SkGpuDevice.cpp ('k') | src/gpu/batches/GrAAHairLinePathRenderer.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "SkGpuDevice.h" 8 #include "SkGpuDevice.h"
9 9
10 #include "GrBlurUtils.h" 10 #include "GrBlurUtils.h"
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 &grPaint, 227 &grPaint,
228 clip, 228 clip,
229 viewMatrix, 229 viewMatrix,
230 rec, 230 rec,
231 rrect)) { 231 rrect)) {
232 return; 232 return;
233 } 233 }
234 SkPath rectPath; 234 SkPath rectPath;
235 rectPath.addRect(clippedDstRect); 235 rectPath.addRect(clippedDstRect);
236 rectPath.setIsVolatile(true); 236 rectPath.setIsVolatile(true);
237 GrBlurUtils::drawPathWithMaskFilter(this->context(), fDrawContext, fRenderTa rget, fClip, 237 GrBlurUtils::drawPathWithMaskFilter(this->context(), fDrawContext, fClip,
238 rectPath, &grPaint, viewMatrix, mf, pain t.getPathEffect(), 238 rectPath, &grPaint, viewMatrix, mf, pain t.getPathEffect(),
239 GrStrokeInfo::FillInfo(), true); 239 GrStrokeInfo::FillInfo(), true);
240 } 240 }
OLDNEW
« no previous file with comments | « src/gpu/SkGpuDevice.cpp ('k') | src/gpu/batches/GrAAHairLinePathRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698