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

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

Issue 1213623022: fix up test create functions (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: more cleanup Created 5 years, 5 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/GrDashingEffect.cpp ('k') | src/gpu/effects/GrDistanceFieldGeoProc.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 2014 Google Inc. 2 * Copyright 2014 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 "effects/GrDisableColorXP.h" 8 #include "effects/GrDisableColorXP.h"
9 #include "GrProcessor.h" 9 #include "GrProcessor.h"
10 #include "gl/GrGLXferProcessor.h" 10 #include "gl/GrGLXferProcessor.h"
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 GrDisableColorXPFactory::onCreateXferProcessor(const GrCaps& caps, 101 GrDisableColorXPFactory::onCreateXferProcessor(const GrCaps& caps,
102 const GrProcOptInfo& colorPOI, 102 const GrProcOptInfo& colorPOI,
103 const GrProcOptInfo& covPOI, 103 const GrProcOptInfo& covPOI,
104 bool hasMixedSamples, 104 bool hasMixedSamples,
105 const DstTexture* dst) const { 105 const DstTexture* dst) const {
106 return DisableColorXP::Create(); 106 return DisableColorXP::Create();
107 } 107 }
108 108
109 GR_DEFINE_XP_FACTORY_TEST(GrDisableColorXPFactory); 109 GR_DEFINE_XP_FACTORY_TEST(GrDisableColorXPFactory);
110 110
111 GrXPFactory* GrDisableColorXPFactory::TestCreate(SkRandom* random, 111 GrXPFactory* GrDisableColorXPFactory::TestCreate(GrProcessorTestData*) {
112 GrContext*,
113 const GrCaps&,
114 GrTexture*[]) {
115 return GrDisableColorXPFactory::Create(); 112 return GrDisableColorXPFactory::Create();
116 } 113 }
117 114
OLDNEW
« no previous file with comments | « src/gpu/effects/GrDashingEffect.cpp ('k') | src/gpu/effects/GrDistanceFieldGeoProc.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698