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

Side by Side Diff: include/gpu/GrXferProcessor.h

Issue 1116713002: Pull out shader-specific caps into GrShaderCaps and GrGLSLCaps (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Clean up some comments 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 | « include/gpu/GrFragmentProcessor.h ('k') | src/gpu/GrAAConvexPathRenderer.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 GrXferProcessor_DEFINED 8 #ifndef GrXferProcessor_DEFINED
9 #define GrXferProcessor_DEFINED 9 #define GrXferProcessor_DEFINED
10 10
11 #include "GrColor.h" 11 #include "GrColor.h"
12 #include "GrProcessor.h" 12 #include "GrProcessor.h"
13 #include "GrTexture.h" 13 #include "GrTexture.h"
14 #include "GrTypes.h" 14 #include "GrTypes.h"
15 #include "SkXfermode.h" 15 #include "SkXfermode.h"
16 16
17 class GrDrawTargetCaps; 17 class GrShaderCaps;
18 class GrGLCaps; 18 class GrGLSLCaps;
19 typedef GrGLCaps GrGLSLCaps;
20 class GrGLXferProcessor; 19 class GrGLXferProcessor;
21 class GrProcOptInfo; 20 class GrProcOptInfo;
22 21
23 /** 22 /**
24 * Coeffecients for alpha-blending. 23 * Coeffecients for alpha-blending.
25 */ 24 */
26 enum GrBlendCoeff { 25 enum GrBlendCoeff {
27 kInvalid_GrBlendCoeff = -1, 26 kInvalid_GrBlendCoeff = -1,
28 27
29 kZero_GrBlendCoeff, //<! 0 28 kZero_GrBlendCoeff, //<! 0
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 enum { 325 enum {
327 kIllegalXPFClassID = 0, 326 kIllegalXPFClassID = 0,
328 }; 327 };
329 static int32_t gCurrXPFClassID; 328 static int32_t gCurrXPFClassID;
330 329
331 typedef GrProgramElement INHERITED; 330 typedef GrProgramElement INHERITED;
332 }; 331 };
333 332
334 #endif 333 #endif
335 334
OLDNEW
« no previous file with comments | « include/gpu/GrFragmentProcessor.h ('k') | src/gpu/GrAAConvexPathRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698