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

Side by Side Diff: gm/vertices.cpp

Issue 129123004: Remove GPU-only flag for vertices GM (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase Created 6 years, 11 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 | « no previous file | no next file » | 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 2013 Google Inc. 2 * Copyright 2013 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 "gm.h" 8 #include "gm.h"
9 #include "SkCanvas.h" 9 #include "SkCanvas.h"
10 #include "SkGradientShader.h" 10 #include "SkGradientShader.h"
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 rec[i].fTexs, rec[i].fColors, 103 rec[i].fTexs, rec[i].fColors,
104 xfer, fan, SK_ARRAY_COUNT(fan), paint); 104 xfer, fan, SK_ARRAY_COUNT(fan), paint);
105 canvas->translate(200, 0); 105 canvas->translate(200, 0);
106 } 106 }
107 canvas->restore(); 107 canvas->restore();
108 canvas->translate(0, 200); 108 canvas->translate(0, 200);
109 xfer->unref(); 109 xfer->unref();
110 } 110 }
111 } 111 }
112 112
113 #if 1
114 virtual uint32_t onGetFlags() const {
115 // https://code.google.com/p/skia/issues/detail?id=1956
116 return kSkipGPU_Flag;
117 }
118 #endif
119
120 private: 113 private:
121 typedef skiagm::GM INHERITED; 114 typedef skiagm::GM INHERITED;
122 }; 115 };
123 116
124 DEF_GM( return SkNEW(VerticesGM); ) 117 DEF_GM( return SkNEW(VerticesGM); )
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698