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

Side by Side Diff: src/core/SkMaskFilter.cpp

Issue 2236493002: Revert of Create blurred RRect mask on GPU (rather than uploading it) (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 4 months 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 | « include/effects/SkBlurMaskFilter.h ('k') | src/effects/SkBlurMaskFilter.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 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
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 8
9 #include "SkMaskFilter.h" 9 #include "SkMaskFilter.h"
10 #include "SkBlitter.h" 10 #include "SkBlitter.h"
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 GrDrawContext* drawContext, 317 GrDrawContext* drawContext,
318 GrPaint* grp, 318 GrPaint* grp,
319 const GrClip&, 319 const GrClip&,
320 const SkMatrix& viewMatrix, 320 const SkMatrix& viewMatrix,
321 const SkStrokeRec& strokeRec, 321 const SkStrokeRec& strokeRec,
322 const SkPath& path) const { 322 const SkPath& path) const {
323 return false; 323 return false;
324 } 324 }
325 325
326 326
327 bool SkMaskFilter::directFilterRRectMaskGPU(GrContext*, 327 bool SkMaskFilter::directFilterRRectMaskGPU(GrTextureProvider* texProvider,
328 GrDrawContext* drawContext, 328 GrDrawContext* drawContext,
329 GrPaint* grp, 329 GrPaint* grp,
330 const GrClip&, 330 const GrClip&,
331 const SkMatrix& viewMatrix, 331 const SkMatrix& viewMatrix,
332 const SkStrokeRec& strokeRec, 332 const SkStrokeRec& strokeRec,
333 const SkRRect& rrect) const { 333 const SkRRect& rrect) const {
334 return false; 334 return false;
335 } 335 }
336 336
337 bool SkMaskFilter::filterMaskGPU(GrTexture* src, 337 bool SkMaskFilter::filterMaskGPU(GrTexture* src,
(...skipping 11 matching lines...) Expand all
349 srcM.fRowBytes = 0; 349 srcM.fRowBytes = 0;
350 srcM.fFormat = SkMask::kA8_Format; 350 srcM.fFormat = SkMask::kA8_Format;
351 351
352 SkIPoint margin; // ignored 352 SkIPoint margin; // ignored
353 if (this->filterMask(&dstM, srcM, SkMatrix::I(), &margin)) { 353 if (this->filterMask(&dstM, srcM, SkMatrix::I(), &margin)) {
354 dst->set(dstM.fBounds); 354 dst->set(dstM.fBounds);
355 } else { 355 } else {
356 dst->set(srcM.fBounds); 356 dst->set(srcM.fBounds);
357 } 357 }
358 } 358 }
OLDNEW
« no previous file with comments | « include/effects/SkBlurMaskFilter.h ('k') | src/effects/SkBlurMaskFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698