Chromium Code Reviews

Unified Diff: gm/texdata.cpp

Issue 1971343002: Convert GrClip to an abstract base class (Closed) Base URL: https://skia.googlesource.com/skia.git@upload2_clipout
Patch Set: remove iswideopen Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | include/gpu/GrClip.h » ('j') | include/gpu/GrClip.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/texdata.cpp
diff --git a/gm/texdata.cpp b/gm/texdata.cpp
index 494a932cf198d53c2d32e51cc9a1c5c5649bf27e..01eedec633be3299898bfab5fa3e6b9426b539a9 100644
--- a/gm/texdata.cpp
+++ b/gm/texdata.cpp
@@ -82,7 +82,7 @@ DEF_SIMPLE_GM_BG(texdata, canvas, 2 * S, 2 * S, SK_ColorBLACK) {
SkAutoTUnref<GrTexture> au(texture);
// setup new clip
- GrClip clip(SkRect::MakeWH(2*S, 2*S));
+ GrFixedClip clip(SkIRect::MakeWH(2*S, 2*S));
GrPaint paint;
paint.setPorterDuffXPFactory(SkXfermode::kSrcOver_Mode);
« no previous file with comments | « no previous file | include/gpu/GrClip.h » ('j') | include/gpu/GrClip.h » ('J')

Powered by Google App Engine