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

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

Issue 1133123009: rename GrDrawTargetCaps to GrCaps (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix gypi filename 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/GrDashingEffect.cpp ('k') | src/gpu/effects/GrDisableColorXP.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 #ifndef GrDisableColorXP_DEFINED 8 #ifndef GrDisableColorXP_DEFINED
9 #define GrDisableColorXP_DEFINED 9 #define GrDisableColorXP_DEFINED
10 10
(...skipping 14 matching lines...) Expand all
25 25
26 void getInvariantOutput(const GrProcOptInfo& colorPOI, const GrProcOptInfo& coveragePOI, 26 void getInvariantOutput(const GrProcOptInfo& colorPOI, const GrProcOptInfo& coveragePOI,
27 GrXPFactory::InvariantOutput* output) const override { 27 GrXPFactory::InvariantOutput* output) const override {
28 output->fBlendedColorFlags = 0; 28 output->fBlendedColorFlags = 0;
29 output->fWillBlendWithDst = 0; 29 output->fWillBlendWithDst = 0;
30 } 30 }
31 31
32 private: 32 private:
33 GrDisableColorXPFactory(); 33 GrDisableColorXPFactory();
34 34
35 GrXferProcessor* onCreateXferProcessor(const GrDrawTargetCaps& caps, 35 GrXferProcessor* onCreateXferProcessor(const GrCaps& caps,
36 const GrProcOptInfo& colorPOI, 36 const GrProcOptInfo& colorPOI,
37 const GrProcOptInfo& coveragePOI, 37 const GrProcOptInfo& coveragePOI,
38 const GrDeviceCoordTexture* dstCopy) const override; 38 const GrDeviceCoordTexture* dstCopy) const override;
39 39
40 bool willReadDstColor(const GrDrawTargetCaps& caps, 40 bool willReadDstColor(const GrCaps& caps,
41 const GrProcOptInfo& colorPOI, 41 const GrProcOptInfo& colorPOI,
42 const GrProcOptInfo& coveragePOI) const override { 42 const GrProcOptInfo& coveragePOI) const override {
43 return false; 43 return false;
44 } 44 }
45 45
46 bool onIsEqual(const GrXPFactory& xpfBase) const override { 46 bool onIsEqual(const GrXPFactory& xpfBase) const override {
47 return true; 47 return true;
48 } 48 }
49 49
50 GR_DECLARE_XP_FACTORY_TEST; 50 GR_DECLARE_XP_FACTORY_TEST;
51 51
52 typedef GrXPFactory INHERITED; 52 typedef GrXPFactory INHERITED;
53 }; 53 };
54 54
55 #endif 55 #endif
56 56
OLDNEW
« no previous file with comments | « src/gpu/effects/GrDashingEffect.cpp ('k') | src/gpu/effects/GrDisableColorXP.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698