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

Side by Side Diff: src/core/SkXfermode.cpp

Issue 660573002: Split GrFragmentProcessor into its own header (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: add file to git Created 6 years, 2 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 | « include/gpu/GrProcessorStage.h ('k') | src/effects/SkAlphaThresholdFilter.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 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #include "SkXfermode.h" 10 #include "SkXfermode.h"
(...skipping 757 matching lines...) Expand 10 before | Expand all | Expand 10 after
768 dst[i] = SkToU8(A); 768 dst[i] = SkToU8(A);
769 } 769 }
770 } 770 }
771 } 771 }
772 } 772 }
773 773
774 ////////////////////////////////////////////////////////////////////////////// 774 //////////////////////////////////////////////////////////////////////////////
775 775
776 #if SK_SUPPORT_GPU 776 #if SK_SUPPORT_GPU
777 777
778 #include "GrProcessor.h" 778 #include "GrFragmentProcessor.h"
779 #include "GrCoordTransform.h" 779 #include "GrCoordTransform.h"
780 #include "GrProcessorUnitTest.h" 780 #include "GrProcessorUnitTest.h"
781 #include "GrTBackendProcessorFactory.h" 781 #include "GrTBackendProcessorFactory.h"
782 #include "gl/GrGLProcessor.h" 782 #include "gl/GrGLProcessor.h"
783 #include "gl/builders/GrGLProgramBuilder.h" 783 #include "gl/builders/GrGLProgramBuilder.h"
784 784
785 /** 785 /**
786 * GrProcessor that implements the all the separable xfer modes that cannot be e xpressed as Coeffs. 786 * GrProcessor that implements the all the separable xfer modes that cannot be e xpressed as Coeffs.
787 */ 787 */
788 class XferEffect : public GrFragmentProcessor { 788 class XferEffect : public GrFragmentProcessor {
(...skipping 1165 matching lines...) Expand 10 before | Expand all | Expand 10 after
1954 } else { 1954 } else {
1955 proc16 = rec.fProc16_General; 1955 proc16 = rec.fProc16_General;
1956 } 1956 }
1957 } 1957 }
1958 return proc16; 1958 return proc16;
1959 } 1959 }
1960 1960
1961 SK_DEFINE_FLATTENABLE_REGISTRAR_GROUP_START(SkXfermode) 1961 SK_DEFINE_FLATTENABLE_REGISTRAR_GROUP_START(SkXfermode)
1962 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkProcCoeffXfermode) 1962 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkProcCoeffXfermode)
1963 SK_DEFINE_FLATTENABLE_REGISTRAR_GROUP_END 1963 SK_DEFINE_FLATTENABLE_REGISTRAR_GROUP_END
OLDNEW
« no previous file with comments | « include/gpu/GrProcessorStage.h ('k') | src/effects/SkAlphaThresholdFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698