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

Unified Diff: gm/patch.cpp

Issue 451723003: SkPatchGrid interface (after SkPatch/SkPicture rebase). (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Renamed GM to SKPatchGridGM and removed last mesh references in comments Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gm/patchgrid.cpp » ('j') | include/core/SkPatchGrid.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/patch.cpp
diff --git a/gm/patch.cpp b/gm/patch.cpp
index 3f1e07910be6ea21407018c8a2bb5134ea03e77c..11e163f966c1009d8d7bd66d07da0ba2cabf40c7 100644
--- a/gm/patch.cpp
+++ b/gm/patch.cpp
@@ -82,12 +82,10 @@ protected:
virtual uint32_t onGetFlags() const SK_OVERRIDE {
return kSkipTiled_Flag;
}
-
+
virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE {
-
+
SkPaint paint;
-
- // The order of the colors and points is clockwise starting at upper-left corner.
SkColor colors[SkPatch::kNumColors] = {
SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorCYAN
};
« no previous file with comments | « no previous file | gm/patchgrid.cpp » ('j') | include/core/SkPatchGrid.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698