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

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

Issue 1541903002: added support for PLS path rendering (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix for ASAN failure Created 4 years, 10 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 13 matching lines...) Expand all
24 } 24 }
25 25
26 private: 26 private:
27 GrDisableColorXPFactory(); 27 GrDisableColorXPFactory();
28 28
29 GrXferProcessor* onCreateXferProcessor(const GrCaps& caps, 29 GrXferProcessor* onCreateXferProcessor(const GrCaps& caps,
30 const GrPipelineOptimizations& optimi zations, 30 const GrPipelineOptimizations& optimi zations,
31 bool hasMixedSamples, 31 bool hasMixedSamples,
32 const DstTexture* dstTexture) const o verride; 32 const DstTexture* dstTexture) const o verride;
33 33
34 bool willReadDstColor(const GrCaps& caps, 34 bool onWillReadDstColor(const GrCaps& caps,
35 const GrPipelineOptimizations& optimizations, 35 const GrPipelineOptimizations& optimizations,
36 bool hasMixedSamples) const override { 36 bool hasMixedSamples) const override {
37 return false; 37 return false;
38 } 38 }
39 39
40 bool onIsEqual(const GrXPFactory& xpfBase) const override { 40 bool onIsEqual(const GrXPFactory& xpfBase) const override {
41 return true; 41 return true;
42 } 42 }
43 43
44 GR_DECLARE_XP_FACTORY_TEST; 44 GR_DECLARE_XP_FACTORY_TEST;
45 45
46 typedef GrXPFactory INHERITED; 46 typedef GrXPFactory INHERITED;
47 }; 47 };
48 48
49 #endif 49 #endif
50 50
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