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

Side by Side Diff: tests/GLProgramsTest.cpp

Issue 138563004: Move macros from TestClassDef.h to Test.h (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: upload 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 | Annotate | Revision Log
« no previous file with comments | « tests/GLInterfaceValidation.cpp ('k') | tests/GeometryTest.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 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 // This is a GPU-backend specific test. It relies on static intializers to work 9 // This is a GPU-backend specific test. It relies on static intializers to work
10 10
11 #include "SkTypes.h" 11 #include "SkTypes.h"
12 12
13 #if SK_SUPPORT_GPU && SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 13 #if SK_SUPPORT_GPU && SK_ALLOW_STATIC_GLOBAL_INITIALIZERS
14 14
15 #include "gl/GrGpuGL.h" 15 #include "gl/GrGpuGL.h"
16 #include "GrBackendEffectFactory.h" 16 #include "GrBackendEffectFactory.h"
17 #include "GrContextFactory.h" 17 #include "GrContextFactory.h"
18 #include "GrDrawEffect.h" 18 #include "GrDrawEffect.h"
19 #include "effects/GrConfigConversionEffect.h" 19 #include "effects/GrConfigConversionEffect.h"
20 20
21 #include "SkChecksum.h" 21 #include "SkChecksum.h"
22 #include "SkRandom.h" 22 #include "SkRandom.h"
23 #include "Test.h" 23 #include "Test.h"
24 #include "TestClassDef.h"
25 24
26 void GrGLProgramDesc::setRandom(SkRandom* random, 25 void GrGLProgramDesc::setRandom(SkRandom* random,
27 const GrGpuGL* gpu, 26 const GrGpuGL* gpu,
28 const GrRenderTarget* dstRenderTarget, 27 const GrRenderTarget* dstRenderTarget,
29 const GrTexture* dstCopyTexture, 28 const GrTexture* dstCopyTexture,
30 const GrEffectStage* stages[], 29 const GrEffectStage* stages[],
31 int numColorStages, 30 int numColorStages,
32 int numCoverageStages, 31 int numCoverageStages,
33 int currAttribIndex) { 32 int currAttribIndex) {
34 int numEffects = numColorStages + numCoverageStages; 33 int numEffects = numColorStages + numCoverageStages;
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 SkMagnifierImageFilter mag(SkRect::MakeWH(SK_Scalar1, SK_Scalar1), SK_Scalar 1); 261 SkMagnifierImageFilter mag(SkRect::MakeWH(SK_Scalar1, SK_Scalar1), SK_Scalar 1);
263 GrConfigConversionEffect::Create(NULL, 262 GrConfigConversionEffect::Create(NULL,
264 false, 263 false,
265 GrConfigConversionEffect::kNone_PMConversio n, 264 GrConfigConversionEffect::kNone_PMConversio n,
266 SkMatrix::I()); 265 SkMatrix::I());
267 SkScalar matrix[20]; 266 SkScalar matrix[20];
268 SkColorMatrixFilter cmf(matrix); 267 SkColorMatrixFilter cmf(matrix);
269 } 268 }
270 269
271 #endif 270 #endif
OLDNEW
« no previous file with comments | « tests/GLInterfaceValidation.cpp ('k') | tests/GeometryTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698