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

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

Issue 1952323002: Remove hasMixedSamples() from GrPipelineBuilder (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Comments 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/GrCustomXfermode.cpp ('k') | src/gpu/effects/GrPorterDuffXferProcessor.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 onWillReadDstColor(const GrCaps& caps, 34 bool onWillReadDstColor(const GrCaps&, const GrPipelineOptimizations&) const override {
35 const GrPipelineOptimizations& optimizations,
36 bool hasMixedSamples) const override {
37 return false; 35 return false;
38 } 36 }
39 37
40 bool onIsEqual(const GrXPFactory& xpfBase) const override { 38 bool onIsEqual(const GrXPFactory& xpfBase) const override {
41 return true; 39 return true;
42 } 40 }
43 41
44 GR_DECLARE_XP_FACTORY_TEST; 42 GR_DECLARE_XP_FACTORY_TEST;
45 43
46 typedef GrXPFactory INHERITED; 44 typedef GrXPFactory INHERITED;
47 }; 45 };
48 46
49 #endif 47 #endif
OLDNEW
« no previous file with comments | « src/gpu/effects/GrCustomXfermode.cpp ('k') | src/gpu/effects/GrPorterDuffXferProcessor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698