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

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

Issue 1225923010: Refugee from Dead Machine 4: MDB Monster Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Last update from dead machine Created 4 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/GrCustomXfermodePriv.h ('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 16 matching lines...) Expand all
27 blendedColor->fWillBlendWithDst = false; 27 blendedColor->fWillBlendWithDst = false;
28 } 28 }
29 29
30 private: 30 private:
31 GrDisableColorXPFactory(); 31 GrDisableColorXPFactory();
32 32
33 GrXferProcessor* onCreateXferProcessor(const GrCaps& caps, 33 GrXferProcessor* onCreateXferProcessor(const GrCaps& caps,
34 const GrProcOptInfo& colorPOI, 34 const GrProcOptInfo& colorPOI,
35 const GrProcOptInfo& coveragePOI, 35 const GrProcOptInfo& coveragePOI,
36 bool hasMixedSamples, 36 bool hasMixedSamples,
37 const DstTexture* dstTexture) const o verride; 37 const DstTexture* dstTexture, GrRende rTarget* dst) const override;
38 38
39 bool willReadDstColor(const GrCaps& caps, 39 bool willReadDstColor(const GrCaps& caps,
40 const GrProcOptInfo& colorPOI, 40 const GrProcOptInfo& colorPOI,
41 const GrProcOptInfo& coveragePOI, 41 const GrProcOptInfo& coveragePOI,
42 bool hasMixedSamples) const override { 42 bool hasMixedSamples) 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/GrCustomXfermodePriv.h ('k') | src/gpu/effects/GrDisableColorXP.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698