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

Side by Side Diff: src/gpu/effects/GrBitmapTextGeoProc.cpp

Issue 1117443002: create GrTestUtils.h, move some common functions into it (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 7 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 | « src/gpu/effects/GrBezierEffect.cpp ('k') | src/gpu/effects/GrConfigConversionEffect.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 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 "GrBitmapTextGeoProc.h" 8 #include "GrBitmapTextGeoProc.h"
9 #include "GrFontAtlasSizes.h" 9 #include "GrFontAtlasSizes.h"
10 #include "GrInvariantOutput.h" 10 #include "GrInvariantOutput.h"
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 case 1: 225 case 1:
226 format = kA565_GrMaskFormat; 226 format = kA565_GrMaskFormat;
227 break; 227 break;
228 case 2: 228 case 2:
229 format = kARGB_GrMaskFormat; 229 format = kARGB_GrMaskFormat;
230 break; 230 break;
231 } 231 }
232 232
233 return GrBitmapTextGeoProc::Create(GrRandomColor(random), textures[texIdx], params, 233 return GrBitmapTextGeoProc::Create(GrRandomColor(random), textures[texIdx], params,
234 format, random->nextBool(), 234 format, random->nextBool(),
235 GrProcessorUnitTest::TestMatrix(random)); 235 GrTest::TestMatrix(random));
236 } 236 }
OLDNEW
« no previous file with comments | « src/gpu/effects/GrBezierEffect.cpp ('k') | src/gpu/effects/GrConfigConversionEffect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698